@oharness/engine
v0.8.0
Published
The agent loop, tool execution, context management and permissions. No frontend, no transport.
Maintainers
Readme
@oharness/engine
The agent loop, and everything a frontend does not decide: tool execution, context compaction, permissions, sessions, MCP, and the provider adapters.
Model-agnostic by construction. Anthropic, OpenAI (including any
OpenAI-compatible endpoint) and Gemini are all reached over plain fetch with
hand-written SSE parsing — no vendor SDKs — and a conversation can change model
mid-session without its history being converted, because the history is never
stored in a vendor's shape to begin with.
npm install @oharness/engineOne runtime dependency: zod, for tool schemas. Node 22.6+.
import { Harness } from "@oharness/engine";Frontends live in separate packages — oharness
for the terminal, @oharness/server
for the browser. This package renders nothing.
Documentation and the full picture: https://github.com/Jet1217/OHarness
