vercel-labs/opensrc
A CLI tool that fetches and caches source code from npm, PyPI, crates.io, and GitHub for AI coding agents.

Velocity · 7d
+17
★ / day
Trend
→steady
star history
Opensrc is a developer tool that retrieves package source code from multiple registries and caches it locally for use by AI coding agents. The CLI provides a simple interface where agents can request paths to package source, enabling deeper context when reading or modifying code that depends on external libraries. It supports npm, PyPI, crates.io, and GitHub registries.