A community-driven registry for the Claude Code ecosystem. Not affiliated with Anthropic.
Are you the author? Sign in to claim
Dev Agent is a repository-aware context provider that helps AI tools like Claude Code understand codebases more deeply w
Local semantic code search for Cursor and Claude Code via MCP.
dev-agent indexes your codebase and provides 9 MCP tools to AI assistants. Instead of AI tools grepping through files, they can ask conceptual questions like "where do we handle authentication?"
dev_search — Semantic code search by meaningdev_refs — Find callers/callees of functionsdev_map — Codebase structure with change frequencydev_history — Semantic search over git commitsdev_plan — Assemble context for GitHub issuesdev_inspect — Inspect files (compare similar code, check patterns)dev_gh — Search GitHub issues/PRs semanticallydev_status / dev_health — MonitoringWe benchmarked dev-agent against baseline Claude Code across 5 task types:
| Metric | Baseline | With dev-agent | Change |
|---|---|---|---|
| Cost | $1.82 | $1.02 | -44% |
| Time | 14.1 min | 11.5 min | -19% |
| Tool calls | 69 | 40 | -42% |
Trade-offs: Faster but sometimes less thorough. Best for implementation tasks and codebase exploration. For deep debugging, baseline Claude may read more files.
Good fit:
Less useful:
# Install globally
npm install -g dev-agent
# Index your repository (initial indexing can take 5-10 minutes for large codebases)
cd /path/to/your/repo
dev index .
# Install MCP integration
dev mcp install --cursor # For Cursor IDE
dev mcp install # For Claude Code
# Keep index up to date (fast incremental updates)
dev update
# That's it! AI tools now have access to dev-agent capabilities.
When integrated with Cursor or Claude Code, dev-agent provides 9 powerful tools:
dev_search - Semantic Code SearchNatural language search with rich results including code snippets, imports, and relationships.
Find authentication middleware that handles JWT tokens
Features:
dev_refs - Relationship Queries ✨ New in v0.3Query what calls what and what is called by what.
Find all callers of the authenticate function
Find what functions validateToken calls
Features:
dev_map - Codebase Overview ✨ Enhanced in v0.4Get a high-level view of repository structure with change frequency.
Show me the codebase structure with depth 3
Focus on the packages/core directory
Show hot areas with recent changes
Features:
Example output:
# Codebase Map
## Hot Paths (most referenced)
1. `packages/core/src/indexer/index.ts` (RepositoryIndexer) - 47 refs
2. `packages/core/src/vector/store.ts` (LanceDBVectorStore) - 32 refs
## Directory Structure
└── packages/ (195 components)
├── 🔥 core/ (45 components) — 12 commits in 30d
│ └── exports: function search(query): Promise<Result[]>, class RepositoryIndexer
├── ✏️ mcp-server/ (28 components) — 3 commits in 30d
│ └── exports: class MCPServer, function createAdapter(config): Adapter
dev_history - Git History Search ✨ New in v0.4Semantic search over git commit history.
Find commits about authentication token fixes
Show history for src/auth/middleware.ts
Features:
dev_plan - Context Assembly ✨ Enhanced in v0.4Assemble rich context for implementing GitHub issues.
Assemble context for issue #42
Returns:
Note: This tool no longer generates task breakdowns. It provides comprehensive context so the AI assistant can create better plans.
dev_inspect - File AnalysisInspect files for pattern analysis. Finds similar code and compares patterns (error handling, type coverage, imports, testing).
Inspect src/auth/middleware.ts for patterns
Check how src/hooks/useAuth.ts compares to similar hooks
Pattern Categories:
dev_status - Repository StatusView indexing status, component health, and repository information.
dev_gh - GitHub SearchSearch issues and PRs with semantic understanding.
Find authentication-related bugs
Search for performance issues in closed PRs
dev_health - Health MonitoringCheck MCP server and component health.
npm install -g dev-agent
git clone https://github.com/lytics/dev-agent.git
cd dev-agent
pnpm install
pnpm build
cd packages/dev-agent
npm link
# Index everything (code, git history, GitHub) - can take 5-10 min for large codebases
dev index .
dev index . --no-github # Skip GitHub indexing
# Incremental updates (only changed files) - much faster, typically seconds
dev update # Fast incremental reindexing
dev update -v # Verbose output showing what changed
# Semantic search
dev search "how do agents communicate"
dev search "error handling" --threshold 0.3
# Git history search
dev git search "authentication fix" # Semantic search over commits
dev git stats # Show indexed commit count
# GitHub integration
dev github index # Index issues and PRs (also done by dev index)
dev github search "authentication bug" # Semantic search
# View statistics
dev stats
# MCP management
dev mcp install --cursor # Install for Cursor
dev mcp install # Install for Claude Code
dev mcp list # List configured servers
Control scanning and indexing performance using environment variables:
# Global concurrency setting (applies to all operations)
export DEV_AGENT_CONCURRENCY=10
# Language-specific concurrency settings
export DEV_AGENT_TYPESCRIPT_CONCURRENCY=20 # TypeScript file processing
export DEV_AGENT_INDEXER_CONCURRENCY=5 # Vector embedding batches
# Index with custom settings
dev index .
Auto-detection: If no environment variables are set, dev-agent automatically detects optimal concurrency based on your system's CPU and memory.
Recommended settings:
| System Type | Global | TypeScript | Indexer | Notes |
|---|---|---|---|---|
| Low memory (<4GB) | 5 | 5 | 2 | Prevents OOM errors |
| Standard (4-8GB) | 15 | 15 | 3 | Balanced performance |
| High-end (8GB+, 8+ cores) | 30 | 30 | 5 | Maximum speed |
Current language support:
.ts, .tsx, .js, .jsx, .mjs, .cjs).go)To add new languages, see LANGUAGE_SUPPORT.md.
Indexing too slow:
# Note: Initial indexing can take 5-10 minutes for mature codebases (4k+ files)
# Try increasing concurrency (if you have enough memory)
export DEV_AGENT_CONCURRENCY=20
dev index .
Out of memory errors:
# Reduce concurrency
export DEV_AGENT_CONCURRENCY=5
export DEV_AGENT_TYPESCRIPT_CONCURRENCY=5
export DEV_AGENT_INDEXER_CONCURRENCY=2
dev index .
Search results are outdated:
# Update index with recent file changes
dev update
# Or do a full reindex if needed
dev index .
Go scanner not working:
# Check if WASM files are bundled (after installation/build)
ls -la ~/.local/share/dev-agent/dist/wasm/tree-sitter-go.wasm
# If missing, try reinstalling or rebuilding from source
dev-agent/
├── packages/
│ ├── core/ # Scanner, vector storage, indexer
│ ├── cli/ # Command-line interface
│ ├── subagents/ # Planner, explorer, PR agents
│ ├── mcp-server/ # MCP protocol server + adapters
│ └── integrations/ # Claude Code, VS Code
├── docs/ # Documentation
└── website/ # Documentation website
| Language | Scanner | Features |
|---|---|---|
| TypeScript/JavaScript | ts-morph | Functions, classes, interfaces, JSDoc |
| Go | tree-sitter | Functions, methods, structs, interfaces, generics |
| Markdown | remark | Documentation sections, code blocks |
# Install dependencies
pnpm install
# Build all packages
pnpm build
# Run tests
pnpm test
# Lint and format
pnpm lint
pnpm format
# Type check
pnpm typecheck
DEV_AGENT_*_CONCURRENCY)--verbose flag and progress spinnersLANGUAGE_SUPPORT.md)dev_history tool for semantic commit searchdev_map with change frequency indicators (🔥 hot, ✏️ active)dev_plan with related commits from git historyGitIndexer and LocalGitExtractor in coredev_refs tool for relationship queriesdev_map with hot paths, smart depth, signaturesdev_plan to context assemblyContributions welcome! Please follow conventional commit format and include tests.
See CONTRIBUTING.md for guidelines.
1000+ skills curated from Anthropic, Vercel, Stripe, and other engineering teams
Design enforcement with memory — keeps your UI consistent across a project
Universal SEO skill for Claude Code. 25 sub-skills + 18 sub-agents covering technical SEO, E-E-A-T, schema, GEO/AEO, bac
Route Claude Code traffic to any of 17 provider backends including free or local models