Listed from the MCP registry; nobody on Odel publishes it.
Local knowledge store built from GitHub, Jira, Linear and cloud history, served over MCP.
Runs on your machine from its package; the steps are below.

At most: moves money, runs code or commands, deletes data, or sends messages for you.
Odel charges nothing per call. The publisher may charge for its own service.
Runs locally over stdio
This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).
Run
docker run -i --rm docker.io/iklob1/briar:1.1.94
MCP client config
{
"mcpServers": {
"briar": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"docker.io/iklob1/briar:1.1.94"
]
}
}
}The local CLI that turns your team's tools into knowledge, then runs coding agents that open draft PRs with it.
Install · Quickstart · Docs · Website · Changelog
New to briar? Learn it in 3 examples, from install to AI agents.
briar is a command-line tool (you run it in your terminal) that helps AI coding assistants do better work on your team's code.
The problem: an AI assistant like Claude can write code, but it does not know your team. It does not know which tests you run, who reviews what, how your PRs usually look, or what the ticket really asks. So it guesses, and you fix its guesses.
What briar does about it, in two parts:
There is no briar server and no account. briar only talks to the services you set up: your code host, your tracker, your cloud and your AI provider. Your tokens stay in a file on your computer.
briar agent implement takes a
ticket, reads the facts it needs, writes the code in a fresh copy of your
repo, runs your tests and opens a draft PR. briar agent prfix answers
each review comment with its own small commit. Agents never force-push,
amend or rebase, so they never rewrite history that is already there.briar plan reads a Jira board or
a GitHub Project (the list of tickets your team works on), puts the cards
in order and works on them one by one. When a card needs another card's
code, it starts from that card's branch, so the PRs build on each other.--merge-claude-md adds the facts to
CLAUDE.md, the file Claude Code reads when it starts. briar mcp serve
shares the facts with any app that speaks MCP (a standard way for AI apps
to call tools); it offers 10 tools.Everything in the dashed box runs on your machine and reads from your
tools. Agents push branches, open draft PRs and reply on reviews; their
send_message tool only reaches the channels you list in the runbook.
briar agent prfix answers the comments with one commit per
thread. You merge; briar never does.CLAUDE.md) and any MCP client.More diagrams are in See it run.
pip install briar-cli
briar version
briar needs Python 3.10 or later. To run briar agent or briar plan run
you also need git and the GitHub CLI gh, because the agent runs them.
The base install covers GitHub, Bitbucket, AWS, Jira, Linear, Fireflies, Anthropic (Claude) and AWS Bedrock, with a file or Postgres store, and runs the coding agents. Extras add more:
pip install 'briar-cli[mcp]' # briar mcp serve, briar chat, MCP tools for agents
pip install 'briar-cli[all]' # openai, gemini, mcp, gcp, azure, vault
Or skip the install and use the Docker image, which also has git and
gh:
docker run --rm iklob1/briar version
Mounts, keys and running agents in Docker: usebriar.com/docs/install#docker. What each extra adds: usebriar.com/docs/install#extras.
The short version, for a GitHub repo with Jira tickets. New to briar? Learn it in 3 examples instead.
# 1. Save a GitHub token and Jira login. They go to ~/.config/briar/secrets.env
briar auth login github-pat --company acme
briar auth login jira-token --company acme
# 2. Give briar a Claude key. It reads it from your shell.
export ANTHROPIC_API_KEY=sk-ant-your-key
# 3. Read the repo's recent PRs and its tools into the blob knowledge:acme
briar extract --company acme --repo acme-co/acme-app \
--include pr-archaeology --include codebase-conventions --max 50
# 4. Read what was saved
briar context get knowledge:acme
# 5. Print the agent's prompt for ticket ACME-42. No cost, nothing pushed.
briar agent implement --company acme --repo acme-co/acme-app \
--ticket-key ACME-42 --tracker jira --dry-run
# 6. Run it for real: clone, branch, code, test, open a draft PR
briar agent implement --company acme --repo acme-co/acme-app \
--ticket-key ACME-42 --tracker jira
After step 3 you have ./knowledge/knowledge/acme.md. After step 6 you
have a branch chore/acme-42 and a draft PR on acme-co/acme-app.
Written for someone who has never used briar. Each example says the problem it solves, what each command does, what happens behind the scenes, and what you get. Every GIF is a real run in a clone of this repo on briar 1.1.99: the commands really ran; only the typing is paced, and a long output is shown one screen at a time so you can read it.
Before you start (once, about 2 minutes):
pip install briar-cli # installs the briar command (needs Python 3.10 or later)
cd path/to/your-repo # go into any GitHub repo you can read
export GITHUB_TOKEN=$(gh auth token) # gives briar your GitHub login, so it can read the repo
If you do not use the GitHub CLI gh, run
briar auth login github-pat --company myteam and paste a GitHub token
instead. That token is all examples 1 and 2 need. Nothing is sent to an
AI, so they cost nothing. Example 3 also uses --dry-run, so it costs
nothing either; you only need an AI key (export ANTHROPIC_API_KEY=...)
when you drop --dry-run and let the agent really work.
Words you will see:
| Word | What it means |
|---|---|
| extractor | A reader for one kind of fact, like "merged PRs" or "CI runs". |
| knowledge, blob | The facts briar saved. One markdown file, named like knowledge:myteam. |
| agent | An AI that works on its own, step by step: it reads files, runs commands and writes code. |
| prompt | The instructions text that briar gives the AI. |
--dry-run | "Show me what you would do, but do not do it." No AI call, nothing changes. |
| draft PR | A PR marked "not ready", so nobody merges it by accident. |
| runbook | A YAML file that lists which extractors to run, for which team, and how often. |
The problem: an AI that writes code for you does not know your repo or how your team works: how fast PRs get merged, who writes them, how often you release, how often CI passes.
briar init --company myteam # creates .briar.toml, a small settings file in your repo
briar doctor # checks that briar has everything it needs
briar extract --include pr-archaeology --include release-cadence --include ci-health --merge-claude-md
# collects three kinds of facts and tells Claude Code where they are
briar context get knowledge:myteam # prints the facts briar saved

What happens:
init runs git remote get-url origin to find the GitHub owner and repo
name, and writes them into .briar.toml with the team name you chose
(myteam is just a label). After this, no command needs --company or
--repo. To see each setting and where it came from, run
briar config show.doctor checks Python, the settings file, the git remote, your GitHub
token and your AI key. ok means ready; warn tells you what is missing
and what needs it.extract runs the extractors you name with --include. They ask the
GitHub API for your merged PRs (pr-archaeology), your releases
(release-cadence) and your last 100 CI runs (ci-health), and sum
them up. The result is saved as one markdown file under ./knowledge/,
called knowledge:myteam.--merge-claude-md also writes the facts to .briar/knowledge/myteam.md
and adds a short block to CLAUDE.md that points to it. Claude Code (an
AI coding assistant) reads CLAUDE.md when it starts, so every session
begins with your facts. Your own text in CLAUDE.md stays as it is.context get prints the saved file. It only reads your disk; nothing
goes online.You get: your repo's facts in one text file, ready for any AI.
briar extract -h lists all 23 extractors. Good ones to add later:
code-hotspots (the files that change the most),
codebase-conventions (your test runner, linter and formatter) and
stale-prs (open PRs nobody touched for a while). Running extract again
only replaces the sections of the extractors that ran, so the facts you
already have stay. briar extract with no --include runs all 23; on this
repo that took about 4 minutes.
The problem: facts from last month are wrong today, and you do not want to type the extract command every day.
Save this as runbooks/myteam.yaml. It lists the same three extractors as
example 1:
version: 1
companies:
myteam:
schedules:
- task: extractors
every: "minute" # only for the demo; use "day at 03:17" for real
extract:
- name: pr-archaeology
args: {pr_repo: [iklobato/briar]}
- name: release-cadence
args: {release_repo: [iklobato/briar]}
- name: ci-health
args: {cihealth_repo: [iklobato/briar]}
briar runbook serve runbooks # start a scheduler for every runbook in the folder

What happens:
serve is a scheduler: a program that keeps running and starts each job
on time. Every second it checks which job is due.briar extract and saves
knowledge:myteam again. The log lines show each step.briar runbook extract runbooks/myteam.yaml.companies:. Each team gets its own file, and their
first runs start a few seconds apart, so they do not all call GitHub at
the same moment.You get: facts that refresh themselves, without anyone typing a command.
An agent reads your facts first, then works on its own. briar has two:
one turns a ticket into a draft PR, the other answers review comments.
Both are shown with --dry-run, so you see exactly what the AI would be
told, without running it.
The problem: before an AI can write good code for a ticket, it needs the ticket, your repo's rules and your team's facts, all in one set of instructions, and it must not be able to do anything risky.
briar agent implement --ticket-key 38 --tracker github-issues --dry-run # build the agent's prompt for issue #38

What happens:
--dry-run prints all of that and stops. No AI is called, nothing is
cloned, nothing is pushed.You get: run it again without --dry-run, with ANTHROPIC_API_KEY
set, and the agent writes the code on a new branch, runs your tests and
opens a draft PR. You review it and merge it; briar never merges. Jira and
Linear tickets work the same way (--tracker jira, --tracker linear).
The problem: reviewers leave comments on your PR, and fixing each one, committing and replying on GitHub takes time.
briar agent prfix --pr 75 --branch docs/readme-hero --dry-run # build the agent's prompt for PR #75

What happens:
--dry-run prints it and stops. Nothing changes on the PR.You get: run it without --dry-run and the agent fixes each comment,
pushes to the PR's branch and replies on GitHub.
Each command has a manual in agents/.
The same reference, with more examples, is at
usebriar.com/docs.
| Command | What it does | Manual |
|---|---|---|
briar extract | Reads your tools into a knowledge blob (23 extractors). | extract.md |
briar agent implement | Takes one ticket and opens a draft PR. | agent.md |
briar agent prfix | Fixes and answers the review comments on one PR. | agent.md |
briar plan | Turns a Jira or GitHub Projects board into a plan, then runs it card by card. | plan.md |
briar runbook | Runs extractors from a YAML file, once or on a schedule. | runbook.md |
briar context | Reads, writes, lists and deletes knowledge blobs. | context.md |
briar scaffold | Writes a JSON config bundle for an agent workflow. | scaffold.md |
briar auth | Saves credentials (login, logout, list, status, refresh). | auth.md |
briar secrets | Shows which credentials are missing (doctor, bootstrap). | creds.md |
briar journal | Shows the decisions that plan run and scaffold recorded. | journal.md |
briar dashboard | Serves a read-only status page. | dashboard.md |
briar mcp serve, briar chat | Serves briar as MCP tools, or drives them from a chat in your terminal. | mcp.md |
briar init, config show, doctor, completion | Setup helpers. | setup.md |
briar telemetry | Shows or changes what usage data is sent. | telemetry.md |
briar version | Prints the version. | version.md |
Recipes that chain these commands are in flows.md. A runbook that uses every feature is examples/all_features.yaml.
Three flags work with every command, anywhere on the line:
| Flag | What it does |
|---|---|
--format table|json|yaml|csv|quiet | Output shape. Lists default to table, single records to json. |
--verbose, -v | Debug logs on stderr. BRIAR_VERBOSE=1 does the same. |
--version, -V | Print the version and exit. |
The same four diagrams as on usebriar.com. Click one to open it.
briar extract, every day with runbook serve, from Claude
Code or any MCP client, or ask briar chat.agent implement, an open PR with
review comments is agent prfix, and a whole board is plan build once,
then plan run.briar init and briar doctor first,
secrets doctor when a credential is missing, and journal list to read
back what a plan run decided.--max-iter).send_message and MCP
tools are added only when the runbook lists channels or servers.--dry-run prints the prompt and the tool list and stops there: no
clone, no model call.gh pr view: review decision, branch and
checks.plan build reads a Jira board or GitHub Project and turns it into an
ordered card list (with --with-knowledge, using your knowledge too). It
also seeds a knowledge:acme.q3 blob for the plan.plan run asks the selector (an LLM) what to do next. It reads the
plan, the knowledge and the journal of earlier decisions.agent implement, on the card's branch
(chore/kan-2 when built without an LLM), from the card's parent
branch. Success marks it done and writes a lesson into
knowledge:acme.q3, which the selector reads before its next pick.--continue-on-failure.--max-replans).--limit N
stops after N cards. Every decision lands in the journal.Bug reports and PRs are welcome: open an
issue or read
CONTRIBUTING.md
first. Every merge to main is a release on PyPI and Docker Hub, and
CHANGELOG.md
lists what each version changed. If briar helps you, a star on GitHub
helps other people find it.
briar sends error reports and usage counts by default. No prompts, file
contents, ticket keys, repo names, paths or secret values leave your
machine. Turn it off with briar telemetry off, BRIAR_TELEMETRY=off
or DO_NOT_TRACK=1.
MIT. See LICENSE.