cloudflare/agents-starter

A starter kit for building ai agents on Cloudflare

What it solves

It provides a ready-to-use starter template for developers to quickly build and deploy AI chat agents on Cloudflare's global network. It eliminates the boilerplate required to set up streaming AI responses, tool integration, and real-time UI components.

How it works

Built on the Cloudflare Agents SDK and Workers AI, the project combines a server-side agent (handling logic, tools, and scheduling) with a React-based frontend using Kumo UI. It uses WebSockets for real-time communication, SQLite for message persistence, and supports various model providers including Workers AI, OpenAI, and Anthropic.

Who it’s for

Developers who want to create AI agents with integrated tool-calling capabilities, scheduling, and a professional chat interface without building the infrastructure from scratch.

Highlights

  • Flexible Tool Patterns: Supports server-side auto-execution, client-side browser tools, and human-in-the-loop approval gates.
  • Task Scheduling: Ability to handle one-time, delayed, and recurring (cron) tasks that notify users via broadcast events.
  • Multimodal Support: Integrated vision capabilities allowing users to upload images for the AI to analyze.
  • Developer Experience: Includes a debug mode for inspecting raw JSON messages and a reasoning display that shows the model's internal thinking process during streaming.