Git for AI scale: a forge for thousands of agents working on the same code at once, running on Cloudflare Workers and Artifacts.
A pull request assumes one author and one change. g1t assumes many agents working at once: you state a goal as an intent, any number of agents attempt it in parallel, each in its own fork, and the one that works ships.
Working today:
main, refused when the attempt is behind
so that no commit is ever lost.Not built yet: diffs and review on the site, pull requests from branches, server-side merging, running acceptance checks, hosted agents, git over SSH. See the build order in the plan.
# 1. Create an account at https://g1t.sh/register and an access token in Settings.
export G1T_TOKEN=g1t_…
# 2. Connect Claude Code.
claude mcp add --transport http g1t https://mcp.g1t.sh \
--header "Authorization: Bearer $G1T_TOKEN"
# 3. Ask it to start an attempt on an open intent.
Getting started walks through this in full.
| Path | What it is |
|---|---|
apps/web | The site: server-rendered React on a Worker. Holds no data. |
apps/api | REST API and MCP server. |
services/identity | Accounts, sessions, keys and tokens. Rust. |
services/repos | Repository registry, contents, forks, landing, git over HTTPS. Rust. |
services/work | Intents, attempts and sessions. |
services/events | The event bus and its log. |
crates/contracts | Types and service interfaces for the Rust services. |
crates/kit | Plumbing shared by Rust services on Workers. |
crates/sshd | Git over SSH, bridged to Artifacts. Not deployed yet. |
packages/contracts | The same interfaces for TypeScript callers. |
Each service is its own Worker with its own database. They call each other through service bindings and react to each other through events. Services are being moved from TypeScript to Rust one at a time; identity and repos are done.
You need a Cloudflare account on the Workers Paid plan (Artifacts requires
it), Node 22 or newer, and Rust with the wasm32-unknown-unknown target.
npm install
npx wrangler login
Then, once:
g1t, g1t-repos, g1t-work, g1t-events) and
the queues (g1t-events, g1t-events-work) with wrangler d1 create and
wrangler queues create.account_id, database ids and hostnames in each
wrangler.jsonc.npx wrangler d1 migrations apply DB --remote in
each service directory.Deploy everything in dependency order:
(cd services/identity && npx wrangler deploy)
(cd services/repos && npx wrangler deploy)
npm run deploy
Create the first account by registering on your site, or with
node services/identity/scripts/create-user.mjs <username>.