OpenHarness

Agent harness builder

Every component of the harness is yours.

Pick the model, write the prompt, wire up tools, skills, memory, the loop, sub-agents, permissions, guardrails and hooks. Test it here, then download a single binary that serves an OpenAI-compatible API.

No account needed to build, test and download.

terminal
$ DEEPSEEK_API_KEY=… ./research-agent
listening on 127.0.0.1:8080/v1

$ curl localhost:8080/v1/chat/completions \
    -d '{"model":"research-agent",
         "messages":[{"role":"user",
         "content":"Compare 3 vector DBs"}]}'

{"choices":[{"message":{
  "content":"I checked 6 sources…"

Models: OpenAI · Anthropic · DeepSeek · OpenRouter · Ollama · vLLM · any OpenAI-compatible API

Runs on: macOS · Linux · Windows · Docker, on Intel and ARM

How it works

From idea to endpoint in four steps

  1. 01

    Start from a preset

    Minimal proxy, research assistant, coding agent or support agent, or a blank spec.

  2. 02

    Shape every component

    Walk through all 14 parts of the harness. Each step explains what it does and why.

  3. 03

    Test it live

    Chat with your agent in the browser, with tool calls and traces, before you ship anything.

  4. 04

    Download one binary

    macOS, Linux or Windows, Intel or ARM. Optionally with a Dockerfile and Compose file.

The anatomy of an agent

14 components. All of them editable.

Most agent frameworks make these decisions for you. OpenHarness turns each one into a setting, and explains the trade-off as you go.

  1. 01

    Identity & API

    Name the agent and shape the OpenAI-compatible endpoint it serves.

  2. 02

    Model adapter

    Pick the provider, model, sampling and a fallback chain for outages.

  3. 03

    System prompt

    Compose the instructions the model sees on every request.

  4. 04

    Tools

    Built-in tools, your own HTTP tools, and MCP servers.

  5. 05

    Skills

    Reusable instructions the agent loads only when it needs them.

  6. 06

    Memory

    Fixed notes, plus a store the agent writes to and recalls from.

  7. 07

    Sessions

    Stateless like OpenAI, or server-side conversation history.

  8. 08

    Context management

    Compaction and tool-output pruning when the window fills up.

  9. 09

    Agent loop

    ReAct, plan-then-execute or one shot, with optional self-checking.

  10. 10

    Sub-agents

    Specialists with their own prompt and tools, for clean delegation.

  11. 11

    Permissions & sandbox

    Which tools run, in which workspace, with webhook approvals.

  12. 12

    Guardrails

    Block, redact or log what goes in and what comes out.

  13. 13

    Hooks

    Webhooks, logs or injected context at every lifecycle event.

  14. 14

    Observability

    Structured logs, JSONL traces and token usage per request.

What you download

A real service, not a notebook

Speaks OpenAI

POST /v1/chat/completions with streaming, plus /v1/models. Point any OpenAI SDK, LangChain app or IDE plugin at it and change nothing else.

One file, no runtime

A single static binary of a few megabytes with your spec built in. No Python, no Node, no containers required, though a Docker bundle is one click away.

Any model

Any OpenAI-compatible API (OpenAI, DeepSeek, OpenRouter, Ollama, vLLM and more) or Anthropic, with fallbacks when a provider is down.

Your keys stay yours

Specs and binaries never contain secrets. The agent reads its model key from its own environment and talks to the provider directly.

Real tools, safely

Files, shell, web and HTTP tools and MCP servers, confined to a workspace and gated by allow/deny rules or a webhook that approves each call.

Debuggable

Every step, tool call and model request is written as a trace event, so you can replay exactly what your agent did and why.

Drop-in

Use it like OpenAI

Change the base URL and keep your code. Streaming, tool calls and multi-turn sessions work through the same API your app already speaks.

from openai import OpenAI

client = OpenAI(
    base_url="http://localhost:8080/v1",
    api_key="your-agent-key",
)

reply = client.chat.completions.create(
    model="research-agent",
    messages=[{"role": "user",
               "content": "Summarize this week's PRs"}],
    stream=True,
)

For teams

Build agents together

Organizations and roles

Invite teammates as owners, admins, developers, viewers or billing contacts. Every role is enforced on the server.

Audit log

Who invited whom, who changed a role, who renamed what. Append-only, kept even after an org is deleted.

Secure accounts

Email verification, two-factor codes, passkeys, GitHub and Google sign-in, and a list of every signed-in device.

On the roadmap

  • Saved harnesses with version history, diffs and dev, staging and production environments
  • One-click deploys to AWS, then Google Cloud and Azure, in your own account
  • Endpoints with API keys, autoscaling, rollbacks and usage metrics, managed from here
  • Signed binaries, a CLI and a public API

FAQ

Questions

What is an agent harness?

Everything around the model that turns it into an agent: the prompt assembly, tools, memory, the loop that decides what to do next, permissions, guardrails, hooks and logging. Most frameworks hard-code these choices. OpenHarness makes each one a setting you control.

Do I need an account?

No. The builder works without one: design, test and download as much as you like. An account adds organizations, teammates with roles and an audit log, and soon saved harnesses with version history.

Which models can I use?

Any provider with an OpenAI-compatible API, including OpenAI, DeepSeek, OpenRouter, Together, Groq, Ollama and vLLM, plus Anthropic. You can set a fallback chain, and sub-agents can use different models.

Where does my agent run, and who sees my data?

Wherever you run the binary: your laptop, a server, a container. It calls your model provider directly; nothing passes through OpenHarness. When you test in the browser, the key you paste is held in memory for that preview only and never stored.

How do I protect the endpoint?

Turn on API keys in the Identity & API step. The binary then requires a bearer token on every request, read from an environment variable you choose, so keys never live in the file.

Can I deploy it to my cloud from here?

That's next on the roadmap: one-click deploys to AWS, then Google Cloud and Azure, running in your own account, with an endpoint, API keys and scaling managed from OpenHarness. Today you download the binary or Docker bundle and run it anywhere.

Build your agent. Own every part of it.