infrabroker (formerly ssh-broker) is an infrastructure access proxy for AI agents, covering SSH and Kubernetes, and runs in a self-hosted manner. Its core purpose is to let agents perform remote operations without touching any long-lived credentials: in a single operation, an independent signer issues a temporary, scoped SSH certificate or a short-lived bound ServiceAccount token, and only returns the output to the caller.
Main capabilities: issue temporary SSH certificates from its own CA, or generate short-lived bound ServiceAccount tokens using the TokenRequest API; certificates carry a TTL, source address (proxy or bastion IP), and a one-time force-command, and become invalid once they leave the host, time, or IP. On the Kubernetes side, deny by default, configure policies by verb/resource/namespace, and share the dry-run, approval, and audit paths with SSH. Supports allow_sudo and allowed_sudo_users, controlling privilege escalation on the signer side; CA keys can be partitioned by host group and stored in Azure Key Vault or ssh-agent (YubiKey PIV / SoftHSM / TPM), with private keys never leaving the HSM. Audit logs are append-only Ed25519 chained records, correlated between the signer, proxy, and sshd via serial.
Usage: a single infrabroker binary exposes the same engine and tool surface through subcommands. Locally, MCP stdio is recommended: infrabroker serve-mcp, with tools including ssh_execute, ssh_session_open/ssh_session_exec/ssh_session_close, ssh_list_servers, ssh_put_file/ssh_get_file, and after configuring a cluster also k8s_get, k8s_list, k8s_logs, k8s_apply, k8s_delete, k8s_list_clusters. For remote multi-user use, infrabroker serve-mcp-http (Streamable HTTP), with clients using an OIDC bearer token for authentication, and user identity and group information passed to the signer to implement per-user RBAC. For network proxying, infrabroker serve-http can be used, with POST /v1/ssh_run for one-time execution, using client certificate mTLS authentication. Installation methods include precompiled release binaries, go install github.com/luisgf/infrabroker/cmd/infrabroker@latest, the container image ghcr.io/luisgf/infrabroker, and building from source; to demo the container stack, run cd examples/compose && docker compose up --build -d.
Use cases: teams that want to let AI agents access servers and clusters via MCP while also needing temporary credentials, an independent signer, command approval, and an auditable trail; remote multi-user and OIDC scenarios. Limitations and positioning: the project states that its non-goals include mode=exec sessions being prechecked only on the proxy side rather than enforced on the host, no KRL, and keys being logged as-is; see THREAT_MODEL.md for the full threat model. Enterprise-grade features (Web UI, multi-region HA) are still on the roadmap. The above information comes from public documentation; other details are not yet provided.