vercel-labs/opensrc
Fetch source code for npm packages to give AI coding agents deeper context observed · 2026-08-28
Health v2 · maintenance only
75/100
- Activity 89
- Release rhythm 90
- Longevity 17
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 0.0
- age_days: 239
- days_rel: 71
- days_push: 71
- n_releases_24m: 17
Adoption not part of the score
2968 stars · 194 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
opensrc is a Rust-based CLI that fetches and caches the source code of packages from npm, PyPI, crates.io, and GitHub so AI coding agents can read real implementations. It exposes an `opensrc path` command that returns a local cached path usable in subshells with tools like rg, cat, and find.
Use cases
- give my AI coding agent access to a package's actual source code
- search npm package source with ripgrep
- fetch and cache source code from pypi or crates.io
- read implementation files instead of just type definitions
- feed real dependency source into LLM context
When to choose
- you use AI coding agents that benefit from reading dependency implementations
- you want a fast cached way to browse package source across registries
- you script source exploration with rg/grep/cat in subshells
When to avoid
- you only need type definitions or documentation, not source
- you need a GUI-based package browser
- you work offline with no registry or git access
Facets
cli-tool · maturity active
cli developer-tools search-engine caching developer-tools large-language-models cli cross-platform windows ai-coding-agents npm pypi crates-io source-code-fetching rust-cli context-for-llms command-line ai-agents nodejs macos linux
2 sources
- readme: https://github.com/vercel-labs/opensrc · fetched 2026-08-28 · c1712ccbf4a2
- homepage: https://opensrc.sh · fetched 2026-08-29 · 6b19c3d56b71
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| vercel-labs/opensrc | main | 75 |
For agents
markdown · JSON · MCP: product_card(name="vercel-labs/opensrc")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem