Skip to main content
Glama

Commons

Neoo-Blue/commons-memory MCP server Sandboxes by E2B

Run several Claude Code sessions at once without them redoing or overwriting each other's work.

Each session (say, one per git worktree) checks in with Commons before it starts a task. If another session already has it, it hears so and backs off. Finished work, decisions and handoffs are shared, so the next session builds on them instead of starting over. Everything lives in one local SQLite file: no API keys, no account, no telemetry.

/plugin marketplace add Neoo-Blue/commons-memory
/plugin install commons@commons-memory

Needs uv. Each folder is one agent (claude-code@<folder>), so run parallel sessions in separate worktrees or checkouts with different folder names.

Two sessions, two worktrees, same task:

claude-code@payments-fix   start_work("fix the payments retry", paths=["pay.py"])
                           -> ok: it's yours, others are warned off
claude-code@billing-ui     start_work("fix the payments retry", paths=["pay.py"])
                           -> busy: claude-code@payments-fix has it since 02:33.
                              msg_send them to split it, or wait for their finish_work.

It works alongside claude-mem and Claude Code's own memory: those help one session remember, Commons keeps several sessions from colliding. The plugin lists 19 tools (memory and coordination only). Credential and vault tools are not listed and nothing asks for a key; they stay reachable through call() only if you set up a vault yourself. How it stays safe: docs/threat-model.md.

Beyond one machine: the hub

The same Commons runs as a small self-hosted hub, so sessions on different machines, and other AIs (Codex, Cursor, Gemini CLI, ChatGPT, Grok), share one view of who is doing what.

Commons is a self-hosted memory and coordination hub that every AI connects to over MCP. It works with Claude, ChatGPT, Grok, Cursor, Codex, Gemini and your own agents. They share memory, pick up each other's unfinished work, message and wake each other, learn how you like things done, and split big jobs into reviewed, debated, budgeted subtasks. One SQLite file (or Postgres) holds it all. A dashboard shows who is doing what and what it costs.

Commons dashboard

curl -fsSL https://raw.githubusercontent.com/Neoo-Blue/commons-memory/main/install.sh | sh
irm https://raw.githubusercontent.com/Neoo-Blue/commons-memory/main/install.ps1 | iex     # Windows

That one line is the whole setup: it installs Commons, starts the hub and dashboard now and at every login, and connects every AI CLI it finds on the machine (key, MCP, instructions, hooks, instant wake). Nothing else to do; the dashboard is at http://127.0.0.1:8766 whenever you want to look. commons up repeats it after you install another AI.

Docker: see docs/docker.md. Prefer to read it first? curl -fsSLO https://raw.githubusercontent.com/Neoo-Blue/commons-memory/main/install.sh && less install.sh && sh install.sh. No-script alternatives: uvx --from git+https://github.com/Neoo-Blue/commons-memory commons init (run without installing) · uv tool install "commons-memory[http] @ git+https://github.com/Neoo-Blue/commons-memory" · pipx install "commons-memory[http] @ git+https://github.com/Neoo-Blue/commons-memory"

Related MCP server: ADHD Progress Hub

Contents

Quickstart · Feature tour · Architecture · Connect any AI · Screenshots · Multi-agent · Security · Networking · Configuration · Troubleshooting · FAQ · Comparison · Roadmap · Changelog

Onboarding (self-hosted hub)

  1. Copy .env.example to .env, create the three secret files it lists (dashboard token, Postgres password, vault key), then docker compose up -d (docker-compose.yml; the comments explain every option).

  2. Open the dashboard and go to Setup. A checklist shows what is missing:

    • provider keys: TypeSafe (Jev), Anthropic, OpenAI, Google, xAI, OpenRouter, or a local Ollama;

    • the decision agent's fallback order;

    • your service credentials;

    • features, all on by default.

    Keys are stored encrypted in the vault and never shown again.

  3. Add an AI on the Connect page: one terminal line connects every AI on a machine, one sentence connects a bot, one address connects a chat app. No key is copied anywhere, and every AI it connects can be woken the moment work arrives.

  4. Each agent hands over its memories, keys and scheduled tasks; Setup shows who still owes what.

2-minute quickstart

# 1. install (above) — this also runs `commons init` (~/.commons/commons.db)
# 2. connect your first AI: registers it, saves its key, installs its skill + MCP config
commons connect claude --platform claude-code        # or: cursor | codex | claude-desktop | grok | generic
# 3. use it — from the CLI or from the AI ("remember that…", "what did we decide about…")
commons remember "Payments use Stripe webhooks; retries are idempotent" --project shop
commons search "how do payments retry"
# 4. watch everything (no token needed on localhost)
commons dashboard                                    # http://127.0.0.1:8766

Connect a second AI the same way and it can see the first one's memory immediately. Each client lists only the 41 core tools of 195 (in v0.30 the 32 core tools cost 6.1k tokens of schema, against 40.4k for all 186); tools(query) finds the other 154 and call(tool, args) runs them. For other AIs (ChatGPT, Grok, Muse…), paste the universal prompt.

Feature tour

Area

What you get

Learn more

Infrastructure map

One layered map of where everything runs and how it connects: machines, LXCs and VMs, containers, services, URLs and ports, tunnels, storage and bind mounts, repos, systems (e.g. Plex: its parts and the guest each runs on) and the vault credential each uses (name only). Built from a read-only collector (commons infra collect --submit, or commons infra install to run it on a schedule) and from your memories (a small model extracts stated facts, each citing its notes), merged by vmid, IP and URL. Zoomable map, inventory and drawers on the dashboard; agents ask infra("plex")

docs/guide.md

Memory & knowledge

Hybrid search (BM25 + local fastembed vectors, entity/time/recency signals, optional rerank) with token budgets · context=N returns the turns around each short hit (a reply needs the turn it answers; a long turn stands alone) and relative dates resolve against each memory's own date ("yesterday (7 May 2023)") · free-text contradiction flags (TypeSafe) · auto-capture hooks for Claude Code/Codex/Gemini/Cursor that keep every message and reply verbatim plus typed observations, and a turn hook for chat apps without hooks (docs/hooks.md) · one graph linking memory, code, sessions, agents · code index (Python, JS/TS, Go, Rust, Java, Ruby, C, C++, C#) plus live definitions, references and types from each language's own server (code_lookup, LSP) · Graphiti adapter (mirror memories into a temporal knowledge graph, bring its facts back) · conflict detection · auto-built, cited knowledge base per project · librarian that tidies and answers find()

docs/tools.md

Canon

One current truth per product that every agent reads first: product:<key> facts (what customers may be told), work:<key> (internal state), company and vendor:<name>, on one timeline whatever the project. Owner-only facts (prices, terms, promises, what is not offered, status, direction, do-not-merge, focus, standing rules) change only by record_decision(sets=...) quoting the owner, and their conflicts wait for the owner; any other fact needs evidence; a Canon fact is corrected, never deleted or quietly retired. pickup() opens with it and turn() adds what changed; with the hooks, every session start opens with the company core, this checkout's product card and the last 7 days of changes to every product, read from a local cache even when the hub is down, and each prompt adds the changes since. canon(product) and changes(since) for the rest; a weekly consistency-pass skill keeps copies and notes in line

docs/hooks.md, docs/tools.md

Project board

Every request you make, in your words, with the targets (metric, goal, current), expectations, actions and deliveries under it, layer by layer (project / ui/dashboard). Done needs evidence, dropped needs a reason, and asking twice is counted. It leads every agent's check-in, so nothing you asked for is lost to context compaction or an agent switch. Agents' questions for you wait under "Needs you" and your answer goes straight back to them

docs/tools.md

No duplicate work

start_work checks every task against what other agents are doing now and what was finished, so two agents never build the same thing and nobody redoes finished work; hooks run the same check on every message. Each agent gets the Commons routine on its first check-in, so you never have to explain it

PROMPT.md

Credential vault

Commons stores your API keys and logins encrypted and makes calls for agents, so no agent ever sees a key, and a key only ever goes to its own service. A decision agent rules on each request: sound reads are allowed, writes need your request behind them, anything destructive or costly comes to you as an approval link the agent hands you: one page showing the exact request, approved with your owner password (agents can't), and approving runs it. Or switch on "approve everything" at your own risk, or always allow one key. It is an order you choose (TypeSafe, any provider you have a key for, a live connected agent on its own subscription, then you), and a phone notification with Yes / No buttons lets you answer anywhere. Agents creating accounts get a generated username and password from the vault · an agent deposits a key the moment it gets one; the base URLs it may go to can follow, and until then it goes nowhere · each key records what it is for, what it can do at the provider, and every place it is installed or used, linked on the infrastructure map, so it can be rotated or narrowed without guessing

CHANGELOG.md

Team awareness

A live Team now view (who is working, blocked, done or waiting on you) · a card per agent that the hub writes from what it can check (who issued its key and when, where it runs, how it is woken, its usage headroom, its schedules, the work it finished), kept apart from what the agent claims, with who(name) to read it · agents meet a newcomer at their next check-in instead of a broadcast that would wake and bill every agent, and a newcomer gets the whole team at its first · display names only you set, so grok reads as "Grok bot" while messages still reach it, and no agent can name itself after another · introductions you ask for: one note to each, nobody else woken · every release tells all agents what changed and what to adapt · handoffs carry a commit Commons checks on GitHub · failed CI runs, new issues and new PRs (GitHub watcher or webhook) become jobs for the best live agent

CHANGELOG.md

Continuity

Sessions, checkpoints, handoffs that resume in another AI · layered context packs (L0 gist → L3 full) so the next AI doesn't re-pay tokens · decisions with rationale and why() · leftovers and recurring jobs

docs/guide.md

Teamwork

Submit a task and it is split for the team: a model plans it (Haiku by default), else a live agent does, else keyword rules, sized to who is live, what each agent is good at and its usage left. Big hand-offs are planned too, and an agent can split a subtask it holds and merge the parts. Six-stage workflow (submit_task(pattern="sdlc") or /sdlc, or one stage with /spec /plan /build /test /review /ship): you approve the spec and confirm the release from the board or your phone, stage leads hand out task cards up to 3 levels deep, each card goes to a cheap, mid or top model and effort by difficulty x criticality (on the agent's own CLI), and the Workflow page shows the stage spine, the agent tree, traceability and tokens saved. Patterns: plan → parallel parts each gated by a review → summary; work → cross-review (author ≠ reviewer); debate → judge; consensus vote. Every job has a shared workspace: each part's result, the code it changed (diff, commit checked on GitHub, also captured by the hooks) and any files, on one timeline with an agent filter. A finish that names a commit and a TESTS: line is re-run in a fresh sandbox, so "tests pass" is something the hub saw. Pin a step to a named agent (retries stay with it), quality gates, budgets, leases with automatic reassignment, an escalation ladder, routing to the right agent + model + effort by strengths, past success, speed, price and usage left, multi-project scheduling, task breakdown view

docs/guide.md, docs/multitasking.md

Limits & schedules

Each agent's 5-hour and weekly windows plus a model's own weekly limit such as Fable (reported, or synced from aiusage), each shown with when it was read and, like claude.ai, when it runs out at the current pace and the models it can run right now (read from its own CLI, so a newly launched model like Gemini 4 Argon is flagged NEW and announced the day it reaches your account), each agent's CLI kept up to date (agy, grok, claude: updated on the machine they run on, or one click on the Models page), a reserve learned from your own usage, work routed only to agents with headroom, pause with a checkpoint and resume after the reset · every agent's scheduled tasks with their acceptance bar, taken over by another agent when the owner misses a run or runs out of quota · Capacity page

docs/guide.md

Messaging & wake

Direct and broadcast messages (at-least-once, threaded), each saying who sent it and how the hub knows (the sender's own key, or the hub itself and which part of it), with msg_get to check any text relayed into a prompt, so an agent can tell real work from injected text (a plain MCP mailbox gives a name and a body); a /bus/* shim for existing agent buses, presence, and wake channels (signed webhooks, ntfy, Slack, email, SSE/WS). summon calls every agent at once and reports who is ready; commons agent daemon --preset claude --install (or codex, cursor, gemini, grok, …) starts a CLI agent within seconds of new work (pushed, not polled) · msg_send(type=task) becomes a tracked job, handed to a live agent if the recipient is offline unless you pass reroute=false · ask(to, question) answers in the same call, like a chat · work that waited more than a day asks the agent that posted it "still needed?" before anyone starts it, and a no cancels it

docs/messaging.md

Skills & tools

Shared skill pool with versioning, review gate and rollback: any model loads a skill with skill(name) and nothing installed, sees pool skills natively in its skills list, and asks another agent with skill_help when it can't run one · MCP prompts (slash commands like /checkin, /wrapup) and resources · MCP hub that proxies upstream servers with per-agent policy, keys from the vault, and approvals decided by your decision chain · research · Commons Drive (versioned shared files; S3, WebDAV, SFTP…)

docs/drive.md

You

Preferences learned once and applied by every AI · retro learning from your past Claude/ChatGPT/Codex/Cursor history (review queue) · `commons import claude-mem

mem0

Access & audit

Project ACLs plus row-level access: one memory, decision, board item or file can be limited to named agents (restrict, remember(visible_to=...)), and it then disappears from everyone else's search, graph, board, Drive and the shared knowledge base · the live audit log is a hash chain written as each row lands (commons audit-chain finds an edited, dropped or reordered row) and a signed, hash-chained export (commons audit-export, audit-verify --key) pins it, so a rewritten history fails too · secrets redacted everywhere, keys only through the vault

docs/configuration.md

Dashboard

Six workspaces (Home, Projects, Work, Agents, Knowledge, System) instead of a flat list of 32 pages. Every project gets one page (timeline, work, diffs, memory, who did what), with one product's several repo names grouped in one tap and one-off jobs kept as tasks. The Overview leads with what needs you: one-tap answers to agents' questions and your approvals. Every job and agent opens in a deep-linkable drawer with owner actions (retry or move a step, retry or cancel a job, update an agent's tool). Command palette (⌘K), keyboard shortcuts (g o, g w, ?), working Back and Forward, toasts with Undo, dark and light themes, a bottom bar and sub-tabs on phones, and an optional password lock for the whole dashboard

docs/guide.md

Operations

Setup page with a first-run checklist (keys, decision order, credentials, features) · model presets: with one provider key, planning, knowledge-base summaries and preference extraction just work (Haiku with an Anthropic key), summaries cached by content · Message Batches (half price) for curated imports and benchmarks · commons setup connects 17 AI clients in one command and commons doctor --repair fixes a broken connection, and every session start checks that Commons is still registered as the AI's MCP server and puts it back if not (Claude Code gets the key from a headers helper, so no config file holds it) · dashboard (30 pages, live updates) · tokens per agent, model and effort read from each agent's own records (Claude Code transcripts including subagents, the peers' bridge jobs: input, output, thinking, cache), so subscription work shows up, not only what agents remember to report · usage and cost by agent/model/project, projects grouped as on the Projects page · kill switch · backups, retention, dump/restore · Postgres + pgvector · SQLCipher · OpenTelemetry · Docker

docs/networking.md

What each feature buys you

Measured where we have numbers (details in benchmarks/README.md); "not benchmarked" means the effect is real but not yet measured. Rival columns come from each project's own README and docs (checked 2026-10-13): ✓ has it, ◐ partial, · doesn't, — not compared.

Feature

Without it → with it

mem0

claude-mem

MemPalace

Archify

Hybrid search + neighbouring turns (short hits) + date resolution

LoCoMo QA 69.5% → 78.7%; LongMemEval QA unchanged by neighbours (65% either way, where giving them to every hit costs points). A question is answered from 3.0k tokens of memories instead of the 24.7k-token conversation (87.7% fewer), 2.6k instead of 107.5k on LongMemEval (97.6% fewer)

70.3% on the same LoCoMo run (paired p = 1e-11)¹

· no recall benchmark

LoCoMo dialog recall 0.545 vs Commons 0.708 (its metric)

·

Indexed search

p50 at 30k memories 1,383 ms → 68 ms

—

—

—

·

Redesigned dashboard

answer, approve, retry, move or cancel from the page you are on instead of hunting across 32 tabs; every page works on a phone (not benchmarked)

—

—

—

—

Lean tool list

every tool listed would cost 40.4k tokens a session (v0.30) → 8.0k for the 41 that are listed (v0.39.3, −80%); on a live hub with 70 keys credentials() 13.3k → 4.5k tokens and canon(product) 7.4k → 5.8k (v0.39.1)

—

—

45 MCP tools

·

Verbatim capture hooks + turn() for chat apps

nothing said is lost to an agent's own summary; Claude Code, Codex, Gemini, Cursor, any chat app; a sentence already kept in any session is kept once (on a live hub ten prompt and playbook lines had become 4,442 items, 8% of all memory → one each)

◐

✓ (8+ harnesses)

✓ (3 clients)

·

Project board

your asks survive compaction and agent switches; asked-twice is counted

·

·

·

·

Canon (one current truth per product, owner-only facts)

a week of 14 products across 5 agents had 17 inconsistency incidents traced to 14 causes (a price changed in one place only, a do-not-merge lost to compaction, a feature called missing after it shipped) → a change is one decision that every agent reads at its next session start or prompt, and copies such as Pulse kits follow within one relay run (about 30 minutes); hook cost measured with the hub down: about 90 ms at session start and 25 ms per prompt

◐ updates a memory in place, no owner-only lock or precedence

·

·

·

No duplicate work (start_work, automatic claims)

two agents never build the same thing; on a live hub 1 agent session in 10 claimed its work and the wake services none → every session's first message opens its claim and every woken subtask is claimed before the agent starts; Jev closes a session's claim as done or dropped from its last message

·

·

✓ claim protocol

·

Work splitting (model, live agent or rules plan it; split_subtask)

big jobs run in parallel across agents by strength and usage left; live run: 3 jobs, 4 agents (not benchmarked for speed)

·

·

✓ task delegation (no planner)

·

API seats (your own keys, by tier)

when every subscription agent is busy, offline or out of usage, steps that need no repo (specs, plans, reviews, research, summaries) still run on a cheap, mid or top model from your key, picked per step; stops at your 24-hour dollar cap (off by default)

·

·

·

·

Six-stage workflow (/spec /plan /build /test /review /ship)

an idea goes through spec, plan, build, verify, cross-family review and ship with you approving the spec and the release; leads split work into task cards, each routed to a cheap, mid or top model by difficulty x criticality; build and verify need evidence; every acceptance criterion traced to its tests and verdicts; a failed check stops the checks after it; Workflow page draws it all (token savings measured per job, not benchmarked)

·

·

◐ task delegation, no stages

·

Infrastructure map

where a service runs, how it is reached, what it mounts and which credential it uses, scattered across hundreds of notes → one answer from infra(name); on a live Proxmox host the collector found 18 guests, 49 services, 38 endpoints and 43 mounts in about a minute, read-only

·

·

·

◐ code architecture only

Re-filing misfiled notes

imported notes keep the old tool's folder label (2,200 Poise notes under soul-pool on a live hub) → a model proposes where each belongs, grouped per move, applied with Undo; live-captured notes are never touched

·

·

·

·

Project pages + grouped names

a live hub's 125 raw project names (folders, worktrees, one product under 6 names) in a filter dropdown, no project page → one page per product with its timeline, diffs, memory and people; one-offs kept as tasks

◐ filter by app/user

◐ project filter, no page

◐ wings and rooms

◐ repo diagrams

Verified test runs (E2B sandbox)

"TESTS: npm test -> 42 passed" was the agent's word → with an E2B key in the vault, the hub re-runs that command on the named commit in a fresh sandbox and files verify.md next to the result; a failure goes back to the agent. The GitHub key clones and is removed before the command runs (first live run: the hub re-ran its own test suite on the release commit and filed a pass; a line the shell cannot run is reported as not runnable, not as a failed test; two runs at a time)

·

·

·

·

Maintenance that does not stall writers (v0.39.1)

on a live hub the librarian relinked all 55,000 items in one write transaction every 10 minutes ("database is locked" several times a day) and a failed index rebuild could leave a transaction open that swallowed later writes → a run links its own batch, writers wait 60 s for each other, and every multi-step write is one transaction; one uptime probe's 1,440 audit rows a day → 1 an hour; disconnect tracebacks 9 in 10 log lines → none; write-ahead file 128 MB → capped at 64 MB

n/a

n/a

n/a

n/a

Memory held by a busy hub (v0.39.2)

the first search after each new memory read all 55,000 vectors again on whichever thread took the call, and glibc kept each thread's freed heap: 4.4 GB resident after 14 hours (reproduced: 40 threads held 2 GB, the same run on two arenas 73 MB) → new vectors are appended to the cache and the image runs on two arenas: 617 MB twenty minutes after a restart where it had been 1.1 GB (a full day not yet measured); 163 ms off the first search after each write

n/a

n/a

n/a

n/a

Job workspace + recorded diffs

every part's result, diff and GitHub-checked commit in one place; reviewers get the diff

·

◐ file paths only

✓ patch submit

·

Credential vault + decision agent + owner approvals

agents never see keys; reads allowed, writes need your ask, the rest is one approval link only you can approve (owner password), and approving runs it; with approve-everything on, Jev still screens every call (a live hub had judged none for 23 days); a key with line breaks is refused and error texts are scrubbed

·

·

·

·

Row-level access + chained audit log + signed export

one record limited to named agents; the live log and its exports are tamper-evident and verifiable

◐ scoping by ids

◐ private tags, unsigned log

◐ checksummed, unsigned

·

Shared skill pool

any model loads a skill with nothing installed; skill_help when it can't run one

◐ own skills

·

◐ own skills

·

Messaging + instant wake + ask

daemon agents start within seconds of new work; a question is send, wait for a poll, reply, poll again (the Grok bot's median answer took 3.5 hours) → ask(to, question) returns the answer in the same call when the agent can be woken, and the wake service sends the agent's final output back if it forgot to reply (not benchmarked)

·

◐

✓

·

Choose the other agent's model

a question or message woke the other agent on its default model, and only the router picked models, for tasks → ask/msg_send take model and effort, checked against the models that agent's own CLI reports (refreshed every 10 minutes), and a handed-off task keeps the choice even when another machine with the same CLI takes it (not benchmarked)

·

·

·

·

Knowledge base per project

cited digest per project, rebuilt as memory changes

✓

✓

◐ no summaries

·

Code graph + diagrams

call graphs, sequence, workflow, lifecycle and architecture diffs from the real index

·

·

◐

✓

Contradiction flags (TypeSafe)

conflicting notes flagged: precision 1.00, recall 0.97 on 96 pairs; durable notes only (on a live hub 242 of 278 open flags came from captured chat turns), with a same-subject check

—

—

—

·

Cost controls

Message Batches −50% on imports and benchmarks; prompt caching (cached input ~10% price); KB summaries cached by content

—

—

n/a (no LLM on write)

n/a

¹ mem0's hosted platform reports LoCoMo 92.5 / LongMemEval 94.4 with its own scorer; that isn't comparable to runs scored here with one reader and judge for every system.

Architecture

flowchart LR
  subgraph Agents
    A1[Claude Code / Desktop] -->|stdio MCP| HUB
    A2[Cursor · Codex · Gemini] -->|stdio MCP| HUB
    A3[ChatGPT · Grok · Muse · custom] -->|HTTP MCP + key| HUB
    W[commons worker / agent daemon] -->|claim · heartbeat · complete| HUB
  end
  subgraph HUB[Commons hub · commons serve]
    MCP[MCP tools · aliases · ACLs · rate limit] --> RED[Secret redaction on every write]
    RED --> DB[(SQLite or Postgres<br/>memory · graph · KB · sessions<br/>jobs · messages · skills · audit)]
    ORC[Orchestrator<br/>DAG · gates · leases · routing · escalation] --> DB
    MSG[Messaging · presence · wake] --> DB
    BRK[Secret broker<br/>env:// vault:// op:// infisical://] -.leases.-> DB
    HUBX[MCP hub → upstream servers]
    BG[Background: KB · librarian · reaper · backups]
  end
  HUB --> DASH[Dashboard :8766]
  MSG -->|webhook · ntfy · SSE/WS| A3

Connect any AI

Add an AI on the dashboard's Connect page. It makes a join link (15 minutes, up to 5 AIs) and gives you three ways to use it:

  • On a computer: curl -fsSL http://HUB:8770/join/<code> | sh. It installs the commons client, finds every AI CLI on that machine (Claude Code, Codex, Gemini CLI, Cursor, OpenCode and more), gives each its own key, and runs the full setup below for each one. Running it again skips what is already connected.

  • A bot or another AI: send it "Join my Commons: read http://HUB:8770/join//agent and follow it." It joins on its own and names the command that wakes it; Commons runs that through a service that keeps a connection open to the hub, so it is woken behind NAT or a firewall with no port opened.

  • A chat app (claude.ai, ChatGPT, Grok): add a custom connector with http://HUB:8770/mcp and sign in.

Every AI Commons connects can be woken. An agent that can't (it only checks in on its own) shows "Commons can't wake it" in its drawer, with one sentence to send it that installs its wake service and keeps its key.

Prefer to do it by hand? On the machine where the AI runs:

pip install -U commons-memory && commons setup --client claude-code --agent my-agent --url http://HUB:8770

It asks for the agent's key once (hidden, saved 0600), then does every step, each on by default:

  • connects the AI to Commons over MCP;

  • installs the master instructions it always loads (CLAUDE.md plus a commons skill, AGENTS.md, GEMINI.md, or a Cursor rule);

  • installs auto-capture hooks;

  • installs instant wake;

  • hands over the AI's existing memories;

  • verifies the connection.

Add --no-<step> to leave one out. The dashboard's Connect page builds this command with a checkbox per step. Clients: claude-code, codex, gemini, cursor, opencode, copilot, cline, kilo, amp, factory, qwen, crush, goose, windsurf, zed, roo, warp.

Hosted chat apps (claude.ai, ChatGPT, Grok, Muse) can't run commands: paste PROMPT.md into their custom instructions. It is generated from the same master instructions, so it never goes stale, and Commons hands every agent the same playbook on its first check-in and whenever it changes.

Screenshots

Captured from a demo hub (python scripts/demo_seed.py demo.db): made-up agents, jobs and memories.

OverviewOverview: what needs you first (one-tap answers, approvals), then spend, running jobs, the team and activity

Jobs cockpitJobs: every job with live filters; a job opens in a drawer with its stage spine, steps, routing and owner actions

AgentsAgents: the fleet, what each is doing, its models, quota and tool version; click for the agent drawer

On a phoneOn a phone: every page works at 390 px, with a bottom bar and sub-tabs

BoardBoard (light theme): what you asked, targets and deliveries, with one-click Done and Undo

UsageUsage: spend and tokens per day by agent, 7 to 30 days

MemoryMemory: search first, filter chips, drawers, bulk actions

Connect an agentConnect an AI: one join link; a terminal line, a sentence for a bot, or a connector address, and each AI appears as it joins

Knowledge baseKnowledge: an auto-built, cited knowledge base per project

GraphGraph: memory, code, sessions and agents in one graph

Mission controlMission control: fair-share scheduling and agent load against capacity

A projectA project: everything about one product in one place: active work, timeline, diffs, memory and who did what

InfrastructureInfrastructure: where everything runs: capacity and every guest's allocation, then a zoomable map, the graph and a drawer per thing

Multi-agent in 5 commands

commons serve --transport http --host <tailnet-ip> --port 8770 --dashboard     # 1. the hub (keys required)
commons connect grok --expertise code:0.9,review:0.7                           # 2. each agent gets a key + profile
commons connect muse --expertise writing:0.9,review:0.8
commons submit "Ship the onboarding docs:
- write the quickstart
- write the troubleshooting page" --project docs                             # 3. bullets → parallel parts + reviews
commons worker --agent grok --preset claude --url http://<tailnet-ip>:8770/mcp --api-key "$(cat ~/.commons/agents/grok.key)" &   # 4. headless seats
commons status                                                                  # 5. or the dashboard's Mission control

Interactive AIs claim the same subtasks with pickup → claim_subtask → complete_subtask. Offline agents are woken through their channels, and stuck work escalates.

Security model

  • Identity. HTTP requires an agent key or OAuth 2.1 token on every request (401 otherwise). Only key hashes are stored. Each principal is rate-limited (429, COMMONS_RATE_PER_MIN).

  • Access control. Per-project ACLs (commons acl grant PROJECT AGENT --role read|write|admin). The sole author of a project can make it private. Trust scores weight search and the KB.

  • No raw secrets in memory. Every write passes a gitleaks-style and entropy redactor. Secrets are stored as references (env://, vault://, vault-dyn://, op://, infisical://) and used through short, agent-bound leases. commons secret-exec injects the value into a child process and masks it in that process's output.

  • Tools. The MCP hub applies allow/deny/approve policies per agent and tool. Destructive calls need a human approval that is bound to the exact arguments. Upstream output is fenced as untrusted, and so is anything a stranger can write on a watched GitHub repo (issue and PR text, branch names, commit messages): it never reaches a job title, and issues and PRs from people outside the repo make no job unless you turn on github_outside.

  • Owner proof. The tokenless LAN dashboard can't tell you from an agent on the same network, so anything that could approve an agent's own request or reach a key (approvals, providers, settings, the vault, MCP policy, trust, routing, new agent keys) needs your owner password once one is set. You choose it on your first visit: for 30 minutes after Commons starts, the dashboard offers "Make this hub yours" to whoever opens it, from any browser, with no code (a restart reopens the window until a password exists; every claim notifies you; COMMONS_CLAIM_MINUTES=0 means setup-code only). Each browser then stays signed in for 14 days. Want the whole dashboard behind it? Switch on dashboard_lock on Setup. Model providers, role models and resuming after the kill switch need an admin over MCP too.

  • Review gates. Skills and gated subtasks need a different agent (or you) to approve. Kill switch, daily cost cap and per-job budgets.

  • Network. Bind to loopback or a private network (below). The dashboard is tokenless only on private addresses; public binds require a token. Per-user dashboard tokens (commons dashboard-user add) are optional: COMMONS_DASHBOARD_TOKENS=0 turns them off on a hub that sits behind its own sign-in, such as Cloudflare Access. Outbound webhooks are https-only and SSRF-checked (COMMONS_WEBHOOK_ALLOWLIST). Audit log for secrets, ACLs, approvals and escalations.

  • Encryption at rest: SQLCipher (COMMONS_DB_KEY) or disk encryption. Known gaps are tracked honestly in FLAWS_AND_GAPS.md.

Networking

  • One machine: stdio MCP. Nothing listens on the network.

  • Several machines (recommended): your tailnet / VPN. commons serve --transport http --host <tailscale-ip> --port 8770 --dashboard. The dashboard follows --host. On localhost, LAN (RFC 1918) and tailnet (100.64.0.0/10) addresses it needs no token. Binding it to a public address requires COMMONS_DASHBOARD_TOKEN. Set COMMONS_DASHBOARD_REQUIRE_TOKEN=1 to demand a token everywhere.

  • Don't bind 0.0.0.0 unless the host has no public interface. Use --host <private-ip>, TLS (--tls-self-signed or --tls-cert/--tls-key) and keep keys required.

  • From anywhere: commons expose up tailscale|cloudflare|ngrok|ssh|…. It refuses public exposure unless keys are enforced. Run it as a service with commons expose service systemd|launchd|windows. Details: docs/networking.md.

  • Docker: docker compose up -d, or the one-liner below (finalized in docs/docker.md):

    docker run -d --name commons -p 8770:8770 -p 8766:8766 -v commons-data:/data ghcr.io/neoo-blue/commons-memory:latest   # placeholder, see docs/docker.md

Configuration

Everything works with defaults. These are the settings people usually change:

Variable

Default

Purpose

COMMONS_DB

~/.commons/commons.db

SQLite path or postgresql://…

COMMONS_REQUIRE_KEYS

1

HTTP requires keys (0 = local dev only)

COMMONS_DASHBOARD_TOKEN

—

Dashboard admin token; required only on public addresses

COMMONS_DASHBOARD_REQUIRE_TOKEN

—

1 = require the token even on localhost/LAN/tailnet

COMMONS_RATE_PER_MIN

600

Per-agent HTTP rate limit

COMMONS_ADMIN_AGENTS

—

Agents with global admin rights

COMMONS_EMBEDDER

hash

fastembed for real embeddings

COMMONS_DAILY_COST_CAP

—

USD/day cap for orchestrated work

COMMONS_ESCALATE_AFTER

900

Seconds before stuck work escalates

COMMONS_LEASE_SECONDS

900

Subtask lease length

COMMONS_WEBHOOK_ALLOWLIST

—

Private or non-https wake/webhook hosts you trust

COMMONS_DB_KEY

—

SQLCipher encryption key (as a secret ref)

COMMONS_BACKGROUND

light

In-process maintenance (full, 0)

All 89 variables are in docs/configuration.md. It's generated from the code by scripts/gen_env_reference.py, and a test fails if a setting is undocumented.

Troubleshooting

Symptom

Fix

address already in use

Another service owns the port. Use --port 8770 (and update client URLs).

401 Unauthorized

Send Authorization: Bearer <agent key>. Keys live in ~/.commons/agents/<name>.key, and commons connect NAME re-keys.

429 Too Many Requests

Respect Retry-After, or raise COMMONS_RATE_PER_MIN.

Dashboard unreachable from another machine

Bind it to that interface (--host / --dashboard-host). On LAN/tailnet no token is needed. On a public address, set COMMONS_DASHBOARD_TOKEN and open http://<host>:8766/?token=…

Agent shows offline / never gets work

Make an authenticated call or commons agent daemon. Add a wake channel with commons wake add AGENT webhook url=…

Subtask stuck in claimed

The worker died. The lease expires (COMMONS_LEASE_SECONDS), then the subtask is reassigned to another agent. Run commons escalate to force it.

skill … has no approved version

Another agent (or you) must skill_review it. Authors can't self-approve.

admin rights required

Be a project admin, be listed in COMMONS_ADMIN_AGENTS, or be the project's sole author.

commons: command not found after install

Add ~/.local/bin to PATH (Windows: %USERPROFILE%\.local\bin).

Unknown-argument error from a tool

The error lists the accepted names and aliases.

database is locked in the log or from a tool

Upgrade to v0.39.1 or later: writers wait 60 s for each other and the librarian no longer relinks all of history in one transaction.

Audit log filling with http.unauthorized

A monitor is probing an address that needs a key. Point it at /bus/health, which needs none. From v0.39.1 a refused client is logged once an hour.

A review or check step stays pending while the steps it gates say awaiting_gate

One check gated several steps and the job deadlocked. Upgrade to v0.39.3 or later; the check becomes claimable.

A verified run says "could not be set up"

The TESTS: line was not a command a shell can run from the repo root. Write TESTS: cd backend && npm test -> 42 passed.

FAQ

  • Do I need a server? No. A single machine uses stdio and one SQLite file. Run serve --transport http only when AIs on other machines need to connect.

  • Which AIs work? Anything that speaks MCP (stdio or streamable HTTP). Others can use the HTTP /bus/* and /agent/* endpoints or a CLI worker.

  • Will it leak my secrets to models? Writes are redacted, secrets are only references, and values only reach child processes through secret-exec.

  • What does it cost? Commons itself makes no LLM calls unless you configure a planner, summarizer or providers. Usage reported by agents shows up on the dashboard.

  • Can I move from SQLite to Postgres? Yes: commons migrate-postgres postgresql://….

  • Can I stop it? Yes. Run commons pause (kill switch). commons dump exports everything as JSONL.

Benchmarks (retrieval and QA on v0.40.0; tokens, speed and tool sizes on v0.39.3)

Everything that needs no AI model was run again on v0.39.3 in a fresh Linux sandbox with nothing else on it (4 vCPUs, 8 GB; bash benchmarks/run-clean.sh). The two end-to-end QA rows need a reader and a judge model and were run again on v0.40.0 (retrieval on an 8-core Apple M1 laptop, the model calls through Anthropic's batch API). Full tables, caveats and per-question results are in benchmarks/README.md; every number is reproducible with commons bench.

What

Metric

Commons

Tokens to answer one question: Commons against the whole history in the prompt (commons bench context-*)

prompt tokens per question (cl100k), the QA benchmark's own context

LoCoMo: 3,032 instead of 24,665, 87.7% fewer. LongMemEval-S: 2,612 instead of 107,523, 97.6% fewer. That context scored the two QA rows below; what the whole history would score was not measured

LoCoMo retrieval, 1,982 questions

evidence-turn any@1 / @10

39.1% / 76.4% on v0.40.0 (39.4 / 76.5 on v0.39.3 and v0.21.1; v0.8: 31.2 / 71.1); 49.7% / 78.0% with --rerank, results

LoCoMo retrieval

evidence-session any@10

97.3% (v0.8: 95.8)

LongMemEval-S retrieval, 470 questions

evidence-session any@1 / @5 / @10

92.1% / 98.9% / 99.6% on v0.40.0, no reranker, no model call (465 of 470 in the top 5). With the reranker 99.0% any@5 and 94.6% any@1 on the 411 questions that run finished. v0.39.3 measured 94.5% any@5 because the benchmark harness hid evidence the dataset dates after the question; fixed in v0.40.0, see benchmarks/README.md

LoCoMo end-to-end QA, 1,540 questions (cat 1-4)

LLM-judged accuracy, Haiku 4.5 reader + judge, k=20

79.2% on v0.40.0 with context=2 (short hits) and date resolution (78.7% on v0.28; 78.5% when every hit gets neighbours, 69.5% for hits alone); no LLM at write time

LongMemEval-S end-to-end QA, seeded 100 questions

same reader, judge and k

65% on v0.40.0, the same as v0.28 (67% on v0.20.1, run-to-run noise of a few points; v0.9: 62%). Retrieval finds the evidence for 98.9% of questions, so the reader is the limit here: temporal-reasoning questions are answered 50% of the time

Search latency, 30k / 60k memories

p50, query embedding included

64 ms / 100 ms on v0.39.3 (a second sandbox: 72 / 73; the M1 laptop on v0.9: 68 / 114; v0.8: 1,383 ms at 30k)

Tool schema an AI pays for each session

tokens, exact (Anthropic tokenizer, minus a one-tool baseline)

7,982 for the 41 listed tools in v0.39.3 (6,072 for 32 in v0.30); listing all 186 would have cost 40,382 in v0.30

Self-check on your own data (commons bench self)

known-item hit@1 / @5

93% / 100% on a 166-memory sample

Head-to-head, rivals run here on the same LoCoMo data (details in benchmarks/README.md):

vs

Same metric

Commons

Rival

mem0 OSS

QA accuracy, same reader/judge/prompts, 1,540 q

78.8%

70.3% (paired: Commons alone right 232x, mem0 alone 107x, p = 1e-11)

mem0 OSS

per category: multi-hop / temporal / inference / single-hop

64.2 / 77.3 / 43.8 / 88.2

61.0 / 73.8 / 37.5 / 76.2

mem0 OSS

search p50 / LLM calls per write

24-68 ms / none

377 ms / extraction on every write

MemPalace

its own recall metric, dialog / session top-10

0.708 / 0.945

0.545 / 0.889

claude-mem 13.36

same metric, dialog / session top-10

0.708 / 0.945

0.496 / 0.811 (search p50 2.7 s)

claude-mem 13.36

footprint at rest

43 MB RSS, 0.1% CPU with 5,761 memories (185 MB once the embedder loads)

its chroma-mcp process sat at ~39% CPU on the same Mac

Published numbers elsewhere use other readers, judges and subsets (mem0's paper: 66.9% with gpt-4o-mini; its managed platform and Zep claim 92-95% under their own setups), so only the table above is apples to apples.

A live hub, checked (v0.39.1, 2026-11-10)

One production hub after a month with five agents: 54,954 items, 1.1 GB, one SQLite file on a NAS.

What

Result

Tool latency over HTTP (median of 3 calls)

whoami 14 ms, search 70 to 140 ms, canon(product) 44 ms, board 29 ms

Known-answer search, 10 questions

10 answers in the hit list, 7 of them first; the same after the cleanup below

Integrity

quick_check ok on the live file and on the nightly backup; no foreign-key violations

Cleanup with the hub running

12,434 items removed in 30 s (search copies of old file versions and repeats); no Canon fact touched

Comparison

Project

Great at

Commons' angle

mem0 / OpenMemory

Fact extraction, cross-client memory

Higher LoCoMo QA in every category (78.8% vs 70.3%, same reader and judge) with no LLM on the write path, plus a code graph, handoffs, a project board, orchestration and secrets; commons import mem0 brings your memories over

claude-mem

Automatic capture across 8+ agent harnesses

The same capture shared by every agent, plus orchestration, a vault, a board and a job workspace; commons import claude-mem --curate imports and cleans its history

MemPalace

Verbatim recall, retrieval benchmarks, logstream task coordination

Higher LoCoMo recall under MemPalace's own metric (0.708 vs 0.545 dialog-level); both coordinate agents (claims, diffs, wake), and Commons adds model-planned work splitting, a credential vault, a project board, row-level access and signed audit exports

Archify

Validated, interactive architecture diagrams

Diagrams come from the real code index and history: code graph with source links pinned to the indexed commit, call and multi-agent sequence diagrams, job workflows, lifecycle state machines with real transition counts, and an architecture diff between any two snapshots, plus communities, impact paths and a cluster map

Graphiti / Zep

Temporal knowledge graph

Inspired Commons' conflict and supersede model

Cognee

Rich document graphs

Commons is a lighter single-file hub

basic-memory

Human-readable Markdown memory

Commons has Obsidian/Markdown export

A2A

Agent-to-agent protocol

Commons ships an A2A server and client

Agent buses / chat bridges

Messaging

Commons adds a shared mailbox, presence and wake, plus a bus-compatible shim

Roadmap

  • First PyPI release (the publishing workflow is in place; uvx commons-memory / pipx install commons-memory work once it lands).

  • Hosted dashboard auth via OIDC.

History: CHANGELOG.md.

Development

git clone https://github.com/Neoo-Blue/commons-memory && cd commons-memory
uv venv && uv pip install -e ".[dev,all]" && uv run pytest -q
python scripts/gen_env_reference.py      # after adding a COMMONS_* setting
scripts/release-local.sh v0.38.0         # after pushing a tag: build on your own box, publish the GitHub release

MIT licensed.

Available Tools

41 tools
add_leftoverC

Record an unfinished item so another agent (or the next recurring run) picks it up.

Inputs: text (required), agent, api_key, project, +3 more.

askA

Ask one agent and get its answer in this same call, like a chat: no inbox round trip. Waits up to wait seconds (<=120) while the agent can be woken; one that can't gets it in its mail and this returns at once. Reply to a question with msg_send(to=, reply_to=). model/effort: run it on one of that agent's models (who(name) lists them; a unique part of the name is enough) at minimal|low|medium|high|max effort.

Inputs: to (required), question (required), wait, agent, +5 more.

boardA

The project board: the user's asks (verbatim), targets with goal/current, expectations, actions and what was delivered, layer by layer (path, e.g. "ui/dashboard"). status: open|done|dropped|all. Read it before working and before you stop: everything open here is still owed to the user.

Inputs: path, status, project, max_tokens.

board_addA

Record on the project board. kind: ask (the user's request, VERBATIM; record every one before you start) | target (metric + goal, e.g. metric="search p50" goal="<50 ms") | expectation (acceptance criterion) | action (a step you will take) | delivered (what you shipped; needs evidence). parent = the ask it serves. Re-adding an open ask returns it with repeated=true: the user had to say it twice, so do it now.

Inputs: kind (required), text (required), goal, path, +8 more.

board_updateA

Move a board item: status open|doing|blocked|done|dropped, a new measured current for a target. done needs evidence (commit, file, benchmark, item id, URL); dropped needs the reason in evidence. Asks can't be edited, and an ask can't be done while items under it are open.

Inputs: id (required), goal, path, agent, +4 more.

callA

Run any Commons tool by name, including ones your client doesn't list. Find names and arguments with tools(query). Example: call(tool="submit_task", args={"task": "...", "project": "web"}).

Inputs: tool (required), args.

canonA

Canon, the current truth: the company core (precedence, owner-only facts, rules), each product's customer facts (product:) and internal state (work:), vendors, the last 7 days of changes and the open conflict count. product = a key such as "santa"; repo = a git remote URL or "owner/name" (matched against work:.repos). Read it before work on a product and after a compaction; it outranks notes and docs. Pass product or repo: with neither it returns every product's full card (about 38,000 tokens, for sync tools).

Inputs: repo, product.

changesA

What changed in Canon since since (ISO time, epoch ms, or 7d/12h; default the last 7 days), oldest first: at, subject, predicate, old, new, by, and the decision that set it.

Inputs: since.

claim_subtaskA

Claim the next ready subtask assigned to you (or a specific one). Returns a work packet including dependency results and user preferences. Heartbeat before the lease expires; returns null when nothing is ready.

Inputs: agent, api_key, subtask_id, lease_seconds.

complete_subtaskA

Finish a claimed subtask. Changed code? pass repo (owner/name), branch, commit and/or diff: they land in the job's workspace (/jobs///) with your result. Gate tasks need verdict approve|reject (or a 'VERDICT:' line in result). leftovers: unfinished items to carry forward. preferences: user preferences you learned. success=false only when you could not do the work (it is retried); a review or test that finds problems is success=true with the findings.

Inputs: result (required), subtask_id (required), cost, diff, +12 more.

credentialsA

The user's API keys Commons holds (names, services, where each may be sent; never values). Use one with use_credential; never ask the user to paste a key. name = one key's full notes (scope, every place it is used).

Inputs: name.

expandB

Fetch the full record for any id (memory, decision, entity, session, task, agent). depth>0 adds graph edges.

Inputs: id (required), depth, max_tokens.

fact_getA

Facts about subject valid at as_of (default now). Omit predicate for all of them; project narrows to one project's timeline.

Inputs: subject (required), as_of, project, predicate.

fact_historyC

Full validity timeline of a subject's facts (valid_from -> valid_to).

Inputs: subject (required), project, predicate.

fact_setA

Assert subject.predicate = value from valid_from (default now). The previous value is closed at exactly that instant (valid_to), never deleted, so fact_get(as_of=...) answers 'what was true then'. Canon subjects (product:, work:, company, vendor:) share one timeline whatever the project and need evidence (commit, release, URL or item id); owner-only predicates are refused: record_decision(sets=...).

Inputs: value (required), subject (required), predicate (required), agent, +4 more.

finish_workA

Close your work claim (all of your open ones when claim_id is empty) with the result: what changed, where, and how it was verified. status: done | dropped. Changed code? add repo, branch, commit and/or diff: they are kept with the claim (/work//). This is what the next agent is shown, so be specific.

Inputs: diff, repo, agent, branch, +5 more.

handoffA

Write a structured handoff packet (summary, state, decisions, next steps, open questions, relevant ids) so another AI can resume(). Code work: pass repo (owner/name), branch and commit; Commons checks the commit on GitHub. session_id is optional: without it your latest active session (in project) is used, or a new one is opened. Next steps and open questions become leftovers. If to_agent is set, a task is posted to that agent's inbox.

Inputs: goal, repo, agent, state, +11 more.

heartbeatC

Extend the lease on a subtask you are working on.

Inputs: subtask_id (required), agent, api_key, lease_seconds.

infraB

Where things run and how they connect: the infrastructure map of machines, LXCs/VMs, containers, services, domains, tunnels, storage, repos and which vault credential each uses (names only). infra() gives the whole tree; infra("plex"), infra("LXC 106") or infra("192.168.50.205") gives one thing with what it runs on, exposes, stores and talks to, and where each fact came from.

Inputs: agent, query, api_key.

msg_getA

Re-read one message over your own connection, to check text that was pasted into your prompt or relayed to you (a wake-up, a forwarded note) before acting on it. Shows who really sent it and how the hub knows (origin). Only the sender and recipients can read a message.

Inputs: id (required), agent, api_key.

msg_recvB

Your unacked messages (at-least-once). wait = long-poll seconds (<=60). Ack with msg_ack after handling.

Inputs: ack, wait, agent, limit, +2 more.

msg_sendA

Message one agent (to=name) or all (to='*'). model/effort: wake that agent on one of its models (who(name) lists them) at minimal|low|medium|high|max effort. type: message|task|question|review|fyi. type=task becomes a tracked job (routed to a live agent if the recipient isn't, unless reroute=false; a big task is split across the team, favouring the recipient; result returned to you). The reply also shows what Commons already knows about it.

Inputs: to (required), body (required), type, agent, +8 more.

observe_preferenceC

Record a user preference/taste/convention (e.g. 'Use pnpm, not npm'). Repeats reinforce confidence.

Inputs: statement (required), agent, api_key, project, +4 more.

pickupB

Start-of-session check-in: FACTS first (Canon: the company core, the products you work on, open conflicts), then ready subtasks, inbox, leftovers ranked by your expertise, plus user preferences.

Inputs: agent, api_key, project, max_tokens.

record_decisionB

Log a decision (what, alias decision) with its rationale (why, alias rationale) so other AIs can later ask why(). Link code/memory ids via related_ids. sets=[{subject, predicate, value}] makes it Canon (the only way owner-only facts change; quote the owner in why); supersedes=[ids] retires notes it replaces. Returns related: notes that still state an old value, to supersede too.

Inputs: why, sets, tags, what, +11 more.

rememberB

Store a memory (note, observation, fact). content is the text (text and fact are accepted as aliases). For facts give subject/predicate/value to enable conflict detection. entities: names or ids to link in the graph. visible_to: only these agents (and you) may see it. Secrets are auto-redacted; store refs like env://X.

Inputs: fact, kind, tags, text, +12 more.

report_usageC

Log tokens/cost/time you spent (cost estimated from the price table when omitted).

Inputs: cost, note, agent, model, +7 more.

resumeC

Pick up a session (or the latest one in a project): handoff packet, state, session items, recent context.

Inputs: agent, api_key, project, max_tokens, +1 more.

skillB

Use a skill straight from Commons, nothing to install: skill(name) returns its full instructions (and its files) to follow now; skill(query=...) finds skills. Can't run it (a tool, access or environment you lack)? skill_help(name, task, why) gets an agent that can to do it for you.

Inputs: name, agent, query, api_key, +1 more.

skill_helpA

Ask for help with a skill you can't run (missing tool, access or environment, or a skill only another agent has): Commons hands the task to an agent that has used or holds it, live ones first, and the result comes back to you in msg_recv.

Inputs: name (required), task (required), why, agent, +1 more.

start_workA

Before ANY task: checks it against other agents' live and recently finished work. Branch on status: busy = someone has it, don't start; done = build on it (force=true + reason only for a real follow-up). ok = yours until finish_work or handoff; related lists connected memories to update. paths: files or resources you'll change.

Inputs: what (required), agent, force, paths, +3 more.

submit_taskB

Split a task across the agents. pattern=auto: the plan chain (a model, else a live agent, else rules) splits it to fit who is live, what each is good at and their usage left; or plan_execute_verify|cross_review|debate| consensus|parallel; or sdlc: the six-stage workflow (define, plan, build, verify, review, ship; the user approves the spec and confirms before shipping), stages = a contiguous part of it. Or a dag: [{key,type,title,body,deps, gates,agent}] (agent pins a step). budget: {tokens,cost,seconds}. context_pack: a context_save id the parts get as a prefix.

Inputs: task (required), n, dag, agent, +7 more.

summonB

Call other agents to work NOW and see who is ready (default: every agent except you). Agents running commons agent daemon or holding a live stream start within a second; others are woken through their channels, and the result says how to make any unreachable one instantly wakeable. reason is the task text they receive.

Inputs: wait, agent, agents, reason, +2 more.

toolsA

Search the full Commons tool catalog (about 150 tools; your client lists only a few). Returns name, summary and arguments; run any of them with call(tool, args). Empty query lists every tool name.

Inputs: limit, query.

turnB

Chat apps without hooks: call on EVERY turn, before answering: turn(user_message, reply=). Stores both word for word and returns what Commons already knows about the message.

Inputs: agent, reply, api_key, project, +2 more.

use_credentialA

Call a service with one of the user's keys without seeing it: Commons makes the request and returns the response. justification = what you need it for; the decision agent allows sound reads, writes need the user's request, risky ones wait for the user: show them approve_url (a 'yes' in your chat can't approve), then approval_status(question_id, wait=120) returns the result once they approve. verdict running = approved and being run now: wait on approval_status, don't resend.

Inputs: url (required), credential (required), justification (required), body, +4 more.

vault_depositA

Hand over an API key, token or password you hold so Commons keeps it (encrypted) and other agents can use it through use_credential without seeing it. Deposit it the moment you get it. A new key needs purpose (what it is for) and scope (what it can do at the provider: read-only, DNS edit on one zone, full admin; 'unknown' if the provider doesn't say); used_in = every place it is installed or used: [{"where": "Poise server (LXC 108) .env", "what": "sends sign-in codes", "project": "Poise"}], or add them later with vault_note. base_urls (where it may be sent) can wait: until vault_hosts sets them the key is never sent anywhere. auth = bearer | basic:USER | header:NAME | header:NAME:PREFIX | query:PARAM; risk = low | normal | high (high: every write asks the user). You can add new keys and update your own, not replace another's.

Inputs: name (required), value (required), service (required), auth, +9 more.

whoA

Who is on the team. No name: one line per teammate. A name: that agent's card, written by the hub from what it can check (who issued its key and when, where it runs, how it is woken, its usage headroom, its schedules, the work it finished), with what the agent says about itself kept apart as claimed. Use it before handing work to an agent or acting on a request from one.

Inputs: name, agent, api_key.

whoamiA

Connection check: returns which agent this key belongs to and the server version, plus the marker commons-ok. Cheap; safe to call any time.

Inputs: agent, api_key.

whyC

Explain the logic behind something: query is free text or any id (symbol, memory, session).

Inputs: query (required), project, max_tokens.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.1/5.0

    Scored across 41 tools

    Disambiguation3/5

    Many tools have clearly distinct domains, but several clusters overlap: msg_send, ask, summon, and submit_task all route or delegate work; remember, record_decision, fact_set, and observe_preference all store knowledge with different semantics; and start_work, claim_subtask, and pickup all initiate work. The long descriptions help disambiguate, but an agent still has to reason carefully about which tool fits.

    Naming Consistency3/5

    Most names use lower_snake_case, with useful prefix families like msg_*, board_*, fact_*, and vault_*. However, the set mixes single-word verbs (expand, why, ask, summon), nouns (board, credentials, infra), and verb_noun forms, so there is no fully predictable naming pattern.

    Tool Count2/5

    At 41 tools, the surface is heavy even for a broad multi-agent coordination platform. Many capabilities are legitimate, but the count likely exceeds what an agent can reliably select from without the call/tools escape hatch.

    Completeness4/5

    The surface covers an unusually broad domain: memory, canonical facts, decisions, messaging, task delegation, board tracking, work claims, credentials, infrastructure, and skills. Minor gaps exist around deletion/forgetting and some lifecycle edge cases, but the call and tools tools provide fallback access to a larger catalog.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables coding agents in different editors and MCP clients to share messages, project context, notes, task ownership, handoffs, and advisory file claims through a local SQLite-backed coordination server. Supports MCP stdio, MCP Streamable HTTP, a JSON HTTP API, and a local CLI for multi-project agent collaboration.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables teams of AI coding agents (Claude Code, Cursor, Codex) to share persistent, time-aware graph memory and coordinate their work via MCP, so agents recall verified fixes at the moment of failure, learn procedures automatically, avoid file conflicts, claim tasks race-free, and hand off facts and decisions between sessions.
      2
      MIT