Kodema is an open-source software factory for engineering organizations, with the goal of driving a task through to a tested, merged code change: coding agents perform the work in containers, designated people approve, and everything runs on the user's existing Kubernetes cluster. The project is API-first, written in Go, licensed under Apache-2.0, and self-hostable, with code, pipelines and decisions kept in the user's own cluster and database.
Key capabilities
- Any agent integration: Claude Code, Codex, OpenCode, Pi or shell scripts are all just container commands. Kodema provides them with the same workspace, tasks, credentials and model access; switching agents only requires switching the image, without changing pipelines or rules.
- Enterprise scale: supports multi-tenancy, role-based permissions and auditing. Each action is an ordinary Kubernetes Job, and capacity depends on the cluster; jobs waiting for human handling only occupy volumes and do not consume CPU.
- Human approval: pipelines can request a decision from a role; the Git service refuses pushes to protected branches unless that exact commit has passed review.
- Unified contract: there are no per-agent plugins; an agent is an image plus a command, and all container actions receive the same inputs. Each action can specify its own image, so one pipeline can implement with one agent and check results with another, while review, Git rules and audit records do not depend on a specific agent.
- Core concepts: a pipeline is an ordered list of actions; an action runs a container or requests an answer; an execution is one run of a pipeline; a task is a conversation that starts an execution.
How to use
- Local installation: on Linux (rootless Podman 5 or newer) or macOS (Podman machine), install.sh installs a single binary to ~/.local/bin; this binary is simultaneously the client, local installation and server; then kodema up starts a complete local Kodema and can run pipeline files.
- Using everyday AI tools as PM and orchestrator: connect Claude Code, Codex, OpenCode or Cursor via MCP, and Kodema completes coding, verification, review and protected Git merges in isolated containers or agent services, without Kubernetes setup and local application builds. Provides task_create, pipeMCP operations such as line_apply, pipeline_start, kv_put/kv_get, execution_inspect, execution_logs_read, task_reply, execution_request_resolve, and task_complete.
- Resident automation: The same tasks, KV artifacts, and pipelines can be migrated as-is to the resident kodsvc service, including per-project OpenCode services (worktree mode or sandbox mode) and a serial merge coordinator with cross-execution Decision IDs.
- Other installations: You can directly download the kodema archive and SHA256SUMS for the corresponding system; from a code checkout, run make build with Go to generate bin/kodema; there is also a single-machine installation via a Podman bundle with an independent identity provider.
Use cases Suitable for engineering organizations with many repositories that need to distinguish developers from reviewers and require code isolation between teams, for running coding agents as teams on their own Kubernetes while retaining approvals and auditing.
Limitations and current status
- The control plane and NATS broker each run a single replica, so upgrading the control plane causes a brief interruption.
- Deployments have so far only been run on Scaleway; AWS and Google Cloud deployments are implemented but have not been verified on real clouds.
- The reference deployment is only a starting point and does not constitute a capacity guarantee; stress testing should be performed based on your own workload.
- Isolation targets ordinary containers and is intended for teams that trust their own engineers; it is not a sandbox for untrusted code.
- The project is relatively young, and some design aspects still lack sufficient evidence.