Use this file to discover all available pages before exploring further.
Trace Kiro CLI agent turns, tool calls, and credit usage in Arize AX for full observability.
Kiro is AWS’s agentic IDE and CLI for spec-driven development. The Arize Coding Harness Tracing registers hooks on a Kiro agent and exports OpenInference spans to Arize AX or Phoenix. Each agent turn is captured as an LLM span with tool calls, model info, credit cost, and turn duration.
Credentials live under harnesses.kiro in ~/.arize/harness/config.yaml (written by the installer). Environment variables override values in config.yaml and can be set in your shell profile so they apply to every Kiro session.
The same flags can be set in config.yaml under harnesses.kiro.logging as log_prompts, log_tool_details, and log_tool_content — env vars take precedence.
LLM spans are enriched from the session sidecar at ~/.kiro/sessions/cli/<session_id>.json with model name, cost in credits, metering usage, and turn duration. Enrichment is fail-soft — if the sidecar is unavailable, the span is emitted with basic attributes only.
Token counts are 0. Kiro CLI does not report prompt or completion token counts in current versions and meters in credits instead. Token count attributes are omitted when 0; see kiro.cost.credits.
FIFO tool matching. Kiro does not expose a tool-call ID, so pre/post tool events are matched using a FIFO stack. This assumes serial tool execution within a session.
Per-workspace agents not supported. Only global agents under ~/.kiro/agents/ are instrumented.
Uninstall removes hook entries from every Kiro agent file. If the arize-traced agent was created by the installer, that agent file is deleted; pre-existing agents are preserved.