Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.compose.market/llms.txt

Use this file to discover all available pages before exploring further.

The Manowar harness runs Manowar Agent Loop (MAL) plans. A MAL plan is YAML or JSON with a closed set of operations. The interpreter validates the plan, executes each step, stores saved values, resolves references, and returns a structured run result. Use the harness when a task needs multiple steps, parallel branches, registered subagents, direct tool calls, checkpoints, proof bundles, scratch state, or shared swarm state.

Why MAL Exists

Prompt-only agent loops spend tokens re-explaining how to act. MAL makes execution a typed runtime concern:
ConcernPrompt-only loopMAL harness
Step dispatchModel decides from prose.Interpreter dispatches a typed op.
ReferencesModel copies text around.Runtime resolves {{stepId.path}}.
BudgetsUsually prompt-instructed.Runtime enforces token, tool batch, wall time, and depth budgets.
ParallelismModel describes it.Runtime runs fanout branches with concurrency controls.
ResumeApp-specific.Redis checkpoint store can resume by composeRunId.

Minimal Plan

description: "Summarize a source and stop"
steps:
  - op: tool
    saveAs: source
    toolName: search_call
    args:
      query: "Compose.Market Manowar memory"

  - op: synthesize
    saveAs: summary
    from: ["source"]
    model: "gpt-5.5"
    instruction: "Summarize the result in five bullets."

  - op: stop
    output: "{{summary}}"

Ops

OpRuntime behavior
taskSpawn a focused registered subagent.
delegateCall a registered deployed agent.
fanoutRun branches in parallel.
toolCall a tool directly.
ifBranch on a safe condition.
loopRepeat a bounded block.
scratchRead/write private run state.
synthesizeCombine saved artifacts with an explicit model.
stopReturn a final output.
ask_userAsk the host for input.

Comparison

SystemMulti-step controlManowar harness
LangGraphState graph with nodes and durable execution.Typed plan interpreted inside the Compose runtime.
Google ADKWorkflow agents and runner services.Registered Compose agents plus MAL ops.
AutoGenEvent-driven agent teams and messages.Runtime-level plan dispatch, budgets, and proof/checkpoint hooks.