Small, self-contained components for running coding agents. Each component is a single Go program with its own container image. Each one works by itself: under Docker or Podman, in Kubernetes, or as a plain process.
| Component | What it does |
|---|---|
| hive-gateway | Reverse proxy for inference APIs. It holds the provider credentials and adds them to requests. |
| hive-agent | Runs claude -p, codex exec or pi -p on a timer, on HTTP triggers, or both; or once. |
| hive-broker | Hands agents short-lived GitHub App installation tokens for gh and git. |
examples/compose runs hive-agent and hive-gateway together with Docker Compose or Podman.
Each push to main publishes every image for linux/amd64 and linux/arm64:
ghcr.io/formalcommons/hive-gateway,
ghcr.io/formalcommons/hive-agent and
ghcr.io/formalcommons/hive-broker. The tag latest follows main, and
sha- plus the first seven characters of a commit hash names the build of
that commit. A version tag such as v1.2.3 publishes 1.2.3.
go vet ./...
go test ./...
docker build -f gateway/Dockerfile -t hive-gateway .
docker build -f agent/Dockerfile -t hive-agent .
docker build -f broker/Dockerfile -t hive-broker .The code depends only on the Go standard library.