Content Agent Provider v0.8.2: Mixing client and server tools, act-and-answer, and bug fixes
The new ContentAgent class lets you combine your own client tools with Content Agent's server tools in a single agent loop. Server-executed tools (like Media Library access or content mutations) forward their results back to your client tools automatically, so the agent can act on both sides without you writing the orchestration. It is our implementation of the AI SDK Agent abstraction, preconfigured with safe defaults for the agent loop.
Migrate from streamText() to ContentAgent to pick this up:
Before:
streamText({ model: provider.agent(threadId) })
After:
new ContentAgent({ provider, threadId })
Act-and-answer: With this orchestration in place, the agent can call a tool and return its final answer in the same step, delivering faster results for action-oriented queries (for example, "update the issue and confirm it is done").
Fetched May 8, 2026
Minor Changes - 1216ded: Add full tool result payload support to . The callback now also receives server events, delivering the raw string…