AlmanacCode/codealmanac
A codebase wiki for AI coding agents. Captures what the code can't say: decisions, flows, invariants, gotchas.
What it solves
CodeAlmanac addresses the "context gap" in software development where code alone cannot explain the reasoning behind architectural decisions, historical failures, system invariants, or complex cross-service workflows. It provides a way to maintain a "living wiki" that captures this high-level context, which is often lost in commit messages or scattered across documentation.
How it works
The tool creates a wiki consisting of plain Markdown files stored directly in the repository under an almanac/ directory. It uses AI coding agents (via Codex or Claude Code) to automatically maintain this wiki through three primary processes:
- Ingestion: AI agents scan files, Git diffs, PRs, issues, and agent transcripts to fold new knowledge into the wiki.
- Gardening: Periodic AI-driven reviews that clean up stale pages, fix broken links, and remove duplicate information.
- Syncing: Background processes that scan recent AI agent conversations to extract and queue useful knowledge for the wiki.
Users can interact with the wiki via a CLI for searching and viewing pages, or through a local web viewer.
Who it’s for
Developers and teams who want to maintain up-to-date project documentation that is automatically updated by AI agents and reviewed via standard Git workflows.
Highlights
- Git-native: The wiki is stored as Markdown in the repo, meaning changes are reviewed via pull requests.
- Automated Maintenance: Uses background
launchdjobs on macOS to sync and "garden" the wiki without manual effort. - Agent-Integrated: Directly integrates with Codex and Claude Code to turn conversation transcripts into durable documentation.
- Local-first: All wiki work and indexing happen locally on the user's machine.
- Web Viewer: Includes a read-only local web interface for browsing the wiki graph.
Related
- Project
- Dispatch
- Project
- Project
- Project