baudrier
The command-line client of Baudrier AI. A harness is everything around a coding
agent: the hooks that stop a bad command, the permission rules, the skills, the subagents and the MCP servers.
baudrier installs a whole harness into a project for Claude Code or Codex, converts one between the two, and
proves that its guards still block.
Install
uv tool install baudrier
Harnesses (no account needed)
baudrier install # the harnesses of the hub (https://baudrier-ai.com/hub/)
baudrier install agentmob --to codex --dry # look first: licence, what Codex keeps, the hooks it would run
baudrier install agentmob --to codex # add it to this project, merged with your own setup
baudrier install agentmob --to codex --replace # or: its hooks in place of yours (yours go to a backup)
baudrier selftest . --runtime codex # replay the guard cases here
baudrier absorb --own --name my-harness --out ~/my-harness # lift your own setup into a harness
baudrier convert ~/my-harness --to codex --out ./as-codex --verify # the same harness for another agent
baudrier hub pack ~/my-harness --out ~/team-hub --verify # a hub is a folder: keep one for your team
Commands write by default; --dry shows what would happen and writes nothing. By default install merges: the
harness's hooks, rules and MCP servers are added to the settings files you have, and a file of yours with other
content stops it. With --replace the harness's hooks take the place of yours and its files win where both
exist; your permission rules, CLAUDE.md and AGENTS.md always stay, and what gives way is first copied to
.baudrier/replaced/. A harness is code that runs on your computer: install lists its hook scripts and, when the
harness comes from a hub, asks before writing (--yes answers for scripts and agents). --verify and selftest
run those scripts. After an install, paste the line it prints into your coding agent: it reads
.baudrier/harness/<name>/FINISH_SETUP.<agent>.md and adapts the harness to your project.
Share yours on the open hub
baudrier login # sign in with GitHub
baudrier selftest --init ~/my-harness # draft its guard cases: one per deny rule, a prompt for hooks
baudrier publish ~/my-harness --dry # the checks the hub makes: licence, secrets, hooks
baudrier publish ~/my-harness --verify # prove the guards here, then publish as <you>/my-harness
baudrier publish ~/my-harness --description "No force-push, no edits to generated files" # the hub's one line
baudrier publish ~/my-harness --private # or keep it to yourself (--team: your team workspace)
baudrier install alice/shop-guards --to claude # anyone installs what somebody published
baudrier unpublish my-harness@0.1.0 # out of the lists; the exact version still installs, with a warning
Guard cases show that a harness still blocks what it should in each agent. selftest --init writes one for every
deny rule it can read (a shell command, a file kept read-only) and one ordinary action that must pass. What a hook
script blocks is in its code, so it leaves WRITE_GUARD_CASES.md and a line to paste into your coding agent, which
reads the scripts and writes their cases. Cases you wrote are never changed. publish --verify --dry then runs them
in Claude Code and in Codex. A harness with no case still publishes: the hub says the publisher provided no guards.
The line under a harness's name in the hub's list comes from metadata.description in harness.yaml
(--description writes it). After publishing, change it on the harness's page in the app, and name a licence there
for your own work: a harness with no licence is shown as "Licence not mentioned".
A published version never changes: raise metadata.version to publish again. A harness lifted from someone
else's repository keeps that repository's open-source licence, and what grows from a share-alike harness keeps its
licence. Hooks that download code, call the network
or reach outside the project are published as "unreviewed": installable by name with a warning, and listed once a
person has read them. What you install from the open hub is its publisher's, not Baudrier's: install says who
published it and shows the publisher's own proof, and selftest replays the guards on your computer. A harness
installed from the hub remembers it: when you absorb the project later, the new harness names the one it grew
from, and you can publish it under your own login.
Hosted service
Keep one harness current in every repository you open, and get what your agents learn back as pull requests:
baudrier login # sign in with your browser
baudrier use <you>/my-harness # in any repository
baudrier sync # refresh skills, then review local changes for one pull request
The hosted commands talk to https://api.baudrier-ai.com; pass --url only for another server.
Run baudrier --help for the menu and baudrier <command> --help for details.
Licence
Proprietary, all rights reserved. See LICENSE. Harnesses installed from a hub keep their own licence, which
travels with them.
Metadata
Release files for baudrier 0.18.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 |
|---|---|---|---|---|
| baudrier-0.18.0.tar.gz | 411.7 kB | With provenance | Details for baudrier-0.18.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| baudrier-0.18.0-py3-none-any.whl | Python 3 | none | any | Details for baudrier-0.18.0-py3-none-any.whl |
Total release size: 643.7 kB
Release files / baudrier-0.18.0.tar.gz
| Download URL | baudrier-0.18.0.tar.gz |
|---|---|
| Size | 411.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5469ad5e95cfd596b16b0b3c017d16bce85c85ea424f7891a028b401e0497151
|
|
BLAKE2b-256 checksum How to use checksums |
79b031840cfdfe41aef5e7077d4046a26fed7b2a3b3806b236b6939b7517e2b8
|
| 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 27, 2026.
Transparency logRelease files / baudrier-0.18.0-py3-none-any.whl
| Download URL | baudrier-0.18.0-py3-none-any.whl |
|---|---|
| Size | 232.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
aae4e32d548a85d3aced588205cbd9324314d4d9a8750e5913b37cdbf802b731
|
|
BLAKE2b-256 checksum How to use checksums |
031f26107e4351273f581d88ccdea0b1c1b0e5a172948364b75b88f8e027a25a
|
| 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 27, 2026.
Transparency logSecurity for baudrier 0.18.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 baudrier-0.18.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 27, 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.