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.

Manowar observability is native runtime data. It does not depend on LangSmith or an external tracing SaaS to know what happened during a run.

What Gets Recorded

DataWhereNotes
Token usagetelemetry.tsExtracts prompt, completion, reasoning, and total tokens from multiple provider shapes.
Usage recordsUsageTrackerRecords agent wallet, run id, model, action, source, and timing.
Run metadataupsertRunMetadata()Stores status, wallet, model, timing, error, and arbitrary metadata.
FeedbackrecordFeedback() and helpersSupports quality score, error, insight, and decision feedback.
LearningsrecordLearning() and getRelevantLearnings()Lets workflow planning review prior outcomes.
Workflow checkpointsworkflow/checkpoint.tsRecords observations, decisions, insights, outputs, and errors.
MAL checkpointsharness/checkpoint.tsRedis resume snapshots for typed MAL plans.

Usage Extraction

extractTokens() accepts provider output shapes that expose token fields under names such as:
prompt_tokens
completion_tokens
reasoning_tokens
total_tokens
inputTokens
outputTokens
reasoningTokens
totalTokens
resolveAuthoritativeTokens() prefers provider-reported usage when present and falls back to tracked callback totals. This matters because streaming and tool loops can expose usage at different points depending on the model adapter.

Run Lifecycle

Workflow runs use workflow/run-tracker.ts for lifecycle state:
StatusMeaning
pendingCreated but not started.
runningExecution has started.
successCompleted with a result.
errorFailed with an error.
cancelledStopped by caller or runtime control.
Cron metadata records total executions, successes, failures, and last-run details per trigger.

Checkpoints Are Not All The Same

Checkpoint typeStoragePurpose
Agent filesystem checkpointLocal JSON filesLocal checkpoint saver in agent/checkpoint.ts.
MAL checkpointRedis cal:run:{agentWallet}:{composeRunId}Resume state for a typed plan.
Workflow annotation checkpointMemory/telemetryHuman-readable observations, decisions, insights, and errors.

Comparison

SystemObservability modelManowar model
OpenAI Agents SDKBuilt-in tracing around SDK runs.Native usage, feedback, and run metadata tied to Compose agents.
LangGraph plus LangSmithGraph state traces and hosted trace UI when LangSmith is used.Runtime-owned records and checkpoints without a graph dependency.
AutoGenEvent-driven agent logs and runtime events.Wallet-scoped run records plus Compose metering evidence.