SuperAPIAI Directory

briar

github.com · AI coding

briar is a local-first command-line tool for extracting information from the tools teams use (such as GitHub, Jira, AWS, etc.) into plain-text knowledge files, and running autonomous LLM agents on that knowledge to automatically complete coding tasks and create draft PRs. It requires no server or account, all tokens are stored locally, and it supports integration with AI tools such as Claude Code.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsLinux

About this tool

briar is a local-first command-line tool designed to help AI coding assistants better understand how a team works and its codebase. It achieves this through two core parts: first, it collects facts from the tools the team uses (such as GitHub, Bitbucket, Jira, Linear, AWS, GCP, Azure, Fireflies meeting notes, etc.) and stores these facts as plain-text Markdown files on the local machine, called "knowledge". Second, it provides this knowledge to autonomous AI agents, which can perform coding tasks based on it, such as implementing code from a ticket and creating a draft PR, or fixing review comments on a PR.

Key capabilities include:

  • 23 extractors for reading specific types of facts from various tools, such as PR merge times, code hotspots, reviewer profiles, etc., and outputting them as Markdown files or storing them in a Postgres database.
  • Two AI agents:briar agent implement receives a ticket, reads the relevant knowledge, writes code in a fresh git worktree, runs tests, and creates a draft PR;briar agent prfix makes small fixes for each review comment on a PR and commits them, replying to the comments. The agent does not force-push, amend commits, or rebase, ensuring history is not rewritten.
  • briar plan can read a Jira board or GitHub Project, order the cards, and process them one by one, supporting dependencies between cards.
  • Integration with Claude Code: via --merge-claude-md adds knowledge to the CLAUDE.md file; via briar mcp serve provides an MCP interface to share knowledge with any application that supports MCP.
  • Runs locally, no account required, secrets are stored in local files or AWS Secrets Manager, SSM, Vault.

Usage:

  • Installation: requires Python 3.10 or higher; the base installation covers GitHub, Bitbucket, AWS, Jira, Linear, Fireflies, Anthropic, and AWS Bedrock, with support for file or Postgres storage. A Docker image is also available.
  • Quick start: run briar init to initialize configuration,briar doctor to check the environment,briar extract to extract knowledge,briar context get to view knowledge.
  • Running agents: after setting ANTHROPIC_API_KEY, use briar agent implement or briar agent prfix, optionally with --dry-run to preview prompts without actually executing.
  • Scheduling: define scheduled tasks using a runbook file, and run the scheduler via briar serve .

Use cases:

  • Teams want AI coding assistants to better understand project conventions, testing processes, review habits, etc.
  • Automate the workflow from ticket to draft PR, reducing manual work.
  • Quickly respond to PR review comments, automatically fixing and replying.
  • Need localized, privacy-first AI-assisted development tools.

Limitations:

  • Requires Python 3.10+, and running agents also requires git and GitHub CLI (gh).
  • Coding agents are based on Anthropic models and require the user's own API key.
  • Agents only create draft PRs and do not auto-merge; final review and merging are done by the user.
  • Error reports and usage counts are sent by default (containing no sensitive information), and can be disabled via briar telemetry off .
  • Specific details such as fees, pricing, and platform support are not yet provided.
Up/Down to navigate · Enter to open · ESC to closeBrowse all tools