← All work
Infrastructure · 2026

Cloudflare Workers Provisioning & Company-Function Services

An AI-cofounder / autonomous-startup-builder SaaS

Overview

The Cloudflare edge backbone for an AI-cofounder / autonomous-startup-builder SaaS: a monorepo of provisioning logic, single-purpose Workers, D1 schema and per-domain CLIs that stand up and operate the resources each autonomous company project needs. This local working copy corresponds to the published sogood-cf-monorepo.

Why It Exists

Each company the platform builds needs real services, domains, social posting, lead generation, CRM, email intake, asset generation, an LLM proxy, provisioned and isolated per project. Concentrating these as small, independently deployable Workers keeps each capability simple, scalable on the edge, and safe to provision and revoke per project.

What We Built

A workers/ fleet of focused services: provisioning, social-media, cronjobs, lead-gen, og-renderer, domains, agent-data, llm-proxy, memo-service, email-inbox-mcp, supplier-research, file-events, image-generator and stripping. A cli/ tree provides per-domain command-line tools (tasks, domains, crm, scheduler, social, memo, db, assets, email) that the agent fleet invokes. A d1/ package holds the agent-data-registry schema and migrations. conductor.json wires local dev (e.g. wrangler dev against workers/social-media), and docs/ covers domain–Convex integration and per-project debugging.

Technologies & Approach

TypeScript on Cloudflare Workers, deployed with Wrangler and orchestrated locally via Conductor. State lives in Cloudflare D1. The architecture deliberately favors many small workers over a monolith: each company function is its own deployable unit with its own bindings, which maps cleanly onto per-project provisioning and isolation and lets the agent CLIs call a stable set of edge endpoints.

Outcome / Impact

Supplies the provisioning and runtime services that turn an agent’s intent into real company infrastructure, domains, social presence, leads, CRM, email and generated assets, all on Cloudflare’s edge, registry-tracked in D1.

Capabilities Demonstrated

  • Per-project provisioning of edge resources
  • Fleet of single-purpose Cloudflare Workers (15+ services)
  • Agent-data registry and migrations on Cloudflare D1
  • Per-domain CLIs for social, leads, CRM, scheduling, email and assets
  • Conductor-orchestrated local development across the monorepo
More work See all →