Queries and analyzes AI agent usage metrics stored locally by arok (Agent Resource Observation Kit). Retrieves token consumption, session history, per-repo and per-host breakdowns, model usage, and cost-relevant data from a local SQLite database. Enables agents to reason about AI resource consumption for tasks, features, sprints, or individual sessions — supporting workflows like JIRA time/cost tracking, team usage reporting, multi-host container observability, and agentic budget analysis. Reads data only; never modifies the arok database. WHEN: query agent usage, analyze token consumption, how many tokens did the agent use, check AI usage, arok query, arok analyze, usage by repo, usage by branch, usage by host, session metrics, show me token usage, AI resource consumption, agent cost tracking, how much did this task cost, usage report, agent session data, analyze agent sessions, agentic resource usage, token budget.
2026-06-17