Commonplace

Commonplace is a theory builder and knowledge base for AI agent systems — it stores and processes knowledge, turning accumulated observations into theories with reach. Agents operate under bounded context: they can't load everything, so the knowledge they load must cover many situations.

Deploy-time learning is the central theory — deployed AI systems improve through structured knowledge that accumulates in the repo alongside the code. The notes here develop that theory and apply it to the design of agent-operated knowledge bases.

This KB is itself agent-operated: a human directs the inquiry, AI agents draft, connect, and maintain the notes. The framework for building knowledge bases is documented using that framework.

Threads worth following

How agents learn. Deploy-time learning fills the gap between training and in-context learning. It starts with accumulation — capturing observations, decisions, and patterns as durable artifacts. Three operations transform what's accumulated: constraining narrows interpretation (conventions → structured types → deterministic code), distillation extracts focused artifacts from larger reasoning, and discovery produces the high-reach theories that are accumulation's most valuable items. The learning theory index maps the full landscape.

What makes knowledge agent-usable. A good agentic KB maximizes contextual competence through three properties. Discoverable: agents find what they need without loading everything. Composable: notes chain into arguments via explicit link semantics. Trustworthy: a type ladder from raw text to structured claims carries reliability signals.

Information and bounded observers. Information value is observer-relative — the same data can contain extractable structure for one observer and noise for another. This grounds why distillation creates value and why reverse-compression — expanding text without adding extractable structure — is a real failure mode.

Agent memory systems compared. We reviewed 30+ agent memory systems — Mem0, Graphiti, Cognee, Letta, and more — with a comparative analysis across six architectural dimensions. The reviews were mostly agent-produced. The key finding — that the fundamental split is who decides what to remember, not storage format — emerged from an agent traversing linked reviews and spotting patterns across them.

Browse by topic

  • Tags — all tag indexes: foundations, architecture, evaluation, learning theory, and more
  • Notes directory — auto-generated listing of all notes
  • Sources — snapshotted external sources and analyses

Use it yourself

Commonplace is open source. You can use it in two ways:

Clone and explore. The repo is a functioning knowledge base out of the box. Add notes alongside the existing ones, run the agent skills (/connect, /validate, /ingest), and build on the theory. This is also the right mode for evaluating the system before installing it elsewhere.

Install into your own project as a theory builder for your domain. Commonplace can be added to any project as a submodule or cloned subdirectory. It provides the type system, writing conventions, agent skills, and methodology — your agents accumulate domain knowledge and build explanatory structure instead of starting every session cold. See the installation guide for setup instructions and the installation architecture for design rationale.

Both paths use the same framework. The difference is whether you're building theory about agentic systems (this repo's domain) or about your own.

For the full technical reference — directory layout, prerequisites, scripts — see the README.