# Cloudflare Agents Starter

An AI chat agent starter on Cloudflare Workers with Auth0 authentication

https://topboilerplates.com/cloudflare-agents-starter

Framework: Hono | Pricing: Free | GitHub stars: 24

## Verdict

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.

## Description

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 and cons

+ 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

- 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

- ai-chat
- ai-agents
- streaming-responses
- auth-included
- cron-scheduling
- dark-mode
- open-source
- free-tier

## Stack

- TypeScript
- OpenAI
- Cloudflare

## Links

- Website: https://topboilerplates.com/go/cloudflare-agents-starter
- GitHub: https://github.com/auth0-lab/cloudflare-agents-starter

## Alternatives

- [Laravel AI Chat](https://topboilerplates.com/laravel-ai-chat)
- [Nuxt AI Chatbot Template](https://topboilerplates.com/nuxt-ai-chatbot-template)
- [SvelteKit AI Chatbot (jianyuan)](https://topboilerplates.com/sveltekit-ai-chatbot-jianyuan)
