AgentServerACP(
self,
agent: CompiledStateGraph | Callable[[AgentSessionContext], CompiledStateGraph],
*,ACPAgent| Name | Type | Description |
|---|---|---|
agent* | CompiledStateGraph | Callable[[AgentSessionContext], CompiledStateGraph] | Either a compiled state graph or a factory function that creates one |
modes | SessionModeState | None | Default: NoneOptional mode configuration (deprecated, use config_options instead) |
models | list[dict[str, str]] | None | Default: None |
| Name | Type |
|---|---|
| agent | CompiledStateGraph | Callable[[AgentSessionContext], CompiledStateGraph] |
| modes | SessionModeState | None |
| models | list[dict[str, str]] | None |
ACP agent server that bridges Deep Agents with the Agent Client Protocol.
Optional list of available models with 'value', 'name', and optionally 'description'