{"library":"opensrc","type":"library","category":null,"description":"CLI tool for fetching and caching source code of packages from npm, PyPI, crates.io, and GitHub/GitLab/Bitbucket repositories. v0.7.2 (active). Resolves packages from registry APIs, shallow-clones at correct version tags from lockfiles, and caches globally at ~/.opensrc/. Key differentiator: gives AI coding agents offline, structured access to raw source code without runtime dependencies per invocation (native Rust binary). Supports multiple registries with prefix syntax and concurrent fetching.","language":"javascript","status":"active","version":"0.7.2","tags":["javascript","cli","source-code","npm","packages","ai","coding-agents"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install opensrc","imports":["npx opensrc path zod","opensrc path zod","opensrc path pypi:requests"]},{"cmd":"yarn add opensrc","imports":[]},{"cmd":"pnpm add opensrc","imports":[]}],"homepage":"https://opensrc.sh","github":"https://github.com/vercel-labs/opensrc","docs":null,"changelog":null,"pypi":null,"npm":"opensrc","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}