Agency OS Architecture & Training
Sections

Cloudflare control plane

Platform Architecture

The live infrastructure that receives Asana events, queues work, stores state, stores artifacts, and routes model calls.

Plain-Language View

Worker

Receives events, checks tasks, queues work, runs Jessie logic, and exposes internal APIs.

Queues

Keep webhook intake fast and make task processing retryable.

D1

Stores run state, task state, artifact records, context metadata, and audit traces.

R2

Stores larger context, evidence, crawl, and generated artifact packages.

Pages

Hosts internal architecture documentation and staff web interfaces.

AI Gateway

Routes all live Jessie model calls and records model-call metadata.

Technical Stack

Asana tasks, comments, boards, webhooks
Cloudflare Worker: intake, queue consumers, skills, runtime policy
D1 state + R2 artifacts + Context Lake + Report Artifact Registry
Read-only source APIs: GA4, Search Console, Google Ads, Meta, Browser Run, Box
Cloudflare AI Gateway: provider-routed LLM synthesis with bounded metadata
Asana review output and internal Pages documentation

Live Resource Names

LayerLive name or bindingUse
Architecture Pages projectagency-os-architecture-siteInternal architecture and training site.
Workeragency-os-dev-platform-build-control-planeHosted Jessie and Platform Build control plane.
Jessie Intake Asana project1214884895166080Watched Team Agent intake project.
Platform Build Asana project1214798884267191Improvement-task board.
D1agency-os-dev-platform-build-runsBuild runs, Team Agent runs, context, artifacts, and runtime state.
Queueagency-os-dev-team-agent-runsJessie task execution queue.
Queueagency-os-dev-platform-build-runsPlatform Build run queue.
R2agency-os-dev-client-contextR2-backed client context lake cache.
R2agency-os-dev-client-data-planeRaw source snapshots and prepared client data.
R2agency-os-dev-technical-seo-auditsTechnical SEO audit packages.
Durable ObjectTEAM_AGENT_TASK_AGENTAgents SDK production-shadow Team Agent object.
Cron*/5 * * * *Scheduled reconciliation/monitoring trigger.
AI Gateway configAI_GATEWAY_PROVIDER=openai, AI_GATEWAY_MODEL=gpt-5.5Model-call route configuration.

Publishing Rule

Architecture site changes should be published to the live Cloudflare Pages domain after successful build and verification whenever deployment credentials are available.

  • Pages project: agency-os-architecture-site.
  • Deploy command: npm run deploy --prefix apps/agency-os-architecture-site.
  • If the Pages deploy cannot run, the final handoff should say that the live domain was not updated.

Relevant Cloudflare Updates

  • 2026-05-21 AI Gateway REST API: supports the current central AI Gateway model-call route for Jessie insight synthesis.
  • 2026-05-19 Artifacts lifecycle events: relevant future direction for repo/build automation, not live Platform Build behavior yet.
  • 2026-05-15 R2 SQL JOIN/subquery support: relevant later for larger historical reporting analytics over R2 data.

Source References