Package-level declarations
Types
Link copied to clipboard
class AcpAgent(val name: String, cwd: String = "/", files: AcpFileSystem? = null, connect: suspend (scope: CoroutineScope) -> Transport) : Closeable
A connection to an Agent Client Protocol agent — a coding agent such as Claude Code, Codex or Gemini CLI, or any agent built on an ACP SDK (e.g. Pydantic AI Harness run_acp_stdio). This app is the ACP client: it creates sessions, sends prompts, renders session/updates and answers session/request_permission (and, when files is given, fs/read_text_file / fs/write_text_file).
Link copied to clipboard
class AcpBackend(agent: AcpAgent, approver: ToolApprover = ToolApprover.AlwaysApprove) : ChatBackend
An AcpAgent as a chat provider: each conversation is one ACP session, each turn one session/prompt.
Link copied to clipboard
interface AcpFileSystem
The client file system an AcpAgent offers (fs/read_text_file, fs/write_text_file), e.g. a workspace or a folder the user shared. Paths are absolute, as the agent sends them.