AI Factory is an open-source set of instructions for coding agents, created by lee-to. It consists of 33 /aif-* skills and the ai-factory CLI from npm; the MIT license is stated in package. and the README. The CLI installs the skills for 15 agent harnesses, among them Claude Code, Codex CLI, Cursor, and GitHub Copilot; for Claude Code, Codex CLI, and Antigravity 2.0, it also installs agent definitions, and for some agent harnesses, MCP settings. The CLI does not drive the work. The agent in the chat runs the work at a person’s command: research, plan, implementation, verification, commit, bug fixes, and building up project rules from fixes. We looked at release 2.21.0 (October 30, 2026).
The separate aif-handoff project is built on the AI Factory process: it is a kanban board where coordinator code takes a task through its stages. The aif-handoff project has no releases; we looked at commit bf6a8b6 (October 15, 2026) and mention it where it makes a difference. In both systems, the plan lives in the project, a separate agent or role checks the work, and project rules sit on top of the shared ones. The main difference is how the choice of the next step is tied to fixed roles and rules for handing off work. In the normal AI Factory route, a person chooses the commands. In full and ultra, the --parallel flag starts implementation in a separate worktree when Git and branch creation are enabled, and coordinators run tasks and checks within stages. An end-to-end state machine in code is provided by aif-handoff. In Planveyor, Manager chooses the next role based on the plan status, and Oracle and other checks can stop the handoff of work. The comparison with other tools is on the Comparison page.
What they have in common and where the similarity ends
- A task follows a plan kept as a file in the project. The order is similar: plan, implementation, checks, commit. A person starts the work: in the normal AI Factory route, with
/aif-*commands; in Planveyor, with the Owner commandsplanveyor sibling. - One participant writes, another checks. In AI Factory, in supported modes the background review, security, and rules agents work read-only, draft
/aif-reviewfindings can be sent to thereview-validatoragent for a separate recheck, and each artifact is written by a single command. In Planveyor, Coder writes the code, a separate review lane checks the result, and Architect accepts the work. - A stale check does not count. In AI Factory, the results of
/aif-qa-checkare tied to a commit and the state of the working tree, and a PR review is tied to the commit SHAs and the diff hash: if the PR changed during the review, the review result covers only the recorded snapshot. A Planveyor review stores a checksum of the target files; once they are edited, the review is repeated. - Shared rules are kept apart from project rules. AI Factory’s base skills come from the package and are overwritten on update, while the project rules in
skill-context, for one skill or in a shared layer for several, survive updates. In Planveyor, the engine stays in an external checkout, shared files reach the project through the contract, and the project writes its stack rules in eight files, two local sections in each; the eight files are role prompts and playbooks. - The process changes based on experience and with a person involved. In AI Factory,
/aif-evolveturns notes on fixes (patches) into project rules: each rule is first compared with the current instructions on the same cases, and it is applied only with a person’s approval. In Planveyor, the roles’ remarks about the process are recorded as process improvements (PIs); Architect triages them, Owner sets the priority, and the change goes through an ordinary plan with review and acceptance. - Both systems work with Claude Code and Codex CLI. AI Factory installs skills and agent definitions for them. In Planveyor, the usual sibling route runs the roles in Codex CLI; Planner and Reviewer can be run in Claude Code in a single-role launch or in the Manager custom pipeline.
- The results of a task are carried into the project documents. In AI Factory, at the end of
/aif-implement,DESCRIPTION.andmd ARCHITECTURE.are updated if the plan changed the stack or the structure, and withmd Docs: yesin the plan, the command offers to update the documentation; this step and the/aif-verifycheck can be skipped. In Planveyor, after the commit, the roles do the docs closeout: they move decisions and rules into the project’s shared documents and record process improvements and follow-ups. - A separate check looks for outdated content in the documents.
/aif-docschecks the documentation for outdated content, broken links, and missing topics and proposes fixes for approval, and/aif-skills-auditlooks for outdated instructions in the skills. In Planveyor, thecanon_step of the post-merge check trims the shared documents to the essentials; out of the box, this check works only in Planveyor itself.sweep - Finished plans go to an archive.
/aif-archivemoves them to.ai-factory/, andarchive/ /aif-plan-overviewfinds a plan by name, including in the archive. Planveyor’s archive searches the content of closed plans, code drafts, and reviews, but it is filled by the same post-merge check. - How much of this is visible in Planveyor’s published history is shown in the What remains after a task section.
How they differ
The table rows are the mechanisms Planveyor is built on. The Planveyor cells describe the first version of October 30, 2026, and the AI Factory cells describe release 2.21.0; aif-handoff is named where it makes a difference.
Scroll the table sideways.
| Mechanism | Planveyor | AI Factory |
|---|---|---|
| Coordinator | The main path is TUI mode: planveyor sibling tui opens one Manager window for the whole plan, from the draft to the end of the docs closeout. In manual console mode, Owner runs the planveyor sibling commands one by one, and planveyor sibling plan prints the next one. In the TUI window and inside run, the coordinator, Manager, chooses the role based on the plan status and established rules; Oracle checks status, route, and review freshness. Manager does not edit the plan or the code and does not commit |
A person runs the normal route with /aif-* commands: the skills suggest the next one, and the checks write it to the suggested_ field. The /aif-roadmap-next advisor suggests the next scope of work by milestones, but a plan appears only after a person explicitly makes a choice. In full and ultra, the --parallel flag starts implementation in a separate worktree when Git and branch creation are enabled; separate runs can then handle different features concurrently. Within stages, the coordinator agents plan-coordinator and implement-coordinator run the tasks and checks, and the loop-orchestrator subagent chooses the phases of /aif-loop. An end-to-end state machine in code comes from the separate aif-handoff |
| Task state | A single **Status:** line in the plan header; the same plan holds the Q&A log and the ## Evidence log. Who sets which status is recorded in advance. The selected plan and role sessions are in local .planveyor. files outside Git |
Task checkboxes in the plan’s entry point: PLAN., plans/, or the index. of an ultra package; the plan is complete when all of them are checked. The agent also tracks the tasks in its task list, and /aif-implement reconciles that list with the checkboxes. In aif-handoff, the status is stored in SQLite and changes according to a state machine in code |
| Task files | Defined by templates: the plan, the code draft, and one review artifact with its assets. Only explicitly named paths go into the task commit | For an ordinary feature, there is one new process file, the plan; the /aif-verify and /aif-review reports stay in the session. The rest depends on the command: phase files for ultra, FIX_ and a patch for /aif-fix, RESEARCH. for research, QA files. An artifact ownership contract sets which command writes which file |
| Roles | Architect writes the plan and accepts the work or returns it; Planner writes the code draft; Coder handles the code, tests, and checks; Reviewer reviews in two lanes (risk and contracts); Manager runs the route. Only Architect accepts the work | Roles are defined by commands and agents; in the normal route, a person invokes the commands and decides on the findings of the checks. For Claude Code: four planning and implementation agents, six read-only background checking agents, the review-validator agent, which rechecks the draft findings of /aif-review and the plan refinements of /aif-improve, and nine /aif-loop agents; for Codex CLI and Antigravity 2.0: ten agents each |
| Small changes, bugs, analysis, decomposition | Three contours: development, analysis, and decomposition. Small changes and bug fixes use a development plan. Documentation-only and test-only plans may skip the second CENSOR pass if the eligibility check passes; review and acceptance still apply. In the first version, no real analysis plan has run yet, and the decomposition attempt stopped at review | A small change: /aif-implement --without-plan, without a plan file, or /aif-plan fast; for an overly broad request, --without-plan suggests /aif-plan fast and stops. A bug: /aif-fix; when a regression check is needed and feasible, it runs before the fix and again afterward. Analysis: /aif-explore and /aif-grounded. Decomposition: /aif-roadmap milestones and /aif-plan ultra phases; /aif-roadmap-next suggests the next scope of work by milestones, and /aif-plan-overview explains an existing plan before implementation; both are read-only. There are also the /aif-loop cycle and a QA contour |
| Process instructions | Role definitions, phase prompts, and playbooks live in Planveyor and reach the project through the contract; a role reads the copy in the project. The project writes its stack rules in eight contract files, two local sections in each | 33 aif-* skills: SKILL. with references, templates, and scripts. ai-factory init installs the selected skills into the chosen harnesses’ directories and adapts their format. In /aif, /aif-implement, /aif-verify, and /aif-fix, detailed procedures have moved into references, which the agent reads when it reaches the relevant step. Project additions live in .ai-factory/: a shared layer for all built-in skills, a layer for five development skills, and per-skill files; project rules live in RULES. and rules/ |
| Launch and agent harnesses | The bin/ facade and the Owner commands planveyor sibling init, plan, architect, answer, tui, run, close, ready, upgrade. In TUI mode, Architect commits the exact set of files locally. Owner enables approval prompts in Codex and approves each request for elevated access to write to .git in the Manager window. In manual console mode, Owner runs planveyor sibling close --commit after acceptance. The usual sibling route runs the roles in Codex CLI. Claude Code is available for Planner and Reviewer in a single-role launch and in the Manager custom pipeline. macOS only |
The ai-factory CLI (Node.js 18 or newer) installs, updates, and checks: the init, update, upgrade, audit-artifacts, and extension commands. commands catalogs the project’s declared commands without running them; for an explicitly registered skill invocation, instructions records the declared instruction package, resource hashes, and caller-supplied observations about loading. Commands run in the agent chat: /aif-*, and $aif-* in Codex CLI and Codex app. The installer lists 15 named harnesses and Universal / Other with the universal .agents/ directory. aif-handoff runs on its own server with a web board |
| Engine and version | The engine is an external Planveyor checkout and is not copied into the project. The project records the contract version; planveyor sibling ready shows a mismatch with the checkout the commands run from. If a prerequisite is missing, the command names it and stops |
The agent carries out the process from the text of the skills; the CLI does not drive the work. In .ai-factory., the CLI keeps the agents, the skills, checksums of managed files, and the version of the last installation; it deletes a deselected skill only if its files match the saved installation snapshot. update checks against npm. Environment checks are targeted: /aif requires Python 3 for the scanner of external skills. aif-handoff has its own server with SQLite |
| Checks and acceptance | The plan linter, Oracle, and the exact bundle check can stop a handoff. The review is done by two Reviewer lanes; an S1 finding sends the work back, and editing a target file after the review makes the review stale. Architect accepts the work or returns it | /aif-verify checks the code against the plan and runs applicable build, test, and lint checks; the checks append an aif-gate-result block with a blocking flag. Explicit +check on /aif-review requests validation of the draft findings by the review-validator agent. Automatic rechecking of confidence markers requires the harness to enforce a read-only tool allowlist for the validator; without that mode, unresolved markers produce fail. The gate also returns fail if the validator attempts to add a marker to a previously unmarked finding, and if a validator call simply fails in a review without markers, the original result is retained with a warning. A PR review is tied to the commit SHAs and the diff hash. In manual mode, a person decides: fix it through /aif-fix or accept it as is. In aif-handoff, a separate check after implementation can be turned on in skills mode, without subagents: a blocking result moves the task to blocked_. In autoMode, the coordinator itself sends the work back for fixes or completes the task; if the review does not converge, it hands the task to a person. After done, a person can separately approve the result (approve_ → verified) or send the task back for changes (request_) |
| Limit on repetitions | Manager’s instructions set a limit of 12 steps on the active plan per run. At the limit, control returns to Owner: in manual console mode, Owner reruns planveyor sibling run; in TUI mode, Owner asks Manager to continue in the same window. There is no overall limit on review rounds per task |
Limits belong to individual loops: /aif-loop defaults to a limit of four iterations and can stop earlier on stagnation; plan-coordinator makes up to three rounds of plan critique by default; when implementing a task directly, implement-coordinator allows up to two rounds of fixes. aif-handoff defaults to three automated review cycles; if blockers remain at the limit, the task is handed to a person |
| Changing the process | Roles write process improvements (PIs) during docs closeout; Architect triages them, Owner sets the priority, and the change goes through an ordinary plan with review and acceptance. Planveyor itself is changed through the same process | After a completed fix, /aif-fix records a patch, a note on the cause of the bug and how to prevent it. /aif-evolve compares each proposed rule with the current instructions on the original case, a counterexample, and regression cases; it proposes only rules that improved behavior, and they are applied with a person’s approval. It writes rules for base skills to skill-context: they take precedence over the base skill and survive updates. /aif-transfer brings anonymized lessons from another project, and /aif-skills-audit looks for overlaps and outdated instructions in the installed skills and changes nothing on its own. Changes to the package itself are proposed through an issue and a PR |
| Stack adaptation | A project on its own stack is a separate Git repository, a sibling, which holds the product code, the stack harness, plans, and reviews. The engine stays in an external Planveyor checkout, shared files reach the project through the contract, and the project writes its stack rules in eight files, two local sections in each. Statuses, role authority, and the order of work are not changed locally | The adaptation lives in the project’s own .ai-factory/ directory: rules, skill-context (a shared layer, a layer for development skills, and per-skill files), config.; in a conflict, a skill-context rule takes precedence over the base skill. The portable part can be moved into an extension, which is a directory, a Git repository, or an npm package: it adds to skills or replaces them, and it adds agents, MCP, and CLI commands |
| Recording the stack | The first plan of a new sibling is the stack adaptation plan. Its input is a stack brief with ten sections, including the stack and versions, the dev environment, make commands, evidence, and who runs live checks. The roles write the stack harness and the checks; Planveyor does not supply commands of its own for the stack |
/aif detects the stack from the project files (package., go., and others) or from a person’s answers and records it in DESCRIPTION., and the code conventions in rules/. For the stack, it looks for external skills and checks them with a scanner, or generates its own. /aif-verify picks the build and test commands from the project files. /aif-plan and /aif-implement can take them from the ai-factory commands catalog, which reads script declarations and runs nothing |
| Installation, upgrades, upstream path | planveyor sibling init creates the project from a template. Owner chooses a new version; planveyor sibling upgrade applies it to a copy of the project, checks the local sections, and creates an upgrade plan that the roles carry out. The project sends a shared problem to Planveyor as an upstream request through GitHub Issues |
ai-factory init installs the skills, agents, and MCP. update updates extensions, base skills, and agent files. A regular update reinstalls managed base skills when the package or installed copy has changed, and it specifically warns about overwriting a local edit when the packaged skill and its rendering context match their previous state and the installed copy has changed. Local edits to agent files are preserved; it also separately warns about changed skills that have a skill-context. The skill-context rules are preserved, and local edits to the managed .codex/ are preserved according to its update rules. upgrade moves a project from the v1 names to aif-*. Changes to the package itself are proposed through an issue or a PR |
As of October 31, 2026, 2.21.0 is the latest release.
We did not install or run anything: we describe the documentation and the code. We did not check how closely models actually follow these instructions.
Where AI Factory is stronger
- Reach. From September 30 through October 29, 2026, npm recorded 2,282 downloads of
ai-factory, which can include downloads from CI. We recorded 1,151 GitHub stars and 99 forks for the project on October 31, 2026. On October 31, 2026, the Reach and readers counter on Habr showed about 29,000 for the author’s February 12 article. Planveyor was published on October 30, 2026. - A shortcut and a bug route.
/aif-implement --without-plandoes a small task without a plan file; for an overly broad request, it suggests/aif-plan fastand stops. A bug goes through/aif-fix: when a regression check is needed and feasible, it runs before the fix and again afterward; once the fix is complete, the skill records a patch with the cause and how to prevent it. In Planveyor, a small change or a fix goes through an ordinary development plan. - Many agent harnesses and platforms. The skills install into 15 named agent harnesses, among them Cursor, GitHub Copilot, Gemini CLI, and OpenCode, and into the universal
.agents/directory; agent definitions go into Claude Code, Codex CLI, and Antigravity 2.0. The CLI needs Node.js 18 or newer; the project’s CI runs only on Ubuntu; for Windows, the code has separate handling, and the release notes include fixes. The first version of Planveyor works only on macOS: the usual sibling route runs the roles in Codex CLI, and Planner and Reviewer can be run in Claude Code in a single-role launch or in the Manager custom pipeline.skills/ - Rules build up from fixes.
/aif-evolvereads the patches and suggests rules with a link to the source. Before approval, each rule is compared with the current instructions on the original case, on a counterexample where it must not apply, and on regression cases. Only a rule that improved behavior with no detected regressions is offered to a person, and it is applied only after approval. A rule can be written for one skill or into a shared layer for several. After an AI Factory update, the same command suggests removing rules that are already part of the base skills./aif-transfercarries anonymized lessons over from a similar project. - An adaptation can be packaged. An extension, which is a directory, a Git repository, or an npm package, adds instructions to skills or replaces them, and adds skills, agents, MCP, and CLI commands. An extension can request the tool permissions that a specific skill needs; so far, they apply only in Claude Code. An extension is installed into a project with
ai-factory extension add, andai-factory updateupdates the extension from its source and reapplies the inserts after the base is updated. - Ready-made generators and a QA contour. Skills create CI settings for GitHub and GitLab; Docker and Compose files; a Makefile, a Taskfile, and a Justfile; and project documentation. The QA contour writes a test plan and test cases, runs them manually or with an agent, saves browser scenarios for replay, and ties the results to a commit.
- Parallel work.
implement-coordinatorruns independent tasks of a plan in parallel, each in a separate Git worktree, with up to four executors per layer; infullandultra,--parallelstarts implementation in a separate worktree when Git and branch creation are enabled, so separate runs can handle different features concurrently. In Planveyor, one role works at a time. - The autonomous aif-handoff board. In aif-handoff, coordinator code takes a task through its stages by a state machine. In
autoMode, the coordinator itself sends the work back for fixes or completes the task; aif-handoff defaults to three automated review cycles, and if blockers remain at the limit, the task is handed to a person. The coordinator reads enabled post-implementation verification from the machine-readableaif-gate-resultblock and parses stored reviewer output for automated review.
Where Planveyor is stronger
We compare the mechanisms as documented; we have not measured how they work in practice.
- The boundary between shared rules and stack rules is written down. A project on its own stack lives in a separate repository, a sibling, which holds the product code, the stack harness, plans, and reviews. The engine stays in an external Planveyor checkout, shared files arrive through the contract, and the project writes its stack rules in eight files, two local sections in each; the eight files are role prompts and playbooks. The shared statuses, authority, and route remain Planveyor’s rules. AI Factory also works in the product repository: the project rules live in the project’s
.ai-factory/directory, and the portable part can be moved into an extension./aif-evolvewrites rules for base skills toskill-context; it edits directly only the project’s or the user’s own skills. In a conflict, askill-contextrule takes precedence over the base skill, and an extension can replace a skill entirely. The difference here lies in how the engine, the shared contract, and the local rules are separated, not in having a separate repository as such. - One line in the plan shows whose turn it is. It is the status line in the plan header, and who sets which status is recorded in advance. The coordinator, Manager, starts the next role based on the status, and Oracle checks status, route, and review freshness. In AI Factory, the plan’s entry point is also called the source of truth for progress: progress is shown by the task checkboxes, and the instructions say to reconcile the agent’s task list with the entry point. In aif-handoff, a state machine in SQLite keeps the status. When the status is synced manually through MCP, conflicts are resolved by modification time; this rule does not apply to storing and passing on the text of the plan.
- Checks are part of the handoff itself. The plan linter, Oracle, and the exact bundle check can stop a handoff, an S1 finding sends the work back, and Architect accepts the work; receipt and closeout gates authorize progress. In AI Factory,
/aif-verifyis an optional step; in manual mode, its result is a report with ablockingflag, and if there are findings, a person can accept the work as is. A PR review is tied to the commit SHAs and the diff hash, and with+checka script verifies the hash before the recheck. But the review result is also a report with ablockingflag: we found no code in AI Factory itself that allows or forbids handing the work on based on that binding. During implementation,implement-coordinatorchecks the task on its own and makes up to two rounds of fixes for significant findings. An orchestrator can stop the work on theblockingflag: in aif-handoff, a check after implementation can be turned on in skills mode, and a blocking result moves the task toblocked_. Inexternal autoMode, the aif-handoff coordinator itself sends the work back for fixes or completes the task, and it hands a review that does not converge to a person. Afterdone, a person can separately approve the result (approve_→done verified) or send the task back for changes (request_).changes - A script checks what goes into the task commit. The task files are defined by templates: the plan, the code draft, and one review artifact with its assets. A script builds the exact set of files from explicitly named paths and checks it twice, before Coder’s work and after review; only these paths go into the task commit. In AI Factory,
/aif-commitsplits changes by the plan’s## Commit Plansection, if there is one, and asks a person about files outside the plan; without such a section, the commit is built from the staged changes. - The record of checks stays in the task files. The roles add to the
## Evidencelog in the plan, the review stores a snapshot of the target files, and both files are part of the task’s exact set of files. In AI Factory, the/aif-verifyand/aif-reviewreports stay in the session: a PR review lists the commit SHAs and the diff hash in its report but does not write them to the project. QA results, the/aif-loopcycle log, and patches are written to files, and findings accepted as is go into the plan as a comment. In aif-handoff, the output of review and checks is saved in the task. - A new version is adopted as a separate step. Owner chooses the Planveyor version, and
planveyor sibling upgradefirst applies it to a copy of the project; if there is a conflict, it leaves the project as it was. Then the roles take the upgrade plan through to acceptance. The project passes a shared problem to Planveyor as an upstream request through GitHub Issues; an accepted fix ships in a new Planveyor version and reaches the project throughupgrade. Untested upgrade cases are listed in What works now and what comes next. AI Factory updates the shipped skills and agent files with theupdatecommand; the project’sskill-contextrules are kept. The installer also keeps local edits to agent files and to the managed.codex/, while edits to base skills can be overwritten. This mechanism does not create a separate upgrade plan that goes through the roles; changes to the package itself are proposed through an issue or a PR.config. toml
Which to choose
AI Factory is a good fit if:
- you use a harness listed by AI Factory that Planveyor does not support, such as Cursor or GitHub Copilot;
- you have many small changes and bugs: there are
--without-plan,/aif-plan fast, and/aif-fix, which runs a regression check when one is needed and feasible; - you want project rules to build up from fixes, to be checked on examples before a person approves them, and to carry over between similar projects;
- you need ready-made generators for CI, Docker, and build files, a QA contour, or the autonomous aif-handoff board;
- you are fine with a person making the decision on the findings of checks in manual mode.
Planveyor is a good fit if:
- you need an explicit contract for handing off work: one line of the plan shows whose turn it is, and structural checks can stop a handoff;
- you need two review lanes, Architect acceptance, and an evidence log in the plan itself;
- you need an external engine, a shared rules contract, and bounded local sections in the product repository, and you want to adopt a new Planveyor version as a separate step with an upgrade plan;
- you work on macOS in Codex CLI; Planner and Reviewer can be run in Claude Code in a single-role launch or in the Manager custom pipeline;
- small changes and bugs can go through an ordinary development plan.
Sources
The mechanisms are described based on the documentation and code of the listed versions, checked on October 31, 2026.
- AI Factory 2.21.0, guides: README, Getting Started, Development Workflow, Core Skills, Plan Files, Quality Gates, Reflex Loop, Skill Evolution, Subagents, Extensions, Configuration, and Instruction Manifests.
- AI Factory 2.21.0, repository rules: AGENTS.md and CONTRIBUTING.md.
- AI Factory 2.21.0, skills and agents: aif, aif-plan, aif-implement, aif-verify, aif-review, aif-fix, aif-evolve, aif-docs, aif-archive, and aif-plan-overview; the references SETUP-EXISTING, IMPLEMENT-INLINE, IMPLEMENT-COMPLETION, VERIFY-REPORT, PR-SOURCE, and CANDIDATE-VALIDATION; the definitions of the implement-coordinator and review-validator agents.
- AI Factory 2.21.0, code and build: index.ts, update.ts, installer.ts, agents.ts, check-workflow.mjs, package.json, and CI settings.
- AI Factory, releases: 2.20.0 and 2.21.0, notes for 2.2.0 and 2.11.0.
- aif-handoff, commit
bf6a8b6(October 15, 2026), no releases: README, Architecture, Configuration, Getting Started, and MCP Sync. - aif-handoff, code at the same commit: env.ts, constants.ts, and stateMachine.ts.
- Planveyor: for the documentation of the first version, October 30, 2026, see the GitHub repository; its learning section, in Russian and including post-release changes, is on planveyor.ru.