dev-crew
v7.0.0
Published
Code graph intelligence for AI-assisted development. Blast radius analysis, smart context selection, and 40 specialized agents. Works with Claude Code, Aider, and Ollama.
Maintainers
Readme
What it does
Dev-Crew builds a structural graph of your codebase — functions, classes, imports, call relationships — then uses it to:
- Blast radius analysis — Change a file, see every function and file affected
- Smart context selection — Send only relevant code to AI, saving tokens
- Static analysis — TypeScript errors, ESLint issues, security patterns — before AI even runs
- 40 specialized agents — Code review, testing, security, architecture, DevOps, and more
npx dev-crew scan # Instant project analysis (no AI needed)
npx dev-crew review @src/api.ts # AI code review with graph context
npx dev-crew security @src/ # OWASP security auditQuick start
npm install -g dev-crew
# Check your setup
dev-crew doctor
# Scan your project (zero AI, runs instantly)
dev-crew scan
# Start interactive mode
dev-crewAI providers (needed for agent commands, not for scan):
- Claude Code —
npm install -g @anthropic-ai/claude-code - Aider —
pip install aider-chat - Ollama — local models, no API key
The scan command
Run dev-crew scan on any project for instant, AI-free analysis:
Dev-Crew Project Scan — zero AI, pure analysis
──────────────────────────────────────────────────
Target: /home/user/my-app
Project my-app
Language TypeScript Framework Next.js
Test fw vitest
Code Graph
247 symbols across 38 files
512 connections mapped
Languages: TypeScript, JavaScript
Hotspot Files (most connections = highest blast radius)
47 connections src/lib/database.ts
31 connections src/api/routes.ts
28 connections src/auth/session.ts
Static Analysis
2 errors
5 warnings
✗ src/api/routes.ts:45 Missing return type
⚠ src/auth/session.ts:12 console.log in production code
──────────────────────────────────────────────────
Completed in 340ms — no AI tokens usedCode graph intelligence
The code graph engine parses your source files and builds a structural map:
- Functions, classes, types, imports extracted via regex (no tree-sitter dependency)
- Call relationships traced across files
- 6 languages — TypeScript/JavaScript, Python, Go, Java/Kotlin, Rust
- Incremental updates — only re-indexes changed files
When you run an agent command, dev-crew uses the graph to:
- Find the blast radius of files you're reviewing
- Select only the relevant connected files as context
- Include static analysis findings before sending to AI
This means the AI gets focused, relevant context instead of your entire codebase.
All agents
| Category | Agents |
|----------|--------|
| Code Quality | review, fix, debug, test, explain, ask, performance, accessibility |
| Security | security (OWASP audit) |
| Architecture | tech-lead, cto, ba, designer, solution-architect, refactor-plan |
| App Builder | create, iterate, scaffold, build, fullstack-builder |
| Database & API | db-architect, db-builder, db-analytics, api-architect, auth-architect |
| DevOps | devops, deploy, cost-optimizer, monitoring |
| Frontend | ui-designer, ui-analytics, landing-page, seo |
| Mobile | flutter, react-native, ios, android |
| Business | marketing, growth, pitch, launch, product-analyst |
| Workflows | feature (BA → Tech Lead → Security → Tests → Review), pr, impact, watch |
| Code Health | debt, deps, migration-check, onboard, resolve |
| Payments & Email | payment, email-builder |
Interactive mode
Run dev-crew with no arguments to start the interactive REPL:
dev-crew> review the auth module for security issues
dev-crew> /graph src/api/routes.ts # show blast radius
dev-crew> /analyze # run static analysis
dev-crew> /diff-review # review uncommitted changesNatural language routing sends your request to the right agent automatically.
Configuration
dev-crew init # Create .dev-crew.yml config
dev-crew config set provider claude # Set AI provider
dev-crew feedback review "always check for SQL injection" # Teach agentsHow it works
Your Code → Code Graph Engine → Blast Radius → Smart Context Selection
↓
Static Analyzer
↓
AI Provider (Claude/Aider/Ollama)
↓
Structured ResponseEvery agent follows the same pipeline:
- Build code graph for target files
- Calculate blast radius (what's affected)
- Select smart context (only relevant files)
- Run static analysis (real tsc/eslint errors)
- Send enriched prompt to AI provider
- Parse and format structured response
Contributing
Issues and PRs welcome: github.com/vasoyaprince14/dev-crew
License
MIT — Prince Vasoya
