Post

HN
Hacker News (Newest)

Docracy: A Bureaucracy for Agentic Frameworks

Docracy lets your agents create, use, and store agent context artifacts in a database instead of a filesystem. It boots your agents with project-relevant context so that they can record their workflows and carry that context into the next task.

You can give an LLM tools to use a filesystem, so why not give it tools for working with databases?

Docracy v1.0 is the Postgres-backed document store, revision model, test harness, and CLI. The current contract is:

Future ideas and non-finalized notes are kept separate below so the current v1 behavior is easy to read.

CONSTITUTION.md is immutable and part of the codebase. The DB copy is expected to reflect it.

The contents of a document can be dictated by agents, and the context documents they control can define conventions around that. For example, when an update happens to a document, agents may want to reference commit hashes and specific files:

By torrinleonard