vercel-labs/opensrc
Fetch source code for npm packages to give AI coding agents deeper context
Resolves npm package discovery by querying the registry and matching installed versions from lockfiles, then clones repositories at corresponding git tags into a local `opensrc/` directory. Automatically configures project files (`.gitignore`, `tsconfig.json`, `AGENTS.md`) and maintains a `sources.json` index for agent discovery. Supports GitHub repositories directly via multiple URL formats and branch/tag specification, enabling agents to reference actual implementation details alongside type definitions.
1,134 stars and 8,668 monthly downloads. Available on npm.
Stars
1,134
Forks
38
Language
TypeScript
License
Apache-2.0
Category
Last pushed
Feb 24, 2026
Monthly downloads
8,668
Commits (30d)
0
Dependencies
2
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/agents/vercel-labs/opensrc"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Related agents
looplj/axonhub
⚡️ Open-source AI Gateway — Use any SDK to call 100+ LLMs. Built-in failover, load balancing,...
generalaction/emdash
Emdash is the Open-Source Agentic Development Environment (🧡 YC W26). Run multiple coding agents...
andyvandaric/opencode-ag-auth
Enhanced Antigravity OAuth plugin for OpenCode strict quota locking, multi-account rotation,...
alchemiststudiosDOTai/tunacode
🍣 TunaCode AI CLI coding agent with safe git branches, rich tools & multi-LLM support.
minmaxflow/mini-kode
An educational AI coding agent CLI