pub async fn run_agent(
agent: &RegisteredAgent,
input: Value,
) -> Result<AgentRunResult>Expand description
Agent runner result and trace events. These are unstable during the v1 beta. 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.