{"version":"2.1.337","anchor":"workflow-agent-session-bridge","canonical_anchor":"workflow-agent-session-bridge","heading":"Workflow scripts can ask the session to act as an agent","tier":"internal","area":"Workflows","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.337\/e\/workflow-agent-session-bridge","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.337","markdown":"### Workflow scripts can ask the session to act as an agent\n\nClaude Code can now run a workflow script and let the session answer its agent requests, with a 4 MB limit on what it returns\n\n**Unclear.** It is not clear how a workflow script is started or whether this is available to users yet.\n\n**What**\n\nClaude Code has new code that runs a workflow script and lets the current session answer the script's requests for an agent (a helper that carries out part of a task). What the workflow returns is capped at 4 MB. Past that, Claude Code reports \"The workflow returned more than 4 MB, which this session cannot read. Return less.\"\n\n**Why**\n\nThis is groundwork for workflows that hand work back to the session as they run.\n\n- Area: Workflows\n- Tier: Under the hood\n- Useful: 3\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}