$ fssg build --deterministic --validate |

IOSM vs Agent Frameworks, Runtimes, and Harnesses

IOSM

I keep seeing four different engineering layers sold as if they were interchangeable: agent frameworks, harnesses, runtimes, and methodologies. They overlap, but they do not own the same decision.

That confusion produces expensive architecture. A team chooses a graph framework and assumes it now has an improvement process. It adds a coding harness and assumes execution is durable. It deploys a workflow engine and assumes the result is worth shipping. None of those conclusions follows.

IOSM belongs in this comparison because it deliberately spans two layers: IOSM is a methodology, while IOSM CLI is a terminal-native runtime that operationalizes it. That does not make either one a replacement for every framework or durable workflow engine. It makes the boundary worth naming.

The shortest useful distinction

Layer Primary question Artifact it should own Typical failure when missing
Agent framework How does the model reason, call tools, and route work? Agent graph, tool definitions, messages, state model Ad hoc model/tool integration
Agent harness What working environment and capabilities does the agent receive? Plans, filesystem context, subagent tasks, session state Rebuilding the same coding environment around every agent
Execution runtime How does work survive waits, failures, retries, and side effects? Durable state, checkpoints, event history, retry/compensation state Lost or duplicated work after interruption
Engineering methodology What change is worth attempting, and what evidence permits it to progress? Baseline, hypothesis, gates, measurements, decision record Efficient execution of an unproven or harmful change

The layers can be assembled in one product. LangChain's own documentation, for example, distinguishes frameworks, runtimes, and harnesses: LangChain provides higher-level agent abstractions, LangGraph provides low-level orchestration and runtime capabilities, and Deep Agents adds an opinionated harness. The distinction is useful precisely because a product name does not erase architectural responsibilities.

A framework chooses the path

An agent framework gives developers abstractions for model calls, tools, structured output, middleware, routing, and agent loops. A graph-oriented framework can represent predetermined workflows as well as dynamic agents.

Its central object is usually the execution path: nodes, edges, messages, state transitions, or delegates. It answers questions such as:

  • Which tool is available at this node?
  • Which state reaches the next step?
  • Should work branch, loop, or ask a human?
  • How does one agent hand work to another?

Those are real architecture questions. They are not, by themselves, an improvement contract. A graph can reliably execute a weak hypothesis. A typed tool call can still optimize the wrong metric. A clean handoff can transfer an unjustified decision.

Use a framework when you need to define agent behavior. Do not ask it to invent your engineering standard by implication.

A harness gives the agent a workshop

A harness packages an opinionated working environment around the agent: planning, filesystem access, shell tools, context management, subagents, and task tracking. Coding agents are the clearest example. They do not merely expose an LLM call; they give the model a place to inspect and change a repository.

The harness owns capability composition. It should make questions like these explicit:

  • What can the agent read and write?
  • How is context compacted?
  • Which tools and specialists are built in?
  • How are plans and subtasks represented?
  • What session state survives the next turn?

IOSM CLI has harness characteristics: profiles, tools, MCP, repository context, subagents, skills, and interactive workflows. But its IOSM layer asks for more than a capable workshop. It asks the work to leave evidence that another engineer can inspect after the conversation disappears.

A runtime keeps execution true across time

A runtime owns the lifecycle of running work. LangGraph documents persistence, durable execution, human intervention, and low-level orchestration. Durable workflow systems such as Temporal focus even more directly on preserving execution across process failures, waits, and retries.

This layer answers a different set of questions:

  • Can execution resume after the process dies?
  • Is a retry safe, or will it repeat a side effect?
  • Where is the checkpoint?
  • Which state transition actually committed?
  • How does a human pause or alter the run?

These properties matter whenever work crosses time or system boundaries. They still do not tell us whether the proposed refactor improved the codebase. Durability protects the continuity of execution, not the validity of the engineering thesis.

IOSM CLI provides checkpoints, rollback controls, orchestration artifacts, JSON/RPC modes, and session state. For distributed, long-waiting business workflows, I would still evaluate a dedicated durable execution engine rather than pretending a coding runtime automatically replaces one. The correct architecture may combine them.

IOSM owns the improvement decision

The IOSM specification starts from a baseline, creates explicit hypothesis cards, runs the ordered Improve → Optimize → Shrink → Modularize phases, applies a quality gate after each phase, and preserves cycle reports, metrics history, waivers, invariants, and decisions.

Its primary object is not the conversation or graph. It is the evidence-bound improvement cycle.

That changes the governing questions:

  • What is the baseline?
  • Which hypothesis is being tested?
  • What must not regress?
  • What evidence closes this phase?
  • Does the result justify continuing, stopping, rolling back, or revising the hypothesis?

This is the layer teams often omit. They invest in making agents faster and more durable but never define how a change earns authority. The result is a highly available improvisation machine.

The first IOSM CLI cycle guide shows the practical artifact path. The canonical IOSM CLI runtime overview explains the larger execution system. For the broader runtime definition, see What Is an AI Engineering Runtime?.

Choose by the missing invariant

I would not begin tool selection with a feature checklist. I would begin with the invariant the current stack cannot preserve.

If your missing invariant is… Start with…
Model/tool behavior must follow an explicit graph or routing policy Agent framework
The agent needs a ready-made coding environment with planning and repository tools Agent harness
A long-running operation must resume without losing committed progress Execution runtime
A code change must prove improvement without violating protected metrics IOSM methodology
You need terminal execution plus IOSM artifacts in one operational surface IOSM CLI

Then compose upward. An IOSM cycle may invoke an agent built with a framework. That agent may run inside a harness. Long-running orchestration may rely on a durable workflow engine. IOSM can remain the methodology that decides what evidence permits the work to advance.

The boundaries are not absolute. Products legitimately span them. The practical rule is simpler: every responsibility must have one explicit owner, and every owner must emit an inspectable artifact.

What IOSM does not prove

IOSM does not make model output correct. It does not make an external side effect exactly-once. It does not turn arbitrary metrics into meaningful evidence. IOSM CLI does not automatically provide the same distributed durability guarantees as a dedicated workflow engine.

The method works only when baselines are comparable, gates test relevant properties, and engineers refuse to convert missing evidence into a pass. The runtime helps preserve the process; it cannot rescue a dishonest measurement contract.

That limitation is the point of the comparison. Architecture improves when we stop asking one tool to impersonate an entire engineering system.

A framework defines behavior. A harness supplies capabilities. A runtime preserves execution. IOSM governs improvement. Combine them where the problem crosses layers—but keep the decisions separate enough to audit.

Sources

FACET AI CLI Terminal
facet@ai:~$