Skip to main content

Docodex

An LLM-powered library that compiles scattered documentation into a unified, queryable knowledge base.

Inspired by Andrej Karpathy's approach to building personal knowledge bases with LLMs.

What It Does

Raw docs (GitHub, Azure Wiki, local files)
    ↓
Ingest → Extract & Store
    ↓
Compile → LLM generates summaries, concepts, relationships
    ↓
Wiki (markdown files in Git)
    ↓
Visualize → Graphs, timelines, clusters

Philosophy

  • Simple & Transparent: Human-readable markdown, not opaque databases
  • Git-Native: Version control for your knowledge
  • LLM as Compiler: AI extracts and organizes, humans review
  • No Vector DB: LLM-maintained indexes beat RAG at this scale (100-10K docs)
  • Compounding Intelligence: Every query enhances the wiki

Architecture

Clean Architecture with SOLID principles:

  • Domain Layer: Entities, protocols
  • Application Layer: Use cases (Ingest, Compile, Visualize)
  • Infrastructure Layer: Adapters (GitHub, Azure Wiki), LLM providers

Phase 1 Goals

✅ Ingest from GitHub repos, Azure Wiki, local files
✅ LLM compilation (summaries, concepts, relationships, timelines)
✅ Git-based storage (markdown with YAML frontmatter)
✅ Visualizations (knowledge graph, timeline, clusters)
✅ Incremental updates (only recompile changed docs)
✅ View in Obsidian or any markdown viewer

Project Structure

docodex/
├── .claude/              # Claude Code context and skills
├── docs/                 # Architecture and design docs
├── src/docodex/      # Main library code
├── tests/                # Test suite
└── examples/             # Usage examples

Getting Started

See QUICK_START.md for development setup.

Documentation

Tech Stack

  • Python 3.11+
  • Pydantic v2 for models/DTOs
  • Anthropic SDK (with adapters for other LLMs)
  • Git for storage
  • Markdown + YAML frontmatter

License

MIT

Author

Rohit


Note: This project uses AI assistance for development, but all code, commits, and releases are authored solely by the human developer.

Metadata

Release files for docodex 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for docodex 0.1.0
File Size Uploaded Provenance Actions
docodex-0.1.0.tar.gz 26.0 kB Without provenance Details for docodex-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for docodex 0.1.0
File Interpreter ABI Platform Actions
docodex-0.1.0-py3-none-any.whl Python 3 none any Details for docodex-0.1.0-py3-none-any.whl

Total release size: 32.4 kB

Release files / docodex-0.1.0.tar.gz

Download URL docodex-0.1.0.tar.gz
Size 26.0 kB
Tags Source
SHA-256 checksum
How to use checksums
7f71b701d6ece104e510b186ccab95eb1a76cafd302af3a60f90e98e83f2cbd8
BLAKE2b-256 checksum
How to use checksums
0198fab6938c249f871ff3b7e315fd67ce562ef5686b49d4a14e9a67a89c54c1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.20

Release files / docodex-0.1.0-py3-none-any.whl

Download URL docodex-0.1.0-py3-none-any.whl
Size 6.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
68d27bdb24e5884dfb74953c5f638dd3ace9b092de3d28d5a4f0351593ba5a6f
BLAKE2b-256 checksum
How to use checksums
10b765125ca145ec60cba9b80a57d8840f846c2f0c27d8a6a071641996a403b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.20

Security for docodex 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page