Skip to main content

Agents

Create software agents that act for the organisation inside a mandate the chain enforces, change or revoke a mandate, and halt every agent at once.
Open it fromOrganisation participantsAgentsRole:OwnerConsole address: /agents

Software Agents execute automated tasks for your organisation (such as coupon and dividend payouts) using a managed custody key bounded by an on-chain agent mandate: allowed contracts and functions, per-transaction and per-period spending ceilings, and an expiry date.

A mandate does not restrict recipients, and ceilings meter only transfer, transferFrom, and approve on listed assets (other allowed calls such as mints or payouts are unmetered). The platform, not the chain, limits the Payout funding watcher to the treasuries of the dividend features the mandate lists (Where payout top-ups go). See Agent mandate for enforcement and kill switches, and Agents and mandates for starter mandate defaults.

The “Agents” page before any agent exists, with “Create agent” in the header.

Steps

Create an agent

  1. Open Organisation participants → Agents and select Create agent. The Create agent wizard opens on its own page with three steps: Name, Mandate and Review. It keeps a draft in this browser for seven days, so you can leave and pick up where you stopped.
  2. On Name, enter an Agent name (up to 120 characters) and continue.
  3. On Mandate, the wizard loads a starter payout mandate without creating anything yet. Configure the mandate settings:
    • Expires: Future date and time when the mandate ends.
    • Ceiling period: Rolling window for period ceilings (“1 hour”, “1 day”, or “7 days”, plus any custom period when editing).
    • Allowed contracts and functions: Add contracts via Add contract and pick named functions (such as coupon/dividend payouts, approve, or transfer) or enter a 4-byte Function selector (for example, 0x12345678) and select Add function. Every contract requires at least one function. A dividend feature from the starter draft shows Treasury the agent tops up with the treasury address. Remove any dividend feature whose treasury you do not recognise, and add one with Add contract only when you know its treasury.
    • Gas ceilings for self-paid operations: Set Ceiling per transaction and Ceiling per period in the chain's native currency. They apply only when the account pays its own gas, without a paymaster. 0 refuses every self-paid operation. The starter mandate proposes a default for both.
    • Ceilings per asset: Select Add asset, enter the Asset address, and set both Ceiling per transaction and Ceiling per period (accepts k, m, and b suffixes such as 1.5k). Allow only required functions because non-transfer/approve calls bypass ceilings.
  4. Continue to Review, check the summary, select Create agent, and confirm with your wallet verification (“Agent created”). The agent's page opens.

The agent starts as “Setting up” while its on-chain account deploys, then updates automatically to “Active”.

Open an agent

Select any agent row (or search via Search agents) to open its Overview and Activity log tabs:

  • Overview: Displays Identity (status, account, signer, mandate owner, created/revoked details), Mandate (expiry, period, allowed calls), and Limits this period (current usage, per-transaction ceilings and the gas ceilings). For active agents, the header offers Edit mandate and (when you can grant roles) Manage roles (roles granted to an agent account are unmetered by ceilings).
  • Activity log: Lists on-chain events sent by the agent's account and signer. Refused pre-submission calls do not appear here, so check the Audit trail under the Agent channel.

Edit a mandate

  1. On an active agent's page, select Edit mandate in the header. The Edit mandate page opens.
  2. Update the mandate fields and check each Treasury the agent tops up line, as when creating an agent.
  3. Check the summary under the fields (expiry, period, and the number of contracts and assets), then select Replace mandate and confirm with your wallet verification (“Mandate replaced”). The agent's page opens again.

Replacing a mandate completely overwrites allowed calls, asset and gas ceilings, and usage counters as soon as the transaction lands on chain. Removing a dividend feature stops the agent topping up its treasury. The watcher's next run turns a transfer already scheduled for that feature into a draft, and a transfer that comes due before that run is refused, with Not run in Actions.

Revoke an agent

Revoking an agent is permanent: the agent can never act again, and granting new limits requires creating a new agent.

  1. On an active agent's Overview tab, select Revoke agent. The Revoke agent page opens.
  2. Enter a Reason (up to 500 characters), select Revoke agent and confirm with your wallet verification (or select Keep agent to cancel).

The agent's status changes to “Revoked” (“Revoked by” reads “The kill switch of this agent”).

Send a revocation again

Revoking blocks new DALP actions immediately, while the mandate stays live on chain until the revocation transaction confirms (Kill switches). If confirmation has not landed, Overview displays “The revocation has not reached the chain”.

  1. Select Send revocation again in that notice. The Send revocation again page opens.
  2. Enter a Reason, select Send revocation again and confirm with your wallet verification (the original revocation timestamp and actor stay unchanged).

Once confirmed on chain, the notice switches to “This agent is revoked”.

Halt all agents

Halting permanently revokes every non-revoked agent in the organisation. Turning the halt off allows creating new agents but never restores revoked ones.

  1. Below the agents list, select Halt all agents. On the Halt all agents page, enter a Reason (up to 500 characters), select Halt all agents and confirm with your wallet verification (or select Keep agents running).
  2. While active, the banner displays “All agents are halted”. To create new agents later, select Turn off halt in the banner. On the Turn off the halt page, enter a Reason, select Turn off halt and confirm.

Agent statuses

Status
Meaning
“Setting up”
On-chain account is provisioning, and the page refreshes automatically when ready.
“Active”
Mandate is live on chain and the agent can act within its limits.
“Revoked”
Permanently stopped by agent revocation or organisation halt.
“Failed”
Provisioning failed before activation. Create a new agent to retry.

Troubleshooting

Create agent is unavailable

All agents are halted (“Turn off the halt to create agents.”). Select Turn off halt and confirm. API creation while halted returns DALP-199552.

Create agent or Edit mandate does not continue

Check the footer validation message (empty contract list, contract without functions, or asset missing a ceiling). Via the API, DALP-199554 (data.rule) rejects past expiries, duplicate entries, transfer/transferFrom/approve without an asset ceiling, or other functions paired with an asset ceiling.

Halting all agents returns an error

Inspect the list after reload. If “All agents are halted” is absent, retry Halt all agents. If the banner appears, open each agent: use Send a revocation again for any showing “The revocation has not reached the chain”, and revoke any still “Active” before turning the halt off.

An agent stays on Setting up

On-chain provisioning is still running and refreshes automatically. If it turns “Failed”, create a new agent with the same mandate.

The mandate could not be read from the chain

The chain read failed to respond temporarily. Reload the page in a moment to view the active mandate and limits.

Edit mandate or Manage roles is missing

Both appear only for “Active” agents (API changes to non-active agents fail with DALP-199553). Manage roles also requires a provisioned account and role-granting permission.

Agents is missing from the sidebar

Only organisation Owners can open Agents (other roles receive DALP-199555 on /api/v2/agents).

API routes

All endpoints under /api/v2/agents require the Owner role (see the Platform API reference):

  • GET /api/v2/agents and POST /api/v2/agents list and create agents.
  • GET /api/v2/agents/mandate-proposal returns the starter mandate proposal.
  • GET /api/v2/agents/{agentId}, PUT /api/v2/agents/{agentId}/mandate, and POST /api/v2/agents/{agentId}/revocation read, replace mandates on, and revoke an agent.
  • GET /api/v2/agents/kill-switch and PUT /api/v2/agents/kill-switch inspect and toggle the organisation-wide halt.

Was this page helpful?