Benson identifies two production challenges: giving people a chance to review consequential actions and preserving work when long-running agents fail. Examples of actions needing approval include transferring money, deleting an account, and authorizing account privileges. Agents may also run across distributed systems and involve several layers of subagents.
Breaking the Chain: Agent Continuations for Resumable AI Workflows
Speaker
Greg Benson, professor of computer science at the University of San Francisco and chief scientist at SnapLogic, explains agent continuations developed by SnapLogic’s Agent Creator research group.
Inspired by programming-language continuations, the mechanism captures an agent’s state so execution can pause and resume later. It builds on the messages array that records interactions with language models, adding metadata needed to restore the agent and identify where to continue. Once state is captured, the agent loops can shut down while approval is pending.
In the prototype, developers mark tools that require approval and use a `ContinuationAgent`. When such a tool is reached, the agent returns a continuation object; the application can inspect it, record the human’s decision, and send it back so execution resumes before the tool call. The format supports nested agents, as shown in an HR workflow where an account subagent pauses for approval to authorize an account.
Benson says the prototype uses the OpenAI Python API without other dependencies, and that broader suspension options include pausing after a time limit or number of turns. The team is exploring how to extend frameworks such as Strands and Pydantic AI rather than create a separate framework. The work was also prototyped in SnapLogic’s visual AgentCreator platform.
Takeaways
- Capture agent state at approval points so a person can decide before a consequential tool runs.
- Persist enough state to stop agent loops during long waits and resume without restarting the workflow.
- Include nested agent state in the continuation format when subagents may pause for approval.
- Keep approval decisions in the application layer, where they can be presented to a person and passed back to the agent.
Mentioned in this talk
Search inside this talk
What was claimed 9
- built
“SnapLogic's visual agent-building interface and platform”
YouTube Verified2 sources· Talk, Web· archived
- previously atGreg Benson previously at
SnapLogic
Chief Scientist“I'm chief scientist at SnapLogic”
YouTube Verified2 sources· Talk, Web· archived
- works atGreg Benson works at
University of San Francisco
Professor of Computer Science“I'm a professor of computer science at the University of San Francisco”
YouTube Verified2 sources· Talk, Web· archived
- featureagent continuations: Capture and restore agent state, including nested agent state, to support suspension and later resumption
“allow you to capture the full state of complex agents”
YouTube Unverified1 source· Talk
- built
SnapLogic built agent continuations
“a new mechanism that we've developed at SnapLogic called agent continuations”
YouTube Unverified1 source· Talk
- integrates withagent continuations integrates with
Pydantic AI
“or Pydantic AI”
YouTube Unverified1 source· Talk
- integrates withagent continuations integrates with
Strands Agents
“extend existing frameworks, such as Strands”
YouTube Unverified1 source· Talk
- uses
“Our prototype is built on top of the OpenAI Python API”
YouTube Unverified1 source· Talk










