> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tythe.finance/llms.txt
> Use this file to discover all available pages before exploring further.

# Agent Underwriting

> How an agent earns authority: what is measured, what raises and lowers the rating, how effective scope follows it, and how to recover after a tighten.

Tythe underwrites agents, not only the principals behind them. Every agent is assessed continuously on how it behaves, and that assessment is what decides how much of a principal's grant it can actually use.

This page comes before mandates for a reason. A principal writing a mandate is deciding how much authority to put on the table. What the agent can use from that table is decided here. Read this first, then [Mandates](/agents/mandates).

### The Conduct Rating

The assessment is called the **Conduct Rating**: a bounded measure of how an agent behaves against the mandates it has been given. It is built entirely from what the agent does on Tythe, it moves continuously in both directions, and it is the only thing that moves an agent's authority inside the limits a principal set.

### What it decides

A mandate grants a **ceiling** on every numeric field: the most the principal is willing to allow. The Conduct Rating sets the **effective** value inside that ceiling, and the effective value is what the account actually enforces.

| Rating                | Effective scope                                                 |
| --------------------- | --------------------------------------------------------------- |
| New agent, no history | A conservative fraction of the ceiling                          |
| Rising                | Steps up toward the ceiling, one bounded step per re-evaluation |
| At the top            | The full ceiling, and no further                                |
| Falling               | Steps down; a serious signal cuts deeper                        |
| Revoked               | Zero, immediately, with sub-agents and sessions closed          |

It never sets anything above the ceiling, and no single adjustment moves a field more than a registered step. Those are properties of the contracts, not promises from the engine.

### What is measured

Every action an agent takes produces a receipt, and the receipts are the input.

| Signal                      | What it looks at                                                           |
| --------------------------- | -------------------------------------------------------------------------- |
| Adherence                   | The share of actions that fit the mandate on the first attempt             |
| Spend velocity              | Spend against the budget, and against the agent's own established baseline |
| Counterparty novelty        | How often the agent pays somewhere it has never paid                       |
| Counterparty concentration  | How much of its spend goes to a few addresses                              |
| Screening hits              | Any counterparty appearing on a sanctions or risk list                     |
| Time-window drift           | Actions at hours the agent does not normally operate                       |
| Rejected and failed actions | How often the account refuses an action, and why                           |
| Escalations                 | How often the threshold is crossed, and what the operator decided          |
| Sub-agent conduct           | What agents beneath it do                                                  |
| Venue outcomes              | Whether venue allocations performed as expected                            |
| Repayment                   | Whether Loans the agent drew were serviced                                 |

The agent's ERC-8004 reputation from other counterparties is read as a weak additional signal. Another principal's data is never used to judge it.

### What raises it

* Long runs of actions that fit the mandate on the first attempt.
* A stable counterparty set, and payments that look like the agent's own history.
* Escalations that the operator approves, which show the threshold is set where judgement is actually wanted.
* Sub-agents that behave.
* Loans drawn and serviced on schedule.
* Venue allocations that perform in line with published expectations.
* Time. Consistency over weeks counts for more than a clean day.

### What lowers it

* Spend velocity far above the agent's own baseline.
* Bursts of payments to counterparties it has never used.
* Rejected actions, especially repeated ones. An agent that probes its limits looks like a compromised one.
* Escalations the operator rejects.
* Actions outside the mandate's time window.
* Sub-agents that misbehave.
* Missed capture on Loans the agent drew.

### Automatic responses

| Response | When                                                                                                                                              | What it means for you                                                                         |
| -------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- |
| Tighten  | An anomaly band is crossed                                                                                                                        | Effective limits step down. Existing sessions keep their reservation but new ones are smaller |
| Hold     | The engine flags the agent                                                                                                                        | Every action becomes a pending approval until the hold clears                                 |
| Revoke   | A screening hit, repeated out-of-window actions, a run of rejected actions, an operator hard stop, or a pattern consistent with a compromised key | The mandate stops validating, sub-agents are revoked, sessions close                          |
| Recover  | Sustained clean conduct after a tighten                                                                                                           | Effective walks back toward the ceiling, one bounded step at a time                           |

A revocation reaches the chain as soon as anyone relays it, not only when Tythe does. It cannot be delayed by a stalled service.

### Recovering after a tighten

<Steps>
  <Step title="Read the signal">
    Your current Conduct Rating and the signals behind the last change are readable through the developer surface. The console shows the principal the same thing.
  </Step>

  <Step title="Stop probing">
    Repeated rejected actions are themselves a negative signal. Read the effective value and act inside it rather than testing where the line now is.
  </Step>

  <Step title="Return to known counterparties">
    Novelty is what most anomaly bands are built around. Routine payments to an established set are the fastest way back.
  </Step>

  <Step title="Operate consistently">
    Recovery is gradual by construction: one bounded step per re-evaluation, on sustained clean conduct. There is no appeal that skips it.
  </Step>
</Steps>

If the tighten came from a misconfigured mandate rather than the agent's behaviour, that is a conversation with the principal, who can narrow or reissue the mandate to fit what the agent actually does.

### What it is not

* **Not creditworthiness.** The principal is underwritten for credit. An agent's rating measures behaviour.
* **Not portable authority.** A high rating does not grant scope; it only moves the effective value inside a ceiling a principal set.
* **Not private.** A bounded summary is published to the ERC-8004 reputation registry so other counterparties can see it, unless the principal turns publication off. Raw signals are never published.
* **Not permanent.** It moves in both directions, continuously.

<CardGroup cols={2}>
  <Card title="Mandates" icon="scroll" href="/agents/mandates">
    How an action is checked, and what a rejection tells you.
  </Card>

  <Card title="Accountability" icon="scale-balanced" href="/agents/accountability">
    What is published, and who answers for what.
  </Card>
</CardGroup>
