opensrc
vercel-labs
CLI that fetches real dependency source code so coding agents can read internals, not just type stubs.
What is opensrc?
A CLI that fetches and caches the actual source code of packages so AI coding agents can read and grep dependency internals instead of relying only on type definitions. It covers npm, PyPI, crates.io and GitHub, caches locally for instant re-access, and composes with standard Unix tools like ripgrep and grep.
Pros & Cons
Pros
- Gives agents the real dependency source, not just .d.ts stubs, cutting hallucinated API usage
- Multi-registry (npm, PyPI, crates.io, GitHub) with local caching and clean Unix-tool composition
- Apache-2.0, Rust core with real tests and a docs site, from Vercel Labs
Cons
- Early 0.x (v0.7.3), the CLI surface may still change
- A Vercel Labs experimental project, with no long-term support guarantee
- Node 24+ per the README (the homepage says 18+), and the value assumes your agent already shells out to grep
License
Apache-2.0 (OSI-open)
When it is interesting
Coding-agent users who want agents to read actual dependency source for deeper, less hallucinated context.
When it is too early
If you need an API-stable, officially supported tool rather than a Labs 0.x experiment.
This repo featured in the 2026-07 edition of the Open-Source AI Radar.
RTK
rtk-ai
CLI proxy that compresses shell command output before your AI coding assistant sees it, cutting tokens 60-90%.
TOON
toon-format
Token-Oriented Object Notation - a compact serialization format that uses ~40% fewer tokens than JSON.
planning-with-files
OthmanAdi
Crash-proof markdown planning for AI coding agents - persists task state across context loss and /clear.