Skip to content

Latest commit

 

History

History
112 lines (79 loc) · 5.88 KB

File metadata and controls

112 lines (79 loc) · 5.88 KB

Agents Documentation

Getting Started

Core Concepts

Client SDK

  • Client SDK - Connecting from React (useAgent) and vanilla JS (AgentClient), state sync, and RPC calls

Communication Channels

  • Email Service - Sending, receiving, and replying to emails
  • Webhooks - Receiving and sending webhook events
  • Push Notifications - Browser push notifications via Web Push API and scheduled delivery
  • TODO: SMS - Text message integration (Twilio, etc.)
  • Voice Agents - Build voice agents with real-time speech-to-text, text-to-speech, and conversation persistence
  • TODO: Messengers - Slack, Discord, Telegram, and other chat platforms

Background Processing

  • Queue - Immediate background task execution
  • Scheduling - Delayed, scheduled, and cron-based tasks
  • Retries - Automatic retries with exponential backoff and jitter
  • Durable Execution - runFiber(), stash(), and crash recovery for long tasks
  • Workflows - Durable multi-step processing with Cloudflare Workflows
  • Human in the Loop - Approval flows and manual intervention

AI Integration

Think (Experimental)

MCP (Model Context Protocol)

Authentication & Security

Observability & Debugging

  • Observability - Monitoring and tracing agent activity
  • TODO: Testing - Unit tests, integration tests, mocking agents
  • TODO: Evals - Evaluating AI agent quality and behavior

Agent Studio

  • TODO: Agent Studio - Local dev tool for inspecting and interacting with agent instances

Compute Environments

Advanced Topics

  • Long-Running Agents - Building agents that persist for weeks or months: lifecycle, recovery, async operations, and planning
  • TODO: SQL API - Using this.sql for direct database queries
  • TODO: Memory & Persistence - Long-term storage patterns
  • Configuration - wrangler.jsonc setup, types, secrets, and deployment

Migration Guides

Reference


Contributing

Found something missing? Documentation contributions are welcome!