# AgentServerACP

> **Class** in `deepagents_code`

📖 [View in docs](https://reference.langchain.com/python/deepagents-code/acp/AgentServerACP)

ACP server that supplies trusted classifier context in Auto mode.

## Signature

```python
AgentServerACP(
    self,
    agent: Callable[[AgentSessionContext], Pregel[Any, Any, Any, Any]],
    *,
    store: BaseStore,
    kwargs: Any = {},
)
```

## Extends

- `BaseAgentServerACP`

## Constructors

```python
__init__(
    self,
    agent: Callable[[AgentSessionContext], Pregel[Any, Any, Any, Any]],
    *,
    store: BaseStore,
    kwargs: Any = {},
) -> None
```

| Name | Type |
|------|------|
| `agent` | `Callable[[AgentSessionContext], Pregel[Any, Any, Any, Any]]` |
| `store` | `BaseStore` |
| `kwargs` | `Any` |


## Methods

- [`prompt()`](https://reference.langchain.com/python/deepagents-code/acp/AgentServerACP/prompt)

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/4bfa52000ef65ac623d8ada0cb67f67cbdd663ea/libs/code/deepagents_code/acp.py#L101)