Skip to content

feat: Add multi-model AI toolkit#4

Merged
dylanburkey merged 6 commits intodevfrom
feature/examples-and-multi-model
Feb 23, 2026
Merged

feat: Add multi-model AI toolkit#4
dylanburkey merged 6 commits intodevfrom
feature/examples-and-multi-model

Conversation

@dylanburkey
Copy link
Owner

Summary

Adds a comprehensive multi-model AI toolkit that leverages OpenAI, Anthropic, and Google Gemini together.

Features

  • Consensus Code Review - Run code through multiple models, find issues they agree on
  • Intelligent Model Routing - Auto-select optimal model per task type
  • Semantic Code Search - Index codebase and search by meaning
  • Cost Optimization - Use cheap models for simple tasks

Files Added

tools/multi-model/
├── lib/clients.js         # Unified API for all providers
├── lib/code-review.js     # Multi-model consensus review
├── lib/model-router.js    # Intelligent task routing
├── lib/embeddings.js      # Codebase indexing & search
├── bin/review.js          # mm-review CLI
├── bin/index-codebase.js  # mm-index CLI
├── bin/search.js          # mm-search CLI
├── examples/
│   ├── pre-commit-hook.js
│   └── agent-integration.js
└── README.md

Documentation Updated

  • README.md - Added Multi-Model Toolkit section
  • CLAUDE.md - Added usage guide and examples

Testing

cd tools/multi-model
pnpm install
pnpm review -- ../../cli/src/scaffold.js --deep

Tested with GPT-4o and Claude Sonnet 4 - both successfully identified issues.

New features:
- .claude/config/models.yml - Configure multiple AI providers
- Cross-validation for planning (Gemini reviews Claude's plans)
- Cross-validation for code review (GPT-4 reviews Claude's code)
- Cost optimization (use cheaper models for simple tasks)
- Fallback chain if primary model fails
- Per-agent model configuration

Updated agents:
- planner-agent.md - Added multi-model cross-validation docs
- review-agent.md - Added cross-validation review process

New documentation:
- docs/guides/multi-model-setup.md - Complete setup guide

Updated README with Multi-Model Support section (#6 Key Differentiator)
- Add tools/multi-model/ with consensus code review, intelligent routing, and semantic search
- Support for OpenAI (GPT-4o), Anthropic (Claude), and Google Gemini
- CLI tools: mm-review, mm-index, mm-search
- Examples: pre-commit hook, agent integration
- Update README.md with multi-model documentation
- Update CLAUDE.md with toolkit usage guide
@dylanburkey dylanburkey self-assigned this Feb 23, 2026
@dylanburkey
Copy link
Owner Author

CI/CD passes

@dylanburkey dylanburkey merged commit 1fe6ac4 into dev Feb 23, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant