pub async fn spawn_agent(
config: SpawnConfig,
event_tx: Sender<AgentEvent>,
) -> Result<JoinHandle<AgentResult>, Error>Expand description
Spawn a single agent as an async subprocess
Returns a handle to the spawned task that resolves to AgentResult.