ACP CLI Commands
Thepraisonai serve acp command starts an ACP server that enables IDEs and code editors to communicate with PraisonAI agents using JSON-RPC 2.0 over stdio.
Use
praisonai serve acp for the unified command. The standalone praisonai acp still works but shows a deprecation warning.Quick Start
Installation
Command Reference
Basic Usage
All Options
Usage Examples
Minimal (Read-Only Mode)
With Write Permissions
With Custom Agent
Resume Previous Session
With Specific Model
Debug Mode
Approval Modes
Editor Configuration
Zed Editor
Add to your Zed settings (~/.config/zed/settings.json):
JetBrains IDEs
Configure in Settings → Tools → AI Assistant:VSCode
Add to your VSCode settings:Environment Variables
Output Behavior
- stdout: JSON-RPC 2.0 messages only (for IDE communication)
- stderr: Logs and debug output (when
--debugis enabled)
Security Considerations
Permission Levels
- Read-only (default): Can read files, cannot modify anything
- Allow-write: Can create and modify files within workspace
- Allow-shell: Can execute shell commands (use with caution)
- Allow-network: Can make network requests
Best Practices
Troubleshooting
Check ACP Installation
Debug Connection Issues
Verify API Keys
Related
- ACP Python API - Code-based usage
- MCP Server - Model Context Protocol server
- Serve Command - HTTP API server

