Artifacts: versioned filesystem with Git access (private beta)
Key Points
- Private beta
- Git-compatible versioned filesystem
- Workers, REST API, Git protocol
Summary
Artifacts is now available in private beta. It provides a Git-compatible, scalable versioned filesystem for storing and exchanging file trees across Cloudflare Workers, the REST API, and any Git client. Artifacts supports creating tens of millions of repositories (for example, per agent or per branch), forking from remotes, and handing agents a Git URL to interact with a repo.
Key Points
- Private beta: invite-only access with documentation and onboarding.
- Git-compatible versioned filesystem that stores file trees and scales to tens of millions of repos.
- Three API surfaces:
- Workers bindings: create and manage repos from Workers.
- REST API: create and manage repos from any platform.
- Git protocol (smart HTTP): interact with repos using standard Git clients.
- Quick examples:
- Workers (TypeScript):
const created = await env.PROD_ARTIFACTS.create("agent-007"); const remote = (await created.repo.info())?.remote; - REST (curl):
POST https://artifacts.cloudflare.net/v1/api/namespaces/:namespace/reposwith JSON{"name":"agent-007"}and an API token. - Git CLI:
git clone https://x:${REPO_TOKEN}@artifacts.cloudflare.net/some-namespace/agent-007.git
- Workers (TypeScript):
- Typical uses: per-agent or per-upstream-branch repositories, agent workflows, and handing off repository URLs to external tooling.