hastekit.NewLLMClient holds provider configuration. client.Model("Provider/model") selects a provider/model pair implementing the model API. Reuse that value in AgentConfig.LLM or call it directly.
With credentials in your environment:
Choose an API
Provider-hosted web search and code execution are separate from Go function tools and SDK sandbox tools. Their availability and billing belong to the selected provider.
For agent-specific retry budgets and fallback targets, use agent resilience middleware. For exact request shapes, see the model API reference.