# The engine changes. The handover is explicit.

> Markdown version of https://harnaiz.com/how-harnaiz-works (Harnaiz, Claude Code, Codex and OpenCode: capabilities). Generated from the same source as the page.

Inside Harnaiz · planned for v0

Claude Code, Codex and OpenCode already offer memory, session controls and permissions. See what each one documents, and what Harnaiz is still being built to add.

Harnaiz is in development. The integrated v0 is not released.

What Harnaiz aims to add

## Your best harness. More freedom to keep going.

Keep the harness you prefer. Harnaiz aims to carry your accepted work, decisions and boundaries between engines, so your mission can continue if your favourite becomes unavailable.

_Documented native capabilities and Harnaiz’s planned scope. Feature sources checked 16 November 2026._

| What you keep | Claude Code · Used on its own | Codex · Used on its own | OpenCode V2 · Used on its own | + Harnaiz · Planned for v0 |
|---|---|---|---|---|
| Gains beyond a single harness · 4 capabilities |  |  |  |  |
| Keep accepted work | Engine scope · Model + session changes in Claude Code | Engine scope · Model + session changes in Codex | Engine scope · Provider changes inside OpenCode | Planned · Carry accepted work between official engines |
| Keep human decisions | Engine scope · Claude Code rules + approvals | Engine scope · Codex sandbox + approvals | Engine scope · OpenCode allow, ask + deny rules | Planned · Carry approvals, refusals + pending choices |
| Recover the mission | Engine scope · Resume a Claude Code conversation | Engine scope · Resume or fork a Codex session | Engine scope · Recover files from snapshots | Planned · Mission history + checked recovery |
| Compare the real effort | Engine scope · Usage within your Claude account | Engine scope · Usage within your Codex account | Engine scope · Provider-dependent usage reporting | Planned · Compare resources + attention across engines |
| What the engines already provide · 4 capabilities |  |  |  |  |
| Instructions & memory | Native · Project files + automatic memory | Native · Project + global AGENTS.md | Native · AGENTS.md instructions | Planned · Shared mission + sourced decisions |
| Models & providers | Native + bridges · Claude routes; external bridges exist | Native · Model choice within Codex | Native · Multiple providers + local models | Planned · Official engines through adapters |
| Subscriptions & API | Native · Claude account or supported API routes | Native · ChatGPT sign-in or API billing | Native · Provider accounts + ChatGPT sign-in | Planned · Your authorised engine access |
| Context renewal | Native · Resume + compact a session | Native · Resume + compact a session | Native · Automatic + manual compaction | Planned · Useful state, checked at renewal |

**Native** Documented by the publisher **Engine scope** Native controls; a shared mission across engines is not established here **Planned** Added by Harnaiz in the intended v0, not released

About subscription access

### Codex inside Claude Code? A bridge exists.

Projects such as CLIProxyAPI document routing Claude Code requests to a Codex backend. That is a third-party connection, not a native subscription feature or a handover between the two official engines. A working route alone does not establish complete memory, permissions or recovery.

[Read the bridge documentation ↗](https://github.com/router-for-me/CLIProxyAPI/blob/main/examples/claude-code-codex/README.md)

**Read the feature details and limits**

### Changing model or changing engine

- **Claude Code Native / not established**: Model changes and session resume are documented. A complete handover to Codex is not established by these sources. [C2]
- **Codex Native / not established**: Model and session controls are documented. A complete handover to Claude Code is not established by these sources. [A3]
- **OpenCode V2 Native / not established**: Switch provider or model within OpenCode. Continuity across separate official engine sessions is a different contract. [O2]
- **Harnaiz Planned**: Carry accepted work, identity, decisions and rights across official engines. The integrated native switch is not yet accepted.

### Human decisions and permissions

- **Claude Code Native**: Permission modes, rules and interactive decisions apply within Claude Code. [C2]
- **Codex Native**: Sandbox boundaries and approval policies constrain local actions within Codex. [A4]
- **OpenCode V2 Native**: Allow, ask and deny controls for actions; policies and scope determine what can run. [O4]
- **Harnaiz Planned**: Keep the responsible human, pending choice and refusal attached to the mission. A new engine must not widen an approval.

### History and recovery

- **Claude Code Native**: Resume conversations and use native recovery controls. External effects need their own recovery checks. [C2]
- **Codex Native**: Resume or fork sessions with native session controls. This is not a universal rollback of external effects. [A3]
- **OpenCode V2 Native**: Snapshots support file recovery. The documented boundary is not a rollback of every external effect. [O5]
- **Harnaiz Planned**: Retain mission history and recover known state without silently repeating uncertain effects. End-to-end recovery remains to qualify.

### Usage, quotas and cost

- **Claude Code Native**: Native usage and cost commands expose different information according to the account and access route. [C2]
- **Codex Native**: Session status and usage depend on the client and sign-in method. Subscription and API billing differ. [A2] [A3]
- **OpenCode V2 Native**: Provider reporting varies. A subscription model shown without a per-call cost still consumes the subscribed plan. [O2]
- **Harnaiz Planned**: Compare resource use and human attention per accepted result. Complete cost and any saving are not established today.

### Instructions and memory

- **Claude Code Native**: CLAUDE.md, supported AGENTS.md discovery and auto memory retain guidance between sessions. [C1]
- **Codex Native**: AGENTS.md loads global and project guidance. This does not by itself establish a complete mission handover. [A1]
- **OpenCode V2 Native**: AGENTS.md provides persistent project instructions. V2 does not use CLAUDE.md as a fallback. [O1]
- **Harnaiz Planned**: Shared mission, useful memory and sourced decisions above the engines. Integrated continuity remains to qualify.

### Models and providers

- **Claude Code Native / third-party**: Claude models through supported routes. External bridges to other models exist; that is not native vendor support. [C3]
- **Codex Native**: Model selection in Codex. Admissible models and gateways depend on the client and configuration. [A2] [A3]
- **OpenCode V2 Native**: Multiple providers, model selection and documented local inference connections within the OpenCode engine. [O2]
- **Harnaiz Planned**: Official Claude Code and Codex adapters, then a qualified local option. Other harnesses need their own adapters.

### Subscriptions and API

- **Claude Code Native**: Claude account access and supported API or gateway routes have distinct authentication and billing rules. [C2] [C3]
- **Codex Native**: ChatGPT sign-in for subscription access; API credentials for usage-based access. One is not extra quota for the other. [A2]
- **OpenCode V2 Native**: Provider API accounts and documented ChatGPT Plus/Pro sign-in. Subscription usage counts against that plan. [O2]
- **Harnaiz Planned**: Use the official engines with the user's authorised access. No copying or proxying subscription credentials; provider charges remain separate.

### Context and session renewal

- **Claude Code Native**: Session continuation and compaction, including /compact. Instruction files and automatic memories have their own loading rules. [C1] [C2]
- **Codex Native**: Resume a Codex session and compact its context. Native context management stays within that engine. [A3]
- **OpenCode V2 Native**: Automatic and manual compaction with configurable controls. A compacted session is still an OpenCode session. [O3]
- **Harnaiz Planned**: Choose useful state and verify its fidelity at renewal, using native capabilities where available. No unlimited memory promise.

**Read the primary sources**

Documented native capabilities and Harnaiz’s planned scope. Feature sources checked 16 November 2026. Documentation is not an independent product test. The bridge documentation was checked on 17 November 2026.

1. [C1 · Claude Code: instructions and auto memory](https://code.claude.com/docs/en/memory)
2. [C2 · Claude Code: sessions and commands](https://code.claude.com/docs/en/interactive-mode)
3. [C3 · Claude Code: gateways and supported routing](https://code.claude.com/docs/en/llm-gateway)
4. [A1 · OpenAI: Codex project instructions](https://learn.chatgpt.com/docs/agent-configuration/agents-md)
5. [A2 · OpenAI: authentication and subscriptions](https://learn.chatgpt.com/docs/auth)
6. [A3 · OpenAI: Codex session commands](https://learn.chatgpt.com/docs/cli/slash-commands)
7. [A4 · OpenAI: sandbox and approvals](https://learn.chatgpt.com/docs/sandboxing)
8. [O1 · OpenCode V2: instructions](https://opencode.ai/docs/instructions)
9. [O2 · OpenCode: providers and ChatGPT access](https://opencode.ai/docs/providers)
10. [O3 · OpenCode: compaction](https://opencode.ai/docs/compaction)
11. [O4 · OpenCode: permissions](https://opencode.ai/docs/permissions)
12. [O5 · OpenCode: snapshots and their limits](https://opencode.ai/docs/snapshots)

Illustrative scenario · not a live product demo

## A research brief, from first draft to accepted result.

Illustrative design walkthrough, not a recording of the integrated product. The native handover, human response and final result still need a complete acceptance run.

01 / 06

### Define the result and the boundary

Prepare three sourced findings and a draft brief. Public sources only. No purchase, publication or outbound message is authorised.

02 / 06

### Keep the work already accepted

Two findings have been checked against their sources. Their text, source links and acceptance stay separate from the unfinished third finding.

03 / 06

### Record the human choice and the refusal

The person must choose the lead finding. Buying a paid dataset has been refused. The pending editorial choice does not cancel that refusal.

04 / 06

### Change the engine without changing the mission

At an interruption or quota limit, the intended handover gives the next official engine the accepted work, exact decision, refusal, source references and next step.

05 / 06

### Continue only the independent work

The new session may finish public-source research and prepare the remaining draft. It must keep the lead choice pending and must not buy data or send the brief.

06 / 06

### Inspect the result before accepting the handover

Check the three sources, accepted text, pending choice, retained refusal and actual output. These checks describe the acceptance run still required; this illustration does not claim it has passed.

Possible uses, not customer deployments

## One continuity problem. Different pieces of work.

### Research and monitoring

Carry sources, rejected claims and an accepted draft into the next review. The person still decides what is publishable.

### Prospecting

Keep qualification evidence and the next approved action together. A prepared message is not permission to send it.

### Administration

Keep the document, checks and unresolved discrepancy together. An agent can prepare the next step; payment or filing needs its own authority.

Requirements and compatibility

## Know the boundary before you plan an installation.

_Compare native tools and Harnaiz’s planned scope_

| Route | Intended access | Current Harnaiz status |
|---|---|---|
| Official Claude Code | Your authorised native account or supported API route, under its own terms. | Planned for v0; the integrated adapter remains to qualify. |
| Official Codex CLI | Your authorised ChatGPT or API access, under its own terms. | Planned for v0; the integrated adapter remains to qualify. |
| A local option | A qualified harness, model licence and machine capacity. | First option not yet qualified; no hardware requirement or speed claim published. |
| OpenCode | Its own provider connections and supported sign-in methods. | Studied as an additional harness; no Harnaiz adapter availability announced. |
| Interface and installation | cmux first; common VS Code access is a further integration. | No public installer or supported operating-system matrix yet. Following the project is not an installation. |

Data and control

## What should cross the handover, and who keeps the authority.

**On your instance**

The intended default is local mission state: accepted work, references, decisions and history. Shared Postgres is optional. No managed Harnaiz cloud service is available today.

**At the engine and provider**

The selected engine receives the useful, authorised context for its next task. Unless inference is local, that context is processed by its provider under the selected access route. Local storage does not mean all processing stays on the machine.

**At the human boundary**

The intended packet keeps who may decide, the pending choice and any refusal. A conversational answer and permission to execute a tool are distinct. A change of engine must not create a new right.

**When an effect is uncertain**

The intended state marks uncertainty and preserves the history. Restoring files is not enough to undo an email, payment or remote operation. Exactly-once delivery and universal restoration are not claimed.

The Harnaiz architecture

## Harnaiz's place in the stack.

Harnaiz is designed for continuity and organisation (F6), above the engines (F5) that execute the work and below the agents and applications (F7) you use. Select a layer to inspect the boundary. This is a design map, not a compatibility list.

F1 · Silicon & energy

### What does the computing run on?

Chips, manufacturing, power and cooling.

Usually a capacity question upstream of the software you use.

F2 · Cloud & compute

### Where does the work run?

Machines, storage, networking and managed computing.

Ask where the data is processed and who operates the infrastructure.

F3 · Models & data

### Which model provides the capability?

Model training, weights, data and distribution.

A different model can change the answer. It does not by itself organise a handover.

F4 · Inference & access

### How is a model response served?

Serving, routing and access to model requests.

Check admissible access, availability, usage and cost.

F5 · Engines & harnesses

### What executes the agent loop?

The engine plans, calls tools, observes results and continues.

Claude Code and Codex are examples. Their native capabilities and permissions still matter.

F6 · Continuity & organisation

### What keeps the mission together?

Identity, useful memory, rights, human decisions and progress across engines.

This is where Harnaiz is designed to sit. The integrated v0 is not released.

F7 · Agents & applications

### What result does the person delegate?

A complete experience, a personal agent or a particular business process.

A packaged agent may be the right purchase. No Harnaiz agent catalogue is available today.

The practical questions

## Know what you would be running.

**Where does the state live?**

Local files by default, on the machine running the instance. A shared Postgres adapter is optional. Each engine still uses its own provider unless a local model is used.

**Which engines come first?**

Official Claude Code, official Codex CLI and a first local option qualified for v0. Additional engines require their own adapters and checks.

**What is open?**

The harness and its factory defaults are planned under MIT at launch. Engines, models and connected services keep their own licences and costs.

**What about managed hosting or agents for sale?**

These are directions under study, not services available to order. No price, availability or third-party compatibility is promised here.

Release boundary

## A design you can inspect. An integrated release still to prove.

### Decided for launch

MIT harness and factory defaults; self-hosting; local state by default.

### Planned for v0

Mission identity, memory, rules, human decisions, session renewal, engine switching and visibility of usage.

### Still to qualify

The integrated native behaviour, each adapter's limits, restoration and the quality of real resumed work.

## Keep the native tool if it already meets the need.

Harnaiz should justify the extra layer through the work it helps preserve. We are not claiming a measured advantage over a native tool, a handover file or another platform. The public release will be the point at which you can inspect and test the implementation yourself.

## See what has moved, and what comes next.

The progress page separates published material, private component checks and the integrated acceptance work still open.

[Read project progress ↗](https://harnaiz.com/progress)

Continue the thread

## Keep up with the build.

Get project milestones and the repository opening email, or choose the opening email only.

[Follow the project](https://harnaiz.com/join-harnaiz)
