Back to browse
GitHub Repository

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

16 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

Vitrus – the company brain that tells you what it doesn't know

Deterministic gap detection without LLM hallucination is genuinely novel for knowledge bases.

Big BrainShip It
ahvural
3028d ago