What is ACP?
The Agent Client Protocol (ACP) is a standardized protocol that enables AI agents to communicate with development tools and environments. Avante.nvim now supports ACP, allowing seamless integration with AI agents that follow this unified communication protocol.Key Benefits
ACP provides several advantages over traditional API-based providers:Standardized Communication
A unified JSON-RPC based protocol for agent-client interactions
Enhanced Tool Access
Agents can directly interact with your file system, run commands, and access development tools
Persistent Context
Sessions maintain state across multiple interactions for better continuity
Fine-grained Permissions
Granular control over what agents can access and modify
Supported ACP Agents
Avante.nvim currently supports the following ACP-compatible agents:Gemini CLI
Google’s Gemini agent with ACP support:Claude Code
Anthropic’s Claude with ACP support:Goose
Block’s Goose agent:Codex
OpenAI’s Codex with ACP support:Kimi CLI
Moonshot’s Kimi agent:Prerequisites
Before using ACP agents, ensure you have the required tools installed:Configuration
ACP providers are configured in theacp_providers section of your Avante configuration:
Configuration Options
The command to execute the ACP agent
Command-line arguments to pass to the agent
Environment variables to set for the agent process
ACP vs Traditional Providers
Enhanced Tool Access
Enhanced Tool Access
ACP agents can directly interact with your file system, run commands, and access development tools, providing more powerful automation capabilities than traditional API-based providers.
Persistent Context
Persistent Context
Sessions maintain state across multiple interactions, allowing agents to remember previous conversations and build upon earlier work.
Fine-grained Permissions
Fine-grained Permissions
Control exactly what agents can access and modify through a granular permission system.
Standardized Protocol
Standardized Protocol
Compatible with any ACP-compliant agent, ensuring future compatibility and flexibility.
When using ACP agents, the agent has more direct access to your development environment. Make sure you trust the agent provider and understand what permissions you’re granting.
Switching Providers
You can easily switch between different ACP providers using the command:Related Documentation
Providers
Learn about all available providers
Tools
Explore available LLM tools