Run books
What to do, step by step, when something goes wrong. Each run book uses only what you can see and do yourself, in LightHouse and in your own account.
An agent is failing
Section titled “An agent is failing”- Find it. Agents → Hub, filtered to
failing, orGET /api/v1/agents?status=failing.GET /api/v1/attentionlists it too. - Open its last run. The run map shows which step failed, its status, its model and its duration.
- Check its dependencies. An agent whose
needsfailed isskipped, not failed: fix the first failure in the chain. - Check the safeguards. Security and context → Safeguards, or
GET /api/v1/refusals: a refusal for a cap, a kill switch, screening or grounding stops a call by design. - Check the deployment.
GET /api/v1/health, or thehealthtool: a gateway or job reporteddownordegradedexplains every agent on it. - Stop it while you look, if its failures cost or annoy: a handler pauses it (
agent.pause). See Suspension. - Fix and release. A change to the card or its code goes through the release gate; to go back, make the last version that passed current. See Versioning and rollback.
A cap is reached
Section titled “A cap is reached”- See which.
GET /api/v1/budgetslists each scope’s cap and spend;GET /api/v1/refusalsshows calls refused for it. - Decide whether the cap is right. A cap is reached by design when an agent loops or a job grows. Check the agent’s runs and cost per run in Spend → Cost first.
- To raise it, a person does: a handler’s
budget.setfor one agent (raising needs a role your deployment’s policy names, and never goes past its ceiling), or aclient_adminchanges the limit under Spend → Limits. A machine key cannot. - To keep it, do nothing: calls past the cap are refused until the period resets (UTC day or month), or the cap is raised.
See Limits and alerts.
A connector stops indexing
Section titled “A connector stops indexing”- Check the card. Setup and admin → Connectors: a
failing,expiringordisconnectedstate, and the failures over the last 7 days. - Check the knowledge base. Agents → Knowledge: the last successful ingest, and failures by class (
auth,permission,not_found,rate_limited,timeout,network,parse,config). - By class:
authorpermission: the credential expired, was revoked or lost access. Replace it in your secret store; for a LightHouse connection, connect again.rate_limitedortimeout: the provider slowed the pull. It retries on its next schedule; widen the schedule if it persists.config: the source card is wrong (a missing repository, a bad URL). Fix the card.parse: an item could not be read. For a folder, a file type it does not accept stops the pull, naming the file.
- Run it once by hand and read its note:
written N, unchanged N, quarantined N, removed N. The cursor advances only when every item was written, so a failed pull is repeated in full, never skipped.
See Connect your estate.