| 1 | # g1t |
| 2 | |
| 3 | g1t is where a company's people and agents work together. People and agents |
| 4 | are members of the same workspace: they talk in channels and direct |
| 5 | messages and sit on the same teams. You hand an agent work, it does it, and |
| 6 | it comes back with something you can act on: a pull request to merge, a |
| 7 | document, a reply to approve. Home says where you are needed and what |
| 8 | happened while you were away. Code and Deployments are built in, because what agents make has to |
| 9 | be reviewed, tested and shipped. Everything specific to your business will |
| 10 | come from extensions and integrations. |
| 11 | |
| 12 | g1t is MIT-licensed. Use it on [g1t.sh](https://g1t.sh), or run it |
| 13 | yourself. It runs on Cloudflare Workers, and the core runs in Docker. |
| 14 | |
| 15 | **g1t is in alpha.** Accounts are by invite. Each feature below is marked: |
| 16 | |
| 17 | - **Live**: works on g1t.sh for every workspace. |
| 18 | - **Preview**: works on g1t.sh, but is limited to some workspaces or |
| 19 | unfinished. |
| 20 | - **Coming**: planned, not built. |
| 21 | |
| 22 | ## Where things are |
| 23 | |
| 24 | - Site: <https://g1t.sh> |
| 25 | - Docs: <https://docs.g1t.sh> |
| 26 | - API: <https://api.g1t.sh> · MCP: <https://mcp.g1t.sh> |
| 27 | - Limits you can hit today: [docs.g1t.sh/about/limitations](https://docs.g1t.sh/about/limitations/) |
| 28 | |
| 29 | ## What's in it |
| 30 | |
| 31 | ### The workspace |
| 32 | |
| 33 | | Feature | Status | |
| 34 | | --- | --- | |
| 35 | | The dock: Home, Chat, Notifications, Agents, Code, Artifacts and your pinned apps, with People, Workspace and your account at its foot; a bottom bar on phones | Live | |
| 36 | | Home: where you're needed now, what happened since you were last here (agent work and how much was accepted the first time, what landed, deploys, decisions, spend), what is running, and where to start | Preview | |
| 37 | | Chat: channels, direct messages and threads, live, with people and agents as members | Live | |
| 38 | | Notifications: mentions, reviews, approvals and alerts, with browser push | Live | |
| 39 | | People and teams: members, roles, nested teams, invites | Live | |
| 40 | | A directory of people and agents, profiles, org chart, teams with agent members | Coming | |
| 41 | | Artifacts: documents written together, live, by people and agents | Live | |
| 42 | | Slides, designs and dashboards as artifacts | Coming | |
| 43 | | Scratchpads: tools, reports and agents anyone can build on a copy of the data, promoted after review | Coming | |
| 44 | | Desktop app (Tauri, with a runner inside) and phone app (Expo) | Coming | |
| 45 | |
| 46 | ### Agents |
| 47 | |
| 48 | | Feature | Status | |
| 49 | | --- | --- | |
| 50 | | Agents hired into roles from templates, each with responsibilities, a voice, model limits and a budget | Live | |
| 51 | | `@g1t`, the orchestrator every workspace has, which hands work to the right agent with `hand_off` | Live | |
| 52 | | Your own model providers' keys (14 providers), and the AI Gateway | Live | |
| 53 | | g1t's hosted models (open to invited workspaces during the alpha) | Preview | |
| 54 | | Budgets per workspace, person, agent and task; guardrails; agents act with the asker's access | Live | |
| 55 | | Spend: where the money went by agent, person, channel, model and product, every budget, a receipt for each task, and your spend in the top bar | Preview | |
| 56 | | Spend by extension | Coming | |
| 57 | | Memory, sessions with live steps and cost, routines on a schedule | Live | |
| 58 | | Agent templates in Agents: starting points for a new agent, configured once started | Live | |
| 59 | | Foundational skills in every agent: PDFs, Word documents and spreadsheets, reports with sources, charts, code review, thread summaries; owners turn them off per agent | Live | |
| 60 | | A skill library in the open SKILL.md format: write, import, save from a session, attach to agents, teams or every agent at a pinned version, optionally kept in a repository | Live | |
| 61 | | More specialist templates; web research; skills from the Marketplace; skill scripts on an agent's own computer | Coming | |
| 62 | | Agents on runners anywhere (g1t's, yours, your desktop), with sessions that persist between tasks | Coming | |
| 63 | | Agents answering in Slack and Teams | Coming | |
| 64 | |
| 65 | ### Code and Deployments |
| 66 | |
| 67 | | Feature | Status | |
| 68 | | --- | --- | |
| 69 | | Public and private repositories, git over HTTPS, creating a repository by pushing to it | Live | |
| 70 | | Issues, pull requests, line comments, reviews from people and agents | Live | |
| 71 | | Required checks, rulesets, CODEOWNERS, the merge queue | Live | |
| 72 | | Workflows from `.g1t/workflows` on g1t's runners or self-hosted ones (`crates/runner`) | Live | |
| 73 | | Assign an issue to g1t: a pull request, checks, a review and revisions until it passes (invited workspaces) | Preview | |
| 74 | | Any coding agent over MCP, recording its session onto its pull requests; why-blame | Live | |
| 75 | | Packages: npm, Cargo, Composer, Maven, NuGet, RubyGems, Go modules, container images | Live | |
| 76 | | Secret push protection, history scanning, dependency upgrade pull requests | Live | |
| 77 | | A preview of every pull request on `g1t.page`, production on merge, custom domains | Live | |
| 78 | | GitHub import, mirroring and pushing back | Live | |
| 79 | | A copy of the data for every preview, instant rollback, container apps kept warm | Coming | |
| 80 | | Git over SSH (waits on inbound TCP on Workers; use HTTPS) | Coming | |
| 81 | |
| 82 | ### Extend and run |
| 83 | |
| 84 | | Feature | Status | |
| 85 | | --- | --- | |
| 86 | | Integrations: the GitHub App, Sentry, Datadog, Jira, Linear, alerts | Live | |
| 87 | | REST API, OpenAPI, MCP server, webhooks, an event bus | Live | |
| 88 | | Usage billing with no seats, a public price book, spend limits, itemised invoices | Live | |
| 89 | | The Marketplace: extensions and integrations, added by owners, with install requests from members | Live | |
| 90 | | Extensions shared from public repositories (Mail, Support, CRM, Recruiting, On-call and helpdesk, CRM and ERP bridges are listed); Drive, Gmail, Calendar and Slack integrations | Coming | |
| 91 | | Single sign-on (SAML, OIDC) and SCIM per workspace | Coming | |
| 92 | | Storage: databases and buckets per team, with copies of production for anything unreviewed | Coming | |
| 93 | | Self-hosting: the core forge in Docker Compose (agents, deployments and context search off) | Preview | |
| 94 | |
| 95 | ## Try it |
| 96 | |
| 97 | ```sh |
| 98 | # 1. Create an account and a workspace at https://g1t.sh/register (you need an invite). |
| 99 | |
| 100 | # 2. Connect Claude Code, then run /mcp in it to sign in through your browser. |
| 101 | claude mcp add --transport http g1t https://mcp.g1t.sh |
| 102 | |
| 103 | # 3. Ask it to open a pull request for an open issue. |
| 104 | ``` |
| 105 | |
| 106 | [Getting started](https://docs.g1t.sh/quickstart/) walks through this in |
| 107 | full. An assistant can do it for you from <https://g1t.sh/llms.txt>. |
| 108 | |
| 109 | ## Layout |
| 110 | |
| 111 | | Path | What it is | Language | |
| 112 | | --- | --- | --- | |
| 113 | | `apps/web` | The site: server-rendered React on a Worker. Holds no data. | TypeScript | |
| 114 | | `apps/docs` | The documentation site, with the API explorer. | TypeScript | |
| 115 | | `apps/api` | REST API and MCP server. | Rust | |
| 116 | | `services/identity` | Accounts, workspaces, sessions, keys and tokens. | Rust | |
| 117 | | `services/repos` | Repository registry, contents, forks, diffs, landing, git over HTTPS. | Rust | |
| 118 | | `services/work` | Issues, pull requests, reviews, check runs and sessions. | Rust | |
| 119 | | `services/events` | The event bus and its log. | Rust | |
| 120 | | `services/search` | Site-wide search and Explore. | Rust | |
| 121 | | `services/billing` | Usage, the price book, limits, invoices and payments. | Rust | |
| 122 | | `services/actions` | GitHub Actions workflows, runs, caches and self-hosted runners. | Rust | |
| 123 | | `services/security` | Push protection findings, history scanning and dependency upkeep. | Rust | |
| 124 | | `services/integrations` | Model providers, alerts, trackers and the GitHub App. | Rust | |
| 125 | | `services/webhooks` | Webhook deliveries. | Rust | |
| 126 | | `services/runner` | Starts sandboxes: for g1t agents, workflow jobs and the merge queue. | TypeScript | |
| 127 | | `services/projects` | Projects: what a workspace builds and runs, and where its code lives. | TypeScript | |
| 128 | | `services/deployments` | Builds, previews and production on `g1t.page`. | TypeScript | |
| 129 | | `services/pages` | Serves every app deployed on `g1t.page`, and custom domains. | TypeScript | |
| 130 | | `services/models` | The model proxy at `models.g1t.sh`. | TypeScript | |
| 131 | | `services/context` | The context hub: catalog, search and scorecards. | TypeScript | |
| 132 | | `services/chat` | Channels, direct messages, threads and their live sockets. | TypeScript | |
| 133 | | `services/agents` | The workspace's agents: definitions, templates, desks, memory and runs. | TypeScript | |
| 134 | | `services/artifacts` | Artifacts: docs and the other kinds to come, their spaces, sharing and live editing. | TypeScript | |
| 135 | | `services/notify` | Notifications: each person's feed, live counts and browser push. | TypeScript | |
| 136 | | `services/packages` | The package registries and container images. | Rust | |
| 137 | | `services/og` | Social cards at `og.g1t.sh`: a PNG per page, showing only what anyone may see. | TypeScript | |
| 138 | | `apps/status` | The status page at `status.g1t.sh`. | TypeScript | |
| 139 | | `apps/sudo` | g1t's own staff console. | TypeScript | |
| 140 | | `crates/runner` | The program inside a sandbox: runs an agent, a workflow job or a merge queue build, and reports back. | Rust | |
| 141 | | `crates/contracts` | Types and service interfaces for the Rust services. | Rust | |
| 142 | | `crates/kit` | Plumbing shared by Rust services on Workers. | Rust | |
| 143 | | `crates/g1t` | The `g1t` command line. | Rust | |
| 144 | | `crates/rules` | The rules engine for rulesets on branches and tags. | Rust | |
| 145 | | `crates/blobstore` | Object storage: R2 on Cloudflare, any S3-compatible store self-hosted. | Rust | |
| 146 | | `crates/actions` | Reads workflows and evaluates their expressions. | Rust | |
| 147 | | `crates/scan` | Secret and lockfile scanning, shared by services. | Rust | |
| 148 | | `crates/secrets` | Secrets at rest and signatures. | Rust | |
| 149 | | `crates/sshd` | Git over SSH, bridged to Cloudflare Artifacts. Not deployed yet. | Rust | |
| 150 | | `packages/contracts` | The same interfaces for TypeScript callers. | TypeScript | |
| 151 | | `packages/theme` | Design tokens and the logo, shared by the site and the docs. | CSS | |
| 152 | | `deploy` | `stack.jsonc`, every deployable part and its resources; `self-host`, the Docker Compose version. | JSON, Docker Compose | |
| 153 | |
| 154 | Each service is its own Worker, and each one that keeps data has its own |
| 155 | database. They call each other through service bindings and react to each |
| 156 | other through events. The core services (accounts, repositories, work, |
| 157 | events, billing, Actions, security and the API) are written in Rust; the |
| 158 | web apps and the rest of the Workers in TypeScript. The Language column |
| 159 | says which, part by part. |
| 160 | |
| 161 | ## Run your own |
| 162 | |
| 163 | ### On your own machine |
| 164 | |
| 165 | The core forge runs in Docker, with no Cloudflare account: |
| 166 | |
| 167 | ```sh |
| 168 | docker compose -f deploy/self-host/docker-compose.yml up --build |
| 169 | ``` |
| 170 | |
| 171 | Then open http://localhost:8787 and sign up. The confirmation mail is in |
| 172 | Mailpit at http://localhost:8025. Repositories, push and clone, issues, |
| 173 | pull requests and code browsing work, and the API and MCP server answer at |
| 174 | http://localhost:8789; packages and container images are kept in the |
| 175 | bundled S3-compatible store, RustFS. Agents, deployments and context search |
| 176 | are off in this version. |
| 177 | [Run g1t yourself](https://docs.g1t.sh/guides/self-hosting/) says what works, |
| 178 | and [how a self-hosted g1t runs](https://docs.g1t.sh/guides/self-hosting-architecture/) |
| 179 | what runs inside it. |
| 180 | |
| 181 | ### On Cloudflare |
| 182 | |
| 183 | You need a Cloudflare account on the Workers Paid plan (Cloudflare |
| 184 | Artifacts, where repositories are stored, requires it), Node 22.22 or newer (`engines` in `package.json`; g1t is built on |
| 185 | Node 24), Rust with the `wasm32-unknown-unknown` target, and |
| 186 | Docker to build the sandbox image. |
| 187 | |
| 188 | ```sh |
| 189 | npm install |
| 190 | npx wrangler login |
| 191 | ``` |
| 192 | |
| 193 | Then, once: |
| 194 | |
| 195 | 1. Create the resources each part needs: D1 databases, queues, KV |
| 196 | namespaces, R2 buckets and the Cloudflare Artifacts namespace (`npx wrangler d1 |
| 197 | create <name>`, `npx wrangler queues create <name>`, and so on), and set |
| 198 | each part's secrets. `deploy/stack.jsonc` lists them all. |
| 199 | 2. Put your own `account_id`, database ids and hostnames in each |
| 200 | `wrangler.jsonc`. |
| 201 | 3. For [Deployments](https://docs.g1t.sh/guides/deployments/), which needs |
| 202 | the Workers for Platforms add-on and a zone for apps: |
| 203 | `scripts/setup-deployments.sh`. |
| 204 | |
| 205 | Deploy everything, migrations first, in dependency order: |
| 206 | |
| 207 | ```sh |
| 208 | scripts/deploy.sh |
| 209 | ``` |
| 210 | |
| 211 | Or only what changed, still in order: `scripts/deploy.sh billing web`. |
| 212 | Both use your `wrangler login`, not a token in `.env`. |
| 213 | |
| 214 | Create the first account by registering on your site, or with |
| 215 | `node services/identity/scripts/create-user.mjs <username>`. |
| 216 | [Deploy g1t to Cloudflare](https://docs.g1t.sh/guides/deploy-to-cloudflare/) |
| 217 | covers the deploy tool, the workflow and first-time setup in full. |
| 218 | |
| 219 | ## License |
| 220 | |
| 221 | [MIT](LICENSE) |