{
  "@context": "https://schema.org",
  "@type": "Dataset",
  "@id": "https://requesty.ai/data/coding-agent-session-depth-apr-2026",
  "id": "coding-agent-session-depth-apr26",
  "slug": "coding-agent-session-depth-apr-2026",
  "title": "Session depth by coding agent, April 2026",
  "shortTitle": "Agent session depth",
  "topic": "agentic",
  "abstract": "How many API calls does a single coding session make? In April 2026, Claude Code has the deepest sessions at 16 median calls per trace and reaches 209 calls at P95, reflecting complex multi-step coding workflows. Roo Code sessions are shallower at 11 median calls but more numerous (6,247 traces vs 594 for Claude Code).",
  "whyItMatters": "Session depth is a proxy for agentic autonomy. Deeper sessions mean the agent is performing more steps before returning control to the developer. Claude Code P95 of 209 calls per session means the top 5% of coding tasks involve 200+ round trips to the model. This drives both cost and latency accumulation.",
  "questions": [
    "How many API calls does a typical Claude Code session make?",
    "Which coding agent has the deepest coding sessions?",
    "What is the P95 session depth for coding agents?",
    "Do deeper sessions correlate with higher costs?"
  ],
  "period": "Apr 2026",
  "updated": "2026-05-16",
  "license": "CC BY 4.0",
  "licenseUrl": "https://creativecommons.org/licenses/by/4.0/",
  "caveats": [
    "Only agents with trace_id coverage are included (Claude Code, Roo Code).",
    "Claude Code trace coverage dropped to ~7% in April, so these stats reflect a subset of sessions."
  ],
  "keyFindings": [
    "Claude Code: 16 median calls, but P95 of 209 calls. The longest tail of any agent.",
    "Roo Code: 11 median calls, consistent across months. The most predictable session depth.",
    "Only 3 agents send trace_id consistently. Cline, OpenCode, and Zed do not populate traces."
  ],
  "columns": [
    {
      "key": "label",
      "label": "Agent",
      "unit": "count"
    },
    {
      "key": "medianCalls",
      "label": "Median calls",
      "unit": "count"
    },
    {
      "key": "p95Calls",
      "label": "P95 calls",
      "unit": "count"
    },
    {
      "key": "maxCalls",
      "label": "Max calls",
      "unit": "count"
    },
    {
      "key": "totalTraces",
      "label": "Total traces",
      "unit": "count"
    }
  ],
  "rows": [
    {
      "label": "Claude Code",
      "medianCalls": 16,
      "p95Calls": 209,
      "maxCalls": 3175,
      "totalTraces": 594
    },
    {
      "label": "Roo Code",
      "medianCalls": 11,
      "p95Calls": 74,
      "maxCalls": 1752,
      "totalTraces": 6247
    }
  ],
  "rowKey": "label",
  "citation": {
    "apa": "Requesty (2026). Session depth by coding agent, April 2026. Requesty Data. https://requesty.ai/data/coding-agent-session-depth-apr-2026",
    "bibtex": "@misc{requesty_coding_agent_session_depth_apr_2026,\n  author       = {{Requesty}},\n  title        = {Session depth by coding agent, April 2026},\n  year         = {2026},\n  howpublished = {\\url{https://requesty.ai/data/coding-agent-session-depth-apr-2026}},\n  note         = {Requesty Data}\n}"
  },
  "permalink": "https://requesty.ai/data/coding-agent-session-depth-apr-2026",
  "downloads": {
    "json": "https://requesty.ai/data/coding-agent-session-depth-apr-2026/data.json",
    "csv": "https://requesty.ai/data/coding-agent-session-depth-apr-2026/data.csv",
    "markdown": "https://requesty.ai/data/coding-agent-session-depth-apr-2026.md"
  },
  "citedIn": [],
  "image": "https://requesty.ai/data/coding-agent-session-depth-apr-2026/opengraph-image",
  "source": {
    "organization": "Requesty",
    "url": "https://requesty.ai"
  }
}