vercel-labs/opensrc

Fetch source code for npm packages to give AI coding agents deeper context

62
/ 100
Established

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.

AI-assisted-development software-development developer-tooling code-understanding
Maintenance 17 / 25
Adoption 10 / 25
Maturity 22 / 25
Community 13 / 25

How are scores calculated?

Stars

1,134

Forks

38

Language

TypeScript

License

Apache-2.0

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.