| name | depresearch |
| description | CLI tool for AI-powered research of open-source repositories. Use when you need to understand how a feature works in an external codebase without cloning it yourself. |
depresearch
Research any open-source repository from the command line using AI agents. Ask a question, get back a detailed walkthrough with file paths, line numbers, and code snippets.
When to use
- You need to understand how a feature works in an external open-source repo
- You want to analyze a library's internals without manually cloning and reading the source
- You're working in a coding assistant and need context about a foreign codebase
Setup
npm install -g depresearch
dpr config set api-key <your-openrouter-key>
Usage
dpr research "how does streaming work in https://github.com/user/repo"
dpr research "how does auth work in https://github.com/user/repo" --stream
dpr research "how does zod z.infer work internally"
Config
dpr config
dpr config set api-key <key>
dpr config set model <model-id>
dpr config get api-key
dpr config get model
Default model: openrouter/anthropic/claude-haiku-4.5