whereismyai
opensrc
opensrc is a CLI tool that fetches source code for npm packages to provide AI coding agents with direct access to package implementations.
Opensrc allows developers to fetch the source code of any npm package, enabling AI coding agents to explore actual implementations. It works by cloning the package repository upon the first request and caching it for instant retrieval in subsequent uses. Developers use the tool by calling its path command within other terminal tools, which directs progress information to stderr and the package path to stdout. It functions with any package registry and supports standard search tools like grep and rg. The tool requires Node.js 18 or higher and Git installed on the system.
opensrc at a glance
- Best for: Software engineer
- Runs on: CLI
- Pricing: Free
- Released: January 2026
- Category: AI coding tool
- Website: opensrc.sh
Key features
- Fetches package source code for AI agents
- Caches repositories for instant subsequent access
- Works with any package registry
- Integrates with standard tools like grep and rg
- Separates progress output from file paths
- Supports subshell command integration
Use it for
- Providing AI coding agents with deep implementation context
- Searching through package source code with grep or rg
- Reading specific implementation files from npm packages
Companions
Tools that articles about opensrc recommend using with it, each with its job.
- Context7 — Provides up-to-date documentation for AI agents and code editors.
- Ollama — Run local models at zero marginal cost, with code kept on your machine.
- OpenRouter — Access over 500 models and 80 providers through one unified API.
- Daytona — Runs sessions in isolated sandboxes synced to git branches.
- Composio — Equips AI agents with tools, managed user auth, and sandboxes across 1,500+ apps
- Oh My OpenCode Slim — Lightweight multi-agent orchestration and background tasks.
Alternatives to opensrc
- OpenCode — Works with 75+ model providers, local models, and existing subscriptions
- jevgrep — Reduces coding agent costs by providing targeted, relevant repository context.
- OpenClaude — Connects one terminal interface to over 200 different AI models.
- OpenSandbox — Provides isolated environments with multi-language SDKs and lifecycle management.
- Command Code — Repairs open model tool calls and learns developer patterns automatically.
- OpenResearch — Run parallel research workflows locally or on remote compute.
- Aider — Free terminal agent with a repo map and automatic git commits
- Dirac — Executes complex coding tasks efficiently with hash-anchored edits and low token overhead.
- OpenChamber — Run and review multi-model AI coding agents from desktop, browser, and mobile devices.
- Freebuff — Access multiple coding AI models for free without subscriptions.
- Skep — Connects AI coding agents across multiple devices and repositories in one live session.
- README AI — Automates documentation creation from codebases with custom styles.
All opensrc alternatives