One Chat Layer for Claude Managed Agents Across 15+ Surfaces
- Source
- github.com
- Publisher
- Anthropic
- Author
- ClaudeDevs
- Date

Context
Anthropic's new cookbook shows how to split a chat agent into two parts: Vercel's Chat SDK handles the conversation surface, and Claude Managed Agents, Anthropic's hosted agent service, does the work on its servers. The example, announced by ClaudeDevs, is a research analyst in a browser chat window. Chat SDK provides one type-safe message handler and more than 15 adapters for platforms such as Slack, Teams, Discord and WhatsApp. Managed Agents runs the , the web research, the session state and optional memory stores.
The split means the developer's own server keeps almost nothing. Each conversation maps to one persistent Managed Agents session, and the chat's conversation ID is that session's ID, so the sidebar of past chats comes from the sessions API and transcripts replay from the session's event log. Moving the analyst to another platform means changing a few lines in one file and setting up that platform's app. The repository points to a Slack version already packaged as a deployable template, and Vercel's own changelog presents the same pairing as a Slack research bot.
The README is explicit about where the demo stops. Its sample user check trusts every caller, which is why the server listens only on the local machine by default; the README says to replace that check with a real session lookup before opening the server to other addresses. Each turn also holds a request open for its full length, which conflicts with serverless time limits that are often only seconds, and the README hands that problem to a separate Vercel deployment guide.
- agentic loop — The cycle an agent runs in: decide, call a tool, read the result, decide again — repeating until the goal is met or a stop condition fires.
- Sandbox — An enforced restriction that confines a process to specified files, network destinations and other resources, applied by the operating system, a container or a virtual machine.
- Setup — The combination of a model, a harness, its connections and the path the task's data takes, considered together for a task.
- Boundary — A point in a program where one part finishes its job and hands its result to another.





