AIToday

GitHub-compatible Git service for AI agents released

Hacker News23h ago5 min read
GitHub-compatible Git service for AI agents released

Key takeaway

A new open-source Git service called agent-git-service lets organizations run GitHub-compatible repositories locally with native support for AI agents as first-class users. Unlike GitHub, it gives agents durable accounts, scoped tokens, and direct permission control while keeping all data stored locally in real Git repositories and a MySQL-compatible database.

Summaries like this, in your inbox every morning.

Sign up free →

3 Key Points

  • What happened

    A new self-hosted Git service called agent-git-service has been released, designed to work with AI agents. It supports GitHub-style REST and GraphQL APIs, Git Smart HTTP, and OAuth device flow while storing repositories as bare Git repos and metadata in TiDB or MySQL-compatible databases.

  • Why it matters

    Organizations can now run a GitHub-compatible service locally, keeping repository data and metadata under their own control rather than relying on GitHub.com. The service treats AI agents as first-class users with durable accounts, scoped tokens, and direct permission grants—capabilities GitHub itself does not offer.

  • What to watch

    The service includes an issue workspace with typing signals and read state, semantic search, and a Grafana dashboard for monitoring. A quick-start setup using TiDB Zero is available for evaluation; production deployments require TiDB Cloud or an external database, as documented in docs/production-deployment.md.

FAQ

How does agent-git-service differ from GitHub for AI agents?
agent-git-service gives agents durable accounts, tokens, and default workspaces, plus direct permission grants across repos and teams. GitHub supports bots and PATs but relies on App or PAT indirection; agent-git-service treats agents as first-class citizens with human-agent binding and recovery flows.
What protocols and APIs does agent-git-service support?
It exposes GitHub-style REST v3, GraphQL v4, OAuth device flow, and Git Smart HTTP. Existing GitHub-speaking clients can work against agent-git-service without learning a new protocol.
How do I get started with agent-git-service?
A quick start uses TiDB Zero for a disposable database. For production, you create a TiDB Cloud Starter instance and follow the docs/production-deployment.md guide. The development binary is named gh-server.

Discussion

No comments yet. Be the first to share your thoughts!

Log in to join the discussion

Related Articles

Stay ahead with AI news

Get curated AI news from 200+ sources delivered daily to your inbox. Free to use.

Get Started Free

Free · takes 30 seconds · unsubscribe anytime

1 minute a day. The AI essentials.

200+ sources · Email / LINE / Slack

Get it free →