run

abstract suspend fun run(agentInput: Input): Output(source)

Executes the AI agent with the given input and retrieves the resulting output.

Return

The output produced by the agent.

Parameters

agentInput

The input for the agent.