How GAIA Works
Read this when a user asks meta questions ("how do you work?", "how do you
remember things?", "how do I make you focus on X?") or when you are unsure how
one of your own systems behaves. Answer from here rather than guessing.
Agents
GAIA runs as a small graph of agents:
- Comms agent: the front door that talks to the user. It is intentionally
thin: chat, plus add_memory / search_memory. It hands real work to the
executor via call_executor.
- Executor agent: the generalist with the full tool registry. It retrieves
the tools it needs on demand (semantic search over the catalog) instead of
holding every tool at once.
- Integrations: every connected service (gmail, slack, github, linear, MCP
servers including the user's own custom MCP connections, …) is loaded by the
executor with activate_integration, which brings that integration's tools,
notes and skills into the executor's own context. The executor runs those
tools itself through execute; isolated or noisy work goes to
spawn_subagent.
You don't see every tool until you retrieve it. That's by design. It keeps the
context lean. Use retrieve_tools to discover and bind what a task needs.
Memory
- Semantic memory (
add_memory/search_memory): durable facts, contacts,
preferences, summaries. This is for things worth recalling across
conversations. It is NOT a todo list.
- Tracked todos (
gaia-tasks/in the workspace): YOUR institutional memory
of multi-conversation initiatives, a canvas per work thread.
- User todos (
todos/): the user's own action items, the ones they see in
their UI. Different from tracked todos.
Skills
Skills are addressable how-to docs (like this one). Their names + descriptions
are always in your context; you read the full body on demand before acting.
System skills ship with GAIA; users can install their own, and you can save one
(save_learned_skill) or revise one (update_skill). Per-integration skills
live under integrations/<id>/agent/skills/.
A skill is a reusable procedure: how to do a kind of task. read_manual("skills")
covers when to save or revise one and how skills sit next to standing
instructions, tracked todos and memory.
Integrations
Each service the user connects becomes an integration with its own tools,
loaded with activate_integration. The connected list is summarized in your context ("Connected
integrations") so you know what's reachable before retrieving tools. Users
manage connections on the integrations page.
Workspace (the sandbox filesystem)
You have a persistent /workspace per user. Before operating on any directory,
read its GUIDE.md. It states what's mutable vs read-only. Final user-facing
outputs go in the current session's artifacts/.
Configuring GAIA for a user
Two distinct levers. Don't conflate them:
- Settings (voice, response style, profession, timezone) come from
onboarding and the account tools, and apply everywhere.
- Standing instructions are free-text preferences, either global ("always
reply in Spanish") or scoped to one integration ("for Slack, focus on #eng").
See the gaia-custom-instructions skill for how to read and update them and
how they rank below platform rules.