Brichan
Coding agents are very good at the work in front of them and very bad at remembering why it was asked for. Context lives in a chat window, so it is lost when the window closes; decisions are re-litigated, status is reconstructed from memory, and the record of what was actually verified never outlives the session.
Brichan is an AI Chief of Staff that sits above the coding agent rather than inside it. You give it a project goal; it keeps only the context that goal needs, hands bounded tasks to independent workers, checks the evidence they return, and records decisions and status as files in your repository — outside chat, where they survive the session.
Requirements
- Linux or macOS with Python 3.10 or newer. No runtime Python dependencies.
- An existing top-level Git repository to operate on.
- The
codexCLI onPATH— the coordinator runtime Brichan launches. - Herdr, the worker control plane — required as soon as Brichan hands bounded tasks to workers (a single coordinator session runs without it):
$ curl -fsSL https://herdr.dev/install.sh | sh
$ herdr integration install codex
Installation
$ pip install brichan
Basic commands
$ brichan init --project <repo> # preview the footprint (dry run)
$ brichan init --apply --project <repo> # create it
$ brichan status --project <repo> # one-line state verdict
$ brichan doctor --project <repo> # health summary (--json for CI)
$ brichan run --project <repo> -- <args> # launch the coordinator
Usage
Initialization defaults to a dry run with zero writes, so you can preview the
complete footprint before anything is created. --apply then creates:
- a versioned
.brichan/directory holding managed policy, model routing, Herdr skill resources, and mutable project memory; - root
AGENTS.mdandCLAUDE.mdpointers, when the repository does not already have them.
Adding --init-agents also exports the Herdr orchestration skill to
.agents/skills/, so a codex session started directly in the repository
(without brichan run) discovers it too.
Existing files are never modified, and repeating init against healthy state
is idempotent.
From inside a healthy initialized repository, bare brichan launches the
coordinator directly:
$ brichan
Arguments after -- are forwarded to the runtime. Option-looking text after
-- is treated as literal prompt content, so a prompt beginning with a dash
cannot silently become a flag:
$ brichan run --project <repo> -- --review the auth module
Feature notes
- Coordinator over workers. You describe the outcome; Brichan reads only the project context that work needs, gives bounded tasks to independent workers through Herdr, verifies the results, and records decisions and status back into the repository.
- Settings-driven model routing. Coordinator defaults and worker routes
come from
.brichan/config/model-routing.json, so planning, implementation, review, and scan work may each use a different model. - Guarded launches. Brichan rejects native delegation, permission bypasses, cwd/scope widening, profiles, remote execution, and arbitrary runtime configuration before launching.
- Strict state diagnostics. Malformed, dangling, symlinked, inaccessible,
or incompatible
.brichan/state is reported, never silently repaired. Schema v1 has no automatic migration: a package-version change requires deliberate backup and reinitialization. - Machine-readable health.
brichan doctor --jsonemits one JSON document covering repository, Git, policy, routing, memory, and dependency checks for scripts and CI.
License
Brichan is available under the MIT License.
Metadata
Release files for brichan 0.12.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 |
|---|---|---|---|---|
| brichan-0.12.0.tar.gz | 80.0 kB | With provenance | Details for brichan-0.12.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| brichan-0.12.0-py3-none-any.whl | Python 3 | none | any | Details for brichan-0.12.0-py3-none-any.whl |
Total release size: 172.2 kB
Release files / brichan-0.12.0.tar.gz
| Download URL | brichan-0.12.0.tar.gz |
|---|---|
| Size | 80.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f15f7865d38150c2b4a269c7b704bb3147d654b1424bc784d7b027e3255cf37a
|
|
BLAKE2b-256 checksum How to use checksums |
797f38e033dd2c570f4b7d3aef1f6659f5a1166fd47a7af5256d67c6d03275e9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Aug 10, 2026.
Transparency logRelease files / brichan-0.12.0-py3-none-any.whl
| Download URL | brichan-0.12.0-py3-none-any.whl |
|---|---|
| Size | 92.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
42a74c19efe9c6aa1093a150d0d1ad5e12810ef9d836b7f581977121be51416d
|
|
BLAKE2b-256 checksum How to use checksums |
466210ea22a42412ffa72fc58de9b4e5ab3d4115b0c91ed812ea99aebb9fea36
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Aug 10, 2026.
Transparency logSecurity for brichan 0.12.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 brichan-0.12.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 Aug 10, 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.