From b4684c7d8355ffffcead239c1d1ebd74615e52f1 Mon Sep 17 00:00:00 2001 From: Lucas Kostka Date: Wed, 19 Mar 2025 17:33:14 +0100 Subject: [PATCH 1/4] Agents - mention the need of DO bindings in API reference intro --- src/content/docs/agents/api-reference/agents-api.mdx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/content/docs/agents/api-reference/agents-api.mdx b/src/content/docs/agents/api-reference/agents-api.mdx index c111050094f8404..63d518bb0c22891 100644 --- a/src/content/docs/agents/api-reference/agents-api.mdx +++ b/src/content/docs/agents/api-reference/agents-api.mdx @@ -14,6 +14,13 @@ The Agents SDK exposes two main APIs: * 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. * 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. +:::note + +Agents require Durable Object to work, see [Configuration](/agents/configuration) to learn how to add the required bindings to your project. + +::: + + You can also find more specific usage examples for each API in the [Agents API Reference](/agents/api-reference/). From 43060e21425bba53389ce96b5dd412cbe70a20c1 Mon Sep 17 00:00:00 2001 From: Lucas Kostka Date: Wed, 19 Mar 2025 17:37:00 +0100 Subject: [PATCH 2/4] Agents - mention the need of DO bindings in API reference intro --- src/content/docs/agents/api-reference/agents-api.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/docs/agents/api-reference/agents-api.mdx b/src/content/docs/agents/api-reference/agents-api.mdx index 63d518bb0c22891..4c85b9a9aea9a86 100644 --- a/src/content/docs/agents/api-reference/agents-api.mdx +++ b/src/content/docs/agents/api-reference/agents-api.mdx @@ -16,7 +16,7 @@ The Agents SDK exposes two main APIs: :::note -Agents require Durable Object to work, see [Configuration](/agents/configuration) to learn how to add the required bindings to your project. +Agents require [Cloudflare Durable Objects](/durable-objects), see [Configuration](/agents/configuration) to learn how to add the required bindings to your project. ::: From 32ab0f52f85053a023963b4b024446d96c1c1704 Mon Sep 17 00:00:00 2001 From: Kody Jackson Date: Wed, 19 Mar 2025 11:45:07 -0500 Subject: [PATCH 3/4] Link update --- src/content/docs/agents/api-reference/agents-api.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/docs/agents/api-reference/agents-api.mdx b/src/content/docs/agents/api-reference/agents-api.mdx index 4c85b9a9aea9a86..eb8457be59941f2 100644 --- a/src/content/docs/agents/api-reference/agents-api.mdx +++ b/src/content/docs/agents/api-reference/agents-api.mdx @@ -16,7 +16,7 @@ The Agents SDK exposes two main APIs: :::note -Agents require [Cloudflare Durable Objects](/durable-objects), see [Configuration](/agents/configuration) to learn how to add the required bindings to your project. +Agents require [Cloudflare Durable Objects](/durable-objects/), see [Configuration](/agents/configuration/) to learn how to add the required bindings to your project. ::: From 5ee28b1cbe01acbb8f5c91fe7ecc856ec0a1053c Mon Sep 17 00:00:00 2001 From: Kody Jackson Date: Wed, 19 Mar 2025 13:01:49 -0500 Subject: [PATCH 4/4] Update src/content/docs/agents/api-reference/agents-api.mdx --- src/content/docs/agents/api-reference/agents-api.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/docs/agents/api-reference/agents-api.mdx b/src/content/docs/agents/api-reference/agents-api.mdx index eb8457be59941f2..6654ea09e820d6e 100644 --- a/src/content/docs/agents/api-reference/agents-api.mdx +++ b/src/content/docs/agents/api-reference/agents-api.mdx @@ -16,7 +16,7 @@ The Agents SDK exposes two main APIs: :::note -Agents require [Cloudflare Durable Objects](/durable-objects/), see [Configuration](/agents/configuration/) to learn how to add the required bindings to your project. +Agents require [Cloudflare Durable Objects](/durable-objects/), see [Configuration](/agents/getting-started/testing-your-agent/#add-the-agent-configuration) to learn how to add the required bindings to your project. :::