Skip to main content

br8n — self-contained context-capture and resume engine.

Project description

br8n

Context-capture and resume engine — captures developer intent on interruption and replays it as a resume card, so picking work back up costs seconds instead of minutes.

This package is the br8n backend: the FastAPI service, the MCP server that Claude Code talks to, and the local/cloud storage tiers behind them.

Most people should install br8n as a Claude Code plugin rather than by hand — the plugin bootstraps this package for you:

/plugin marketplace add anthonysuherli/br8n
/plugin install br8n@br8n

Direct install

pip install br8n

Two entry points are installed:

  • br8n-mcp — the MCP server (stdio), for wiring into an MCP client by hand.
  • br8n-server — the local HTTP API. Binds 127.0.0.1:8002; on the local tier it refuses any non-loopback host, because that tier runs without API auth.

Check the install with:

python -m br8n.api.main --check

Tiers

br8n ships one engine with two storage backends, selected by BR8N_BACKEND:

  • local (default when no Supabase credentials are present) — SQLite + sqlite-vec at ~/.br8n/brain.db, single user, loopback only, no auth.
  • cloud — Supabase (pgvector + GoTrue), multi-user, per-request JWT tenancy.

Capture and resume work with no API keys at all. Semantic search needs an embedding key (AI_GATEWAY_API_KEY or OPENAI_API_KEY); the explore/gap-fill pipeline additionally needs TAVILY_API_KEY. See .env.example in the repository for the full matrix.

Source, issues, and documentation: https://github.com/anthonysuherli/br8n

MIT licensed.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

br8n-1.1.2.tar.gz (162.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

br8n-1.1.2-py3-none-any.whl (152.9 kB view details)

Uploaded Python 3

File details

Details for the file br8n-1.1.2.tar.gz.

File metadata

  • Download URL: br8n-1.1.2.tar.gz
  • Upload date:
  • Size: 162.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for br8n-1.1.2.tar.gz
Algorithm Hash digest
SHA256 0b5f837ec8b7f79e1e202dd4aff004470c884237c59f846375f0d92434f6262e
MD5 d758d25233e616857834b50f4f7b0670
BLAKE2b-256 d3d93a990c0324551d3b94f63dc25467b660ab6bf93be81c81ada2aea8203af8

See more details on using hashes here.

File details

Details for the file br8n-1.1.2-py3-none-any.whl.

File metadata

  • Download URL: br8n-1.1.2-py3-none-any.whl
  • Upload date:
  • Size: 152.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for br8n-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 fe931625e2e76ca91e1e3789b436463da26948efb780e0847bca8abc18ef27ce
MD5 71b4f474cbf32c8a587bc4fb166a9e00
BLAKE2b-256 e91ad8f2cc55abfac000e21cb812f1ce65bf8f97aefe456ae9bacfa593750181

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page