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
+19-19Lines changed: 19 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ date: 2025-03-17T14:00:00Z
9
9
10
10

11
11
12
-
#### Multi-Agent applications and RPC
12
+
#### Multi-Agent applications and RPC <Badgetext="New"variant="tip"size="small" />
13
13
14
14
We've added a number of big new features to the Agents SDK over the past few weeks, including:
15
15
@@ -21,7 +21,7 @@ We've added a number of big new features to the Agents SDK over the past few wee
21
21
22
22
We've also fixed a nubmer of bugs with state synchronization and the React hooks.
23
23
24
-
### Call Agent methods from your client code
24
+
####Call Agent methods from your client code <Badgetext="New"variant="tip"size="small" />
25
25
26
26
We've added a new [`@callable` decorator](/agents/api-reference/client-api/) 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.
27
27
@@ -33,23 +33,7 @@ We've added a new [`@callable` decorator](/agents/api-reference/client-api/) for
33
33
34
34
</TypeScriptExample>
35
35
36
-
#### agents-starter
37
-
38
-
TODO
39
-
40
-
- TODO
41
-
- Upgraded to use the latest [wrangler v4](/changelog/2025-03-13-wrangler-v4/) release.
42
-
-[Workers AI](/workers-ai/) is now the default AI provider in the [`agents-starter`](https://github.com/cloudflare/agents-starter) project: this uses the new [structured outputs](/changelog/2025-02-25-json-mode/) (or "JSON mode") support now in Workers AI and the [`workers-ai-provider`](https://sdk.vercel.ai/providers/community-providers/cloudflare-workers-ai#generateobject).
43
-
44
-
#### More documentation
45
-
46
-
We've contined to build out the Agents SDK documentation, including:
47
-
48
-
- Expanded [API reference documentation](/agents/api-reference/), covering the methods and properties exposed by the Agents SDK, as well as more usage examples.
49
-
- A new [Client API](/agents/api-reference/client-api/) reference that documents `useAgent`, `useAgentChat` and the new `@callable` decorator exposed by the SDK.
50
-
- New documentation on how to [call agents](/agents/api-refererence/calling-agents/) and authenticate clients, using [Server-Sent Events (SSE)](/agents/api-refererence/http-sse/).
We've also renamed the Agents package to just `agents` (it's cleaner). If you've already been building with the Agents SDK, you can update your dependencies to use the new package name:
55
39
@@ -67,4 +51,20 @@ grep -r 'agents-sdk' .
67
51
sed -i 's/agents-sdk/agents/g'$(grep -rl 'agents-sdk' .)
68
52
```
69
53
54
+
#### agents-starter
55
+
56
+
TODO
57
+
58
+
- TODO
59
+
- Upgraded to use the latest [wrangler v4](/changelog/2025-03-13-wrangler-v4/) release.
60
+
-[Workers AI](/workers-ai/) is now the default AI provider in the [`agents-starter`](https://github.com/cloudflare/agents-starter) project: this uses the new [structured outputs](/changelog/2025-02-25-json-mode/) (or "JSON mode") support now in Workers AI and the [`workers-ai-provider`](https://sdk.vercel.ai/providers/community-providers/cloudflare-workers-ai#generateobject).
61
+
62
+
#### More documentation
63
+
64
+
We've contined to build out the Agents SDK documentation, including:
65
+
66
+
- Expanded [API reference documentation](/agents/api-reference/), covering the methods and properties exposed by the Agents SDK, as well as more usage examples.
67
+
- A new [Client API](/agents/api-reference/client-api/) reference that documents `useAgent`, `useAgentChat` and the new `@callable` decorator exposed by the SDK.
68
+
- New documentation on how to [call agents](/agents/api-refererence/calling-agents/) and authenticate clients, using [Server-Sent Events (SSE)](/agents/api-refererence/http-sse/).
69
+
70
70
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