You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/changelog/agents/2025-03-17-npm-i-agents.mdx
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -62,7 +62,7 @@ class MyAgent extends Agent {}
62
62
63
63
#### Call Agent methods from your client code <Badgetext="New"variant="tip"size="small" />
64
64
65
-
We've added a new [`@callable()`](/agents/api-reference/client-api/) decorator for defining methods that can be called directly from clients. This allows you call methods from within your client code: you can call methods (with arguments) and get native JavaScript objects back.
65
+
We've added a new [`@callable()`](/agents/api-reference/agents-api/) decorator for defining methods that can be called directly from clients. This allows you call methods from within your client code: you can call methods (with arguments) and get native JavaScript objects back.
66
66
67
67
<TypeScriptExample>
68
68
@@ -116,10 +116,12 @@ $ npm run start
116
116
117
117
#### More documentation <Badgetext="Updated"variant="tip"size="small" />
118
118
119
-
We've contined to build out the Agents SDK documentation, including:
119
+
We've heard your feedback on the Agents SDK documentation, and we're shipping more API reference material and usage examples, including:
120
120
121
121
- Expanded [API reference documentation](/agents/api-reference/), covering the methods and properties exposed by the Agents SDK, as well as more usage examples.
122
-
-A new [Client API](/agents/api-reference/client-api/) reference that documents `useAgent`, `useAgentChat` and the new `@callable` RPC decorator exposed by the SDK.
122
+
-More [Client API](/agents/api-reference/agents-api/#client-api) documentation that documents `useAgent`, `useAgentChat` and the new `@callable` RPC decorator exposed by the SDK.
123
123
- New documentation on how to [call agents](/agents/api-refererence/calling-agents/) and (optionally) authenticate clients before they connect to your Agents.
124
124
125
+
Note that the Agents SDK is continually growing: the type definitions included in the SDK will always include the latest APIs exposed by the `agents` package.
126
+
125
127
If you're still wondering what Agents are, [read our blog on building AI Agents on Cloudflare](https://blog.cloudflare.com/build-ai-agents-on-cloudflare/) and/or visit the [Agents documentation](/agents/) to learn more.
0 commit comments