headless-cli 0.5.0 adds a typed SDK, durable Docker sessions, and cost tracking
RobertTLange · x · 2026-07-28
headless-cli 0.5.0 adds a typed SDK, durable sessions, and cost tracking
The project announced a mini release of headless-cli v0.5.0, a unified headless interface for running multiple coding agents. The update highlights four main additions:
- a typed Python SDK
- a versioned JSON/NDJSON protocol
- durable Docker sessions
- usage and cost accounting
The CLI is designed to run agents such as Codex, Claude, Pi, OpenCode, Gemini CLI, and Cursor Agents through one entrypoint. The repository description says it normalizes differences across agent CLIs — including prompts, models, reasoning effort, working directories, output modes, sessions, and environment checks — while preserving each backend’s native flags.
The post also shows a simple Python example that instantiates Headless(), runs codex with a prompt, and prints the final message.
More from coding & agent
- Stream pitches a dating-app stack that hooks into coding agents in five minutes — amos_gyamfi · 2026-07-28
- TigrimOSR v0.7.1 splits Judge from the agent loop and adds YAML-configurable multi-agent workflows — Unique_Champion4327 · 2026-07-28
- MazeBench adds novelty-based loop stopping to keep long runs from wasting compute — xeophon · 2026-07-28
- MazeBench opens a 3D puzzle benchmark for coding agents with 200+ rooms — patience_cave · 2026-07-28
- MazeBench is a 3D benchmark that leaves today’s agents stuck in the opening rooms — patience_cave · 2026-07-28
- Agent code still lacks a standard architecture, and LangGraph keeps changing fast — kmeanskaran · 2026-07-28