AgentHub is an agent-native code change platform.
The core product is not repository hosting. The core product is a safe, resumable, and auditable control plane that lets software agents modify code inside explicit task workspaces.
Traditional Git platforms are centered on repositories, issues, and pull requests. AgentHub adds first-class primitives for agent work:
- Agent identity with scoped capabilities
- Task workspace as the unit of agent execution
- Branch leases and change provenance
- Human approval gates
- Execution sandbox and command audit
- Durable conversation, memory, and artifacts
- Code intelligence primitives exposed through MCP, CLI, and APIs
- Agent-aware review and checks
- Multi-agent collaboration and cross-repo change bundles
The source of truth remains Git, database records, logs, and artifacts. Semantic summaries and memory help agents navigate the system, but they must always link back to verifiable sources.
AgentHub should be implemented in Go.
The backend should use clear package boundaries:
cmd/: service entrypointsinternal/domain/: core entities, value objects, policies, and invariantsinternal/application/: use cases and portsinternal/service/: business services that coordinate domain behaviorinternal/infra/: concrete adapters for Git, AST parsing, database, queues, sandboxes, storage, and external APIsinternal/interfaces/: HTTP, gRPC, MCP, CLI, webhook, and worker handlersinternal/utils/: small shared utilities with strict dependency rules
See: