What is Code Assistant?
Code Assistant is an AI-powered coding assistant built in Rust that provides both command-line and graphical interfaces for autonomous code analysis and modification. It integrates with various LLM providers and supports multiple interface modes including GUI, terminal, MCP server, and ACP agent mode.
How to use Code Assistant?
Build the binary from source using cargo build --release, then configure providers and models in ~/.config/code-assistant/. Launch with code-assistant for GUI mode, code-assistant --tui for terminal mode, code-assistant server for MCP server mode, or code-assistant acp for ACP agent mode. Always cd into your project's root directory before starting.
Key features of Code Assistant
- Multi-modal tool execution with pluggable invocation modes
- Real-time streaming interface with smart filtering
- Session-based project management with persistent state
- Multiple interface options: GUI, terminal, MCP server, ACP
- Agent Client Protocol (ACP) support for editor integration
- Session compaction and auto-loaded repository guidance
Use cases of Code Assistant
- Autonomous code analysis and modification in any project
- Integration with MCP-compatible clients like Claude Desktop
- Connection with ACP-compatible editors such as Zed
- Multi-provider AI coding assistance with configurable models
评论