sacp -- the Symposium Agent Client Protocol (ACP) SDK
sacp is a Rust SDK for building Agent-Client Protocol (ACP) applications. ACP is a protocol for communication between AI agents and their clients (IDEs, CLIs, etc.), enabling features like tool use, permission requests, and streaming responses.
What can you build with sacp?
- Clients that talk to ACP agents (like building your own Claude Code interface)
- Proxies that add capabilities to existing agents (like adding custom tools via MCP)
- Agents that respond to prompts with AI-powered responses
Quick Start: Connecting to an Agent
The most common use case is connecting to an existing ACP agent as a client:
use ClientToAgent;
use ;
builder
.name
.run_until
.await
Learning More
See the crate documentation for:
You may also enjoy looking at:
yolo_one_shot_client.rs- Complete client that spawns an agent and sends a promptelizacp- Full working agent with session managementsacp-conductor- Orchestrates proxy chains with a final agent
Related Crates
- sacp-tokio - Tokio utilities for spawning agent processes
- sacp-proxy - Framework for building proxy components
- sacp-conductor - Binary for running proxy chains
License
MIT OR Apache-2.0