exoharness/exo
Exo is an agent + harness architecture that is fully recursive, able to safely edit all aspects of itself at runtime to get better at your tasks.
What it is
Exo is an open-source runtime for AI agents. In plain terms: it lets you define an agent in a single Markdown file, then host that agent behind an API with durable conversations, sandboxes, credentials, and network controls. It's positioned as a self-hostable, vendor-neutral alternative to OpenAI's Agents API or Claude Managed Agents.
Core idea
Exo separates the "brain" of an agent (the harness — the software that decides how to call tools, compact context, and plan) from the infrastructure around it (storage, credentials, networking). This means you can use the same agent definition with different harnesses — Codex, Claude Code, and Pi are supported out of the box, and you can plug in your own. You can switch harnesses or models without rewriting your application code.
What you can do with it
From the quickstart:
- Write a Markdown file with a small header (frontmatter) specifying which harness and model to use, plus a plain-language instruction for the agent.
- Set your API key (e.g.,
OPENAI_API_KEY) and wire it to Exo with a single command (exo vault secret create global --preset openai). - Run the agent with a prompt (
exo run support-analyst.md --prompt "..."), or omit the prompt to get an interactive REPL instead.
Key benefits (from the README)
- Harness choice: host agents powered by the harness you prefer, and switch between them.
- Credential substitution + granular network policies: the agent can run with minimal supervision yet still reach protected resources.
- Durable state: history and working environments persist, so clients can disconnect and reconnect without losing progress.
How it compares to alternatives
- vs. OpenAI Agents API / Claude Managed Agents: those are easy and wield their own models best, but lock you into their ecosystem and store your conversation history. Exo aims for a similar developer experience while being model- and harness-neutral.
- vs. Pi: Pi is open source and runs anywhere but includes its own minimal agent loop. Exo has no opinions about context management — it delegates that to the harness. Pi Durable adds Exo-like persistence but is not harness-agnostic; Exo is.
- vs. Omnigent: the most similar project — open, model-agnostic, stateful. Exo is more focused on building custom agents, and it allows per-user vaults attached to arbitrary threads (Omnigent's sandboxes get credentials from the session owner instead).
Current status
Under construction. The docs are still being written, some documented features are not yet implemented, and installation instructions are not yet published. For now, the README points to a Development guide for working with the repo.
License
MIT.
Related research
A preprint paper, Exo: An Architecture for Self-Improving Systems at Runtime, describes Exo's architecture for safe learning during ongoing work and evaluates it on an open-world game, AppWorld, SREGym, and Continual Learning Bench. The README also mentions that earlier versions of Exo included a separate harness built on top of Exo as an experiment in self-evolution (archived).
One-line summary
Exo is a self-hostable, harness-agnostic runtime that turns a Markdown file into a hosted AI agent with durable conversations, sandboxes, and credential management — still in early development.
Related
- Project
- Project
- Project
- Project
- Project