Pre-alpha bootstrap · Python 3.13+

Agent harnesses.
A Python interface.

Keep the native agent loop.
Give your application a clear execution boundary.

python -m pip install --pre ohkit
THE EXECUTION BOUNDARY Design preview
Your applicationPolicy · persistence · delivery
ohkitThread Run Workspace
Native agent harnessAgent loop · tools · history

One boundary. Explicit ownership.

ohkit is an independent Python programming interface for agent harnesses. Its design separates conversation continuity, foreground work, and the file and process operations used by a native agent.

Pre-alpha implementation: this source checkout implements typed asynchronous Thread/Run execution and Codex app-server control. Earlier published bootstrap releases expose version metadata only. Workspace I/O, executor bridges, ACP, and Claude adapters remain design contracts, not available APIs. Conceptual examples are explicitly labeled.

Start here

Design boundaries

Native harnesses own their agent loops, tools, Turns, and native history. ohkit owns the common execution boundary and protocol adapters. Applications own policy, durable scheduling, persistence, deployment, and Workspace providers.

A Thread preserves conversation continuity. A Run represents one accepted unit of foreground work and may span native Turns. A Workspace supplies file and process operations; it is not an agent loop or a virtual operating system.

The accepted specifications own these contracts. Unimplemented target contracts do not imply backend compatibility; the Codex guide owns the current implementation boundary and validation evidence.

Project

Wh1isper maintains ohkit as an independent public project. Browse the repository or read the contribution guide.