pub async fn run_agent(
agent: &RegisteredAgent,
input: Value,
) -> Result<AgentRunResult>Expand description
Agent runner result and trace events. These are unstable before 1.0.
Run a registered agent with the given input.
Currently supports Process contracts (spawns the agent binary and pipes JSON).
NativeRust support will be added when we generate harnesses.