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 harness has three state surfaces. They are intentionally separate.
SurfaceScopeTTLUse
Agent memoryAgent/user/thread/workflow scopeDurable or collection-definedRecall across turns and runs.
ScratchpadagentWallet + composeRunId + key1 hourPrivate per-agent/run state.
ConclaverootComposeRunId + key24 hoursShared swarm artifacts and coordination state.

Scratchpad

Scratchpad keys live under:
mal:scratch:{agentWallet}:{composeRunId}:{key}
Use scratchpad for local intermediate state that other agents should not read by default.
steps:
  - op: scratch
    action: write
    key: plan.md
    value: "Draft the outline before synthesis."

  - op: scratch
    action: read
    key: plan.md
    saveAs: plan

Conclave

Conclave keys live under:
mal:conclave:{rootComposeRunId}:k:{key}
Every agent in the same swarm shares the same rootComposeRunId, so the coordinator and descendants can read the same bus. Each write records writtenBy, ts, and a monotonic version. Use conclave for handoff artifacts such as plan.md, phase, draft.html, or cross-agent status.

Memory

Use durable memory for user facts, workflow learnings, session summaries, patterns, and archives. Do not use scratchpad or conclave for long-term personalization.