v0.8.0 — Agent Client Protocol (ACP)
Agent Client Protocol (ACP) Support
This release adds full support for the Agent Client Protocol, enabling programmatic control of coding agents from Elixir.
Highlights
- ACP Client —
ExMCP.ACP.ClientGenServer for managing agent connections over stdio with session lifecycle, streaming updates, and permission handling - Adapter System —
ExMCP.ACP.Adapterbehaviour for non-native agents, with built-in adapters for Claude Code (NDJSON stream-json) and Codex (app-server JSON-RPC) - Session Management — Create, resume, prompt, cancel, and configure agent sessions with
session/new,session/load,session/prompt,session/cancel,session/set_mode,session/set_config_option - Handler Behaviour —
ExMCP.ACP.Client.Handlerfor customizing how your app handles streaming updates, permission requests, and file access from agents
Installation
{:ex_mcp, "~> 0.8.0"}