IInvoked

Runs

A run is a fully traced, observable AI agent execution — every MCP tool call, model decision, and token recorded with input/output payloads and timing.

A run is a single end-to-end agent execution. Every prompt you send, every skill you invoke, and every multi-agent orchestration produces one or more runs.

Run anatomy

Run
├── Step 1: model call        (prompt → completion)
├── Step 2: tool call         (tool_name, args → result)
├── Step 3: model call        (updated context → completion)
├── Step 4: tool call
└── Step 5: model call        (final answer)

Each step is recorded with:

  • Timestamp and duration
  • Full input/output payload
  • Token counts (for model steps)
  • Error details (if the step failed)

Run storage

Runs are stored in SQLite at ~/Library/Application Support/Invoked/invoked.db. The schema is stable and you can query it directly:

SELECT id, summary, model, created_at, duration_ms
FROM runs
ORDER BY created_at DESC
LIMIT 20;

Run metadata

FieldDescription
idUUID, stable across sessions
summaryFirst 120 chars of the prompt
modelModel used for the run
stepsOrdered array of run steps
statusrunning | complete | error | cancelled
duration_msTotal wall-clock time
created_atISO 8601 timestamp

In the Runs panel, use the search bar to filter by:

  • Free text (matches summary)
  • Model (model:claude-3-5-sonnet)
  • Status (status:error)
  • Date range (after:2024-01-01)

Programmatic access

Runs are accessible via the IPC API if you're building tooling on top of Invoked.

On this page