Cloudflare Workers Provision & Orchestration Monorepo
An AI-cofounder / autonomous-startup-builder SaaS
Overview
The published Cloudflare “provision & orchestration” monorepo for an AI-cofounder / autonomous-startup-builder SaaS, the GitHub home of the edge workers, D1 schema and agent CLIs that stand up and operate per-project company infrastructure. It corresponds to the local provisioning working copy.
Why It Exists
The platform’s autonomous agents need a stable, deployable set of edge services and command-line tools to actually do work, generate assets, post to social, manage domains and data. Housing these as a single Cloudflare-focused monorepo keeps provisioning, workers and the CLIs versioned and shippable together.
What We Built
A monorepo organized as workers/ (single-purpose Cloudflare Workers), cli/ (per-domain agent CLIs), d1/ (database schema/migrations) and docs/. The cli/assets package is a substantial Bun/TypeScript tool with _shared clients (brand, HTTP, agent-data, validators), pluggable _storage (filesystem and worker-backed), and commands for image and slide generation, caption composition, OG/satori rendering, template handling, budget checks and post composition, plus a postgen story validator. conductor.json configures local dev against individual workers (e.g. wrangler dev for workers/social-media).
Technologies & Approach
TypeScript on Cloudflare Workers, Bun for the CLI tooling, D1 for state, Conductor for local orchestration. The worker-per-capability layout plus generated/curated CLIs gives the agent fleet a consistent, edge-hosted interface to company functions while keeping each capability independently deployable.
Outcome / Impact
Serves as the canonical, version-controlled source for the platform’s edge provisioning and orchestration layer, including a rich asset-generation toolchain the agents rely on for content and creative output.
Capabilities Demonstrated
- Cloudflare-focused provisioning & orchestration monorepo
- Worker-per-capability edge architecture
- Asset-generation CLI (images, slides, captions, OG via satori)
- Per-domain agent CLIs over shared clients and storage adapters
- D1-backed state with Conductor-driven local development