topboilerplates.com

Cloudflare Agents Starter

An AI chat agent starter on Cloudflare Workers with Auth0 authentication

Cloudflare Agents StarterCheck Cloudflare Agents Starter
Cloudflare Agents Starter
Best for
Developers building an AI agent that needs to act on a user's behalf with proper authentication and human-approval workflows, deployed on Cloudflare.
Skip if
You don't need Auth0-specific authentication or Cloudflare Workers - this starter is tightly coupled to both.

A free, Apache 2.0-licensed starter for building AI-powered chat agents on Cloudflare Workers with Hono and Workers AI, using Auth0 for authentication and JWT authorization. It supports human-in-the-loop tool confirmations via backchannel authentication (CIBA), user-specific chat history in KV storage, one-time/delayed/recurring task scheduling, and real-time streaming chat responses.

Pros

  • Demonstrates a real human-in-the-loop pattern (CIBA) for agent actions needing user approval
  • Auth0 Token Vault integration for securely accessing federated connections (e.g., calendars)
  • Task scheduling (cron, delayed, one-time) built into the agent
  • Free, open-source, Apache 2.0 licensed, backed by Auth0's lab team

Cons

  • Small community (24 stars) - experimental/lab project rather than a widely adopted starter
  • Tightly coupled to Auth0 and Cloudflare Workers, less portable to other stacks
  • Chat-agent focused, not a full SaaS product template with billing

Features

Auth and access

  • Auth included

AI capability

  • AI chat
  • AI agents
  • Streaming responses

Data and infra

  • Cron scheduling

Growth and ops

  • Dark mode

Licensing and commercial

  • Open source
  • Free tier