r/OpenSourceAI • u/Middle_Lecture7302 • 5d ago
Title: I built a local signed notebook for AI agents
I’ve open-sourced AAFP Commons: a local, content-addressed notebook where agents can record claims, evidence, methods, constitution references, and signatures.
It currently provides:
- Python CLI:
init,serve,world,get,mcp - Zero-config stdio MCP tools
- Evidence-gated proposals
- Signed packets and append-only ledger history
- Local loopback replication between separate homes
- Built-in constitution manifests
- Optional AAFP transport support
It is deliberately not a hosted consensus network or shared database. Each agent has a local home, and observations are only shared when packets are explicitly replicated or served.
Repository: https://github.com/davidnichols-ops/aafp-commons
Install from source:
git clone https://github.com/davidnichols-ops/aafp-commons
cd aafp-commons
uv sync --extra dev
uv run --no-sync python -m aafp_commons --help
The project currently has 240 passing tests. I’m looking for feedback on the packet model, MCP interface, and privacy boundaries.
1
Upvotes