otter-docs
A polyglot codebase inspection library for agent-driven development.
Status (2026-05-14): namespace reserved; public release in progress.
What it will be
otter-docs builds a queryable model of a codebase — modules, functions, classes, calls, imports — augmented with LLM-generated description embeddings, and emits structured findings (redundancy, drift, dead code, architectural smells) that an agent can act on. Each finding can carry a recommendation with rationale and an apply-ready diff.
The library is designed for agents to consume, not humans to read. The human operates the agent.
What's here today
This release (0.0.0) reserves the PyPI namespace. It contains no
functional code yet.
What's coming in v0.1
- Polyglot AST via tree-sitter (Python, Go, TypeScript day one)
- Precise name resolution via tree-sitter-stack-graphs
- Three-vector indexing per symbol (description, code, docstring)
- Static-tier detectors wrapping
similarity-py,vulture,pydeps,radon - Embedding-augmented redundancy + drift detectors
- Agent harness (MCP-style tools, prompts, schemas, runner)
- SQLite + sqlite-vec graph backend; Neo4j adapter for heavy graphs
- Git hook + systemd timer integration
Roadmap and design notes live in the repository (link below) once public.
Why
AI-assisted development produces working code fast and produces redundancy fast. otter-docs is the biopsy layer — deterministic where it can be, LLM-augmented where it must be, agent-readable everywhere.
License
MIT.
Links
- Repository: https://github.com/blong-dev/otter-docs
- Issues: https://github.com/blong-dev/otter-docs/issues
Watch this space
Follow the PyPI page or the GitHub repository for v0.1 release notes.
Metadata
Release files for otter-docs 0.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| otter_docs-0.0.0.tar.gz | 2.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| otter_docs-0.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.1 kB
Release files / otter_docs-0.0.0.tar.gz
| Download URL | otter_docs-0.0.0.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7e62f99d89c90eaa2e619854776f8df62cc14968657a53e1fb66ea4af2c6b9e9
|
|
BLAKE2b-256 checksum How to use checksums |
bb14ce1b006e28e1980e02622182833e1fe246aa2485be85ae15088ac7fd02fe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / otter_docs-0.0.0-py3-none-any.whl
| Download URL | otter_docs-0.0.0-py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7e2a814d017c9a9d6d7a89d60e9d5b3364a995241395af5eed6c49c6cc30dd40
|
|
BLAKE2b-256 checksum How to use checksums |
42d8004b9160d60e8858f072e5e81a882c6ec08579c2a48dbadbd80d7c93877b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|