Understand the key differences between agent.run and agent.session actions to choose the right approach for your workflow needs.
agent.run
and agent.session
is crucial for designing effective Overcut workflows. Each action type serves different purposes and has distinct characteristics that make them suitable for specific scenarios.
agent.run
: Single-agent execution for straightforward, non-interactive tasksagent.session
: Multi-agent coordination for complex, interactive workflowsagent.run
to prepare input for complex agent.session
workflows:
agent.run
steps for data processing pipelines:
agent.session
for tasks requiring multiple perspectives:
agent.run
and agent.session
, explore these related topics:
agent.run
for simple tasks, then evolve to agent.session
when you need coordination and collaboration. The key is matching the action type to your specific requirements and constraints.