#366 · Primary category: AI Coding Assistants
opensrc
Fetch source code for npm packages to give AI coding agents deeper context
Project last updated:06/23/26
GitHub Stars
3.0K
Forks
194
Contributors
1
License
Apache-2.0
Why we included this project
Coding agents routinely work with a dependency's types and public API without ever seeing how it's actually implemented. opensrc gives them the missing layer: it fetches the real source from npm, PyPI, crates.io, or GitHub, caches it locally, and prints a path that tools like ripgrep or an editor can use directly. The registry prefix syntax (pypi:requests, for example) keeps it useful beyond JavaScript. Because the first fetch is cached, repeated agent runs get the source instantly without extra network calls. Teams wiring their own agent tooling should find this a straightforward way to ground model reasoning in real code.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
superpowers
An agentic skills framework & software development methodology that works.
ECC
The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
skills
Skills for Real Engineers. Straight from my .agents directory.
opencode
The open source coding agent.
andrej-karpathy-skills
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.