{
 "schema_version": 1,
 "generated": "2026-10-19",
 "id": "feder-cr-git-ai--host-a-shared-repo-for-agent-fleet",
 "repo": "feder-cr/git-ai",
 "repo_url": "https://github.com/feder-cr/git-ai",
 "repo_slug": "feder-cr-git-ai",
 "title": "Stand up a shared server for a fleet of coding agents",
 "page_title": "How to stand up a shared server for a fleet of coding agents with git-ai",
 "summary": "Run your own gitai server so each agent gets its own token and lands onto shared branches.",
 "who": "Team lead whose parallel coding agents keep rebasing and retrying against one main branch",
 "problem": "A normal Git host makes every agent clone fully and fight over pushes, so throughput collapses as agent count grows.",
 "outcome": "You have a gitai server running from a config file, with agents landing on it through the graft CLI instead of pushing to a classic host.",
 "steps": [
  "Copy examples/graft/config.toml and adapt it to your paths",
  "Start the server with: _build/bin/gitaly serve config.toml",
  "Use the graft CLI (./_build/bin/graft) from each agent to clone and land",
  "Read doc/graft/AGENT-SECURITY.md for tokens and the RPC allowlist"
 ],
 "agent_prompt": "Using feder-cr/git-ai, adapt examples/graft/config.toml for a server at <data-dir> and start it with _build/bin/gitaly serve. Show how an agent clones and lands one change, and verify the server accepted it.",
 "agents": [
  "any"
 ],
 "difficulty": "Advanced",
 "time": "1 hour",
 "basis": "field",
 "caveat": "The README states version 0.2.0 and says interfaces may change before 1.0, so treat a real production repo with caution.",
 "category": "Software & DevOps",
 "tags": [
  "Software & DevOps"
 ],
 "lang": "go",
 "requirements": [
  "Linux or macOS",
  "Go 1.26, a C toolchain, Meson and Ninja (the build compiles a bundled Git)",
  "No paid keys needed; conflict resolution can use any LLM provider, a deterministic tool, or none",
  "SQLite or PostgreSQL plus object storage (file, S3, GCS, Azure) only if you move the repo state off local Git"
 ],
 "risk": "none",
 "seen_in_the_wild": true,
 "best": false,
 "score": 0.551,
 "evidence": [
  {
   "platform": "x",
   "url": "https://x.com/i/web/status/2112080627617202280",
   "posted": "2026-10-19"
  },
  {
   "platform": "x",
   "url": "https://x.com/i/web/status/2111828392513274064",
   "posted": "2026-10-18"
  }
 ],
 "url": "https://dedupedai.com/use-cases/feder-cr-git-ai/host-a-shared-repo-for-agent-fleet/",
 "md": "https://dedupedai.com/use-cases/feder-cr-git-ai/host-a-shared-repo-for-agent-fleet/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly."
}
