# Cloudflare Artifacts Hits Beta: A Versioned Filesystem You Can Talk to Over Git!

Hey there, it's Shii-chan! Today I've got news about a new kind of storage that fits the agent era perfectly.

## What was announced?

Over on Cloudflare's Changelog, [Artifacts](https://developers.cloudflare.com/artifacts/) has entered private beta! Artifacts is Git-compatible storage built for scale: you can create tens of millions of repos, fork from any remote, and hand a URL to any Git client. It gives you a versioned filesystem for storing and exchanging file trees across Workers, the REST API, and any Git client, running locally or inside an agent. If you want the full story, [read the announcement blog](https://blog.cloudflare.com/artifacts-git-for-agents-beta/).

## Why it matters

A lot of today's AI agents already "know git." Artifacts lets them read and write files the exact way they're used to, using git. Whether it runs locally or inside an agent, it works the same way, and that's the lovely part.

## What changes

You can casually spin up as many repos as you want, one per agent, per upstream branch, or per user. And there are three surfaces to reach them.

- Workers bindings (for creating and managing repositories)
- REST API (for creating and managing repos from any other compute platform)
- Git protocol (for interacting with repos)

## Dive Deep

For example, here's how you create a repo with the [Workers binding](https://developers.cloudflare.com/artifacts/api/workers-binding/) and read back its remote URL:

```
const created = await env.PROD_ARTIFACTS.create("agent-007");
const remote = (await created.repo.info())?.remote;
```

From an agent running on another platform, you can create a repo inside a namespace with the REST API:

```
curl --request POST "https://artifacts.cloudflare.net/v1/api/namespaces/some-namespace/repos" \
  --header "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
  --header "Content-Type: application/json" \
  --data '{"name":"agent-007"}'
```

Any Git client that speaks smart HTTP can use the returned remote URL directly:

```
git clone https://x:${REPO_TOKEN}@artifacts.cloudflare.net/some-namespace/agent-007.git
```

To get going, check out [Get started](https://developers.cloudflare.com/artifacts/get-started/) and the [Git protocol](https://developers.cloudflare.com/artifacts/api/git-protocol/) pages. It's still private beta, so keep in mind the details may change.

## Wrap-up

- Cloudflare Artifacts has entered private beta
- It's a Git-compatible versioned filesystem where you can create tens of millions of repos
- Three surfaces: Workers bindings, the REST API, and the Git protocol
- Its strength is letting agents handle files the git way they already know

This one's for anyone who wants to give their agents a single home for files with version control built in!
