Skip to main content

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 --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.

A published version never changes: raise metadata.version to publish again. A harness needs an 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.15.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for baudrier 0.15.1
File Size Uploaded Provenance Actions
baudrier-0.15.1.tar.gz 385.4 kB With provenance Details for baudrier-0.15.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for baudrier 0.15.1
File Interpreter ABI Platform Actions
baudrier-0.15.1-py3-none-any.whl Python 3 none any Details for baudrier-0.15.1-py3-none-any.whl

Total release size: 600.4 kB

Release files / baudrier-0.15.1.tar.gz

Download URL baudrier-0.15.1.tar.gz
Size 385.4 kB
Tags Source
SHA-256 checksum
How to use checksums
6a750d0f414222cdede2fd7386e536782fba8c56f68d45c00e6c7cb4f0fefc44
BLAKE2b-256 checksum
How to use checksums
5fb1942530700bd98e0165eaef3f0bf963901e3934cb4c62535b38eb82ad2c38
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 log

Release files / baudrier-0.15.1-py3-none-any.whl

Download URL baudrier-0.15.1-py3-none-any.whl
Size 215.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b9d5995fed19853451d0d001eacba511b039007135d2f3b78e8c06e0af1d94ac
BLAKE2b-256 checksum
How to use checksums
5c83cb2be43bb55db8421e581a9270927acdaf9125accbc93a939e10a256f2b3
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 log

Security for baudrier 0.15.1

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.

Select from 2 files

Attestation for baudrier-0.15.1.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 log

A 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.

Release history Release notifications | RSS feed

This release

0.15.1 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page