fn agent_provider(state: &AppState, def_id: &str) -> Option<String>
The provider the agent def_id launches on: its own, or its bundle’s when it has none.
def_id