Show HN: Stigmergy, a Karpathy-style LLM wiki for a team, not one person Stigmergy, a team-oriented LLM wiki inspired by Andrej Karpathy's single-user wiki, uses a librarian agent to maintain a Git-and-Markdown knowledge base from immutable source captures via Slack, Claude Code, and MCP tools, with visibility scoping and full audit trails. The open-source project, built on Postgres and Git, targets organizations needing shared, evidence-backed documentation without human approval workflows. Stigmergy is the team version of the wiki in Karpathy's gist https://gist.github.com/karpathy/442a6bf555914893e9891c11519de94f . Immutable source material enters one queue, one librarian agent keeps a small Git-and-Markdown wiki current, and every search and answer is scoped to what the caller may see. Ants coordinate by leaving traces in the environment, not by talking to each other. Here every capture is a trace — a person reacting in Slack, an agent finishing a task in Claude Code — the librarian follows the traces, and the wiki emerges. Nobody approves a queue. Why why How it works how-it-works The write path the-write-path The knowledge model the-knowledge-model Using it using-it · Claude Code / Codex from-claude-code-or-codex · Slack from-slack · Backoffice from-the-backoffice · MCP tools mcp-tools Visibility and security visibility-and-security Models models Quality and tests quality-and-tests Quick start quick-start Deployment deployment Repository layout repository-layout Design principles design-principles Documentation documentation A one-person wiki works because the loop is tiny. Once several people and agents write to the same wiki, you need what a shared deployment forces on you: identity, visibility, concurrency, binary evidence, Slack, audit. Stigmergy adds exactly that and nothing that duplicates the loop. Capture where the work happens | Agents through the MCP bridge, people through a :brain: reaction in Slack, the master through the backoffice. | Evidence you can trust | Exact bytes in a private store; one immutable source page per capture. | A librarian that files | Creates, rewrites, consolidates, and deletes pages without approval. | Answers with receipts | Hybrid search and ask with citations verified by code. | Visibility on writes too | Restricted evidence never shapes a page a broader audience can read. | Honest contradictions | Conflicting claims stay explicit, dated, and cited. | Self-healing corpus | A scheduled gardener repairs through the same gates. No human to-do list. | Full audit | One operation, one commit, one change record with the exact patch. | Capture. Thin adapters authenticate and acquire bytes. Local files and private Google Drive documents stay on your machine until uploaded through a presigned URL. Queue. Every adapter produces the same kind-free CaptureEnvelope . The Postgres queue is durable, leased, and idempotent per actor and client key. Write. One serialized writer extracts text, renders the immutable source page, asks the librarian for a FilingPlan , and advances the branch only when every gate passes. Remember. The knowledge repository is plain Git and Markdown. Postgres is operational state and a rebuildable index, never a second wiki. Read. Five MCP tools for agents, @brain for people, one visibility policy. A webhook indexes incrementally; a nightly full rebuild guarantees convergence. States are queued → processing → landed | failed . Nothing waits for a human: ambiguity becomes an explicit contradiction, technical failures retry within a bounded lease, and a terminal failure carries a typed error the master can retry. A crash after the commit is reconciled by commit SHA, never by a second commit. The librarian may create or rewrite a note or concept, consolidate and delete a redundant page, propose an entity claim, add or resolve a contradiction, or file nothing — the source still lands. It never rewrites sources/ and never broadens an ACL. Deletion is a separate explicit operation brain delete through the same writer and gates. | Role | Location | Mutable by filing? | Meaning | |---|---|---|---| | Note | wiki/notes/ | yes | contextual conclusion, decision, or event | | Concept | wiki/concepts/ | yes | durable explanatory knowledge | | Entity identity | wiki/entities/ent