Documentation Index
Fetch the complete documentation index at: https://docs.gainable.dev/llms.txt
Use this file to discover all available pages before exploring further.
The trust model
Gaia Autopilot is autonomous. Autonomy without guardrails is reckless, so every agent action is bounded by a risk tier. The tier governs whether an action runs, whether it pauses for approval, whether it can be undone, and how often it’s allowed to run. The default for outbound work is draft-and-approve. Nothing goes to a customer without a human reviewing it. Agents earn higher autonomy by demonstrating, in the action log, that their drafts are consistently approved as written.The three tiers
| Tier | Behavior | Default for |
|---|---|---|
draft_and_approve | Drafts are produced and land in Autopilot. Nothing executes until a human approves. | All outbound communication tools |
auto_with_undo | Action executes immediately. Has a configurable undo window during which the user can reverse it. | Internal updates, low-blast-radius changes |
auto | Action executes immediately. No human review. Cannot be reversed by the user. | Reads, internal notifications, action-log writes |
Graduation
Tiers aren’t immutable. A playbook can graduate fromdraft_and_approve to auto_with_undo (and rarely to auto) when:
- It has a long enough history of drafts being approved as written
- The recipient class is internal or trusted (org employees, internal channels)
- The org explicitly opts in
Graduation is opt-in. Gainable never silently changes a risk tier. The recommendation appears in Autopilot. The org decides whether to act on it.
Undo windows
auto_with_undo actions are reversible. The undo window varies by tool:
| Tool | Undo window | What undo does |
|---|---|---|
update_records | 24 hours | Restores prior field values |
notify_user | 5 minutes | Removes the notification before it’s read |
create_task | 24 hours | Marks the task as withdrawn |
send_email | Not eligible for auto_with_undo | (always draft_and_approve unless graduated to auto) |
send_slack | 5 minutes | Deletes the message |
send_sms | Not undoable | (always draft_and_approve) |
call_external | Not undoable | (always draft_and_approve) |
Rate limits
Every playbook has rate limits. The defaults are conservative; the org can tighten or loosen them.| Limit | Default | Why |
|---|---|---|
| Drafts per user per day | 25 | Keeps an individual’s Autopilot inbox manageable |
| Drafts per recipient per week | 3 | Protects external recipients from agent floods |
| Auto actions per playbook per hour | 100 | Bounds blast radius if a playbook fires too often |
| Tool calls per playbook run | 50 | Hard cap. Prevents runaway loops. |
rate_limited outcome.
Per-user caps
Personal-scope playbooks (see scopes) inherit per-user caps. Two examples:- A user with 50 deals can’t generate 50 outbound drafts in a day from a single playbook unless the cap is raised.
- A user can’t run a
call_externaltool more than 10 times an hour, even on-demand.
How a draft becomes an action
The lifecycle of a draft-and-approve outbound:Draft lands in Autopilot
The configured owner sees it in their inbox. The action log records the draft creation.
On approval, the underlying tool runs
send_email, send_slack, etc. Action log records the execution.How auto-with-undo runs
The lifecycle of an auto-with-undo action:Configuring tiers
Risk tiers are part of the playbook guardrails:Best practices
Earn graduation, don't claim it
Earn graduation, don't claim it
Don’t graduate a playbook to
auto_with_undo because it would be more convenient. Graduate it because the action log shows users approve drafts unchanged at least 90% of the time.Tighten before you loosen
Tighten before you loosen
When a playbook is producing too many drafts, tighten the trigger filter or rate limit before relaxing the risk tier.
Customer-facing stays draft-and-approve
Customer-facing stays draft-and-approve
Internal Slack? Graduation candidate. External customer email? Stay in draft-and-approve unless you have an explicit, opted-in customer commitment to automated communication.
Watch the rate-limited counter
Watch the rate-limited counter
A spike in
rate_limited outcomes in the action log means the playbook is firing more often than expected. Investigate before raising the limit.Learn more
Tools
Default risk tier per tool
Playbooks
Where tiers are configured
Inbox
Where drafts and undo surfaces live
Agent action log
The audit trail behind tier decisions