Skip to content

Commit b4684c7

Browse files
committed
Agents - mention the need of DO bindings in API reference intro
1 parent 148a835 commit b4684c7

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/content/docs/agents/api-reference/agents-api.mdx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,13 @@ The Agents SDK exposes two main APIs:
1414
* The server-side `Agent` class. An Agent encapsulates all of the logic for an Agent, including how clients can connect to it, how it stores state, the methods it exposes, how to call AI models, and any error handling.
1515
* The client-side `AgentClient` class, which allows you to connect to an Agent instance from a client-side application. The client APIs also include React hooks, including `useAgent` and `useAgentChat`, and allow you to automatically synchronize state between each unique Agent (running server-side) and your client applications.
1616

17+
:::note
18+
19+
Agents require Durable Object to work, see [Configuration](/agents/configuration) to learn how to add the required bindings to your project.
20+
21+
:::
22+
23+
1724
You can also find more specific usage examples for each API in the [Agents API Reference](/agents/api-reference/).
1825

1926
<TypeScriptExample>

0 commit comments

Comments
 (0)