Skip to main content

DevOS

PyPI Python License MCP Models

The system of record for engineering decisions. Your agents write the code — DevOS remembers why. It captures what your AI coding agents reasoned about and what your git history actually changed, links them into one decision graph per repo, and surfaces the relevant prior decisions when you (or your agent) start new work — so a settled call never gets silently re-litigated.

The derive store runs locally and privately by default in PostgreSQL 16. devos init provisions it and saves its DSN as DATABASE_URL; there is no SQLite or embedded fallback. Opt into TeamSync when you want teammates to share decisions.

Install

pipx install devos        # isolated CLI install (recommended)
# or
pip install devos         # into the current environment

Requires Python ≥ 3.11 and git. An LLM API key is needed only for the extract step (distilling decisions); capture and ingestion are free and need no key.

Quickstart

devos init

The interactive setup walks you through your model provider + key, provisions the local Postgres derive store, discovers the git repos you work on, and onboards the ones you pick — installing capture hooks and wiring each repo's agent (.mcp.json) in one pass. Then just work normally: DevOS captures git commits and agent sessions in the background.

Prefer one repo at a time, or scripting it?

devos setup                                   # onboard a single repo (enable + ingest + wire)
devos onboard-workspace --root ~/code --yes   # non-interactive bulk onboarding

What it does

  • Captures two sources into one graph: AI-agent sessions (Claude Code, Codex, via a Stop hook) and git history (commits, changed files, committed docs, via a post-commit hook).
  • Extracts decisions from those sources with an LLM, each traced back to the exact commit or conversation it came from.
  • Surfaces a headstart — a task-aware primer of the relevant verified prior decisions, available to your agent over MCP or on the CLI.

Bring your own model

DevOS is provider-agnostic. devos init lets you pick one and stores the key in ~/.devos/.env:

Provider Key env var Notes
Anthropic ANTHROPIC_API_KEY default — extraction/verification prompts are calibrated on Claude
OpenAI OPENAI_API_KEY supported
Gemini GEMINI_API_KEY supported
OpenRouter OPENROUTER_API_KEY supported (usage recorded; cost unpriced)

Already have a key exported in your shell? DevOS uses it — an explicit export always wins over the stored file.

Team sharing (optional)

Beyond the solo local store, DevOS can sync a team's decisions into a shared backend so an agent recalls what a teammate already figured out. See devos team and devos teamsync.

Optional extras

Extra Adds
devos[postgres] compatibility alias; the required PostgreSQL driver is already in base
devos[embedding] local embeddings for semantic decision retrieval

(The MCP decision server ships in the base install — no extra needed.)

License

Apache-2.0. See LICENSE.

Download files

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

Source Distribution

devos_client-0.2.35.tar.gz (2.5 MB view details)

Uploaded Source

Built Distribution

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

devos_client-0.2.35-py3-none-any.whl (1.4 MB view details)

Uploaded Python 3

File details

Details for the file devos_client-0.2.35.tar.gz.

File metadata

  • Download URL: devos_client-0.2.35.tar.gz
  • Upload date:
  • Size: 2.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for devos_client-0.2.35.tar.gz
Algorithm Hash digest
SHA256 57b2944ffb8fd5e7c22127926a6fa37e7a54d2cd987793e6e019bebfa66446dc
MD5 684ca4f7cbaf8b0e5aba68cce1586653
BLAKE2b-256 296b6a90f7a0a221671126e9c25a9bbaab1313a68a1687c2a85eb957d98bee42

See more details on using hashes here.

File details

Details for the file devos_client-0.2.35-py3-none-any.whl.

File metadata

  • Download URL: devos_client-0.2.35-py3-none-any.whl
  • Upload date:
  • Size: 1.4 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for devos_client-0.2.35-py3-none-any.whl
Algorithm Hash digest
SHA256 c272c20afa0e1e399613ed5ff8bf23a8a77d0fcf82e98f1edd4d82814c7cef67
MD5 c96ef25cc13f0fdb1f3a575f528714a5
BLAKE2b-256 95eb673c7851db0923f6ee69b6af9b4ea72339de8bca57d7f62823e19d6fa4cc

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 Sentry Error logging StatusPage Status page