Skip to content
プロジェクト

kelos-dev/kelos has 358 GitHub stars and 48 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-14 19:09 UTC. Last push 2026-11-13.

この数値の測り方

できること

  • Developer-guided work: reconnect to a long-running Session from a terminal or browser.
  • Event-driven workers: turn issues, pull requests, webhooks, and schedules into agent Tasks.
  • Agent pipelines: sequence implementation, review, testing, and delivery.
  • Repository fleets: fan out the same change across many services.

計測したスター増加

24時間
0
7日間
履歴を収集中
15日間
履歴を収集中
1か月
履歴を収集中

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

概要

Kelos - The Kubernetes-native framework for orchestrating autonomous AI coding agents.

開発ツール

Kelos

Define and run coding-agent workflows on Kubernetes.

CI Release GitHub Stars Go Version License

Quick Start · Usage · How It Works · Documentation · Contributing

Kelos lets you define what coding agents do and the environments they run in: repositories, files, skills, tools, compute, environment variables, and secrets. Reuse those definitions for individual tasks, persistent sessions, and automated pipelines on Kubernetes.

Automated Tasks and interactive Sessions reference shared Workspace and AgentConfig resources and run on Kubernetes with configurable compute, volumes, environment variables, and secrets

Kelos Console with example data showing Test coverage and Code review subsessions within one Session, with Code review selected, a shared workspace indicator, a code diff, and tool output
Set up the Console

Kelos supports Claude Code, OpenAI Codex, Google Gemini, OpenCode, Cursor, and custom agent images.

Example: a coding task with its environment

Combine a shared repository and skills with compute and environment settings for a task that fixes tests and opens a pull request:

apiVersion: kelos.dev/v1alpha2
kind: Task
metadata:
  name: fix-tests
spec:
  prompt: "Fix the failing tests, run the test suite, and open a pull request."
  worker:
    type: codex
    credentials:
      type: oauth
      secretRef:
        name: codex-credentials
    workspaceRef:
      name: my-workspace
    agentConfigRefs:
      - name: team-config
    podOverrides:
      resources:
        requests:
          cpu: "2"
          memory: 4Gi
      env:
        - name: APP_ENV
          value: test

The referenced resources must already exist: a Workspace defines the repository, injected files, setup command, and Git credential Secret reference; an AgentConfig supplies your team's instructions, skills, and tools; and a credential Secret authenticates the agent. For ordered stages and parallel tasks, see the pipeline examples.

For repeated runs with Codex OAuth credentials, enable token refresh on the credential Secret.

Why Kelos?

  • Define agent compute, container images, volumes, environment variables, and secret references alongside the work to run.
  • Reuse repositories, setup commands, instructions, skills, and tools across agents.
  • Keep workflow and environment definitions in Git as Kubernetes resources.
  • Keep interactive Sessions alive and reconnect from terminal or web clients.
  • Trigger work from GitHub, Jira, Linear, cron schedules, or generic webhooks.
  • Observe, limit, and operate agent workloads with familiar Kubernetes controls.

Quick Start

You need a Kubernetes 1.28+ cluster with cert-manager installed.

Install the CLI:

curl -fsSL https://raw.githubusercontent.com/kelos-dev/kelos/main/hack/install.sh | bash

Homebrew and source installs are also available:

brew tap kelos-dev/tap
brew install kelos

# Or:
go install github.com/kelos-dev/kelos/cmd/kelos@latest

Install Kelos:

kelos install

For Helm installations and upgrades, see the chart documentation.

Install the first-party Kelos skill in your coding agent:

npx skills add kelos-dev/kelos

The skill teaches your agent how to configure Kelos, create the right resources, operate workloads, and troubleshoot failures. You can now use Kelos without writing configuration files or assembling CLI commands by hand.

Usage

Use the Kelos skill

Ask your coding agent to use the /kelos skill. Describe the outcome you want, the agent provider, and the repository; the skill handles the Kelos resources and commands.

Set up a repository

Using the /kelos skill, configure Kelos on my current cluster for OpenAI Codex
and https://github.com/your-org/your-repo.

Name the Workspace my-workspace. Use my existing local Codex OAuth credentials.
Ask before creating or replacing any Kubernetes Secret, then verify the setup
with a small read-only Task.

Create your first Task

Using the /kelos skill, create a Codex Task in my-workspace with this
prompt: "Add a hello world program in Python."

Run the Task, watch it until it finishes, and show me the logs and result.

Start a persistent session

Using the /kelos skill, create a persistent Codex Session named my-session for
my-workspace, then connect me to it.

Automate issue fixes

Using the /kelos skill, create a webhook-based TaskSpawner for GitHub issues
labeled "agent-ready" in your-org/your-repo.

Each task should reproduce the issue, add a tested fix, and open a pull request
without merging it. Limit concurrency to 3 and runtime to 1 hour. Show me the
resources before applying them.

Build your own self-development setup

Using the /kelos skill, use this repository's self-development/ setup as a
reference and create a minimal self-development setup for
https://github.com/your-org/your-repo.

Start with issue pick-up and pull request review. Reuse shared configuration,
prefer GitHub webhooks, and show me the resources before applying them.

Troubleshoot a failed workload

Using the /kelos skill, investigate why Task my-task failed in the default
namespace. Do not print Secret values. Fix configuration problems if it is safe
to do so, then retry and watch the Task.

These prompts are starting points. Your agent will inspect the cluster and ask for missing choices or credentials when needed.

Use scoped credentials, protected branches, and workload limits for autonomous agents.

Use the CLI directly

Initialize ~/.kelos/config.yaml, then add your agent credentials using the comments in the generated file:

kelos init

Create a Workspace

kelos create workspace my-workspace \
  --repo https://github.com/your-org/your-repo.git \
  --ref main

Create a Task

Create and watch a Task in that Workspace:

kelos run \
  --workspace my-workspace \
  --prompt "Add a hello world program in Python" \
  --watch

The command prints the generated Task name. Use it to stream the agent logs:

kelos logs TASK_NAME -f

Start a Session

Replace the credential placeholder in the Session example, then apply and connect to it:

kubectl apply -f examples/16-session/
kelos session connect interactive-review
Use the Kelos Console

To inspect Kelos resources and create, organize, and chat with Sessions in a browser, enable the optional Console server. Follow the Kelos Console guide to configure its shared token and access the cluster-internal web application.

See the configuration reference for other agents and authentication options.

What You Can Build

  • Developer-guided work: reconnect to a long-running Session from a terminal or browser.
  • Event-driven workers: turn issues, pull requests, webhooks, and schedules into agent Tasks.
  • Agent pipelines: sequence implementation, review, testing, and delivery.
  • Repository fleets: fan out the same change across many services.
  • Self-development loops: let specialized agents triage, implement, review, and maintain a project continuously.

Kelos uses Kelos to develop itself. The self-development setup shows the agents and workflows running the project.

How It Works

Tasks and Sessions reference shared Workspace and AgentConfig resources through their worker configuration. Each worker selects its agent, model, image, and Kubernetes runtime settings. The controller turns Kelos resources into Pods, Jobs, and StatefulSets.

Core Primitives

Resource Purpose
Task Run one agent job
TaskPipeline Run ordered Task stages with matrix fan-out
Session Keep an interactive agent conversation running
Workspace Give agents a Git repository, injected files, and setup commands
AgentConfig Share instructions, skills, plugins, and MCP servers
TaskSpawner Create Tasks from events or schedules
SessionSpawner Create Sessions from GitHub webhooks
WorkerPool Maintain reusable agent workers

Task status records useful results such as branches, commits, pull requests, and token usage. The resources remain ordinary Kubernetes objects, so advanced users can review them, keep them in Git, or manage them with existing delivery tools.

See the API and CLI reference for the underlying fields and commands.

Documentation

Need Documentation
Resource fields and CLI commands Reference
Ready-to-apply patterns Examples
GitHub, Jira, CI, and webhook connections Integration guide
Console and interactive Sessions Session example and Console guide
Custom agent containers Agent image interface
Helm installation and upgrades Chart documentation
Contributing Contributing guide

Development

Use the project Makefile:

make update
make verify
make test
make test-integration
make build

See the contributing guide for development setup and pull request requirements.

License

Apache License 2.0