Mentat
StaleDescription
Conversational AI assistant in the terminal that makes project-wide code edits.
Key Features
- Terminal-native — Chat and edit code directly in the shell
- Project-aware — Indexes the whole repo for context-aware edits
- Multi-file edits — One answer can modify multiple files
- Rollback-able — All changes go through git diff for easy revert
- Multi-model — GPT-4, Claude, and local models supported
- Extensible — Customize prompts and commands via config.yaml
Use Cases
💡 Daily code edits and refactors from the terminal.
💡 Batch-process issues for OSS project maintainers.
💡 Let agents analyze and fix CI failures automatically.
Tags
Categories
Quick Start
# Install
pip install mentat-py
# Enter the project
cd my_repo
# Launch mentat
mentat