# cloudflare/agents-starter

A starter kit for building ai agents on Cloudflare

Repository: https://github.com/cloudflare/agents-starter
Canonical: https://ross.abutalabs.com/products/agents-starter
Homepage: https://github.com/cloudflare/agents/
Language: TypeScript
License: MIT
License Family: permissive
Topics: agents, ai, cloudflare, durable-objects
Last push: 2026-08-19T05:45:40+00:00

## Health v2 (maintenance only)
Score: 64/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 35, longevity 39
- inputs: {"age_days": 559, "days_push": 14, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1322, forks 274 (observed 2026-08-28T04:04:22.118899+00:00)

## What it is
A starter template from Cloudflare for building AI chat agents on Workers using the Agents SDK and Durable Objects. It ships with streaming chat via Workers AI, tool patterns (server-side, client-side, human-in-the-loop approval), scheduling, vision input, and a React chat UI.

## Use cases
- build an ai chatbot on cloudflare workers
- starter template for ai agents with tools and scheduling
- deploy a streaming chat agent with durable objects
- add human-in-the-loop tool approval to an llm agent
- prototype an agent with image input and vision models
- schedule recurring tasks from an ai agent

## When to choose
- you want to build agents on Cloudflare Workers with the Agents SDK
- you need a batteries-included chat UI, tools, scheduling, and persistence out of the box
- you prefer Workers AI without third-party API keys

## When to avoid
- you deploy outside Cloudflare (the template depends on Workers, Durable Objects, and Workers AI)
- you need a production-grade application rather than a starting point
- you want fully local development without a Cloudflare account

## Facets
- artifact type: learning-resource
- maturity: active
- function: agent-framework, chatbot, llm-inference, websocket, scheduling, web-framework
- domain: large-language-models, chatbots, web-development, developer-tools
- platform: cloud
- tags: cloudflare-workers, durable-objects, workers-ai, starter-template, chat-agent, mcp, human-in-the-loop, react, boilerplate, ai-agents, typescript, nodejs, web-server, docker

## Member repositories
- cloudflare/agents-starter (main) score 64

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:22.118899+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T08:33:15.952211+00:00, confidence not recorded.
  - readme: https://github.com/cloudflare/agents-starter (fetched 2026-08-28T04:04:22.118899+00:00, sha e15e550d5f92)
  - homepage: https://github.com/cloudflare/agents/ (fetched 2026-08-29T12:06:16.025080+00:00, sha 6a3683cfa45e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
