Skip to main content
Mesa is a programmatic Git hosting platform built for AI agents, automation, and CI/CD pipelines. It gives you real Git repositories with fast APIs for creating commits, managing branches, and reading files without the overhead of cloning or maintaining your own Git infrastructure.

What it is

Mesa provides managed Git repositories that you can control through SDKs, HTTP APIs, or standard Git clients. It is designed for high-throughput, machine-driven workflows where you need reliable versioning, low-latency reads and writes, and easy scaling across many repos.

How it works

Use the Mesa SDK to create a repo and commit files in one call. Mesa handles Git object storage, refs, and history behind the scenes.
import { Mesa } from "@mesadev/sdk";

const mesa = new Mesa({
  apiKey: process.env.MESA_API_KEY,
});

await mesa.repos.create({
  org: "acme",
  body: { name: "agent-workspace" },
});

await mesa.commits.create({
  org: "acme",
  repo: "agent-workspace",
  body: {
    branch: "main",
    message: "Initial commit",
    author: { name: "Mesa Bot", email: "[email protected]" },
    edits: [
      {
        path: "README.md",
        action: "create",
        content: "# Agent Workspace\n",
      },
    ],
  },
});

Use cases

  • AI code generation and agent workspaces
  • CI/CD automation that needs programmatic Git writes
  • Configuration or schema versioning without full clones
  • Multi-tenant platforms that create repos per customer or project

Benefits over traditional Git hosting

  • Programmatic commits and file edits without local clones or Git CLIs
  • Designed for high-volume automated workflows and large repo counts
  • Standard Git compatibility when you need to clone or push
  • Fine-grained API tokens for precise access control