cloudflare-agents

Solid

Build AI agents on Cloudflare Workers with MCP integration, tool use, and LLM providers.

AI & Automation 162 stars 25 forks Updated 2 weeks ago MIT

Install

View on GitHub

Quality Score: 88/100

Stars 20%
74
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Cloudflare Agents **Last Updated**: 2025-11-21 ## Quick Start ```typescript export default { async fetch(request, env, ctx) { const agent = { tools: [ { name: 'getTodo', handler: async ({id}) => ({id, title: 'Task'}) } ], async run(input) { return await processWithLLM(input, this.tools); } }; return Response.json(await agent.run(await request.text())); } }; ``` ## Core Features - **Tool Integration**: Register and execute tools - **LLM Providers**: OpenAI, Anthropic, Google Gemini - **MCP Protocol**: Model Context Protocol support - **Cloudflare Bindings**: D1, KV, R2, Durable Objects ## Agent Pattern ```typescript const agent = { tools: [...], systemPrompt: 'You are a helpful assistant', model: 'gpt-4o', async run(input) { // Process with LLM } }; ``` ## Resources ### Core Documentation - `references/patterns-concepts.md` (317 lines) - What is Cloudflare Agents, patterns & concepts, critical rules, known issues prevention - `references/configuration-guide.md` (152 lines) - Complete configuration deep dive - `references/agent-api.md` (115 lines) - Complete Agent Class API reference ### Integration Guides - `references/http-sse-guide.md` (74 lines) - HTTP & Server-Sent Events - `references/websockets-guide.md` (110 lines) - WebSocket integration - `references/state-management.md` (388 lines) - State management, scheduled tasks, workflows - `references/mcp-integration.md` (130 lines) - Model ...

Details

Author
secondsky
Repository
secondsky/claude-skills
Created
6 months ago
Last Updated
2 weeks ago
Language
TypeScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

agents-sdk

Build AI agents on Cloudflare Workers using the Agents SDK. Load when creating stateful agents, durable workflows, real-time WebSocket apps, scheduled tasks, MCP servers, or chat applications. Covers Agent class, state management, callable RPC, Workflows integration, and React hooks.

224 Updated today
shobcoder
AI & Automation Listed

agents-sdk

Build AI agents on Cloudflare Workers using the Agents SDK. Load when creating stateful agents, durable workflows, real-time WebSocket apps, scheduled tasks, MCP servers, or chat applications. Covers Agent class, state management, callable RPC, Workflows integration, and React hooks.

224 Updated today
olovalabs
AI & Automation Listed

honi

Build AI agents with Honi (honidev) on Cloudflare Workers. Use when creating agents with tools, persistent memory, MCP servers, or multi-agent pipelines. Covers createAgent API, tool() helper, all memory tiers (working/episodic/semantic/graph), multi-agent routing, MCP auth, and all supported model providers.

0 Updated today
jmbish04
AI & Automation Listed

agent-factory

Claude Code agent generation system that creates custom agents and sub-agents with enhanced YAML frontmatter, tool access patterns, and MCP integration support following proven production patterns

791 Updated 6 months ago
alirezarezvani
AI & Automation Listed

ai-agent-builder

Also use for agentic data engineering pipelines, code generation agents, agent-powered CLI tools, MCP server development, or any system where an AI model calls tools, makes decisions, or loops

2 Updated 2 days ago
mouadja02