Skip to content
ย 
ย 

Latest commit

ย 

History

406 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Orka

Orka

Kubernetes-native AI agent orchestration.

Getting Started ยท Architecture ยท API Reference ยท Documentation


Orka turns your Kubernetes cluster into an AI-powered task execution platform. Native AI and container work run as Kubernetes Jobs; ACP coding agents run as fenced RuntimeSessions in controller-owned, scale-to-zero RuntimePools. A coordinator agent dynamically decomposes complex tasks, spawns specialist agents to work in parallel, and synthesizes their results โ€” no manual orchestration graphs required.

One helm install, one LLM secret, and you're chatting with an orchestrator that handles the rest.

Important

Orka is experimental and under active development. APIs, CRDs, and behavior may change without notice between releases, and it is not yet recommended for production use. Feedback, bug reports, and feature ideas are very welcome โ€” please open an issue.

Note

The organization and repositories are intended to be donated to a community-governed foundation at the appropriate time. Until then, the project is governed by Microsoft policy, and external contributors are required to sign the Microsoft Contributor License Agreement (CLA).

Why Run AI Agents on Kubernetes?

No API keys on developer machines โ€” LLM credentials live in Kubernetes Secrets, managed by your platform team. Developers connect via ServiceAccount tokens โ€” no risk of leaked keys in dotfiles, shell history, or laptops.

Centralized control โ€” One place to set model policies, rate limits, and allowed providers across every team. Swap models or providers without touching developer configs.

Every agent action is auditable โ€” Tasks have durable execution events, Prometheus metrics, structured results, and, for ACP agents, fenced attempt/session and delivery receipts. Know exactly what every agent did, when, and at what cost.

Hardened execution โ€” Native workers use hardened per-Task Pods. ACP runtimes use digest-pinned shared Pods with private per-session directories and identities; a RuntimePool is a same-trust-domain boundary, not cross-tenant isolation.

Scale with your cluster โ€” Priority scheduling, retry policies, concurrency limits, and cron-based execution โ€” all handled by the Kubernetes control plane you already operate.

What Can You Build?

Parallel code review โ€” Spawn a swarm of review agents โ€” security, performance, test coverage, accessibility, whatever you need. Each reviews independently and in parallel, then the coordinator synthesizes findings into a single report.

Autonomous dev workflows โ€” A coordinator agent dynamically breaks down a feature request, delegates implementation to specialist agents (backend, frontend, tests), and opens a PR with the combined result โ€” no predefined workflow graphs.

Research with competing hypotheses โ€” Multiple agents investigate different theories in parallel, challenge each other's findings, and converge on the strongest explanation. The adversarial structure avoids the anchoring bias of sequential investigation.

Scheduled operations โ€” Cron-based agents that run daily security scans, dependency audits, or report generation โ€” all with retry policies and webhook notifications.

Use your favorite AI client โ€” Connect Continue, Cursor, or any OpenAI-compatible client to Orka's API. Your cluster manages the LLM credentials โ€” developers just code.

CI/CD integration โ€” Trigger agent tasks from GitHub Actions, monitor progress via the REST API, and gate deployments on agent analysis.

Features

  • ๐Ÿค– AI Agents โ€” Anthropic, OpenAI, or Azure OpenAI with tools, skills, and session persistence
  • ๐Ÿ› ๏ธ ACP Agent Runtimes โ€” Run Codex, Claude, Copilot, and OpenCode through digest-pinned RuntimePools; external orka.harness.v2 registration and conformance are available while runtimeRef Task dispatch remains fail-closed
  • ๐Ÿ” Autonomous Task Loops โ€” Coordinators can iterate on long-running goals until complete, canceled, or at an iteration limit
  • ๐Ÿ”€ Multi-Agent Coordination โ€” Coordinators delegate to specialists with depth and concurrency controls
  • ๐Ÿ’ฌ Interactive Chat โ€” Agentic orchestrator with SSE streaming that creates and manages agents and tasks for you
  • ๐ŸŒ Generic Gateways โ€” Versioned, authenticated ingress and idempotent outbound delivery for external messaging and event systems
  • ๐Ÿง  Durable Memory โ€” Namespace-scoped recall, transcript search, and reviewable memory proposals that can be applied
  • ๐Ÿ›ก๏ธ Repository Security Scanning โ€” Scheduled and incremental repository scans with threat models, validated findings, patch generation, and remediation PRs
  • ๐Ÿ”Ž Repository Monitors โ€” Durable GitHub PR review queues with scheduled and webhook-triggered review runs
  • ๐Ÿงฐ Deferred Workspace Providers โ€” Evaluate agent-sandbox or Substrate separately; neither is a current ACP execution path
  • ๐Ÿ–ฅ๏ธ Web Dashboard โ€” Built-in React UI embedded in the controller binary โ€” zero extra deployments
  • ๐Ÿ“ฆ Declarative Control โ€” Workload, gateway, workspace, and Kubernetes-authoritative ACP control CRDs for GitOps workflows
  • โฐ Scheduled Tasks โ€” Cron-based recurring execution with concurrency policies
  • ๐Ÿ”Œ REST & OpenAI-Compatible API โ€” Full CRUD + /openai/v1/chat/completions endpoint for Continue, Cursor, and any OpenAI-compatible client
  • ๐Ÿ” Kubernetes, OIDC & Transaction-Token Auth โ€” ServiceAccount tokens by default, with optional OIDC and scoped vendor-neutral transaction governance
  • ๐Ÿ”ฎ Anthropic-Compatible API โ€” /anthropic/v1/messages endpoint for Claude Code and other Anthropic-native clients
  • ๐Ÿ“Š Observability โ€” Prometheus metrics, structured logging, health probes, and optional OpenTelemetry traces + GenAI OTLP metrics
  • ๐Ÿ”’ Hardened by Default โ€” Non-root native workers, fenced private ACP child identities, read-only filesystems, and authenticated broker boundaries

The ACP hard cutover keeps control authority in Kubernetes: ControllerEpoch, PromptAttempt, RuntimeSessionControl, BranchClaim, Publication, and ExternalEffect status plus coordination Leases. SQLite is limited to transcript/SessionTurn payloads, deferred outbox projections, and artifact payloads (including result bodies). Provider traffic uses the central authenticated proxy; prompt tools use prompt-scoped MCP; and source-read, target-read, target-write, and forge credentials reach only the clean-room Publisher through the credential broker. Artifact access is separately operation-scoped.

Quick Start

Install

kubectl create -f - <<'EOF'
apiVersion: v1
kind: Namespace
metadata:
  name: orka-system
  labels:
    orka.ai/controller-mode: harness-v2
EOF

helm install orka charts/orka \
  --namespace orka-system \
  --set controller.mode=harness-v2 \
  --set controller.watchNamespace=orka-system \
  --set controller.image.repository=docker.io/sozercan/orka \
  --set controller.image.digest=sha256:<controller-digest> \
  --set publisher.image.repository=docker.io/sozercan/orka-workspace-publisher \
  --set publisher.image.digest=sha256:<publisher-digest> \
  --set controller.acpRuntime.codexImage=docker.io/sozercan/orka-acp-codex@sha256:<codex-digest> \
  --set controller.acpRuntime.claudeImage=docker.io/sozercan/orka-acp-claude@sha256:<claude-digest> \
  --set controller.acpRuntime.copilotImage=docker.io/sozercan/orka-acp-copilot@sha256:<copilot-digest> \
  --set controller.acpRuntime.opencodeImage=docker.io/sozercan/orka-acp-opencode@sha256:<opencode-digest>

The chart defaults new installations to harness-v2. Controller mode remains an immutable installation identity and cannot be changed during an upgrade.

For direct Kustomize deployments, use config/acp-production, not config/default. The production overlay includes the cross-namespace Vekil ingress policy that permits model traffic only through Orka's authenticated provider proxy:

kubectl create -f - <<'EOF'
apiVersion: v1
kind: Namespace
metadata:
  name: orka-system
  labels:
    orka.ai/controller-mode: harness-v2
EOF
kubectl apply -k config/acp-production

Provision the required system Secrets and digest-pinned images before applying the overlay; make deploy performs those checks and applies the equivalent resource set.

A fresh Helm install creates the chart CRDs unless --skip-crds is used. Helm does not update CRDs during helm upgrade, so apply the CRDs from the exact target chart before every controller upgrade. Designate one lifecycle owner for cluster-scoped CRDs and see the Helm CRD lifecycle guide.

Harness v1 and v2 may share a cluster only as separate static-mode releases with disjoint namespaces, endpoints, RBAC, Leases, stores, and data planes. Tasks and Sessions never migrate between them. See the harness mode operations guide.

Set Up a Provider

kubectl create secret generic anthropic-secret \
  --from-literal=api-key=your-api-key

kubectl apply -f - <<EOF
apiVersion: core.orka.ai/v1alpha1
kind: Provider
metadata:
  name: anthropic
spec:
  type: anthropic
  secretRef:
    name: anthropic-secret
    key: api-key
  defaultModel: claude-sonnet-4-20250514
EOF

That Provider Secret is used by native type: ai Tasks and the compatible chat APIs. Built-in ACP Agents do not reference provider Secrets. Codex, Claude, Copilot, and OpenCode RuntimeSessions reach Vekil only through the central authenticated provider proxy. Source-read, target-read, target-write, and forge credentials are brokered separately to the clean-room Workspace/Publisher.

Start Chatting

Use the built-in dashboard, or connect any OpenAI-compatible client:

kubectl port-forward -n orka-system svc/orka 8080:8080

# Open the web dashboard
open http://localhost:8080

The built-in orchestrator creates agents, runs tasks, monitors progress, and returns results โ€” all from natural language. See the OpenAI Compatibility and Anthropic Compatibility docs for proxy setup with your preferred client.

Documentation

Getting Started Installation, quick start, CLI setup
Architecture System design, components, and data flow
Configuration CRD reference, Helm values, controller flags, metrics
Observability OpenTelemetry traces, GenAI metrics, and task trace guidance
Agent Runtimes ACP v2 RuntimePools, workspace policy, delivery, and external registrations
AgentRuntime Adapter Contract Portable orka.harness.v2 session and fencing contract
Agent Sandbox Deferred execution-workspace integration behind the ACP v2 lifecycle
Interactive Chat Chat endpoint, tools, and SSE streaming
Multi-Agent Coordination Coordinator agents and task delegation
Autonomous Tasks Long-running coordinator loops with persisted plan state
Memory Durable memory, proposals, transcript search, and validation
API Reference REST API endpoints and usage examples
OpenAI Compatibility OpenAI-compatible chat completions API
Anthropic Compatibility Anthropic-compatible Messages API
Gateway API Generic Gateway resources, ingress, delivery, and operator APIs
Harness Modes Isolated v1/v2 releases, rollout, rollback, and retirement
Operating Gateways Gateway readiness, TLS, recovery, upgrades, and operations
Web Dashboard Frontend architecture and pages
Security Security model and hardening
Transaction Tokens Configure strict transaction governance and TTS
Outbound Access Policies Exchange resource credentials or route Tools through a trusted gateway
Repository Security Scanning Repository scan workflow, threat models, findings, and remediation
Repository Monitors Durable GitHub pull request monitor runs, review tasks, and dashboard state
GitHub Label Triggers Trigger Orka agent tasks from GitHub labels such as agent:implement and agent:review
Development Building, generated charts, releases, and contributing
Testing Test structure, patterns, and commands

About

๐Ÿ‹ Cloud and AI-native multi-agent orchestration platform for Kubernetes

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages