Show HN: Optio – Orchestrate AI coding agents in K8s to go from ticket to PR
TL;DR Highlight
A Kubernetes-based workflow automation tool where an AI agent writes code from GitHub Issues or Linear tickets, automatically fixes CI failures, incorporates review comments, and merges PRs — all without human intervention. It stands out for fully automating the entire ticket-to-PR cycle.
Who Should Read
DevOps or platform engineers looking to integrate AI coding agents into their team's development workflow. Particularly suited for teams running Kubernetes infrastructure who want to automate repetitive coding tasks.
Core Mechanics
- Optio accepts tasks via three methods — GitHub Issues, Linear tickets, or manual input — and for each task, provisions an isolated Kubernetes Pod and runs an AI agent (Claude Code or OpenAI Codex) inside it.
- The 'feedback loop' is the core feature, going beyond simple code generation. If CI fails, the agent is automatically resumed with the failure context; if a reviewer requests changes, the agent reads the review comments and pushes fix commits.
- Once all checks pass, the PR is squash merged and the issue is automatically closed. The goal is full automation from 'task description to merge complete' without anyone needing to click a PR button.
- Each task runs in an isolated git worktree, allowing multiple tasks to run in parallel simultaneously. A dashboard provides real-time visibility into the number of running agents, Pod status, costs, and recent activity.
- The task detail view offers live streaming of agent output, pipeline progress, PR tracking, and per-task cost analysis, providing operational visibility.
- A Helm chart is included for deployment to Kubernetes clusters, and a docker-compose.yml is also provided for running in local development environments. The project uses a pnpm + Turborepo monorepo structure with separate API, web, and agent components.
- It is open source (MIT license), and the repository includes files like CLAUDE.md and CONTRIBUTING.md that provide context for AI agents to work with. It has currently received 366 stars on GitHub.
Evidence
- "Skepticism that 'it won't work properly without human oversight' was raised in multiple comments. There were observations that AI can only work in the right direction from GitHub Issues alone for the simplest tickets, and opinions that LLMs should be used more for communicating design/architecture decisions to humans than for code generation. Parallel execution conflicts were raised as a practical concern — what happens when agent A is working on a PR modifying shared/utils.py and agent B receives a ticket that also needs the same file? Questions arose about whether the orchestrator performs dependency analysis upfront or handles it as a merge conflict, but no clear answer was given. Real-world experience with retry token costs was shared: a developer building a similar system noted that excessive token consumption during agent retries was their biggest challenge, and asked how Optio handles this — they use checkpoints to roll back to previous states on failure. Some felt burdened by Kubernetes being a hard requirement, with opinions that K8s should be one option rather than central to agent setup. As an alternative, 'GitHub Actions + @claude mention' was mentioned as a way to achieve similar results more cheaply. There was also direct criticism asking 'what stops it from spitting out garbage that breaks the codebase,' with responses suggesting 'you should want to review agent output.' Practical questions also followed about MCP (Model Context Protocol) support, sandboxed multi-tenant isolation, and whether Pods are scoped per repo or per task."
How to Apply
- "Teams managing backlogs with Linear or GitHub Issues can start by connecting repetitive, clearly-specified tickets (e.g., adding a specific API endpoint, fixing type errors, improving test coverage) to Optio and experimenting with the automation pipeline. It's best to initially focus on verifying that the CI auto-fix loop works correctly. To try it without K8s, you can first run it locally using the docker-compose.yml included in the repo. Referencing .env.example to configure your Claude or OpenAI API key and GitHub token lets you test the full workflow in a local environment. For production deployment, use the Helm chart in the helm/optio directory to deploy to an existing K8s cluster. However, in a multi-tenant environment, you should first verify that sandbox isolation between Pods is sufficient — the community has noted that this is not yet clearly documented. To reduce the risk of conflicts when running parallel agents that modify the same files, it is safer to initially run only tasks involving independent modules or files in parallel, and establish a task assignment strategy that runs tasks touching shared utilities sequentially."
Code Example
# Run locally
git clone https://github.com/jonwiggins/optio
cd optio
cp .env.example .env
# Set ANTHROPIC_API_KEY, GITHUB_TOKEN, etc. in .env
docker-compose up
# Deploy to K8s with Helm
helm install optio ./helm/optio \
--set env.ANTHROPIC_API_KEY=<your-key> \
--set env.GITHUB_TOKEN=<your-token>Terminology
Related Papers
Show HN: ctx – Search the coding agent history already on your machine
Claude Code, Cursor, Codex 등 코딩 에이전트가 이전 세션의 논의·결정·실패 시도를 잊지 않도록 SQLite로 인덱싱해 재사용할 수 있게 해주는 오픈소스 CLI 도구다.
Micro-Agent: Beat Frontier Models with Collaboration Inside Model API
vLLM 팀이 단일 모델 API 호출 뒤에서 여러 모델이 협업하는 'Micro-Agent' 개념을 공개했습니다. 별도의 에이전트 코드 없이 라우터 레이어에서 모델 조합을 실행해 GPT-4급 결과를 더 저렴하게 낼 수 있다는 아이디어입니다.
Ornith-1.0: self-improving open-source models for agentic coding
Gemma 4와 Qwen 3.5를 기반으로 파인튜닝한 코딩 특화 오픈소스 모델로, RL(강화학습)을 통해 스캐폴드(에이전트 실행 구조)까지 함께 최적화하는 방식을 주장하지만, 커뮤니티에서는 벤치마크 과최적화에 불과하다는 의심을 받고 있다.
Entity Binding Failures in Tool-Augmented Agents
AI 에이전트가 올바른 도구를 선택해도 잘못된 대상에 실행하는 'Entity Binding 실패' 문제를 정의하고, 이를 막는 실행 정책을 평가한 논문.
Herdr: Agent multiplexer that lives in your terminal
여러 AI 코딩 에이전트(Claude, Codex 등)를 하나의 터미널에서 동시에 실행·관리할 수 있는 Rust 기반 오픈소스 툴로, tmux처럼 세션이 유지되고 SSH로 원격 접속도 가능해 멀티 에이전트 워크플로우를 크게 단순화해준다.
Ornith-1.0: Self-scaffolding LLMs for agentic coding
모델이 문제 풀이 전략(scaffold)을 직접 생성하고 개선하는 자기강화 학습 프레임워크를 적용한 오픈소스 코딩 특화 LLM으로, 9B 소형 모델부터 397B 대형 모델까지 라인업을 갖추고 SWE-Bench 등 주요 벤치마크에서 Claude Opus 4.7을 능가하는 성능을 보여줬다.