All Topics
All Topics
Technology
Technology
AI
AI
Business
Business
Entertainment
Entertainment
News
News
Programming
Programming
Security
Security
Science
Science
Design
Design
Environment
Environment
Finance
Finance
Crypto
Crypto
Politics
Politics
Sports
Sports
Education
Education
Gaming
Gaming
Art
Art
Music
Music
Health
Health
Books
Books
Food
Food
Travel
Travel
Personal
Personal
Bluesky
Twitter

Agents, Workers - Agents SDK v0.2.24 with resumable streaming, MCP improvements, and schedule fixes

7mo ago

Source

CloudflareAgents, Workers - Agents SDK v0.2.24 with resumable streaming, MCP improvements, and schedule fixescloudflare.com
Snippet from the RSS feed
The latest release of @cloudflare/agents brings resumable streaming, significant MCP client improvements, and critical fixes for schedules and Durable Object lifecycle management. Resumable streaming AIChatAgent now supports resumable streaming, allowing clients to reconnect and continue receiving streamed responses without losing data. This is useful for: Long-running AI responses Users on unreliable networks Users switching between devices mid-conversation Background tasks where users navigate away and return Real-time collaboration where multiple clients need to stay in sync Streams are maintained across page refreshes, broken connections, and syncing across open tabs and devices. Other improvements Default JSON schema validator added to MCP client Schedules can now safely destroy the agent MCP client API improvements The MCPClientManager API has been redesigned for better clarity and control: New registerServer() method : Register MCP servers without immediately connecting New connectToServer() method : Establish connections to registered servers Improved reconnect logic : restoreConnectionsFromStorage() now properly handles failed connections // Register a server to Agent const { id } = await this . mcp . registerServer ( { name : "my-server" , url : " , } ) ; // Connect when ready await this . mcp . connectToServer ( id ) ; // Discover tools, prompts and resources await this . mcp . discoverIfConnected ( id ) ; The SDK now includes a formalized MCPConnectionState enum with states: idle , connecting , authenticating , connected , discovering , and ready . Enhanced MCP discovery MCP discovery fetches the available tools, prompts, and resources from an MCP server so your agent knows what capabilities are available. The MCPClientConnection class now includes a dedicated discover() method with improved reliability: Supports cancellation via AbortController Configurable timeout (default 15s) Discovery failures now throw errors immediately instead of silently continuing Bug fixes Fixed a bug where schedules meant to fire immediately with this.schedule(0, ...) or this.schedule(new Date(), ...) would not fire Fixed an issue where schedules that took longer than 30 seconds would occasionally time out Fixed SSE transport now properly forwards session IDs and request headers Fixed AI SDK stream events conversion to UIMessageStreamPart Upgrade To update to the latest version: npm i agents@latest

You might also wanna read

API To MCP: A platform that converts business APIs into AI-agent-ready MCP servers

API To MCP is a tool that converts REST, GraphQL, SaaS, and internal business APIs into hosted MCP (Model Context Protocol) servers, enablin

Product Hunt·26d ago

Executor: An MCP gateway that unifies AI agent-to-tool connections

Executor is an MCP (Model Context Protocol) gateway that acts as a unified endpoint for connecting AI agents (like Claude Code, Cursor, and

executor.sh·11d ago

Executor: An MCP gateway that unifies AI agent-to-tool connections

Executor is an MCP (Model Context Protocol) gateway that acts as a unified endpoint for connecting AI agents (like Claude Code, Cursor, and

executor.sh·11d ago

Chrome DevTools MCP Server Update Enables Coding Agents to Debug Active Browser Sessions

Chrome DevTools MCP server now allows coding agents to directly connect to active browser sessions, enabling them to reuse existing sessions

developer.chrome.com·3mo ago

UTCP Agent: Lightweight Tool-Calling Protocol for AI Agents

UTCP Agent is a lightweight alternative to MCP (Model Context Protocol) that enables AI agents to call tools directly with minimal code. The

Product Hunt·10mo ago

Building Three Production-Ready MCP Servers for AI Agent Tool Integration

The article introduces the Model Context Protocol (MCP) as an open standard that unifies how AI agents connect to external tools and data so

dev.to·6d ago

Exotel Launches MCP Server for AI Agents to Trigger Communications Without Coding

Exotel has launched a Model Context Protocol (MCP) Server that enables AI agents to trigger communication actions like making calls and send

Product Hunt·9mo ago

Comments

Sign in to join the conversation.

No comments yet. Be the first.