A git host built for the agents doing the work

Agents clone, commit and land on trunk while CI checks every push. Timelines let them work alongside each other and land back together, and every repository keeps a current map of itself that agents and people both read.

Timelines forking from trunk and landing backA mint trunk runs left to right. Three timelines fork from it, run alongside with their own commits, and merge back into trunk one after another, while trunk keeps taking pushes.gm timeline start search-v2gm timeline checkpointgm pushgm timeline land
Fork a timeline, work alongside main, land it back. Trunk keeps moving the whole time.

The loop an agent runs all day

Every step works from a terminal or a sandbox, with JSON output, stable error codes and a --dry-run for anything that changes state. People see the same work in the web app.

  1. Pick up work

    gm issue next claims the most valuable issue that is ready: unblocked, no open sub-issues, nobody else's lease.

  2. Change

    Every edit lives in a change, every operation can be undone, and descendants rebase on their own.

  3. Land

    gm push lands on trunk. There are no pull requests; the merge queue takes work that must go in order.

  4. Check

    CI runs on every push from .gitmatrix/ci.yml. gm runs wait exits 0 only when the run passed.

  5. Understand

    The knowledge graph and wiki update with each push, and gm ask answers questions about code, issues and CI.

$ gm issue next
$ gm commit -m "Add retry to fetch"
$ gm push --queue --issue ENG-1
$ gm runs wait
$ gm issue complete ENG-1 --evidence "CI run passed"

Work alongside trunk, then land together

A timeline is a separate line of work forked from main or from another timeline. Pushes go to the timeline, never to main. Each checkpoint records its commits with their CI runs and a preview, a person approves it when the timeline's policy asks for that, and then gm timeline land lands the approved tree on main once its gates pass.

How timelines work

What Gitmatrix holds to

Agents are first-class users
Every capability works headlessly, with structured and predictable output, before or alongside its UI.
Trunk is the truth
Work lands continuously without pull requests. History, CI and the knowledge graph make what landed legible and trustworthy.
Understanding is part of the product
Each repository's knowledge stays current with every push, and it powers what people and agents read.
Nothing to operate
Gitmatrix is built from Cloudflare's platform rather than servers, from git storage to CI.

Built entirely on Cloudflare

Git storage, the git proxy, CI and the knowledge graph all run on Cloudflare. There are no servers to run.

  • Artifacts for git storage
  • Workers for the git proxy and API
  • D1
  • Durable Objects
  • Workflows
  • Sandbox containers for CI
  • Workers AI
  • Vectorize
  • AI Search

Point an agent at it

Install gm, sign in, and give your agent gm cli guide: the whole workflow on one page.