docs guides
Pause, revoke and resume
Permission in Commitry lives in two places: the DelegationRegistry on Elysium and the agent approval on Hyperliquid. Stopping an agent means acting on one or both.
For delegators
You have three ways to stop an agent, from lightest to final: pause, update limits, revoke. Pause and revoke are on the dashboard (Pause trading, Revoke) and on the agent's Delegations tab.
Pause and resume
DelegationRegistry.pause(delegationId) is one transaction on Elysium. The delegation moves to Paused. While it is paused the runtime cancels the agent's open orders and stops committing new decisions for it.
Pausing does not flatten positions. Open positions stay on your Hyperliquid account and keep taking price risk until you close them there. Pausing does not revoke the Hyperliquid agent key either.
| Pause can | Pause cannot |
|---|---|
| Cancel the agent's resting orders on Hyperliquid, best effort | Close your positions |
| Stop the agent committing new decisions | Revoke the Hyperliquid agent key |
Be reversed with resume(delegationId) | Be resumed by you if the operator also paused it |
| Be followed by a revoke at any time | Change your limits, your fee balance or your high-water mark |
The two pause bits
A delegation holds two independent pause bits, read with pauseFlags(delegationId):
| Bit | Value | Set by |
|---|---|---|
| User | 1 | You, the delegating user |
| Operator | 2 | The agent's operator or runner |
- Each side can resume only its own bit. You cannot clear the operator's bit, and the operator cannot clear yours.
- The delegation trades again only when both bits are clear. Status returns to
Activewhen the last bit is cleared. - If only the operator bit is set, the dashboard says: "Paused by the operator. Only the operator can resume it; you can still revoke."
- If you are also the agent's operator, the contract treats your call as the user's.
pauseFlagsis 0 to 3. The indexer returns it on delegation records aspauseFlags, next tostatus: "Paused". A record without the field means no bit is set.- Revoke works from
Pausedand clears the bits.
Update limits
updateRiskLimits changes the limits the agent must respect. It is not a stop: the agent can still trade within the new limits. Use pause when you want trading to stop.
Revoke access
A full stop, and permanent. It works from Active and from Paused. Revoke has two steps, each with its own status in the dialog:
- Elysium.
DelegationRegistry.revoke(delegationId). New decisions stop. The runtime cancels open orders on a best-effort basis. - Hyperliquid. Overwrite the agent approval with a throwaway address under the same agent name. This is a signature and costs nothing.
Revoking cannot be reversed. If you delegate to the same agent later, that creates a new delegation with a new agent key.
The dashboard shows a status line for each delegation, for example "Trade-only access: active on Hyperliquid". If the two sides disagree (active onchain but not approved on Hyperliquid, or the other way round) it shows a warning and a button that completes the missing side.
What happens to open positions
- Neither pause nor revoke closes positions. They stay on your Hyperliquid account and stay yours. Close them on Hyperliquid if you want to.
- The runtime cancels open orders on a best-effort basis when a delegation is revoked. Check your open orders on Hyperliquid.
- Your fee escrow stays withdrawable at any time, also after revoking and also while fee settlement is paused.
For operators
An operator controls the agent through AgentRegistry.setStatus. The Operator panel on the agent page is visible only when your connected wallet is the operator.
| Action | From | To | Effect |
|---|---|---|---|
| Pause | Active | Paused | New delegations and new decisions stop. Reversible. |
| Resume | Paused | Active | The agent accepts delegations again. |
| Retire | Active or Paused | Retired | Terminal. All delegations stop. Delegators keep their funds and can withdraw their escrow. |
- Suspended is set by the protocol owner, not by the operator. Only the owner can lift it, and operators have no button for it.
- Retired cannot be undone, and no further status change is possible.
- Fee changes (
setFeeConfig: up to 5000 bps, a recipient and a recipient kind) apply to new delegations only. Existing delegations keep the fee they accepted. transferOperatorhands the agent to another address. It takes effect immediately.
Pausing a single delegation
Separately from the agent status, the Operator panel lists each delegation with its status and pause bits ("paused by user", "paused by operator" or "paused by both").
- Pause calls
DelegationRegistry.pausefrom your operator wallet and sets the operator bit (2). The runtime cancels that delegation's open orders and stops new decisions. Positions stay open on Hyperliquid. - Resume clears only your bit. If the delegator's bit is set, the delegation stays paused until they resume.
- Terminate calls
terminate(id, reasonHash). It ends the delegation for good, from Active or Paused.
What is not possible
- Pausing without risk. Pause cancels resting orders and stops new decisions. It does not close positions, so exposure remains until you close it on Hyperliquid.
- Resuming the other side's pause. Each bit is cleared only by the side that set it.
- Reviving a revoked or terminated delegation. Both are permanent. Delegate again to start a new one.