Workflow before code. Evidence before trust.

Make AI-assisted
delivery predictable

Give your coding agent one small change. Review what changed, which checks ran, and what still needs your attention.

AI Workflow is an npm CLI that installs agents, commands, skills, policies and templates into your repository. It guides coding agents from request to implementation, validation and evidence.

  • ✓Scoped delivery
  • ✓Observed validation
  • ✓Release conformance
OpenCode PrimaryAntigravity SupportedCodex SupportedClaude Code Supported with limitations
The delivery problem

Coding agents need delivery controls around them

Fast output is not the same as a controlled delivery. Without an explicit path, teams have to reconstruct scope, branch state, validation, and evidence after the fact.

⊘

Uncontrolled diffs

A request can turn into more change than the team intended to review.

↯

Wrong-branch work

Without a branch gate, write-mode work can begin on a protected branch.

⊗

False success

A completion message can arrive without observed results from the required checks.

⌁

Rebuilt context

Decisions, ownership, and task constraints get reconstructed across sessions.

↻

Unbounded remediation

A failed check can trigger changes that quietly expand the approved scope.

What AIWK changes

A more controlled path from request to handoff

AI Workflow Kit adds a workflow layer around coding agents. The value is in the boundaries it makes visible and the evidence it expects—not in the size of its internal inventory.

⌁

Scope the change

Request classification and proportional policies make the intended work easier to define and review.

⌂

Protect the branch

The Branch Gate blocks write-mode work on protected branches and establishes a safe path when recovery is allowed.

◉

Make ownership explicit

A workflow owner routes delivery work while capability specialists contribute bounded analysis.

✓

Observe validation

A successful delivery needs real command results. Repositories can declare layered checks and selective file globs (changedPaths) in .ai-workflow/validation.json.

↻

Bound remediation

Concrete validation findings can be repaired within a configured attempt limit instead of opening an uncontrolled loop.

▤

Protect consumer updates

Receipt-aware updates (npx aw update) reconcile untouched AIWK assets while preserving consumer-owned or modified files.

AIWK does not replace your coding agent. It installs managed workflow assets into the repository and keeps runtime-specific integration boundaries explicit.

Canonical AIWK execution flow

Canonical AI Workflow Kit execution flow

1
RequestCapture the task and constraints
2
ClassificationChoose a proportional policy
3
Branch GateKeep writes off protected branches
4
Workflow OwnerRoute and own the delivery
5
ImplementationDeliver the scoped change
6
Observed ValidationUse real command results
7
Evidence + HandoffReturn outcome and limitations
AIWK capabilities

Built as a coordinated workflow system

AIWK is not a single prompt. It combines explicit workflow ownership, bounded specialist analysis, reusable domain skills, and repeatable commands.

6
Primary agents
20
Specialist subagents
25
Reusable skills
14
Workflow commands

Verified against the installed AIWK package. These counts describe the capability surface, not product quality or behavioral parity.

Primary agents

Ownership stays explicit

6 roles

Primary agents own workflow stages and handoffs. They coordinate delivery responsibility rather than acting as interchangeable personalities.

  • AtlasCoordinatorClassifies requests, manages safe branches, and routes workflow stages.
  • NexusAnalystResearches codebase context, defines requirements, and authors specifications.
  • OrionPlannerSequences pull requests, release readiness, and integration verification.
  • AstraEngineerImplements code changes with minimum diff safely on feature branches.
  • SageValidatorRuns quality gates, audits behavioral diffs, and writes verified evidence.
  • PhoenixRecoveryApplies targeted remediation for failed checks within bounded attempt limits.
Proportional by design

Risk levels & automatic calibration

Automatic

AIWK automatically assigns a risk level to every request. Spec requirements, evidence persistence, and remediation budgets scale accordingly without manual configuration.

Signal in your requestRisk levelSpec requiredEvidence persistedRemediation limit
"fix typo in README"LowNoNo1 attempt
"refactor auth module"MediumNoOptional2 attempts
"publish to npm, payment integration"HighYes (SDD)Yes (EVIDENCE.json)3 attempts

A README typo gets 1 remediation attempt and no spec; a payment integration or npm publish gets 3 attempts, a required SDD, and mandatory persisted evidence.

Specialist subagents

Bounded domain analysis

20 roles

Specialists provide focused analysis when needed and return their findings to the active workflow owner. They do not receive workspace ownership.

  • Architecture
  • Security
  • Frontend
  • Backend
  • Database
  • QA
  • Performance
  • DevOps
  • Documentation
  • Product / discovery
View all 20 specialist roles
  • Architecture-Specialist
  • Backend-Engineer
  • Deployment-Specialist
  • Design-Specialist
  • Docs-Engineer
  • Frontend-Engineer
  • Frontend-Design-System-Specialist
  • Full-Stack-Engineer
  • Token-Economist
  • PR-Manager
  • Discovery-Analyst
  • Product-Planner
  • Memory-Guardian
  • Prompt-Engineer
  • QA-Engineer
  • Refactoring-Specialist
  • Release-Specialist
  • SDD-Specialist
  • Technical-Leader
  • UI-UX-Engineer
Reusable & custom skills

Guidance when relevant

25 skills

Skills load focused technical guidance only when relevant to the current task. Beyond 25 built-in domain skills, author workspace-local skills using npx aw skill create.

  • frontend-development
  • qa-workflow
  • release-workflow
  • documentation
  • performance
View all 25 reusable skills
  • architecture
  • backend-development
  • cyber-security
  • database
  • deployment
  • design-principles
  • devops
  • documentation
  • frontend-design-system
  • frontend-development
  • full-stack-development
  • localization
  • optimize-tokens
  • performance
  • pr-workflow
  • product-discovery
  • product-planning
  • project-memory
  • prompt-engineer
  • qa-workflow
  • refactoring
  • release-workflow
  • spec-driven-development
  • technical-leadership
  • ui-ux-design
Workflow commands & CLI

Repeatable entry points

14 commands

Commands provide repeatable entry points for planning, implementation, validation, and delivery. Supports slash commands and CLI automation (execute, validate, update, doctor).

  • /plan
  • /implement
  • /validate
  • /release
  • /run
View all 14 workflow commands
  • /atlas
  • /audit
  • /deploy
  • /discover
  • /implement
  • /optimize-tokens
  • /plan
  • /release
  • /run
  • /spec-create
  • /spec-implement
  • /spec-review
  • /update-memory
  • /validate
Release conformance

Know what passed before you trust a release

Trace the observed checks back to the exact tarball that was qualified. Missing or skipped required evidence blocks publication.

Trace the package you install

Conceptual contract
  1. Source commit
  2. Candidate tarball
  3. Conformance checks
  4. OpenCode qualification
  5. Release attestation
  6. Publication

The attestation binds the source commit, version, tag, package identity, and tarball SHA-256. It records observed commands, conformance results, and OpenCode qualification for that tarball.

Required release checks

  • Protected branchWrite-mode work cannot bypass configured protected branches.
  • Read-only confinementRead-only work cannot mutate consumer files or commit changes.
  • Workflow ownershipDelegation must preserve the confirmed workflow owner and handoff.
  • Observed validationA failed or unobserved command cannot become a success claim.
  • Bounded remediationRecovery stays within the configured remediation budget.
  • Approval boundariesHigh-risk work stops at the required approval checkpoint.
  • Consumer lifecycle safetyExact packed-consumer installation and lifecycle checks remain valid.
Runtime compatibility

Use the integration that matches your runtime

AIWK is OpenCode-first and provides documented integration paths for Antigravity, Codex, and Claude Code. The level describes the evidence and boundary—not behavioral parity.

OpenCode

Primary
Integration
opencode.jsonc plus native agents, commands, and skills.
Material limitation
Direct-agent behavior depends on a validated model; use ai-workflow execute for CLI-enforced gates.

Antigravity

Supported
Integration
ANTIGRAVITY.md plus .agents/agents/, .agents/skills/, and .agents/commands/.
Material limitation
Agents are listed under /agents only while actively running through invoke_subagent.

Codex

Supported
Integration
AGENTS.md, .codex/agents/, .agents/skills/, and .agents/docs/policies/.
Material limitation
The App Server protocol remains experimental; execution is opt-in, trust-gated, and adapter-controlled rather than native custom-subagent identity.

Claude Code

Supported with limitations
Integration
CLAUDE.md plus .claude/agents/ and .claude/skills/.
Material limitation
Authenticated execution is opt-in; workspace-write delivery and full workflow evidence are not release-gated.
Install

Install once. Choose your runtime.

Add the package from your Git repository root, then run the commands for your runtime.

Common dependencynpm install -D @williambeto/ai-workflow

OpenCode

Primary
npx aw init --yes &&
npx aw doctor &&
opencode reload &&
opencode

Check for Atlas in the agent selector and /atlas in the slash-command menu. The OpenCode service can retain the old configuration when a project is recreated at the same path. Reload from the project root before reopening OpenCode.

Codex

Supported
npx aw init --yes --codex &&
npx aw doctor &&
codex

Trust the repository in Codex first. Use AGENTS.md and .codex/agents/, or run ai-workflow execute --runtime=codex for adapter-controlled gates.

Claude Code

Supported with limitations
npx aw init --yes --claude &&
npx aw doctor &&
claude

Use the generated CLAUDE.md, native agents (claude --agent <name>), and skills. Authenticated execution is opt-in and full workspace-write evidence is not release-gated.

Antigravity

Supported
npx aw init --yes --antigravity &&
npx aw doctor &&
agy

Use the generated ANTIGRAVITY.md and .agents/ projection. In the IDE, select Atlas in the agent selector or begin a prompt with /atlas.

Your first exercise

After setup, paste this prompt into your coding agent.

Inspect this repository in read-only mode. Recommend one small change, identify the files it would touch, and list the checks you would run. Leave the working tree untouched.

Review the plan before authorizing any changes.

Run your first task

Build a GitHub Repository Explorer with your preferred coding agent. See how the same prompt can produce different interfaces.

  1. Use a dedicated Git repository or a disposable project, with AIWK installed and initialized for your runtime.
  2. Open your coding agent and paste the prompt below. Review and approve any required workflow gates.
  3. When the agent finishes, open the local application and inspect the validation results and available evidence.

GitHub Repository Explorer

Build a responsive GitHub Repository Explorer using Vue 3 or React, TypeScript, and Tailwind CSS. Respect the existing project stack or initialize one if needed. Integrate the public GitHub API and display real repository metrics in beautifully designed cards. Create a distinctive, premium interface with strong typography, refined spacing, visual hierarchy, and a restrained color palette. Avoid generic AI aesthetics, gradients, and glassmorphism. Handle loading, empty, error, and rate-limit states. Follow the AIWK workflow using the appropriate agents, skills, and quality gates. Validate functionality, accessibility, responsiveness, and build. Deliver a working application with documented evidence. Once completed, start the development server, open the application in the browser if supported, and provide the local URL so the user can immediately explore the finished website.

AIWK workflows across coding agents

The project author supplied these screenshots from three reported runs of the task.

GPT-6.2 Sol · High
Reposcope

Runtime: OpenCode

Reposcope with a purple-accented editorial hero, repository stack illustration, search controls, language filters, and nine repository cards.View full screenshot

A product-oriented interface with a distinct identity, editorial typography, and a concise repository index.

GPT-6.2 Sol · High
RepoScope

Runtime: Codex

RepoScope with a blue-accented hero, dotted globe illustration, language filters, repository avatars, metrics, activity dates, and pagination.View full screenshot

A product-oriented explorer with a distinctive globe illustration, repository avatars, compact activity metrics, and pagination.

Gemini 4 Neon · High
GitHub Repository Index

Runtime: Antigravity

GitHub Repository Index showing search presets, API quota status, repository cards with tags, license and activity metadata, and pagination.View full screenshot

A technical catalog with compact metrics, visible search presets, quota status, metadata, and pagination.

API behavior, accessibility, build results, and AIWK gate enforcement remain unverified for these runs. Results depend on the model, runtime, project configuration, and available tools.

Honest boundaries

What this is not

AIWK makes workflow controls and evidence more explicit. It does not remove the need for engineering judgment.

!

Not a correctness guarantee

Tests, review and production safeguards are still required.

!

Not a replacement for CI or security

AIWK complements existing engineering controls; it does not certify the software itself.

!

Not runtime-independent

Runtime and model capabilities still affect direct-agent behavior and available enforcement.

!

Not the same path in every runtime

Direct model interaction may not have the same enforcement as the AIWK control plane, especially where integrations are limited.

Build a delivery path you can inspect.

Make AI-assisted delivery more predictable, reviewable, and evidence-backed.