Skip to main content

Advanced Guides

This section covers advanced application patterns for building production-grade AI systems with the Go AI SDK.

Topics​

  • Memory Management - Strategies for managing conversation history: sliding window, summarization-based compaction, Anthropic automatic compaction, and external memory stores.

  • Coding Agents - Build AI agents that generate, execute, and iteratively refine code. Covers the Generate → Execute → Refine loop, code review with structured output, streaming code generation, and sandbox best practices.

See Also​

  • Advanced SDK Patterns - Streaming patterns, caching, rate limiting, model-as-router, and more.
  • Building Agents - Agent configuration, tool calling, and loop control.
  • Providers - Provider-specific features and configuration.