(Re)introducing opensrc. Now in Rust 🦀 Give your AI agent deeper implementation context, not just types and docs. The actual source code of your dependencies. Agents use `opensrc path` in any bash command. Fetched once, cached globally. npx skills add vercel-labs/opensrc https://t.co/l3Snnew1g2
Vercel rewrites opensrc in Rust to give AI agents deep implementation context
Vercel· Updated
Vercel released opensrc v0.7.0, a CLI tool rewritten in Rust that fetches the raw source code of npm packages for AI coding agents. This allows agents to reason about the actual implementation of dependencies rather than relying on high-level documentation or type definitions. The update introduces a global cache and delivers a 10x faster startup time.
AI coding agents often struggle with third-party libraries because they only see documentation or TypeScript definitions. This context gap leads to hallucinations when agents guess how a library works. By providing actual implementation code, opensrc enables agents to perform deeper reasoning and more accurate debugging within their autonomous loops.
You can integrate opensrc into agentic workflows using the new opensrc path command, which allows agents to run standard bash tools like ripgrep directly on cached source code. The tool is open-source and available via npx skills add vercel-labs/opensrc, with native binaries supporting seven platforms including Linux, macOS, and Windows.
Every HeadsUpAI update is written based on its original source and reviewed before it's published. Read our editorial standards →



