Kontext runs AI agents as Kubernetes workloads with Agent and AgentRun resources.

Introduction

Kontext is a Kubernetes-native control plane for running, governing, and observing AI agents as production workloads.

The thesis: agents are workloads. An agent should not live in a screen session or behind a bespoke orchestration service. It should be a resource your cluster understands — created with kubectl apply, observed with kubectl logs -f, governed by RBAC and budgets, and restarted by a controller when it dies.

Two resources

KontextKubernetes analogueBehavior
Agent (mode Service)DeploymentAlways-on. The controller keeps one live AgentRun and re-casts it when it exits.
Agent (mode Task)reusable templateCreating the Agent runs nothing. Sparse named invocations become immutable owned AgentRuns.
Agent (mode Scheduled)CronJobMints one-shot AgentRuns from standard five-field cron slots with safe overlap and deadline policy.
AgentRunJob / PodOne bounded execution. Owns one Pod or is warm-delivered to a standing Service runtime, and holds .status.result.

You can also create a standalone AgentRun without an owning Agent — useful for ad-hoc dispatch and demos.

Next steps

  1. Install without cloning
  2. Learn the resource model
  3. Invoke a reusable Task workload
  4. Run a Scheduled workload
  5. Keep a Service workload available
  6. Read the API spec