Octocode: agentic research platform
Evidence-first code research for AI agents and developers.
Octocode researches your local code and external code alike (GitHub repositories, PRs, npm) with one toolset: ripgrep + AST search, trees, precise reads, and LSP. Use it as a CLI or MCP server, backed by a Rust engine for fast, token-efficient results across single files or mega-repos.
Table of contents
- Quick start
- Why Octocode
- Built for research (benchmarks)
- Tools
- MCP
- CLI
- Configuration
- Authentication methods
- Security
- Language support
- Skills
- Architecture
- Documentation
- Troubleshooting
- Agent workflows
Quick start
Prerequisites: Node.js 20.12+
1. Run the Octocode CLI with npx
npx octocode --help2. Authenticate with GitHub - optional, but unlocks private repositories and higher API rate limits:
npx octocode auth login
npx octocode status # verify the active token source3. Choose your interface. Same tools and Rust engine on both. (Clone is on by default in the CLI, opt-in for MCP.)
🖥️ CLI - research straight from your terminal:







