Swarms Multi-Agent Framework
kyegomez/swarms
Teaches the Swarms Python framework: the Agent class, tools, loops, memory and multi-agent structures such as sequential, concurrent and graph workflows.
Walks through scaffolding, writing and testing a new GAIA agent as a Python class with the SDK, from the base Agent subclass to registered tool methods.
$ npx skills add amd/gaia --skill gaia-build-agent -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install amd/gaia gaia-build-agent --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/amd/gaia.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/gaia-build-agent .claude/skills/gaia-build-agent && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "gaia-build-agent" agent skill from https://github.com/amd/gaia/tree/main/.claude/skills/gaia-build-agent into .claude/skills/gaia-build-agent/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gaia-build-agent", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/amd/gaia/tree/main/.claude/skills/gaia-build-agentType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add amd/gaia --skill gaia-build-agent -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install amd/gaia gaia-build-agent --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/amd/gaia.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/gaia-build-agent .agents/skills/gaia-build-agent && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "gaia-build-agent" agent skill from https://github.com/amd/gaia/tree/main/.claude/skills/gaia-build-agent into .agents/skills/gaia-build-agent/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gaia-build-agent", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add amd/gaia --skill gaia-build-agent -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install amd/gaia gaia-build-agent --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/amd/gaia.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/gaia-build-agent .cursor/skills/gaia-build-agent && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "gaia-build-agent" agent skill from https://github.com/amd/gaia/tree/main/.claude/skills/gaia-build-agent into .cursor/skills/gaia-build-agent/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gaia-build-agent", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/amd/gaia.git --path .claude/skills/gaia-build-agent--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add amd/gaia --skill gaia-build-agent -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install amd/gaia gaia-build-agent --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/amd/gaia.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/gaia-build-agent .gemini/skills/gaia-build-agent && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "gaia-build-agent" agent skill from https://github.com/amd/gaia/tree/main/.claude/skills/gaia-build-agent into .gemini/skills/gaia-build-agent/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gaia-build-agent", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install amd/gaia gaia-build-agentInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add amd/gaia --skill gaia-build-agent -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/amd/gaia.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/gaia-build-agent .github/skills/gaia-build-agent && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "gaia-build-agent" agent skill from https://github.com/amd/gaia/tree/main/.claude/skills/gaia-build-agent into .github/skills/gaia-build-agent/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gaia-build-agent", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add amd/gaia --skill gaia-build-agent -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install amd/gaia gaia-build-agent --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/amd/gaia.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/gaia-build-agent .opencode/skills/gaia-build-agent && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "gaia-build-agent" agent skill from https://github.com/amd/gaia/tree/main/.claude/skills/gaia-build-agent into .opencode/skills/gaia-build-agent/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gaia-build-agent", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
gaia-build-agentWalks through scaffolding, writing and testing a new GAIA agent as a Python class with the SDK, from the base Agent subclass to registered tool methods.
The skill covers building, not publishing, a GAIA agent: a single Python class inheriting from the base Agent class, which owns the agent loop, tool registry, state and error recovery so the author only writes the system prompt and the tools. The gaia agent init command scaffolds a starter package, with a --layout hub flag for a package meant to be published later, and the guidance is to mirror an existing package such as hello-world, word-count or email for structure.
Model selection defaults to leaving model_id unset so the agent uses the shared default model, since every agent sharing one model avoids an eviction and cold reload when switching between agents; a different model is set only when the agent genuinely needs one, such as an NPU-specific model when present. Each capability is registered as an @tool-decorated method whose docstring becomes the schema the model sees, and the skill insists tools return structured data or an actionable error rather than swallow exceptions into a placeholder. The excerpt breaks off while listing the remaining build steps, and publishing is explicitly handed off to a sibling agent-hub-release skill.
8 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 05fb50b. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
pythonFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
GAIA Agent Builder loads about 1.5k tokens when it runs. Until then it costs about 171 tokens; SKILL.md has 649 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from amd/gaia at commit 05fb50b, republished under its MIT licence (© amd). 649 words, ~1,516 tokens.
.claude/skills/gaia-build-agent/SKILL.md (or your agent's skills folder).How to take an idea to a working, testable GAIA agent — a Python class that runs
locally on AI PCs. This skill covers build; publishing is its sibling
agent-hub-release skill and the author guide
docs/guides/hub-publishing.mdx. The
full prose walkthrough is docs/guides/custom-agent.mdx.
Read
CLAUDE.mdfirst — the "No Silent Fallbacks", code-reuse, testing, and eval rules all apply to a new agent.
A GAIA agent is one Python class that inherits from the base Agent
(src/gaia/agents/base/agent.py) and exposes capabilities as @tool-decorated
methods. The base class owns the agent loop, tool registry, state, error recovery,
and (via mixins) MCP / OpenAI-API exposure — you write the prompt + the tools, not
the plumbing. There are no YAML agent manifests for in-core agents (removed in
v0.17.5); a publishable hub package adds a gaia-agent.yaml manifest on top (see
the publish skill).
Scaffold. gaia agent init my-agent generates a starter package at
./my-agent/. For a publishable hub package in this repo, add --layout hub
so it lands at hub/agents/<id>/python/:
gaia agent init my-agent -o hub/agents/ --layout hubThen mirror an existing package for structure: hello-world or word-count
for a minimal one, email for a full published agent.
Write the Agent subclass. Inherit from Agent (or a closer base like
ChatAgent, which the flagship GaiaAgent extends). Leave model_id unset — that inherits the base default,
Gemma-4-E4B-it-GGUF (DEFAULT_MODEL_NAME), which is right for nearly every agent.
Every agent sharing one model is what keeps a single model resident, so switching
agents never triggers an eviction + cold reload. Only set model_id when the agent
genuinely needs a different model (e.g. the email agent picks the NPU model
gemma4-it-e2b-FLM when one is present and servable), and say why. Keep the constructor thin.
Register tools with @tool. Each @tool method is a capability the LLM can
call; its docstring is the schema the model sees, so write it for the model
(one line of intent + each arg). Return structured data or an actionable error —
never swallow exceptions into a placeholder (No Silent Fallbacks).
Reuse, don't reinvent — compose mixins. Before writing file/web/RAG/shell/SQL
logic, check KNOWN_TOOLS in src/gaia/agents/registry.py:
rag, file_io, file_search, shell, browser, scratchpad, code_index,
vlm, sd, … Compose them by name instead of duplicating. New shared logic →
add a mixin and register it in KNOWN_TOOLS.
System prompt. Implement _get_system_prompt() — state the agent's job, when
to use which tool, and the output contract. This is an LLM-affecting surface, so
it's covered by the eval rule below.
Make it discoverable. An in-core agent is added to
src/gaia/agents/registry.py (and a
gaia <cmd> subparser in src/gaia/cli.py if it's a CLI command). A hub
package is auto-discovered from its gaia-agent.yaml manifest — no
registry.py edit; just make sure the manifest's python.entry_module /
entry_class point at your class.
Test it — actually run it. Unit tests with a mocked LLM for tool logic
(tests/), then run the real CLI a user would (gaia <cmd> ... or
python my_agent.py) — never only the Python module. Follow the
gaia-testing skill for real-world evidence.
Eval if it touches LLM behavior. If you wrote/changed a system prompt, tool
docstrings, the tool schema, the model, or error classification, you MUST run
gaia eval agent against the relevant category before calling it done, and
compare to a baseline only if one is committed for the same agent — none is
yet, so report the scores you measured (CLAUDE.md eval rule). Unit tests don't
catch LLM regressions.
Once it runs and is documented (README/SPEC/SKILL per the doc-sync rule), ship it:
hub-publishing.mdx guide.agent-hub-release skill.porting-agent-to-hub skill.docs/guides/custom-agent.mdx — the full build walkthrough.src/gaia/agents/base/ — Agent, MCPAgent, ApiAgent, @tool, console, errors.src/gaia/agents/registry.py — agent registry + KNOWN_TOOLS.gaia-agent-builder agent (.claude/agents/) — a specialist for this work.Follow CLAUDE.md → "How You Communicate".
© amd, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .claude/skills/gaia-build-agent of amd/gaia.
Open the folder on GitHubat commit 05fb50b
GAIA Agent Builder next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| GAIA Agent Builder this skillamd/gaia | 1.6k | — | ~1.5k | Automated safety check: Pass | MIT | |
| Swarms Multi-Agent Frameworkkyegomez/swarms | 7.2k | — | ~5.5k | Automated safety check: Pass | Apache-2.0 | |
| Pydantic AI Harnesspydantic/pydantic-ai | 20k | — | ~4.9k | Automated safety check: Pass | MIT | |
| Agent Squad Python Guide2FastLabs/agent-squad | 7.8k | — | ~4.7k | Automated safety check: Pass | Apache-2.0 | |
| Add Example AgentGetBindu/Bindu | 10k | — | ~1.1k | Automated safety check: Notes | Custom licence | |
| Agent BuildershareAI-lab/lab-skills | 314 | — | ~1.4k | Automated safety check: Pass | Apache-2.0 |
kyegomez/swarms
Teaches the Swarms Python framework: the Agent class, tools, loops, memory and multi-agent structures such as sequential, concurrent and graph workflows.
pydantic/pydantic-ai
Adds optional capabilities to Pydantic AI agents from pydantic-ai-harness, led by Code Mode, which runs many tool calls as one sandboxed Python script.
2FastLabs/agent-squad
Map of the agent-squad Python framework for async multi-agent orchestration: which agent, classifier, storage and tool provider to pick, and the pitfalls to avoid.
GetBindu/Bindu
Add a new self-contained example agent under examples/. An agent skill from GetBindu/Bindu.
shareAI-lab/lab-skills
Helps design and build AI agents for any domain around a minimal loop of capabilities, knowledge and context, adding planning or subagents only when needed.
TencentCloudBase/CloudBase-AI-Toolkit
Build production-ready AI agent backends using the CloudBase Agent Python SDK — create agents with LangGraph/CrewAI/LlamaIndex, serve them via FastAPI with AG-UI protocol streaming +…
amd/gaia
Adds a release eval scorecard to a GAIA hub agent by writing a harness adapter, running a real eval, and wiring the result into the agent's README and release gate.
amd/gaia
Walks through releasing a GAIA sidecar agent as a frozen binary plus npm client through the tag-triggered Agent Hub CI pipeline, with a human gate before publishing.
amd/gaia
Mines local Claude Code session transcripts with a deterministic Python pipeline to show what the agent is actually used for, how often it fails and what it costs.
amd/gaia
Benchmarks AMD's GAIA agent against Claude Code and across models on quality, honesty, steps, tokens, time and real cost, using gaia eval tasks.
amd/gaia
Guides safe code changes by finding the right file with grep or semantic search, reading before editing, reproducing bugs first, and proving a fix with a real test run.
amd/gaia
Turns a source document such as a README or spec into an executive slide deck as one self-contained HTML file that prints to PDF, one slide per page.
Works with
Categories
Walks through scaffolding, writing and testing a new GAIA agent as a Python class with the SDK, from the base Agent subclass to registered tool methods. The skill covers building, not publishing, a GAIA agent: a single Python class inheriting from the base Agent class, which owns the agent loop, tool registry, state and error recovery so the author only writes the system prompt and the tools. The gaia agent init command scaffolds a starter package, with a --layout hub flag for a package meant to be published later, and the guidance is to mirror an existing package such as hello-world, word-count or email for structure.
GAIA Agent Builder fits situations like: creating a brand-new GAIA agent class from scratch; scaffolding a publishable GAIA hub package for an agent; registering tool methods on a new GAIA Agent subclass.
Run `npx skills add amd/gaia --skill gaia-build-agent -a claude-code`. Or copy the skill folder (.claude/skills/gaia-build-agent in amd/gaia) into .claude/skills/gaia-build-agent in your project. Claude Code loads it when a task matches its description.
Run `npx skills add amd/gaia --skill gaia-build-agent -a codex`. Or copy the skill folder (.claude/skills/gaia-build-agent in amd/gaia) into .agents/skills/gaia-build-agent in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add amd/gaia --skill gaia-build-agent -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/gaia-build-agent, .gemini/skills/gaia-build-agent, .github/skills/gaia-build-agent and .opencode/skills/gaia-build-agent in your project.
Going by SKILL.md and its folder, GAIA Agent Builder needs the command-line tools its instructions call (python). Our summary lists: The GAIA SDK and its agent init CLI.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
GAIA Agent Builder is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.5k tokens (SKILL.md is roughly 6.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with GAIA Agent Builder: Swarms Multi-Agent Framework (kyegomez/swarms, 7.2k stars), Pydantic AI Harness (pydantic/pydantic-ai, 20k stars), Agent Squad Python Guide (2FastLabs/agent-squad, 7.8k stars) and Add Example Agent (GetBindu/Bindu, 10k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
amd (a GitHub organization) maintains it in amd/gaia, which has 1,580 GitHub stars. The repository holds 44 skills in this directory. The repository was last updated on October 8, 2026.
Source: amd/gaia on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.