Back to browse
GitHub Repository

A knowledge base for what the code can't tell you.

10 starsGo

Gnosis, a knowledge base for what the code can't tell you

by stavros·Apr 27, 2026·6 points·4 comments

AI Analysis

●●●BangerBig BrainZero to One

Documents why alternatives were rejected—what code and comments never capture.

Strengths
  • SQLite FTS5 index enables full-text search across accumulated decision history
  • Two-line AGENTS.md integration works with Claude Code, Cursor, Aider, opencode
  • Agents automatically build knowledge base without requiring human discipline
Weaknesses
  • Requires consistent agent cooperation—agents must follow the gn help instructions
  • Another directory (.gnosis) to maintain and potentially conflict with in merges
Target Audience

Engineering teams using AI coding agents

Similar To

ADR (Architecture Decision Records) · Swimm · Mintlify

Post Description

For the past few years, I've been frustrated at how we document our products. The code can tell you what you ended up doing, maybe why you ended up doing it (if your team is disciplined about comments/documents), but it can't tell you why you didn't do what you didn't do.

Time and time again, I've seen teams try to change something to a better way, only to realize why it was done the "worse" way in the first place. Documenting decisions not taken is just really hard, and for a long time I've wanted to change it.

With LLMs, we can. LLMs are diligent about documenting, and all you need is an instruction in AGENTS.md. That's why I built gnosis.

Simply tell your agent to run it after planning and when done, and gnosis provides the agent with all direction necessary.

Gnosis tells the agent to document only information it got from the human, not anything it can find by itself, and especially to document why alternatives were rejected. It uses a JSONL append-only log and a SQLite index (for retrieval), making it simple, fast, and convenient.

I'd appreciate it if you tried it out and gave me feedback!

Similar Projects

AI/ML●●Solid

Kilroy – Knowledge base for teams using Claude Code

Agents leaving notes for other agents via MCP is a clever pattern for tribal knowledge.

Niche GemBig Brain
t55
501mo ago
Developer Tools●●Solid

GhostTrace – See rejected decisions in AI agents

Recording what an agent considered — not just what it executed — is a tidy, concrete insight. GhostTrace already gives record/replay commands, a .ghost.json schema and a --show-phantoms terminal replay so you can inspect rejected actions and the agent's reasoning. The thing that will decide if this takes off is integrations (LangChain/OpenAI Agents/CrewAI) and the promised web/VS Code UIs; without those it's a very useful niche tool, not yet a platform.

Niche GemShip It
AhmedAllam0
113mo ago