Cloudflare Agent Router
Description
A monorepo of AI agent router with Cloudflare Worker, Cloudflare Container, and Litellm
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
Cloudflare Agent Router
Cloudflare Agent Router — a comprehensive AI agent router monorepo built on Cloudflare Workers, Containers, AI Gateway, and LiteLLM. Provides a complete solution for hosting LLM routers that support agent endpoints like Claude Code and other AI development tools.
Quick Start
You can bootstrap a new monorepo using this template by running:
npm create workers-monorepo@latest
Why a Monorepo?
Managing multiple related services (like Cloudflare Workers) in separate repositories can become complex. A monorepo approach offers several advantages:
- Simplified dependency management -
pnpm workspacesallow you to manage dependencies across all your workers and shared packages from a single place. The toolsyncpack(configured via.syncpackrc.cjs) help keep versions consistent. - Code sharing and reuse - Easily create and share common logic, types, and utilities between workers by placing them in the
packages/directory. Changes to shared code are immediately available to all consumers. - Atomic commits - Changes affecting multiple workers or shared libraries can be committed together, making the history easier to understand and reducing the risk of inconsistencies.
- Consistent tooling - Apply the same build, test, linting, and formatting configurations (e.g., via Turborepo in
turbo.jsonand shared configs inpackages/) across all projects, ensuring consistent tooling and code quality across Workers. - Streamlined CI/CD - A single pipeline (like the ones in
.github/workflows/) can build, test, and deploy all Workers, simplifying the release process. - Easier refactoring - Refactoring code that spans multiple workers or shared packages is significantly easier within a single repository.
Prerequisites
- Node.js v22 or later
- pnpm v10 or later
Getting Started
**Install Dependencies:**
just install
# or
pnpm install
**Run Development Server:**
just dev
# or
p
Related Skills
Docker
---
DevOps Kubernetes
---
DevOps AWS Skills
AWS development with CDK best practices, cost optimization MCP servers, and serverless/event-driven architectu
DevOps Composio Split
Manage Split feature flags and experiments
DevOps **claude-code-router**
(25.3k ⭐) - Use Claude Code as the foundation for coding infrastructure, allowing you to decide how to interac
DevOps CLAUDE.md CI/CD Wiki
Community patterns for CLAUDE.md configuration in CI/CD pipelines.
DevOps