Skip to main content

GAIA SDK Reference

What is GAIA?

GAIA is AMD’s framework for building intelligent AI agents that run locally on your computer—no cloud required. Think of it as a toolkit for creating AI assistants that can:
  • Answer questions by searching through documents
  • Process images and extract information
  • Interact with databases
  • Respond to voice commands
  • Automate workflows
  • And much more!
Who is this for?
  • Developers building custom AI agents
  • Teams creating specialized AI workflows
  • Researchers experimenting with AI applications
  • Anyone wanting to run AI locally on AMD hardware
What makes GAIA special?
  • 🏠 Privacy: Everything runs on your machine
  • Speed: AMD NPU/iGPU acceleration
  • 🔧 Flexibility: Build exactly what you need
  • 📦 Distribution: Share agents via pip install

How This Documentation Works

This SDK reference is organized by component type. Each section includes:
  • 📖 What it does - High-level purpose
  • 🎯 When to use it - Common use cases
  • 💻 Code examples - Working, copy-paste ready code
  • ⚠️ Important notes - Gotchas and best practices
New to AI agents? Start with:
  1. Quick Start - Build your first agent in 5 minutes
  2. Core Agent System - Understand the foundation
  3. Complete Examples - See real-world patterns
Looking for something specific? Use the navigation menu on the left.

Quick Start

Understanding AI Agents

Before we dive in, let’s understand what an AI agent is: Traditional Program:
AI Agent:
Why is this powerful?
  • Users talk naturally: “Find customers in Texas and email them”
  • LLM breaks it down: Use search_customers tool, then send_email tool
  • Your code just provides the tools, LLM orchestrates them
  • No complex if/else logic needed!

Installation

Using uv (recommended - 10-100x faster than pip):
Prerequisites:
  • Python 3.10 or higher
  • Lemonade Server running (for local LLM inference)
Why uv?
  • ⚡ 10-100x faster than pip
  • 🔒 Better dependency resolution
  • 📦 Recommended by GAIA team

Your First Agent (5 Minutes)

Let’s build a simple agent that can search and analyze data:
What just happened?
  1. You defined tools (search_data, analyze_data)
  2. You described the agent’s personality (system prompt)
  3. The agent automatically figured out which tools to call and in what order
  4. The LLM orchestrated the workflow based on user’s natural language
That’s it! You’ve created an AI agent.

What’s Next?

Explore the SDK documentation organized by topic:

Core Concepts

  • Agent System - Foundation of all GAIA agents
  • Tools - Registering agent capabilities
  • Console - Output handling and display

SDKs

User Guides

Advanced Topics

Guides & Resources


Get Help


License

MIT License - See LICENSE Copyright (C) 2024-2026 Advanced Micro Devices, Inc.