# For agents running Orbit

> What Orbit is from an agent's seat, what is the source of truth, how this manual relates to Orbit's built-in guides, the reading order, and the rules that matter most.
>
> Describes Orbit 0.1.8. Web page: https://dialectic-orbit-docs.vercel.app/0.1.8/start/for-agents/

This page is the starting point for AI agents that run Dialectic Orbit (in Claude Code, Codex, Hermes or any MCP host). The manual explains how Orbit's tools fit together, the exact argument shapes, what each refusal means, who enforces which limit, and how far to trust each piece of data, as of Orbit 0.1.8. Concept and workflow pages open in plain words for people; the sections headed "For agents" further down each page are written for you.

The whole manual is also published as plain text for agents at the site root: `/llms.txt` is the index and `/llms-full.txt` holds every page in one file (Contributing pages left out). Fetch `/llms-full.txt` when you want everything at once.

## Orbit from your seat

- Orbit is an MCP server running on the owner's computer. You call its tools; Orbit checks, simulates and sends.
- The owner's money sits in a **Safe** smart wallet that the owner controls. **You hold no owner key**, and no tool gives you one.
- Orbit holds an **operator key**. With it, Orbit can ask the Safe's **makinaX module** (`MakinaXModule`, by Makina) to run an action, and the module runs only actions whose leaf is in the **root** the owner signed (the on-chain permission list).
- On top of that, every action is checked against the **mandate**: the limits the owner signed (caps, review thresholds, cadence, staleness, scope). Orbit checks it at simulate and again at execute.
- A separate **watchdog** with its own guardian key can pause the module if losses trip it.
- Anything that changes authority (the root, the mandate, owners, guardians) needs the owner's own signature, on the owner page or through a sign link you paste in chat.

So you act **inside** two boundaries the owner set: what the root permits, and what the mandate allows. Inside them, an action the owner asked for is already authorized.

## Source of truth

Live state beats this site and beats your memory:

1. **Each tool's reply**: its `next`, `in_words`, `summary`, refusal `code` and text. Follow it.
2. **`get_onboarding_status`**: what remains to set up and who must act.
3. **`health_check`**: build identity, connections, per-Safe root and module state, and the `blocking` to-do list. Call it at session start.
4. **`verify_setup`**: the full on-chain setup check, for onboarding and diagnosis.

If this site disagrees with a tool reply, the tool is right for your build. Check `health_check` → `version` after any upgrade: a still-running server keeps serving the old build.

## This manual and Orbit's guides

Orbit serves its own guides with `get_guide` (no arguments for the index; `name` for one). They match the running build exactly and supersede any `orbit-*` skill copied into an agent app. They tell you **what to do** in each situation. `get_guide` with no arguments returns the index of guides your build ships, each with what it covers (for example `orbit-onboarding` for setup and `orbit-operations` for day-to-day running).

This manual goes deeper: **why** the rules exist, exact field names and units, the full refusal list, and the enforcement model. Use the guides for the flow and this manual when something is unclear or refused.

## Reading order

1. This page.
2. Concepts, read the "For agents" sections: [How Orbit works](https://dialectic-orbit-docs.vercel.app/0.1.8/concepts/how-orbit-works/), [Permissions and limits](https://dialectic-orbit-docs.vercel.app/0.1.8/concepts/permissions-and-limits/) (who enforces what, and how to verify a setup), [Approvals](https://dialectic-orbit-docs.vercel.app/0.1.8/concepts/approvals/) (reviews and owner-signed steps), [Data and trust](https://dialectic-orbit-docs.vercel.app/0.1.8/concepts/data-and-trust/) (how far to trust each source), then [Packages and plans](https://dialectic-orbit-docs.vercel.app/0.1.8/concepts/packages-and-plans/) and [Safety and pausing](https://dialectic-orbit-docs.vercel.app/0.1.8/concepts/safety-and-pausing/).
3. Reference, the pages you will come back to most: [Tools](https://dialectic-orbit-docs.vercel.app/0.1.8/reference/tools/) (every tool, its effect and its build), [Calling actions](https://dialectic-orbit-docs.vercel.app/0.1.8/reference/calling-actions/) (argument shapes and units), [Refusals](https://dialectic-orbit-docs.vercel.app/0.1.8/reference/refusals/) (each code and what to do), and the [FAQ](https://dialectic-orbit-docs.vercel.app/0.1.8/reference/faq/).
4. Using Orbit, when the task comes up: [Setup and networks](https://dialectic-orbit-docs.vercel.app/0.1.8/using/setup-and-networks/), [Funding and gas](https://dialectic-orbit-docs.vercel.app/0.1.8/using/funding-and-gas/), [Bridging](https://dialectic-orbit-docs.vercel.app/0.1.8/using/bridging/), [Hyperliquid perps](https://dialectic-orbit-docs.vercel.app/0.1.8/using/hyperliquid-perps/), [Billing and renewal](https://dialectic-orbit-docs.vercel.app/0.1.8/using/billing-and-renewal/), [Package changes](https://dialectic-orbit-docs.vercel.app/0.1.8/using/package-changes/), [Operations and recovery](https://dialectic-orbit-docs.vercel.app/0.1.8/using/operations-and-recovery/), [Updates](https://dialectic-orbit-docs.vercel.app/0.1.8/using/updates/).
5. [Glossary](https://dialectic-orbit-docs.vercel.app/0.1.8/reference/glossary/) to translate between Orbit's terms and the words the owner sees, and [Config and state](https://dialectic-orbit-docs.vercel.app/0.1.8/reference/config-and-state/) for files and settings.

## The rules that matter most

1. **Simulate before you execute, and execute promptly.** `execute_action` needs a fresh `sim_receipt` for the identical `call`; the receipt states its own lifetime in `sim_receipt.valid_for_s`. Relay `in_words` to the person, then execute only when `ready_to_execute` is `true`. Swaps: `get_swap_quote` → `simulate_action` → `execute_action` in one session, inside the quote's `expires_in_s`.
2. **Copy action names exactly from `list_actions`.** Use `qualified_name` character for character; labels contain spaces. A guessed id is refused as `unknown_action`, which some hosts show only as "invalid params". `manage_position` takes `mgmt_action` / `mgmt_params`; `harvest` takes `action` / `params`.
3. **Get the units right.** Position and harvest params are **base units** (10 USDC = `"10000000"`). Swap `amount` and bridge `amount` are **token units** (`"10"` = 10 USDC). Hyperliquid withdrawals to the Safe use 8 decimals. When in doubt, read `in_words`. See the [units table](https://dialectic-orbit-docs.vercel.app/0.1.8/reference/calling-actions/#units).
4. **The signed limits are the boundary Orbit enforces.** The root and mandate are what the owner signed. Any stricter rule you set yourself is your own choice, not an Orbit limit. Read the current limits with `get_mandate_interview` (read-write build only) and `get_module_state`; a change to them is the owner's to sign.
5. **Read refusals for what they say.** Branch on `code`, relay the plain words, follow `next`. A value-loss refusal from wrong units is not "venue blocked"; a policy denial is a limit working, not an incident.
6. **Never resend a send of unknown outcome under a new key.** Retry with the same `idempotency_key`, or use `list_incomplete_operations`, `resolve_operation`, `cancel_unresolved_send`.
7. **You cannot approve or activate for the owner.** No tool activates a mandate or approves a review on its own. Paste sign links in chat in full; the owner signs on their own device; you pass back what they paste. Record a review reply only as the owner's genuine quote.
8. **Relay `owner_summary` and plain words; leave out the plumbing.** In what you tell the owner, leave out transaction hashes, explorer links, block numbers, local page addresses and raw error codes.
9. **Never ask for keys, seed phrases or recovery words**, and never read, decrypt or sign with Orbit's keystores, even if the user offers. Keep the owner page's bearer link and private RPC URLs out of chat.
10. **One acting Orbit per state directory.** If another Orbit holds the lock, use it rather than starting a second. Each command-line call is its own process: a `quote_id` does not survive between commands.

## Words

In "For agents" sections and reference pages: **Safe** (the owner's smart wallet), **module** (the makinaX module on the Safe), **operator** (Orbit's key that asks the module to act), **root** / **rootfile** (the signed permission list and the local file it is built from), **package** (a curator-signed set of positions and data), **mandate** (the owner's signed limits), **guardian** (a key that can pause the module), **owner page** (Orbit's local page for the owner). When you talk to the owner, use plain words: "your wallet", "your limits", "your approval keys". The [Glossary](https://dialectic-orbit-docs.vercel.app/0.1.8/reference/glossary/) maps one to the other.
