AIT
English · 简体中文 · 繁體中文
Current stable: 1.2.0.
Development target: 1.2.1. Its source, consumer compatibility and final
artifacts are being qualified. 1.2.1 packages and channel availability remain
pending publication; installation examples below select published 1.2.0.
Turn parallel coding-agent sessions into verified, traceable Tasks.
AIT is a local-first CLI for individual developers and maintainers who delegate
code changes to agents and own the result. Connect each request to its isolated
worktree, the revision that passed checks, and the history you need when a
regression appears. Bring your own coding agent; keep intent and acceptance in
your hands.

Try your first Task ·
Watch the demo ·
1.2.1 manual preparation ·
Get help
简体中文入门 ·
繁體中文入門
1.2.1 development target
The development line prepares reviewed security and platform repairs and
shared autonomous-rebase guidance. Full source admission, matching package
artifacts, cross-platform and Web qualification, and publication readback
remain required. It retains these published 1.2.0 workflow boundaries:
- Agent Teams enabled for new repositories. Fresh
ait init enables Teams;
existing repository settings and session bindings are preserved. Team setup,
sprint binding and Local/Remote scope are independent. Usable sessions still
require a supported agent host.
- Stable remote review and recoverable finish. Later Local finishes do not
change sealed remote content. After a pre-acceptance Server restart, reprepare
uses fresh CI and required review; accepted finish retries reuse their original
acceptance.
- Python and JavaScript CLIs call Rust directly. Both
ait frontends use
typed PyO3 or Node-API operations in-process, without launching a Rust CLI
subprocess.
- Chat integrations retired; source retained. Standalone
ait-agent and
ait-agent-worker are excluded from 1.2.0. Agent Teams and core Python/Node
bindings remain supported; source, licenses and historical releases remain.
How Agent Teams work
You define the intent and acceptance criteria. The Product Manager clarifies
direction and measurable acceptance. The Project Manager organizes the work and
assigns Developers and an independent Reviewer. Developers implement changes
and run the relevant checks in their Task worktrees. The Reviewer checks the
implementation and verification evidence, returns findings to the Developer
when corrections are needed, and handles the required review and finish steps.
Preparing a session alone does not assign work or start implementation.
Fresh team candidates use ai_only_experimental as the effective default:
independent agent code review without an extra human code-review approval step.
A valid, explicitly selected author mode takes precedence. Enabling Teams does
not rewrite the saved solo author-mode default. Sealed candidates retain their
original mode. Real CI, Task approval and mandatory Policy still apply.
For example, two Developers can work on separate Tasks in parallel, each with an
isolated worktree and, when sprint binding is enabled, its own bound requirement
and acceptance criteria. After independent review and the applicable checks,
AIT rechecks each Task against the shared target before applying it in sequence.
Compatible changes can be reconciled with the required validation; real conflicts
stop completion and return to the responsible Developer for correction and review.
A successful Task finish reports completion, worktree cleanup and, when bound,
the sprint-item closeout. Later Local finishes do not alter sealed remote content.
Fresh ait init enables Teams and generates repository workflow instructions.
Reinitializing an existing repository preserves its settings and session bindings.
Usable conversations still require a supported agent host. Teams, sprint binding,
and Local/Remote scope are independent choices; local initialization does not
require a running Server. Use the generated instructions for exact commands and
the installed version's guide for session preparation prerequisites.
The planned 1.2.1 Agent Teams guide
describes the development contract. With Teams disabled, the executor rebases
in-scope work independently when needed. With Teams enabled, the Developer
rebases and resolves in-scope conflicts, then the Reviewer verifies integration
before finish. Ordinary target advancement needs no PM relay; scope decisions
and unresolved blockers still follow the existing escalation rules.
Follow an AIT Task

Actual AIT command output recorded on 2026-09-07, edited into a 33-second replay. It shows one
Task completing the same downloadable example below. Paths are shortened;
playback duration is not a performance measurement.
Watch with captions and the full transcript.
For multiple Tasks, explore the separate
illustrated parallel-work and regression scenarios
or the workflow diagram, with Traditional Chinese labels.
Try your first Task
Start in a fresh example folder. You need your own coding agent and Node.js 22+
for this small example; Node.js is not an AIT repository requirement.
1. Install AIT 1.2.0.
Choose the native package for your platform from the v1.2.0 release
or the install guide. Then check the installed version:
ait --version
The version must be 1.2.0. Python and JavaScript package routes are listed below.
Other package channels are in the install guide.
2. Prepare the example.
Download the example ZIP
and its SHA-256.
Extract it, then open a terminal in the extracted ait-first-task folder.
Replace your-name with the name to record for local review.
node --test tests/baseline.test.mjs
ait init
ait config set --user-name "your-name"
The three baseline tests should pass. Task start records the initial baseline
through its initialization workflow. Create checkpoints only inside the returned
Task worktree, using its Task ID. For an existing project, use the
published Quickstart instead.
3. After initialization, start a fresh coding-agent session in the example folder.
ait init creates managed workflow blocks in AGENTS.md and CLAUDE.md.
Agents that support the corresponding repository instruction file can load it
when the session starts. Give the agent this request:
> Add openTasks(tasks) to src/tasks.mjs: return a new array of tasks whose done property is not true,
> preserving order, task objects and input data. Keep taskTitles working. Add
> focused tests. Do not edit checks/, remove existing tests or add dependencies.
> Run the existing tests and node checks/first-task.mjs before finishing the Task.
The agent follows the generated route, records a sprint item when required,
works in the returned Task worktree and runs the checks. The generated block
supplies the installed version's exact commands and completion requirements.
If your tool does not load repository instructions automatically, configure its
instruction-file integration or ask it to read the generated file before retrying.
See the Quickstart troubleshooting.
4. Check the result in the original example folder.
node --test tests/*.test.mjs
node checks/first-task.mjs
The feature check prints FIRST_TASK_ACCEPTED. Also inspect the actual Task finish
result: the Task completed, its worktree was cleaned, and the bound sprint item
closed where applicable. Feature acceptance and workflow completion are separate
checks. Review the change, then try one small task in your own project.
A pending, blocked or partial result is unfinished, even if an exit code is zero
or the Task already reports completed. Preserve the successful apply and its
original identity while recovering only the unfinished closeout.
What you gain
- Keep the request attached to the work. A precise Markdown sprint item and
its Plan revision stay bound to the Task. After context compression, generated
instructions require the agent to reread that item.
- Finish against the current project. Independent Tasks have separate
worktrees. AIT rechecks the target; the responsible executor rebases when
needed and validates integration. Real conflicts require correction before
successful Task finish and cleanup.
- Find the context when something breaks.
ait blame links affected code or
Plan text to recorded revisions and available workflow history. The agent uses
that evidence to diagnose a problem, make a bounded repair and verify it.
Why AIT beyond worktrees?
A worktree gives a task its own files. AIT manages the request, revision,
applicable checks and completion as one Task lifecycle. Evaluate it against the
agent, Git, issue tracker, CI and scripts you already use:
| Question you need to answer | What AIT records or coordinates |
|---|
| Which request and acceptance conditions belong to this change? | The exact Plan item and revision bound to the Task. |
| Which result passed, and can it finish against today's target? | Revision identity, applicable evidence, target checks and recoverable finish state. |
| Where did this later regression come from? | Recorded revision and workflow context available through blame. Unknown provenance stays unknown. |
Authoring and validation can run in parallel; admission to a shared target Line
is revalidated and serialized. A clean rebase still needs relevant validation.
Worktree instructions are a workflow constraint, not an operating-system sandbox;
blame supplies provenance, not automatic diagnosis or repair.
Try the same workflow scenarios and compare the
time you spend confirming intent, reviewing, integrating and investigating.
Measured against Git worktrees
Two separately published 200-session campaigns used GPT-5.6 Sol at max
reasoning on the same five frozen game-development fixtures, with 20 admitted
paired attempts per workload. Each effective view contains 100 fresh AIT
sessions and 100 fresh Git sessions, with 100/100 functional acceptance in
each treatment.
| Campaign | Workflow | Effective sessions | Workload-median token saving (95% CI) | Workload-median elapsed saving |
|---|
| Released 1.1.0 baseline | Sprint off | 100 AIT + 100 Git | 34.95% (27.85%-39.77%) | 21.04% |
| Natural-inspection replication | Sprint on | 100 AIT + 100 Git | 36.28% (28.26%-41.83%) | 15.22% |
These workload-median provider-token results apply to the named model and frozen
fixtures. The sessions ran sequentially; they do not measure parallel throughput
or guarantee savings on your repository.
Methods, exclusions and the incomplete Claude Fable campaign
The released baseline used 46,300,272 AIT tokens versus 70,140,925 Git tokens
(33.99% lower); its evidence history contains 201 executed sessions and one
excluded functional result. The sprint-on replication used 45,432,262 versus
71,238,660 (36.23% lower); its evidence history contains 203 executed sessions
and three disclosed exclusions. The workload-balanced figures in the table
are the primary metrics; pooled totals are descriptive.
The campaigns share fixture bytes, workload matrix, model pin, and symmetric
read-only inspection allowances. They differ in workflow mode, prompts, AIT
subject binary, seed, date, and recovery history. They are convergent
replications, not pooled observations or a causal sprint-on/off A/B test, so
the 1.33 percentage-point difference is not attributed to sprint mode. Results
remain scoped to these fixtures and linear fresh sessions; they are not a
promise for every workload and do not measure high-concurrency execution.
Released baseline evidence ·
Sprint-on replication evidence
Claude Fable benchmark — incomplete checkpoint
An incomplete frozen 200-session benchmark compares AIT's task-oriented
workflow with an agent-managed local Git-worktree treatment across the same
five game-development workloads.
Recorded progress: 22 / 200 sessions
All 22 observed runs were valid and accepted at that checkpoint, with no model
fallback. The campaign remains incomplete and claim_eligible=false; this is
preserved interim evidence, not a completed Claude/Fable campaign or a
new performance claim.
The latest balanced checkpoint is 20/200, with two complete AIT/Git pairs for
each workload:
| Workload | Valid pairs | AIT token saving | Bootstrap CI95 |
|---|
| GD-01 | 2 | 20.32% | 9.13% to 32.72% |
| GD-02 | 2 | -4.35% | -18.16% to 14.35% |
| GD-03 | 2 | 37.56% | 6.57% to 52.02% |
| GD-04 | 2 | 23.77% | 23.50% to 23.97% |
| GD-05 | 2 | 2.13% | -26.89% to 25.93% |
The workload-median token saving is 20.32%, with an aggregate bootstrap
CI95 of 6.57% to 25.93%. All 20 checkpoint runs were valid and accepted,
with no statistical exclusions or model fallback. With only two pairs per
workload, several intervals remain broad or cross zero, so these interim
numbers are published for transparency, not as a product claim.
Why I Built AIT
The six problems behind AIT
-
AI agents often produce one giant commit that means very little.
An agent can change dozens of files and dump everything into one commit. The
commit shows what changed, but it does not clearly explain what job the agent
was trying to finish. I wanted history to be organized around meaningful
tasks, not around the moment an agent happened to save its work.
-
A sprint card should become real engineering work.
I wanted a Jira-like workflow where opening a sprint card starts a real,
isolated task, and finishing that task means the issue was actually
resolved. The ticket, the agent, the code, the validation, and the final
result should belong to the same lifecycle.
-
Traditional Git workflow is built around human behavior.
A person usually makes a small change, reviews it, stages it, commits it,
rebases it, and moves on. In the vibe-coding era, agents produce task-sized
changes much faster. Repeating all that manual Git choreography for every
agent starts getting in the way.
-
Markdown should be more than another file in the repository.
Markdown is probably the best shared language between humans and agents.
Git can store Markdown, but it does not understand that a checklist item
represents a plan, a task, or an acceptance condition. I wanted the intent
written in Markdown to stay connected to the code that implements it.
-
When an agent breaks something, I want answers quickly.
I do not want to search through old chats, random commits, and disconnected
tickets to understand a regression. AIT keeps the task, revision,
validation, agent context, and Task finish history connected, so ait blame
can lead from a bad line back to the work that introduced it.
-
The commands are designed for agents first.
The CLI is not designed around what is pleasant for a human to type
repeatedly. It is designed around what is difficult for an agent to
misunderstand: stable commands, explicit state, structured results, exact
workspaces, clear failures, and a clear next action. Humans still decide the
intent, review the result, and own the consequences.
AIT doesn't care what language your repository is in. It never tries to
detect a project type: build, test and ignore rules come from your repository.
Your coding agent performs the implementation and chosen checks; AIT manages
the task lifecycle and enforces the applicable workflow conditions.
ait init establishes the local .ait authority and generates managed workflow
blocks in AGENTS.md and CLAUDE.md. The generated block is the source of truth for the
effective commands; local repository initialization does not need a running ait-server.
1.2.1 development workflow: Follow the instructions generated by your installed
version for commands and completion requirements.
Agent Teams, sprint binding and Local/Remote scope are independent.
Fresh ait init enables Agent Teams; existing repositories retain their settings.
A supported agent host must still prepare usable sessions. ait team contacts --json
reports bindings and native availability. ait team session ensure prepares an
existing member; assignment and desktop execution status remain separate.
Preparing a Reviewer session requires server registration.
Automatic session preparation and session checks currently use the native
Codex host. AIT also generates CLAUDE.md repository guidance. Live Claude
host orchestration, mixed-provider delivery and mobile workflows remain
deferred and unqualified. Generated guidance and the incomplete benchmark
do not establish Claude host qualification.
Agent Teams and configuration reference:
Agent Teams contacts and sessions ·
Native command reference, including init and config.
These are planned 1.2.1 references. Existing
1.2.0 documentation retains its
published-version scope. Generated Claude guidance currently requires an
explicit safe --edit-root; AGENTS guidance may use the returned root.
Follow the actual installed harness instructions.
Follow generated instructions for ait task start, ait snapshot create
checkpoints, Markdown lineage through ait plan sync, and the applicable
ait task finish or ait workflow finish closeout. In a team, the assigned
independent Reviewer owns the required review and finish. Remote ait workflow ready
checks readiness; --apply prepares the candidate. Preserve the returned exact
identity through CI and guarded finish. After a preformal Server restart, explicit
ready apply may reprepare the same sealed content/mode with a new Job, CI and
required review. Accepted formal retries reuse their original acceptance.
Source target: v1.2.1. ait-monorepo-source.json records
the exported component Snapshots. See release status
for package-channel availability.
Published 1.1.4 release verification (2026-10-07)
Checked 2026-10-07: stable 1.1.4 is published through GitHub, PyPI, npm, Homebrew, APT and GHCR, with stable aliases read back. WinGet 1.1.4 PR 448064 has merged; fresh public-source discovery and Windows x64 installation passed. Installation evidence. The verified 1.1.4 release archives retain that historical release. See release status for changes after this checkpoint.
The planned 1.2.1 manuals include usage,
command and
Agent Teams PDF editions.
These links are coordinated preparation, with deployment and final-artifact
readback pending. Archived 1.1.1 technical manuals/PDFs and recorded demos keep
their original version and date. Use the Quickstart
and installed-version guidance for published installation.
What each install route gives you
Package contents and historical version differences
Package contents in the published AIT 1.2.0:
| Route | Declared surface |
|---|
PyPI ait-native | A Python ait frontend with typed PyO3 operations; no standalone native CLI, Server or Runner. |
npm @wa120/ait-native | The JavaScript/TypeScript API, Node-API addon and JavaScript ait frontend; no standalone native CLI, Server or Runner. |
| Homebrew | The native product bundle contains ait, ait-server and ait-runner. Installation starts neither background process. |
| APT | ait-native owns all three native commands; ait-runner is a dependency-only transition alias. The packaged service remains server-only. |
| WinGet | The 1.2.0 submission is under community review. Use the Windows archives from GitHub until WinGet's public catalog lists 1.2.0. |
| OCI | Separate ait-server and ait-runner images with the version tag 1.2.0. |
| GitHub Release | Checksum-bound native archives and the package assets used by the declared routes. |
AIT 1.2.0 uses Python and JavaScript ait frontends with typed PyO3 and
Node-API operations. Both run Core operations in-process. Use the native
distribution channels for standalone CLI, Server and Runner executables.
The immutable 1.1.0 Homebrew, apt and WinGet product packages contain the
ait/ait-server pair; apt offered the runner separately. That historical
exception is preserved. See the install guide
for current channel instructions and the release page
for exact assets.
Install the Python or JavaScript package
Choose one package for the ait command, then check ait --version:
Python requires Python 3.11+; the npm package requires Node.js 20+.
python -m pip install ait-native==1.2.0
npm install --global @wa120/ait-native@1.2.0
The Python wheel provides a Python ait frontend and PyO3 binding. The npm
package provides a JavaScript ait frontend and Node-API addon. Neither
package contains standalone native CLI, Server or Runner executables.
These commands pin 1.2.0. GitHub's latest release, npm's latest, and the
Server and Runner OCI latest tags have been verified against 1.2.0. Check
release status for current channel availability.
Migrating to 1.2.0
The published 1.2.0 family excludes the standalone chat commands ait-agent and
ait-agent-worker. Agent Teams and core Python/Node bindings remain. Existing
chat binding symbols stay importable and return an explicit retirement error
when called. Preserve settings, repository data and manually installed files;
package upgrades use that channel's recorded ownership rather than deleting
commands found on PATH.
Build this source tree
Native source builds and language bindings
From a clean checkout on macOS or Linux:
./build-release.sh
On Windows PowerShell:
.\build-release.ps1
The build produces the local native commands, a direct PyO3 Python wheel,
the portable JS/TS package, and the current host's Node-API addon
under dist/source-build/. These source-build outputs and their receipts
are explicitly non-publishable; protected release CI promotes only
separately admitted family artifacts.
For Node.js, import { NativeRuntime } from "@wa120/ait-native" loads the package-owned native/ait_napi.node in the
current process. The npm ait JavaScript frontend calls typed binding
operations; it does not locate or launch a child executable.
Share a result or get help
Ask a question or share a workflow
or report a bug.
Tell us whether your first Task completed, where you needed help, and whether
you could repeat the workflow on another task. Share only information you can
publish; a private repository is not required for feedback.
License map
The root LICENSE is explicit: root release controls,
documentation, ait-core/**, ait-runner/**, ait-python/**, and
ait-node/** are Apache-2.0. The sole component exception is
ait-server/**, which is AGPL-3.0-only. Each component subtree keeps its
exact LICENSE and NOTICE; bundling does not relicense either component.
The detailed package, source, build, and license contract lives in
docs/distribution.md.