Function define_agent
Source pub async fn define_agent<F>(build: F) -> RuntimeResult<Agent>
Expand description
Build an Agent from a closure that configures an AgentSpec-like
profile, mirroring Flue’s defineAgent(() => ({ ... })).
In MVP this resolves the sandbox and wires defaults; tool/skill resolution
from the registry arrives in a later phase.