agents-inc
Run your AI subscriptions like a small company you direct: a Lead splits each request among Workers, a script checks every result, and a reviewer must accept it. You stay in charge and approve what matters. The project is experimental, and the governed path is off until you turn it on.
New here? Start with the guide: install, set up providers and run your first job.
Table of Contents
- Status & Roadmap
- Why it exists
- Installation
- Quick start
- How it works
- Limitations
- Documentation
- Citation and license
1. Status & Roadmap
Version 0.8.0. The project is experimental and pre-MVP. The governed path (WORKERBEES_GOVERNANCE) is off by default. Changes per release are in the CHANGELOG. The build plan and cut line are in docs/PLAN-MVP.md. Open work is tracked in the issues.
- Now: the Board pane is shipped (phases 1 to 3). Measure the token cost of delegation against doing the work in one session, and port the test suite to Windows (#138).
- Next: Board phase 4, a Secretary that pulls Items out of chat turns the Chief of Staff left unmarked, once a Mistral free-tier check passes (D90).
- Later: route work by data classification, so unpublished work reaches only approved providers (#19).
2. Why it exists
Delegated model work can look done while it is wrong. A flat pool of agents has no way to catch that. agents-inc borrows a corporate org chart. The CEO is you. The CoS (chief of staff) is the session you talk to. A Lead manages one run, and a Worker reports to a Lead.
Workers take routine work, and the Lead manages them. An author never grades its own work: the Lead checks what its Workers report before anything moves up. Savings are not yet measured, so none are claimed (docs/PLAN-MVP.md).
Illustration of how agents-inc delegates and checks work.
3. Installation
Requirements: Python 3.11 or later, Bash 3.2 or later, jq, curl, and the Claude Code CLI signed in to an Anthropic subscription. The Codex CLI is optional; when present, it serves the Codex rungs and cross-vendor review.
pip install agents-inc
agents-inc install # skills ship in the package; no checkout needed
agents-inc doctor # first line prints READY when the install works
Restart Claude Code (and Codex, if used) after the install. agents-inc install --without-codex skips Codex on purpose. To install from a git checkout instead, pass --source <checkout>. Optional Gemini, Mistral and OpenRouter keys, the setup decision tree and key storage rules are in docs/START-HERE.md.
Hooks this installs
agents-inc install adds these hooks to ~/.claude/settings.json, plus "agents-inc dispatch *", "agents-inc run *", "agents-inc repair *" and "agents-inc install *" under sandbox.excludedCommands so a sandboxed Bash can start a dispatch (each delegate and each gate still gets its own sandbox-exec). It prints the entries first and asks before writing; --yes skips the question, and with no terminal and no --yes it writes nothing and prints the command to run. --no-sandbox-exclude leaves the exclusion out. repair replaces an older "agents-inc *" entry with the narrow ones. agents-inc unwire removes only these entries.
SessionStartgives Claude Code and Codex host-specific routing guidance.- Claude Code's
PreToolUsehook checks Agent/Task routing, prevents persona impersonation, and warns about duplicate delegations. ThePostToolUsehook records the result and releases the foreground task's duplicate claim. - Codex's
SubagentStartandSubagentStophooks record observed lifecycle events when the host runs trusted hooks. - Claude Code's
UserPromptSubmithook routes@aliasquestions with--legacy-routes.
Choose the route in your host
| Host | Route |
|---|---|
| Codex | Use a native subagent when the session offers the requested model and permits delegation. Reserve agents-inc dispatch in Codex for authorized Claude integration tests. |
| Claude Code | Use Agent for an offered Claude model when the agent gate permits it. With the mod, use Agent with a registered guest type such as agents-inc:luna for an authorized cross-provider task. Check agents-inc native status. |
| Gemini | Use a native subagent if the current session offers it and permits the task. |
| Scripts and broker Workers | Use governed agents-inc dispatch within the existing grants. |
Resolve the requested model against the host's current catalog. Keep the brief and file scope small. Let the host handle required approvals and continue independent work if a delegate is unavailable or denied. Verify the result before accepting it. The routing and ledger guide describes what each host records.
Claude agent gate. The default advisory mode allows host-permitted
Claude Agent calls. off also leaves these calls to the host. enforce
allows the foreground types Explore, Plan, claude-code-guide, and
statusline-setup, plus the registered agents-inc types. All modes retain
the persona guard. Check the effective mode with agents-inc doctor and
configure it with agents-inc repair --agent-gate enforce|advisory|off.
The relay type, mcp__agents-inc__run and @alias are optional legacy routes.
Enable them with agents-inc install --legacy-routes or
agents-inc repair --legacy-routes. Repair preserves that choice unless
you pass --no-legacy-routes.
4. Quick start
Name your models in plain English. The ladder decides who manages whom, and the rest fills in. You do not hand-pick every model or write JSON.
Write the request to the CoS as <task>. <models>., for example:
"Fix the parser. opus, haiku."
The higher rung manages and the lower rung reports to it, so opus is the Lead and haiku is its Worker. Defaults fill the rest: effort medium, gates derived from the task, and the home repo from the consumer's AGENTS.md. Each extra word, such as an effort level, overrides one default.
| Rung | Claude | Codex | Role |
|---|---|---|---|
| Executive | fable | astra | Final say, irreversible acts, conflicting results |
| Orchestrator | opus | sol | Decompose, dispatch, plan |
| Workhorse | sonnet | terra | Normal coding, research, synthesis |
| Grunt | haiku | luna | Classify, extract, summarize, or make task-authorized edits; free Gemini, Mistral and OpenRouter models enter only here |
For governed dispatch, the CoS uses one command to render and lint the brief, snapshot the tree, launch the delegate and run the checks:
agents-inc dispatch --slots slots.json --model sonnet --dry-run
agents-inc models chain supervisor=opus # change the default REPORTING CHAIN
Every dispatch prompt carries a REPORTING CHAIN line derived from the ladder, and every launched dispatch writes one dispatched row to the ledger. Codex delegates can write to --cwd by default, the same as a Claude subagent; the slot CODEX_WRITE: no makes one read-only. Use TASK_ACCESS: read to deny worker workspace writes, or TASK_ACCESS: write with FILES_IN_SCOPE for an authorized edit. Existing dispatches without the field retain their previous permissions. Scope is checked after execution; supervisor gates run on the host. A worked slots file is in skills/workerbee/slots.md.
Narrate (prototype, macOS). agents-inc narrate on enables a watcher; agents-inc narrate run follows the active Claude Code transcript and speaks a two-sentence digest of each new assistant message with say. luna writes the digest through agents-inc run, so message text leaves the machine: messages with a classification marker are skipped, and --summarizer local makes no model call. Other options: --voice, --transcript, --decide-only, --once, --dry-run; off and status complete the set. Design: docs/proposals/narrate.md.
For a trusted MCP client, agents-inc mcp --cwd /absolute/workspace exposes governed dispatch, status, results, cancellation, and follow-up; see the MCP adapter guide. Write tasks and host gates require the server’s --allow-writes flag.
Two more entry points need no dispatch. PYTHONPATH=. python3 tools/governance_demo.py --fake, run from a checkout, shows routing, policy checks and ledger records with no provider keys. With --legacy-routes, @haiku <question> inside any Claude Code session sends one side question to a Haiku model before the session model runs (docs/at-route/AT-ROUTE.md).
5. How it works
- Routing. A router picks the vendor and rung for each task from a written policy (agents_inc/routing.json). Rung names are cost classes, not job titles; the reporting chain sets the role.
- Grilling and speckit. The CoS grills you one question at a time until the request is sharp, then a speckit pipeline gates it through spec, plan, tasks and review.
- Verification. A deterministic verifier checks cited claims with no model call. A reviewer from a different vendor then checks the meaning. A Worker's own PASS never decides acceptance.
- Ledger. An append-only JSONL and SQLite ledger records every dispatch, return, review and acceptance decision.
- Models. Each Codex alias is pinned to one slug.
agents-inc modelsreports drift. Model sync promotes new Codex slugs inapproveorautomode and skips pinned aliases.
The full description, including the delegation limits, the 14-element prompt contract, the verification flow and the comparison with other tools, is in docs/HOW-IT-WORKS.md.
6. Limitations
- Cost savings and accuracy against a baseline are not measured. Passing local tests show that the code behaves as written, not that it is reliable in production.
- The governed path is off by default, so a fresh install does not run the enforced cross-vendor review.
- Cross-vendor review catches disagreement between models. It does not catch a blind spot that both vendors share.
- Deterministic checks cover what a script can express, such as a file, a quote or an exit code. They do not replace human judgment on scope or design.
agents-inc dispatchmust run outside the Claude Code or Codex sandbox, because the sandbox blocks the provider API. Inside it, dispatch exits 69 before any delegate starts and prints the fix: add"agents-inc dispatch *"tosandbox.excludedCommands.agents-inc installandrepairadd that entry;agents-inc doctorwarnsWB_SANDBOX_EXCLUDE_MISSINGwhen it is gone.- Free-model capacity varies: a probe on 2026-09-29 found 429 or capacity errors on several free models (docs/BENCH.md). Artifacts stay local; remote publication (Bindle Backend B) is not built.
Updates: new sessions and agents-inc doctor tell you when a newer release is on PyPI (one check a day; AGENTS_INC_NO_UPDATE_CHECK=1 turns it off).
Found a bug or want a feature? agents-inc report bug --title "..." --body "..." (or report feature) prints a draft issue with your version, doctor result and OS; home paths become ~. Add --submit to file it on GitHub with your own gh login.
7. Documentation
| File | Reader |
|---|---|
| docs/START-HERE.md | New users: setup, providers, keys, first job |
| docs/HOW-IT-WORKS.md | Operators and agents: dispatch, verification, comparison, HTTP bridge |
| docs/EXTENDING.md | Adding a vendor, model, task class or domain |
| docs/DECISIONS.md | Binding rulings, with rationale and evidence |
| CONTEXT.md | Glossary: CEO, CoS, Lead, Worker, Mandate, Home repo |
| skills/workerbee/QUICKREF.md | Short form of the dispatch rules |
| docs/RELEASING.md | Release runbook |
8. Citation and license
The DOI for all versions is 10.5281/zenodo.22670100. GitHub's "Cite this repository" button reads CITATION.cff.
Cite as: DO Mattioli (2026). agents-inc: Cross-Vendor Governance for an Agentic-AI Workforce. Zenodo. https://doi.org/10.5281/zenodo.22670100
agents-inc is licensed under the PolyForm Small Business License 1.0.0 (LICENSE) plus additional terms that forbid AI training (LICENSE-AI.md). Both apply. Notices: NOTICE.
Metadata
Release files for agents-inc 0.8.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| agents_inc-0.8.0.tar.gz | 453.4 kB | With provenance | Details for agents_inc-0.8.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| agents_inc-0.8.0-py3-none-any.whl | Python 3 | none | any | Details for agents_inc-0.8.0-py3-none-any.whl |
Total release size: 946.9 kB
Release files / agents_inc-0.8.0.tar.gz
| Download URL | agents_inc-0.8.0.tar.gz |
|---|---|
| Size | 453.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
29c8a046ca8c51a1ec59f4cbd8748f6a2eea1fc5fac61fcc33cd399ef7f977af
|
|
BLAKE2b-256 checksum How to use checksums |
18f35d13b988dbf357922590c854d741db40555dd5ad3859a337a787d22a36fd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.
Transparency logRelease files / agents_inc-0.8.0-py3-none-any.whl
| Download URL | agents_inc-0.8.0-py3-none-any.whl |
|---|---|
| Size | 493.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7aa707da7518fd15c5662e54812b72b880d0cfaf72f46c81e1d81228c38aaaa9
|
|
BLAKE2b-256 checksum How to use checksums |
4f519e79624bf8b9375243f341af9ed2184897df317a2ebc877724902ffbf445
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.
Transparency logSecurity for agents-inc 0.8.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for agents_inc-0.8.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.