vercel-labs/opensrc
Fetch source code for npm packages to give AI coding agents deeper context
This tool helps AI coding agents understand external code by fetching and storing the actual source code of npm packages or GitHub repositories. It takes package names or repository URLs as input and provides a local copy of their source code for your AI agent to reference. This is ideal for developers who use AI to help them write or understand code and need their agents to grasp the internal workings of dependencies.
1,134 stars. Actively maintained with 9 commits in the last 30 days. Available on npm.
Use this if your AI coding agent struggles to work with external libraries or packages because it needs to understand their internal implementation, not just their public interfaces or type definitions.
Not ideal if you primarily work with AI agents that only require API signatures or high-level documentation to perform their tasks effectively.
Stars
1,134
Forks
38
Language
TypeScript
License
Apache-2.0
Category
Last pushed
Feb 24, 2026
Commits (30d)
9
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.
jtgsystems/Custom-Modes-Roo-Code
๐ Custom modes for Roo Code VS Code extension - Enhanced AI coding assistance configurations