WHY CLOUDFLARE / AGENT SPEED

The storage already scales. The locks are ours to remove.

Cloudflare Artifacts keeps Git on object storage, so Golf doesn’t build a storage engine. The limits on agent speed sit in Golf’s own control path, and agentic mode removes them one measured milestone at a time.

01 / WHY IT FITS

Four services. Four jobs agents need.

Each one answers a limit that slows agents on forges built for people. Parallel pushes per branch (AM-1), the Source API (AM-2) and scoped tokens with remote MCP (AM-3) are measured on the hosted demo; landing at agent speed (AM-4) is in progress.

Git on object storage

Artifacts stores repositories and history. Only branch updates need ordering, so pushes to different branches don’t have to wait for each other.

Artifacts

Coordination where the state lives

Durable Objects order only what must be ordered. Since AM-1, clones, fetches and pushes to different branches overlap; only two pushes to the same branch conflict. On the hosted demo, 64 agents on separate branches went from 0 of 64 pushes to 93 of 93.

Durable Objects · D1

A sandbox per agent

Each agent task and managed check runs in its own Linux container, with its own working copy of a chosen commit and an approved image. Agents don’t trip over each other’s files.

Containers · Artifacts

Models next to the code

Review drafts, advice, code proposals and search run on Workers AI, beside the repository. AI Gateway lets administrators choose the allowed models and set spend limits.

Workers AI · AI Gateway · Vectorize
Native Cloudflare architecture showing authority, Artifacts Git, D1, Queues, Workflows, Containers, AI, R2 and protected application delivery
Follow each service’s responsibility. Download the Mermaid source ↗ · All architecture diagrams ↗
02 / THE SERVICE MAP

Every service has one job.

27 services Golf uses today or can turn on. Each card says what it does, then where it stops. “Current slice” means working with limits; “Conditional” means optional or awaiting hosted verification. Filter them alongside the portable integrations in the integration catalog ↗

Current slice

Workers

Runs the Golf app and API and serves Git at your own domain. Every request is checked for permission before it reaches storage or another service.

Current limits: The Cloudflare track is in alpha. Some repository features and operation at large scale need more testing.

Provider reference ↗
Current slice

Artifacts

Keeps repositories, branches and Git history on Cloudflare’s storage. An agent works in its own copy and proposes a change without touching the main repository.

Current limits: Native merge handles branches in the same repository. Diverged merges and squash are built and await a hosted merge on Artifacts. Protected merges and repository deletion are incomplete.

Provider reference ↗
Current slice

D1

Holds accounts, repository permissions, issues, pull requests and job records. A preview app can get its own database.

Current limits: Disaster recovery and broader permission testing remain unfinished.

Provider reference ↗
Current slice

Durable Objects

Orders requests that share a workspace or job, so writes happen in sequence and permission changes take effect at once. Separate objects run test and agent tasks.

Current limits: Tested on a limited installation. Since AM-1, clones, fetches and pushes to different branches overlap inside the Workspace object. On the hosted demo, total throughput levels off near 2 writes/s per deployment; splitting writes per repository is next.

Provider reference ↗
Current slice

Containers

Runs approved tests and agent tasks in Linux containers. Each job starts from the selected source and an approved execution image.

Current limits: Supports selected workflows with restricted networking. Stock runners are a separate pipeline path. Isolation for arbitrary hostile code is not qualified.

Provider reference ↗
Current slice

Sandbox SDK files

Moves source into a container and reads generated files back out.

Current limits: Golf uses only the SDK’s file helpers with Containers. A general interactive Sandbox is not included.

Provider reference ↗
Current slice

Managed image registry

Stores runner images and images published by approved jobs. Golf records each image’s content hash, so the exact version is always known.

Current limits: Image scanning, trust policies and retention need more work. Provider credentials stay in Golf’s server-side service.

Provider reference ↗
Current slice

R2

Stores what work produces: test reports, agent output, preview files, screenshots, release downloads and discussion attachments.

Current limits: Releases allow 25 files and discussions 100, up to 256 KiB each. Replacing and deleting attachments is incomplete. Upload coverage is local tests only.

Provider reference ↗
Current slice

Queues

Holds check and proposal requests until the next stage can take them, and retries failed delivery within set limits.

Current limits: Email and webhooks don’t use this queue; their pending deliveries live in D1.

Provider reference ↗
Conditional

Queues dead-letter queue

Keeps messages that failed after repeated attempts, so an operator can see what went wrong.

Current limits: Optional, deployable with Alchemy. A real exhausted delivery wasn’t tested in the reviewed installation.

Provider reference ↗
Current slice

Workflows

Tracks a background job through permission checks, tests, report storage and preview creation, saving progress between steps.

Current limits: Configured step, time and concurrency limits apply. A Workflow can’t approve a merge or grant repository access.

Provider reference ↗
Current slice

Workers for Platforms

Runs a pull request’s Worker app as a temporary preview with its own hostname, database and file storage.

Current limits: Approved, prebuilt Worker apps only. Arbitrary builds, cookies, WebSockets and promotion to production still need work.

Provider reference ↗
Current slice

Access / Zero Trust

Controls who can reach Golf and its previews. People sign in with an email code; automated clients use service credentials.

Current limits: Signing in doesn’t grant repository access. A person also needs an active Golf account and repository permission.

Provider reference ↗
Current slice

DNS, custom domains and TLS

Gives Golf and preview apps their own HTTPS addresses. Email setup adds the records that verify the sending domain.

Current limits: Uses domains you already control. Onboarding customer-owned domains automatically is planned.

Provider reference ↗
Current slice

Secrets Store

Holds Cloudflare credentials and the keys Golf uses to sign requests and encrypt saved secrets. None of it reaches the browser.

Current limits: Key rotation needs more testing. Log masking catches exact secret text, not encoded or transformed values.

Provider reference ↗
Current slice

Workers AI

Runs optional AI next to the code: Clef advice, review drafts, proposed code changes and search embeddings.

Current limits: A person reviews all AI output. Hosted tests cover a review draft, Clef advice and a limited code proposal. Label and release-note drafts still need live testing.

Provider reference ↗
Current slice

AI Gateway

Sends every AI request through one authenticated gateway with privacy, rate and spend settings. The reviewed setup turns off prompt and response logging and caching.

Current limits: The example sets 60 requests a minute and $5 a day. Enforcement is untested, and it isn’t an account-wide spending cap.

Provider reference ↗
Conditional

Browser Run

Can screenshot a static preview, so reviewers see an image beside the test report.

Current limits: An earlier hosted test captured script-free HTML. Interactive browser testing is unverified; the version 44 inspection saved no captures.

Provider reference ↗
Conditional

Analytics Engine

Optionally samples job counts, durations, report sizes and AI token use, so operators can see activity.

Current limits: Configuration and local checks passed. Hosted collection and queries are unverified. These metrics don’t drive billing or quotas.

Provider reference ↗
Conditional

Workers Analytics API

Reads Cloudflare request and error statistics into the Operations dashboard with a separate read-only credential.

Current limits: Collection failed in the earlier inspection. The fix passed local tests; a successful hosted read is still unconfirmed.

Provider reference ↗
Conditional

Workers Logs / managed observability

Keeps provider logs beside Golf’s own activity records, so operators can trace Worker errors.

Current limits: Logs were on in the reviewed deployment; Logpush export was off. Wider tracing, export and retention still need work.

Provider reference ↗
Current slice

Cron Triggers

Schedules maintenance: retrying pending work and notifications, removing expired previews and checking health.

Current limits: The reviewed account didn’t receive scheduled events, and the cause is unresolved. Durable Object timers are the working fallback.

Provider reference ↗
Conditional

Workers rate limiting

Slows repeated anonymous source and clone requests. Counts are approximate, grouped by network and location.

Current limits: Signed-in users and runners are exempt. If the limiter fails, the request goes through, so this is not a strict security or spending limit.

Provider reference ↗
Current slice

Email Service sending

Sends repository notifications to subscribers at their verified sign-in address. Each message names the event and links back to Golf.

Current limits: The provider accepted a test message; inbox delivery wasn’t observed. Replies, bounce handling and unsubscribe links are unfinished.

Provider reference ↗
Current slice

Signed webhooks

Sends repository events to approved HTTPS services such as a team chat tool. A signature proves the sender.

Current limits: A Slack test was accepted. Broader receiver and retry testing is incomplete, and receivers must handle duplicate events.

Provider reference ↗
Current slice

Cloudflare CLI

Creates and checks the Cloudflare resources Golf needs. Alchemy describes the stack; the native cf setup path works too.

Current limits: Both deployment tools are beta. Keep deployment state private and confirm resource ownership before deleting an installation.

Provider reference ↗
Current slice

Vectorize search

Finds code by meaning, even when your question doesn’t use the words in the file. Workers AI creates the embeddings Vectorize searches.

Current limits: An initial hosted code search passed on eight files. Issue search, larger repositories and indexing limits need broader live testing.

Provider reference ↗
03 / RECORDED TESTS

What the hosted tests showed.

Recorded on 2026-10-14 against Worker version 44. These are historical results, not a live health feed or a public demo. Later results appear in the service cards above.

Services in that run

20 Cloudflare services were bound to the Worker during the recorded run.

Artifacts · D1 · R2 · Workers · SQLite Durable Objects · Containers · Managed image registry · Queues · Workflows · Workers for Platforms · Access · Custom domains and TLS · Secrets Store · Workers AI · AI Gateway · Browser Run · Analytics Engine · Rate limiting · Email Service · Managed observability

Working examples recorded

  • Clef pull request advice
  • A tested GLM 5.3 Flash code proposal
  • An email accepted by the provider
  • A container image published to the registry
  • A repository secret delivered to its approved job
  • Private previews
  • A merge within one repository with no target-branch divergence
  • Maintenance completed by a Durable Object timer

Still to test

  • Cron events were not arriving
  • Workers analytics collection failed in this inspection; a later local fix awaits hosted confirmation
  • Hosted Analytics Engine data collection was unverified
  • Browser Run was configured, but this installation had no saved screenshots

Complete feature support, disaster recovery and operation at large scale are unfinished.

04 / OPTIONAL AI

Advice, drafts and proposals. People decide.

Clef advises from pull request metadata. A review draft reads the diff and suggests comments privately. A code proposal makes an allowed change in its own Git copy and runs the tests before a person reviews it.

Request controls

AI Gateway authenticates every request and applies privacy and usage settings. The example turns off prompt logging and sets 60 requests a minute and $5 a day. Enforcement still needs testing.

Nothing publishes itself

Advice and drafts stay private until a person publishes them. A code proposal keeps its patch and test results for review.

Search by meaning / early

Ask “where are requests authenticated?” Workers AI creates the embeddings and Vectorize finds the code. An initial hosted search passed; larger indexes and issue search still need testing.

See it in your own account.

Click through the Cloudflare browser simulation, or follow the setup guide to deploy Golf to your account. It needs Workers Paid, Workers for Platforms, Artifacts (beta), Zero Trust and a domain you own.

Search Golf

34 pages and guides

Tab through results · Enter to open · Escape to close