Documentation Index
Fetch the complete documentation index at: https://docs.praison.ai/llms.txt
Use this file to discover all available pages before exploring further.
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
| Option | Short | Description | Default |
|---|---|---|---|
--workspace | -w | Workspace root directory | Current directory |
--agent | -a | Agent name or configuration file | default |
--agents | Multi-agent configuration YAML file | None | |
--router | Enable router agent for task delegation | Disabled | |
--model | -m | LLM model to use | None (uses default) |
--resume | -r | Resume session by ID | None |
--last | Resume the last session (use with --resume) | Disabled | |
--approve | Approval mode: manual, auto, scoped | manual | |
--read-only | Read-only mode (no file writes) | Enabled | |
--allow-write | Allow file write operations | Disabled | |
--allow-shell | Allow shell command execution | Disabled | |
--allow-network | Allow network requests | Disabled | |
--debug | Enable debug logging to stderr | Disabled | |
--profile | Use named profile from config | None |
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
| Variable | Description |
|---|---|
OPENAI_API_KEY | OpenAI API key |
ANTHROPIC_API_KEY | Anthropic API key |
GOOGLE_API_KEY | Google AI API key |
PRAISONAI_ACP_DEBUG | Enable debug mode (1 or true) |
PRAISONAI_ACP_WORKSPACE | Default workspace path |
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

