codemax

An autonomous coding agent that works with OpenAI-compatible APIs (OpenAI, Anthropic, MiniMax, DeepSeek, LM Studio, and more). Supports any text-based programming language and file type.
Features
- Multi-Provider Support: Works with any OpenAI-compatible API (OpenAI, Anthropic Claude, MiniMax, DeepSeek, LM Studio, etc.)
- Configurable Settings: All settings in JSON file (models, max iterations, auto-approve, context compression, etc.)
- Think-Act-Build Loop: Autonomous "Think-Act-Verify" state machine where the LLM controls execution flow
- Tool-Based Execution: Multiple tools for file operations, searching, and shell commands
- Context Compression: Automatically summarizes long conversations to stay within token limits
- Iteration Limits: Configurable max iterations per session to prevent infinite loops
- Security: Path restrictions, protected files, and shell command sandboxing
- User Confirmation: Shell commands require explicit user approval (y/s/n/q)
- Current Directory Tracking: Agent tracks cd commands for relative path operations
- ESC Key Cancellation: Press ESC to cancel in-progress API requests
- System Bell: Audio feedback when user input is needed
- Multiline Input: GNU readline support for command history and multiline editing
- Model Switching: Use
/modelscommand to switch between configured models at runtime