async fn create(
state: &AppState,
caller: Option<&Caller>,
req: CreateAgentRequest,
) -> Result<Value, SpawnError>async fn create(
state: &AppState,
caller: Option<&Caller>,
req: CreateAgentRequest,
) -> Result<Value, SpawnError>