OpenAI.Agents.Runner (openai_agents v0.1.2)

Manages the execution of agents, handling the conversation loop, tool execution, handoffs, and streaming.

Summary

Functions

Returns a specification to start this module under a supervisor.

Runs an agent synchronously.

Runs an agent asynchronously.

Streams agent responses.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

run(agent_module, input, opts \\ [])

Runs an agent synchronously.

run_async(agent_module, input, opts \\ [])

Runs an agent asynchronously.

start_link(agent_module, input, opts)

stream(agent_module, input, opts \\ [])

Streams agent responses.