Manage agents, connected apps and payment keys
An agent is the identity Assay uses to group calls and apply rules. A connected app is an AI app signed in to use that agent. A payment key is the separate key your local app uses to sign payments within permission you approve in your wallet. Disconnecting an app and stopping a payment key are different actions.
An API key lets your own program work as an agent. It is a secret you copy into that program. You choose what it can do when you create it, and it expires. It is not the payment key: to pay, the program also needs a payment key that you approve in your wallet.
Find your agent
Section titled “Find your agent”Open Controls → Agents. The page is titled Agents & keys. Find the agent by name and read its status. Under Keys, each Signed in from row identifies a connected app; API keys appear here too. Each row says what the key can do and when it expires, such as Calls tools · pays · reads activity · Expires Jan 20, 2027. Read the last-used information and the payment-key state beside the relevant row.
Each account has one agent, created when you first sign in (see Create your account). A new API key adds a key to that agent; it does not create another agent.

Give the agent a useful name
Section titled “Give the agent a useful name”Choose Rename beside the agent’s name. Edit the name and choose Save. This changes its label; it does not create a new identity or change its connections or limits.

Disconnect an app you no longer use
Section titled “Disconnect an app you no longer use”Under Keys, find the app’s Signed in from row and choose Revoke. Review the named app before confirming. Revoking stops that app’s access; it must sign in again to reconnect. Other app connections are separate.
If it has an active payment key, keep Also stop its payment key on chain selected when offered. Follow Revoke and sign, or Revoke, then stop its key, and complete the wallet step. Revoking app access alone can leave payment permission active on chain.
If signing fails or you leave payment permission active, the row keeps Stop it. Use it and complete the signature. A failed chain check means the payment key may still be active; it does not prove that payments are off.
Stop a payment key paying
Section titled “Stop a payment key paying”To stop payments while keeping free calls working, find that key’s Stop it paying action. Review any payments still settling, then choose Sign to stop paying (free) and complete the wallet signature. Wait for the result and any delay shown.
The payment key loses permission to sign new payments from your balance. The app can still make free calls. Calls already made still need settling and payment; this does not refund earlier calls or withdraw funds.
Let the same key pay again
Section titled “Let the same key pay again”For a key with expired permission, choose Let it pay again; when permission is absent, choose Let it pay. Check the key fingerprint against your app, review the spending limits and expiry, and complete the wallet signature. If the account ceiling needs raising too, review both requests.
If the app itself was revoked, reconnect it through Connect your AI app first. For an app with no payment key yet, use its setup link in Turn on paid calls. Hosted connectors remain free-only.
Check it worked
Section titled “Check it worked”The agent shows its saved name. A revoked app no longer has a live connection. A stopped payment key is no longer active on chain; a renewed one shows its permission and expiry. Treat may still be active on chain as unresolved until the chain can be checked.
If something goes wrong
Section titled “If something goes wrong”| You see | Do this |
|---|---|
| Payment key still active on chain | Use Stop it on the row and complete the wallet step if you intend to stop it. |
| The payment key could not be checked | Retry later; do not assume it is off. |
| Payments still being settled | Read the pending-call warning and wait as offered before stopping or lowering permission. |
| No payment key, or Let it pay is disabled | Use the local app’s paid-call setup link. An API key alone cannot sign payments. |
| A revoked app needs to connect again | Sign it in again through Connect your AI app. |
| A key row says create a new key soon, or Expired | The key ends within a week, or has ended. Create a new key, put it in your program, then revoke the old one. |
| Your program says This key cannot pay or that it is missing a permission | The key was made with fewer permissions. Create a key with Agent and use it instead. |
Optional: API keys for My own code
For a program you build, use Use an API key instead under the agent’s Keys, or New key if it already has an API key. Enter Key name. Open Advanced to see what the key can do and when it expires.
Under What it can do, choose one:
| Choice | What the key can do |
|---|---|
| Agent (default) | Calls tools, pays for paid calls within your limits, and reads its own activity. |
| Free calls only | Calls tools, but can never pay. |
| Read only | Reads its own activity. It cannot call tools or pay. |
Select Can report bad results if the program should be able to flag a tool result that was wrong. It is off unless you need it, and not offered for Read only.
The choices add up from four permissions:
| Permission | What it allows |
|---|---|
| Call tools | Find, read and call tools. |
| Pay | Take part in paid calls, with a payment key you approved. A key can pay only if it can also call tools. |
| Read activity | Read its own balance, calls and receipts. |
| Report bad results | Report a tool result that was wrong. |
No key can change your limits, your keys or where your alerts go. Only you can, signed in to Assay.
Under Expires after, choose 30 days, 90 days (default) or 1 year. The key stops working then; you can revoke it sooner. There is no key that never expires. Choose Create key.

Copy the full key immediately and store it securely. It is shown only once; Assay cannot show it again. If you lose it, create a replacement and revoke the old key. The page also says when the key expires: create a new key before then. Use the connection details for My own code described in Connect your AI app. Your program also needs to sign payments to use paid tools.

To revoke it, find its API-key row under Keys, choose Revoke and review the confirmation. If it has active payment permission, complete the separate on-chain stop too. A new API key does not cancel an older key.

Optional: a new payment key is waiting for your approval
A program that uses an API key can ask to replace its payment key, for example when it moves to a new server. The new key does not take over by itself. Its row shows New payment key with its fingerprint and is waiting for your approval, and says it replaces the current key, which keeps paying until you approve.

- To approve it, open the link your program showed. The page is titled Replace the payment key for the app and shows both fingerprints: the new one under Payment key and the old one under Current payment key:. Check the new one against your program, then approve as in Turn on paid calls. Afterwards, choose Stop the old key and sign, so the old key can never pay again.
- If you did not ask for it, choose Discard, then Discard key. The current key keeps paying. Your program must ask again to replace it. Choose Keep it to leave the request waiting.

