Agent SDK

Build and deploy AI-powered agents that autonomously perform tasks, communicate in real-time, persist state, and run asynchronous workflows.


We're bringing Cloudflare's powerful Agents SDK to our platform, enabling you to build agents at global scale.

What's Coming

🔋 Batteries (State) Included

Your agents will come with built-in state management:

  • Automatic state synchronization between agents and clients
  • Trigger events on state changes
  • Built-in SQL database for each agent
  • Persistent memory across conversations

💬 Real-Time Communication

Connect to agents via WebSockets and stream updates in real-time:

  • Handle long-running responses from AI models
  • Stream results from asynchronous workflows
  • Build interactive chat applications
  • Real-time client updates and notifications

🔧 Extensible by Design

Agents are code - bring your own tools and integrations:

  • Use any AI models you prefer
  • Integrate with external services and APIs
  • Add custom methods to your agents
  • Pull data from your existing databases

Agent SDK Features Preview

Based on Cloudflare's Agents SDK, you'll be able to create agents like this:

Built-in Capabilities

  • State Management: Built-in setState and SQL database access
  • Scheduling: Native task scheduling with this.schedule
  • WebSocket Support: Real-time bidirectional communication
  • HTTP Requests: Make external API calls seamlessly
  • Long-Running Tasks: Agents can run for minutes, hours, or longer

Get Ready

While we integrate the Agents SDK into our platform, here's how you can prepare:

  1. Explore Cloudflare Agents: Check out the official documentation to understand the capabilities
  2. Review Our Platform: Familiarize yourself with our Platform Overview
  3. Join Our Community: Stay updated on our Discord for the latest announcements