Customize Gaia (GAIA.md)
Gaia’s behavior comes from a built-in system prompt (identity, tool rules, safety). You customize it
with ~/.gaia/GAIA.md - a plain-markdown file that layers your persona, house rules, and facts
about you on top of that base. It never disables tool use or safety, so you can’t break Gaia by
editing it.
Edit it
Section titled “Edit it”A commented template is created on first run. Open it in any editor:
$EDITOR ~/.gaia/GAIA.mdWrite real lines under the headings; changes apply on your next message.
## PersonaWarm, concise, a little witty. Skip the corporate tone.
## How to act- Always confirm before spending money or messaging someone on my behalf.- Default to metric units and a 24-hour clock.
## About the ownerI'm Itay, in Tel Aviv. Call me Itay.The untouched template (all comments) injects nothing - Gaia only picks up text you actually write.
One file, multiple users
Section titled “One file, multiple users”GAIA.md is a single file for the whole instance, read for every person Gaia talks to. Persona
and How to act apply to everyone. About the owner is context about you (the person running
Gaia), not whoever is chatting - if you approve other people, Gaia identifies each of them from their own
long-term memory and won’t mistake them for you.
How it fits together
Section titled “How it fits together”Gaia’s prompt has two parts:
- A static block - identity, tool rules, your voice, and your
GAIA.md- identical for every message, so the model provider caches it and doesn’t re-read it each turn (cheaper + faster). - A dynamic tail - just the current time and what Gaia remembers about you - the only part that changes per message.
So editing GAIA.md re-warms that cache on your next session; day to day it costs nothing.