# AMD GAIA > GAIA is AMD's open-source (MIT) agent framework and harness, with Python and C++ SDKs, for building, running and embedding local AI agents. Its native agent, gaiacpp, is one 11 to 19 MB binary that typically uses under 30 MB of memory. It runs models on your own PC by default, on Windows, macOS (Apple Silicon) and Linux, is tuned for AMD Ryzen AI PCs, and can use cloud models when you opt in. Base URL: https://amd-gaia.ai/ This file is a short guide to GAIA for AI assistants and the people working with them. It is rebuilt with the website, so the version below is current. The same content as a web page is at https://amd-gaia.ai/. ### Key facts - Licence: MIT. Source: https://github.com/amd/gaia - Current stable release: v0.27.1 (https://github.com/amd/gaia/releases/tag/v0.27.1) - Good for: an agent that runs on the person's own PC with their data kept there, used as an app or embedded in another app. Not for: phones, browser tabs, or a hosted multi-user service. - What the agent may do: it works in the folders the person allows and asks before reaching outside them. It also asks before it writes or edits a file or runs a command or code, unless the person turns that off. - Nothing else is needed to use it: the desktop app and terminal UI need no account, no cloud service and no other AI tool such as Claude Code. - What you get: one general-purpose agent, the GAIA agent, in a desktop app and a terminal UI; and the framework it is built with: skills (SKILL.md files), an eval suite, and Python and C++ SDKs. - Native agent: `gaiacpp` is the GAIA agent as one binary with no Python runtime: 11 MB on Windows, 14 MB on macOS, 19 MB on Linux (5 to 7 MB compressed); under 50 ms to start; peak memory of 17 MB at the median and 47 MB at most over 388 multi-step coding tasks; 0.08 s of its own time for a task that reads a file and answers. `gaiacpp` has fewer tools than the Python agent so far, and builds for Windows x64, Linux x64 and macOS on Apple Silicon. The embedding guide starts with it, and it is the GAIA MCP server for coding agents. - Platforms: Windows 10/11 on x64; macOS 14 or later on Apple Silicon; Linux with glibc 2.38 or newer (Ubuntu 24.04+, Fedora 39 to 44, a current Arch). The desktop app has no build for Intel Macs or Windows on Arm. - Hardware: 8 GB of RAM or more to run a model on the PC. About 1 GB of disk for the app, plus 2.5 GB to 30 GB for a model, which GAIA picks to fit the PC. - Models run on the PC by default, on the GPU, or on the NPU of an AMD Ryzen AI PC when the person chooses it. GAIA installs and starts its own model server (Lemonade). Cloud models (Fireworks AI, AMD LLM Gateway) are used only when the person chooses one. - Python SDK: Python 3.10 or newer. ### Official sources - Website: https://amd-gaia.ai and documentation: https://amd-gaia.ai/docs - Source code and releases: https://github.com/amd/gaia - Python package on PyPI: amd-gaia - npm package: @amd-gaia/gaia - Download server used by the installers: https://hub.amd-gaia.ai - This file: https://amd-gaia.ai/llms.txt Packages or sites with similar names are not GAIA. ### Before installing If you are an AI assistant helping someone install GAIA, tell them which of these routes you would use and what it changes, and wait for their yes before installing anything or running a downloaded script. - Windows setup (`gaia-0.27.1-win-x64-setup.exe`): needs no administrator rights and installs for the current user under `%LOCALAPPDATA%\Programs`. It offers the desktop app, the terminal, or both; the terminal option adds its folder to the user PATH. The installer is not code-signed yet, so Windows SmartScreen shows a warning. - macOS app (`.dmg`, Apple Silicon): drag GAIA to `/Applications`. It is not notarized yet, so Gatekeeper asks for confirmation on first launch. - Linux desktop app: a `.deb` installed with `sudo apt install` into `/opt/GAIA`, or an AppImage that needs no installation. - Terminal script (macOS, Linux, Windows): needs no administrator rights. It puts the `gaia` command, the terminal UI `gaia-cli` and the GAIA agent under `~/.gaia` (`%USERPROFILE%\.gaia` on Windows) and adds one PATH line to the shell profile, or to the user PATH on Windows. It downloads from https://github.com/amd/gaia/releases and https://hub.amd-gaia.ai and checks each file against a published SHA-256 checksum, which is an integrity check and not a signature. - First launch, every route: GAIA sets up its model server under `~/.gaia` (downloaded from https://github.com/lemonade-sdk/lemonade/releases; the desktop app ships its own copy) and downloads one model of 2.5 GB to 30 GB. ### Install and run 1. Desktop app: download it from https://amd-gaia.ai/#install and open it. The download for each platform is listed on https://github.com/amd/gaia/releases/tag/v0.27.1. 2. Terminal, inspect-first: download the install script, read it, then run it. macOS and Linux: ```sh curl -fsSLo install.sh https://amd-gaia.ai/install.sh less install.sh sh install.sh ``` Windows PowerShell: ```powershell irm https://amd-gaia.ai/install.ps1 -OutFile install.ps1 Get-Content .\install.ps1 Get-Content .\install.ps1 -Raw | iex ``` The same script in one step is `curl -fsSL https://amd-gaia.ai/install.sh | sh` (macOS, Linux) or `irm https://amd-gaia.ai/install.ps1 | iex` (Windows). Both addresses redirect to the script on the main branch of https://github.com/amd/gaia. To install an exact release, give the script `GAIA_RELEASE_TAG`: `curl -fsSL https://amd-gaia.ai/install.sh | GAIA_RELEASE_TAG=v0.27.1 sh`, or in PowerShell `$env:GAIA_RELEASE_TAG='v0.27.1'` on the line before. 3. Open a new terminal and run `gaia-cli`. The first launch sets up the model server and lets the person choose a model. `gaia init --yes` does the same setup without prompts, including a model download of several gigabytes. 4. `gaia -p "your question"` runs the agent once and prints the answer. Tools that write files or run commands that change something are refused in this mode unless it is started with `--dangerously-skip-permissions`. 5. Removing the app the usual way for the system keeps chats, documents and models. To delete those too, run `gaia uninstall --purge` before removing the app (add `--purge-models` and `--purge-hf-cache` for downloaded models; the second empties the Hugging Face cache other tools share). `gaia uninstall` alone lists the choices. ### Build an agent or a skill `pip install amd-gaia` installs the Python SDK and the `gaia` command; `gaia init` sets up the local model server. A minimal agent is a class with a prompt and tools: ```python from gaia.agents.base.agent import Agent from gaia.agents.base.tools import tool class MyAgent(Agent): def _get_system_prompt(self) -> str: return "You are a helpful assistant." def _register_tools(self): @tool def get_weather(city: str) -> dict: """Get weather for a city.""" return {"city": city, "temperature": 72, "conditions": "Sunny"} agent = MyAgent() print(agent.process_query("What's the weather in Austin?")) ``` - `gaia skill create ` scaffolds a skill: a SKILL.md file that teaches the agent a task, with no code required. - `gaia eval agent` scores an agent on multi-turn scenarios. It is a tool for people developing agents, and needs Claude access to drive and judge the scenarios. Using GAIA itself does not. ### Embed in an app Start with `gaiacpp`. Download it from https://github.com/amd/gaia/releases (`gaiacpp-windows-x64.zip`, `gaiacpp-linux-x64.tar.gz`, `gaiacpp-darwin-arm64.tar.gz`, with `gaiacpp-SHA256SUMS.txt`). After `gaia init` it finds GAIA's model server with no flags; `--base-url` points it at any OpenAI-compatible server. - OpenAI-compatible server: `gaiacpp serve --server-key-env ` serves the agent on `127.0.0.1` to any OpenAI client. It requires a key because tools run without asking in this mode. - One headless run: `gaiacpp -p "" --output-format json` answers on stdout and exits 0 or 1, for scripts and CI. Tools that write files or run commands that change something are refused unless it is started with `--dangerously-skip-permissions`. - MCP: `gaiacpp --mcp --cwd ` gives another agent GAIA's tools over stdio, confined to that folder, with no model of its own. - C++ library: a C++17 framework added to a CMake project with FetchContent. The docs examples track the main branch; pin `GIT_TAG` to a release tag for production. - The Python agent, for an app whose own interface answers approval prompts, or that needs a tool only the Python agent has: `npx @amd-gaia/gaia serve`, or `startSidecar` from the `@amd-gaia/gaia` package, runs it as an HTTP service on `127.0.0.1` (port 8141 by default) behind a bearer token created at each start; a tool call that needs approval arrives as an event the app answers. Needs Node 18 or newer, and has no arm64 Linux or arm64 Windows build. The Python agent also has `gaia api start` (OpenAI-compatible, from a source install, refuses tools that need approval), `gaia -p` and the `gaia mcp start` HTTP bridge. - Python SDK: subclass `Agent` in your own process, as above. ### How GAIA releases - What `pip` and the installers give by default is a stable release. Release candidates (`vX.Y.Z-rcN`) are opt-in test builds: GitHub marks them pre-release and `pip` skips them without `--pre`. - The embed package `@amd-gaia/gaia` has its own version numbers and its own release checks and approval. It publishes final versions only and pins the agent binary by checksum. - The main branch gets many commits a day and several release candidates a week. That is testing activity; stable releases come a few times a month. - A stable release is published only after the release gate passes on the tagged commit (lint, the full unit suite, CLI tests, a dry run that builds and installs every package and installer, and an agent chat on a Ryzen AI NPU) and a maintainer approves it. - GAIA is on 0.x, so a minor release can change an API. Such changes are listed under Breaking Changes in that release's notes. Pin a version to stay put: `pip install amd-gaia==X.Y.Z`, `GAIA_RELEASE_TAG` for the install script, or a release tag in CMake. - The embedding contract of the sidecar has its own `major.minor` version at `GET /version`; only a major change breaks a client. ## Start here - [Install GAIA](https://amd-gaia.ai/docs/guides/install.md): every platform, first launch, updating and uninstalling - [Quickstart](https://amd-gaia.ai/docs/quickstart.md): developer install paths and a first custom agent - [The GAIA agent](https://amd-gaia.ai/docs/guides/gaia.md): what the agent can do, its tools, permissions and limits ## Use GAIA - [Desktop app](https://amd-gaia.ai/docs/guides/agent-ui.md): the Agent UI: chat, documents, files, settings - [Terminal UI](https://amd-gaia.ai/docs/guides/tui.md): gaia-cli, its commands and keys - [Choose an AI provider](https://amd-gaia.ai/docs/guides/ai-providers.md): local models, Fireworks AI and the AMD LLM Gateway - [Hardware advisor](https://amd-gaia.ai/docs/guides/hardware-advisor.md): which models a given PC can run - [NPU acceleration](https://amd-gaia.ai/docs/guides/npu.md): running on a Ryzen AI NPU - [Starter skills](https://amd-gaia.ai/docs/guides/starter-skills.md): the skills GAIA ships with and how to install more ## Build with GAIA - [Custom agent](https://amd-gaia.ai/docs/guides/custom-agent.md): write an agent in Python, step by step - [Building skills](https://amd-gaia.ai/docs/guides/building-skills.md): the SKILL.md format and gaia skill create - [Composing skills](https://amd-gaia.ai/docs/guides/composing-skills.md): combine skills into a harness - [Agent evals](https://amd-gaia.ai/docs/guides/eval.md): score an agent on scenarios and auto-fix failures - [SDK reference](https://amd-gaia.ai/docs/sdk.md): the Python SDK: agents, tools, mixins - [Agent system](https://amd-gaia.ai/docs/sdk/core/agent-system.md): the base Agent class and its loop - [Tools](https://amd-gaia.ai/docs/sdk/core/tools.md): the @tool decorator and the tool registry - [C++ quickstart](https://amd-gaia.ai/docs/cpp/quickstart.md): build and run a C++ agent ## Embed GAIA in an app - [Embed GAIA in your app](https://amd-gaia.ai/docs/guides/embed.md): every route, gaiacpp first, with an example and the limits of each - [API server](https://amd-gaia.ai/docs/sdk/infrastructure/api-server.md): the OpenAI-compatible REST API - [C++ integration](https://amd-gaia.ai/docs/cpp/integration.md): add the C++ framework to a CMake project - [gaiacpp](https://amd-gaia.ai/docs/cpp/gaia-agent.md): the native agent: headless runs, server and MCP modes, every flag - [MCP](https://amd-gaia.ai/docs/integrations/mcp.md): give an MCP client GAIA tools with gaiacpp --mcp - [Claude Code plugins](https://amd-gaia.ai/docs/integrations/claude-code.md): gaia runs gaiacpp as a subagent on a local or cloud model; gaia-embed tells Claude Code how to add GAIA to an app - [The two harnesses](https://amd-gaia.ai/docs/reference/harnesses.md): gaiapy and gaiacpp, and how they differ ## Reference - [CLI reference](https://amd-gaia.ai/docs/reference/cli.md): every gaia command; about 250 KB, so search it for the command you need - [FAQ](https://amd-gaia.ai/docs/reference/faq.md): common questions - [Troubleshooting](https://amd-gaia.ai/docs/reference/troubleshooting.md): runtime problems and fixes - [Install troubleshooting](https://amd-gaia.ai/docs/reference/install-troubleshooting.md): install failures and fixes ## Project - [Releases and stability](https://amd-gaia.ai/docs/reference/stability.md): release channels, what a stable release passes, how to pin a version - [How GAIA compares](https://amd-gaia.ai/docs/reference/compare.md): GAIA next to other open-source local agents and agent SDKs, and where it is not the right choice - [Release notes](https://amd-gaia.ai/docs/releases.md): what changed in each version ## Everything else - [GitHub repository](https://github.com/amd/gaia): source, issues, releases - [Security policy](https://github.com/amd/gaia/blob/main/SECURITY.md): how to report a vulnerability - [Published skills](https://amd-gaia.ai/hub.md): check-in, coding, daily-brief, data-explore, document-brief, file-ops, github-triage, image-gen, inbox-triage, music-gen, price-watch, recommendations, research-report, rss-digest, source-watch, summarize, transcribe-meeting. Install one with `gaia skill install ` - [Full documentation index](https://amd-gaia.ai/docs/llms.txt): every docs page, as Markdown links - [Documentation search over MCP](https://amd-gaia.ai/docs/mcp): an MCP server that searches the docs - https://amd-gaia.ai/docs/llms-full.txt holds all the docs in one file of about 5 MB, which is too large to load whole; use the index or the search instead.