Skip to main content

Agents

The following section shows you how to build agents with the Go AI SDK - systems where large language models (LLMs) use tools in a loop to accomplish tasks.

Contents​

Overview​

Learn what agents are and why to use the ToolLoopAgent.

Building Agents​

Complete guide to creating agents with the ToolLoopAgent.

Workflow Patterns​

Structured patterns using core functions for complex workflows.

Loop Control​

Advanced execution control with MaxSteps and custom loop patterns.

Configuring Call Options​

Pass runtime inputs to dynamically configure agent behavior.

WorkflowAgent​

Durable and serializable workflow agent execution with resumable SSE streams.