Coregit — serverless Git API for AI agents. Atomic multi-file commits, instant forks, time-travel snapshots. 3.6× faster than GitHub.
New3.6x faster than GitHub — ROI benchmarks published

Store & version
your AI agent's
code

Coregit gives your AI agents a versioned filesystem. Atomic commits, instant forks, time-travel snapshots — one REST API, built on git. No lock-in, no infra to manage.

No lock-in. git clone your data anytime, run anywhere.

Trusted by startups

“Never felt this easy to use versioning at scale. Fast setup and easy to use.”

Sameer

Prettiflow

“While working with Prettiflow, we needed infrastructure that could handle agent-driven commits at scale. Coregit fit perfectly. Managing multiple changes in a single flow became seamless, making our entire workflow faster and more reliable.”

Shyam

Prettiflow

“The quality and speed is peak. Really polished to every detail.”

Amit Dey

CEO, Prettiflow

Prettiflow logo — Coregit customerPrettiflow

Product

One API for everything
your agent needs.

Response200 OK
response.json

Benchmarks

Built for fleets of agent repositories.

Per-repository throughput, per-repository isolation, per-repository storage. Tested against major Git hosting providers on 100-file atomic commits — and engineered to scale across thousands of repos per organization.

3.6x

Faster

100-file commit: 19.8s vs 72.1s

394x

More write throughput

15,000 commits/hr vs 38

1 call

vs 105 API calls

Atomic multi-file commit

GitHub API (100 files)72,064 ms / 105 calls
Coregit (100 files)19,769 ms / 1 call
View full benchmark methodology

Numbers

Coregit by the numbers.

1000
files per atomic commitOne API call. GitHub: one file per call.
15,000
API requests per hourGitHub authenticated: 5,000. GitHub search: 500.
3.6×
faster than GitHubMedian throughput on April 2026 benchmarks.
19.8s
for a 100-file commitGitHub takes 72 seconds and 105 sequential API calls.
0
infrastructure to runServerless on Cloudflare. AGPL-3.0 if you want to self-host.

Features

The most advanced filesystem
for AI at scale.

Infrastructure

Stop managing servers.

Running Gitea or GitLab yourself means Docker, backups, SSL, disk monitoring, and zero AI features. Coregit gives you all of that as API calls.

No servers to manage.

Serverless at the edge. No Docker, no Kubernetes, no VMs, no disk provisioning. We handle deployments, scaling, and uptime — you call the API.

Semantic search built-in.

Embeddings, vector retrieval, and a Tree-sitter code graph — first-class. Search by meaning, not just keywords. No Elasticsearch, no plugins — it's part of the API.

$0 when idle.

Self-hosted Gitea on a $50/mo VPS costs $50 even with zero repos. Coregit costs $0 until your agents start committing. Scale to thousands without capacity planning.

Encrypted, isolated, audited.

AES-256 at rest, TLS 1.3 in transit. Per-org isolation — separate storage paths, scoped keys, SHA-256 hashed credentials. Immutable audit log for every write.

Open source

Transparent, auditable,
and ridiculously fast

AGPL-3.0 licensed. Read every line, self-host, or use our cloud.

coregit-inc/coregit-apiPublic

Code you can trust

Developed transparently. AGPL-3.0 licensed. Self-host or use our managed cloud.

Check out our repo

Blazingly fast. 3.6x faster than GitHub at 100 files. 5-layer edge caching. 2ms writes with Sessions.

See benchmarks

Pricing

Start free. Scale with usage.

No commitments. No seat licenses. Pay for what your agents actually use.

Free

For prototyping and side projects

$0

Free forever

Get started
5 repositories
1 GB storage
10,000 API calls / month
5 GB Git transfer / month
REST API + Git Smart HTTP
Community support

Usage

Pay only for what you use

Pay-as-you-go

See breakdown below

Get API key

Everything in Free, plus:

Unlimited repositories
$0.10 / GB storage / month
$0.50 / 1,000 API calls
$0.10 / GB Git transfer
Snapshots & restore points
Org management & RBAC
Scoped API keys with rate limits
Usage dashboard & alerts

Enterprise

For teams at scale

Custom

Volume discounts available

Contact us

Everything in Usage, plus:

Volume pricing
SSO / SAML
Dedicated support & SLA
Webhooks for push & lifecycle events
Custom rate limits
Spending caps per org

FAQ

Common questions

What is the best Git API for AI agents?
Coregit is purpose-built for AI agents: a serverless Git API with atomic multi-file commits up to 1000 files in a single call, 15,000 requests per hour, and 3.6× higher throughput than GitHub on the same workload. Standard Git Smart HTTP works for clone and push, while the REST API exposes commits, snapshots, branching and semantic search.
What is a serverless Git API?
A serverless Git API is a hosted Git backend you call over HTTPS without running git, ssh keys, runners or self-hosted servers. Coregit accepts atomic multi-file commits, branches, diffs and clones via REST and Git Smart HTTP. There is nothing to deploy — agents send JSON, Coregit persists immutable Git objects on Cloudflare R2.
How is Coregit different from GitHub for AI agents?
GitHub caps multi-file commits at ~38 per hour. Coregit handles 15,000 through the same endpoint. A 100-file commit on GitHub takes 105 sequential API calls and 72 seconds; on Coregit it is 1 call and 19.8 seconds. GitHub's Terms of Service also explicitly warn against reselling programmatic access — Coregit is licensed for agent-driven workloads.
Why are GitHub rate limits a problem for AI agents?
Authenticated GitHub clients get 5,000 requests per hour and 500 search calls per hour. A single coding agent producing a 100-file change can exhaust 100+ contents API calls in seconds. Once throttled, the agent stalls for the full reset window. Coregit's 15,000 req/hr ceiling and 1000-file atomic commit collapse that into one request.
Can ChatGPT, Claude or Cursor write commits via the Coregit API?
Yes. Any HTTP-capable client works: ChatGPT with custom GPT actions, Claude with tool use, Cursor with MCP, OpenAI Assistants, LangChain, Mastra, Vercel AI SDK. Use the @coregit/sdk TypeScript package or plain fetch with an API key. A commit is one POST with a list of {path, content} entries.
Do I need this if I'm already using a sandbox?
Yes. A sandbox gives your agent compute — Coregit gives it memory. When the sandbox dies, Coregit keeps every commit. You can fork a repo per session so parallel agents never conflict, roll back any run in one API call, and give humans a diff to review before changes go live. Compute is ephemeral. Your files shouldn't be.
Can Coregit store agent memory and knowledge bases?
Yes. Coregit's LLM Wiki API turns repositories into versioned, AI-synthesised knowledge bases: upload documents, agents extract entities, concepts and decisions into a knowledge graph, every edit is a Git commit. Use it for long-term agent memory, research notes, project wikis or compliance-grade audit trails.
Is Coregit only for code?
No. Code, markdown docs, JSON configs, images, PDFs, research notes, knowledge bases, spreadsheets — any file type your agent produces. Coregit stores binary and text files identically. If your agent writes it, Coregit versions it.
Can't I just write agent output to S3?
S3 has no branching, no commit history, and no protection against concurrent write conflicts. Two agents writing to the same key at the same time will silently overwrite each other. Coregit gives you atomic commits, instant forks, full diff and merge, and a queryable history — built on git, so you can clone your data out anytime.
Can I use standard git clone, push and pull?
Yes. Every Coregit repo is accessible via Git Smart HTTP. Use any standard Git client to clone, push, and pull. API keys authenticate via HTTP Basic auth. Your data is portable — git clone any repo and run anywhere.
Do I need the git CLI to use Coregit?
No. The entire API is HTTP-based. Use curl, fetch or any HTTP client. We also publish an official TypeScript SDK, @coregit/sdk, for typed access to every endpoint. Git CLI compatibility is provided as a fallback, not a requirement.
How does Coregit protect my data?
All data is encrypted at rest (AES-256) and in transit (TLS 1.3). API keys are stored as SHA-256 hashes with timing-safe comparison. Every organization's data is fully isolated — separate storage paths, scoped database queries, org-bound API keys. All write operations are recorded in an immutable audit log. Read our security documentation →
Is Coregit open source?
Yes. The hosted service is built on the open-source Coregit Git engine, available under AGPL-3.0 at github.com/coregit-inc/coregit-api. Self-host on Cloudflare Workers with your own R2 and Durable Objects, or use the managed cloud at app.coregit.dev for production-grade SLA, snapshots and dashboards.
How is Coregit priced?
Free forever for prototypes: 5 repos, 1 GB storage, 10K API calls per month and 5 GB Git transfer. Beyond that, pay-as-you-go: $0.10 per GB stored per month, $0.50 per 1,000 API calls, $0.10 per GB Git transfer. No seat licenses, no commitments. Enterprise plans add SSO, dedicated support and volume discounts.

Start shipping with Coregit.

Free tier. No credit card. Get your API key in 30 seconds.