# AgentChat

URL: /code/ui/components/agent-chat · Id: `uiComponent:agent-chat`

> AgentChat lets a reader talk to one Role’s agent, with each Verb it calls and each Approval it waits on shown inline.

AgentChat lets a reader talk to one [Role](/business/nouns/role)’s agent, with each [Verb](/business/nouns/verb) it calls and each [Approval](/business/nouns/approval) it waits on shown inline.

| Renderer | Draws |
| --- | --- |
| `web` | Web: rich interactive UI for humans. |
| `native` | Native: JSON for native clients on phone, watch, and TV. |
| `markdown` | Markdown: token-efficient text for agents. |

| Prop | Type | Required | Description |
| --- | --- | --- | --- |
| `role` | [Role](/business/nouns/role) | Yes | The Role whose agent answers. |
| `placeholder` | `string` | No | The prompt shown in the empty input. |