botiverse/oar
oar (Open Agent Runtime): programming interface for all agent harnesses
What it solves
Developers building agent applications often need to integrate with specific coding agents (like Claude Code, Codex, Cursor, etc.) and deal with their different APIs and quirks. OAR removes that burden by providing one consistent programming interface that works across many runtimes. You can write code once and swap between agents without changing your logic.
How it works
OAR exposes a session-based API. You request a session on a chosen runtime, then send prompts, receive events (text deltas, tool calls, reasoning, etc.), and control the turn (steer, queue, withdraw, abort). It also lets you attach your own tools via MCP servers, record everything to JSONL for later replay or testing, and project session state for browser-based UIs. For tasks that don't need a full session, OAR provides utilities to check installation, login, usage, models, updates, and inventories across all runtimes, so you can build dashboards, setup wizards, or quota monitors.
Who it’s for
Developers building agent workspaces, custom interfaces, or applications that need to drive coding agents programmatically. It's also useful for tooling that monitors or manages multiple agent installations on a machine.
Highlights
- One consistent API for many runtimes (Claude Code, Codex, Cursor, Grok, Kimi, etc.)
- Full event stream with attribution: every fact has a sequence number and agent path
- Honest control: commands like prompt, steer, queue, withdraw, abort return typed accept/reject codes
- Serve your own tools as MCP servers on any runtime, and swap them mid-session
- Record sessions to JSONL with
openVoyagefor playback, debugging, or tests - Browser-friendly projections (
@botiverse/oar/observe) for building UIs without Node imports - Handy utilities for installation, login, account usage, model listing, updates, and configuration inventories
- CLI for quick queries:
oar list,oar run,oar usage,oar models, etc.
Related
- Project
- Project
- Project
- Project