pydantic-acp
Use pydantic-acp to drive an external ACP CLI agent (crush-acp, cline --acp) as a pydantic-ai model backend — create_acp_model, AcpProvider, delegate host clients (filesystem/terminal/permissions), PromptedOutput structured output, and the classic hang/leak gotchas. Use when wrapping cline/crush/any ACP agent in a pydantic_ai.Agent, when acp logs "Error parsing JSON-RPC message" / "Expecting value: line 1 column 1", when an ACP-backed run hangs until its timeout, or when implementing an acp.interfaces.Client delegate.
Pinned to revision 65395eaeae2f, so it is the text this page describes rather than whatever the author pushed since.
Files
Every link opens the file at its source, pinned to the revision this page describes.