Skip to content
IQ

Agent step labels

Step labels for recorded agent steps appear in the session replay at /sessions/:id, where you can review the loop's work and spend. Labels describe the work, not a model, so they stay stable as models change.

The step-class vocabulary

IQ uses these step labels:

  • planner for the decomposition step in an agent loop, where the agent breaks a goal into subgoals or lays out an ordered plan.
  • tool-arg-formatter for the step that emits a function call against a JSON schema, where the output shape is the structured argument blob.
  • summariser for the step that condenses a long input into a short output.
  • extractor for the step that pulls specific fields out of a larger body of text.
  • coder for the step that writes or reviews code.
  • critic for the step that evaluates a prior output against a specification.

The labels are mutually exclusive, so a request carries at most one. When no label clearly applies, the request has no step label. A recorded step without a label shows in the session replay as unlabelled.

Thinking budget

A request can carry a thinking budget of none, low, medium or high, which asks for more or less extended reasoning. Where the model supports reasoning, IQ maps the budget to a setting the provider supports (an Anthropic thinking budget, an OpenAI reasoning effort, or a Gemini thinking level) and can adjust it, so your call site doesn't change. You can set it per request, rely on your workspace's default, or let IQ set it. Requests shows each request's recorded budget label, which can also read custom, for example when a Messages request sets its own thinking token budget, or forfeited.

Seeing each step's model

The request detail shows the chosen model, plus the thinking budget and cost. The x-iq-served-model response header, when present, carries routing and substitution details as JSON. Find step labels in the session replay at /sessions/:id.

Latency and replay

Labeling adds no network round trip. Each label is saved with the request, so the session view can replay an agent loop's recorded steps.

Related pages

Routing explains the routing modes you can choose. Capability aliases explain the cap: handles you can use as a model.