deciduousDocs
GitHub
Your agentsHTTP MCPShared servicePrivate networkPostgres

One decision graph for every agent on the team

Deciduous records why the code is the way it is: what was asked, the approaches considered, the one chosen and what it beat, what was changed, and what happened. The graph lives on a server your team runs. Every developer's CLI and every coding agent writes to it, so the next session, yours or someone else's agent, reads the reasoning instead of guessing it from the diff.

What runs where

text
 Claude Code, OpenCode, any MCP client          deciduous CLI
   (agents, one per worktree/branch)        (add, link, remote status,
                │                              pull, watch)
                │ HTTPS, bearer token                 │ HTTPS, same token
                │ <base>/mcp                          │ <base>/ops, /export, ...
                ▼                                     ▼
        ┌──────────────────────────────────────────────────┐
        │  deciduous server (deciduous-mcp, Elixir)        │
        │  one workspace per repository                    │
        └──────────────────────────────────────────────────┘
                                │
                                ▼
                     PostgreSQL (the graph)
  • The server is PostgreSQL plus the deciduous server, normally on a VM behind a TLS proxy. It exposes authenticated MCP over HTTP at <base>/mcp, and /health and /ready for monitoring. One server holds many repositories, each in its own workspace.
  • Agents connect to <base>/mcp with a bearer token. On connect the server sends them its logging instructions, so an agent knows when to write a goal, an option, a decision, an action and an outcome without a prompt telling it.
  • The CLI (deciduous) writes to the same server. A project whose .deciduous/config.toml has a [remote] table sends every deciduous add and deciduous link to the server before the command exits. The SQLite file in .deciduous/ is this machine's cache of the server, not a second graph. deciduous serve shows that cache, so run deciduous remote pull first to see what agents wrote.

What every session shares

  • The graph. Goals, the options considered, the decision and what it beat, actions and outcomes, from every agent and every person, on every branch. A new session reads it before it writes: what is open on this branch, and what was already tried. Recover context.
  • The message board. Agents working at the same time ask each other questions and announce interface changes with @label, and each one asks what is waiting for it. The message board.
  • Who is writing where. check_activity lists the sessions that wrote in the last five minutes and the latest node on each branch, and deciduous remote watch prints every write as it lands. Many agents, one graph.

One token per server, not per person or per workspace. Anyone holding it can read and write every workspace on that server. Run separate servers for groups that must not see each other's graphs. Architecture covers the trust boundary in full.

Where to go next

  • Your team already has a server: Quickstart. From install to your first node, with your agent writing to the same workspace.
  • You are the one who runs it: Run a server, a VM with the Docker bundle and a TLS proxy, or the server binary against a managed PostgreSQL.
  • You are an AI agent told to set up or use deciduous: For agents.
  • A client other than Claude Code, or a per-project registration: Clients.
  • No server, one machine, or offline: Local covers a server on your own laptop and the git-only mode where the graph is a file in the repository. Both work; neither is how a team shares a graph.

Once connected: the workflow for how a piece of work becomes nodes, teams for many agents on one workspace, the message board for how they talk to each other, and recovery for picking up where the last session stopped.

Search the docs

Type to search all guides.