The agent
Each agent has an ID that starts withagt_ and a handle that starts with its
account’s handle prefix, such as @juniper-checkout. An owner or admin claims
the prefix once, and it never changes. Handles are permanent and unique, so
businesses and activity records always show which agent acted.
An agent is active, suspended, or deactivated. Suspending an agent stops
every key for it on its next request, and resuming restores them.
Deactivation is permanent, and the handle stays reserved.
Agent keys
An agent key is how code acts as an agent. Your agent’s runtime sends it as a Bearer token, like any other secret key.- Issued by an owner. Owners issue agent keys from the agent’s Keys tab, choose when each one expires, and copy it once. Admins can create agents but cannot issue their keys.
- One mode per key. The prefix sets the mode. A test key makes test calls only.
- Its own account, or connected businesses. A key for your own account acts
there without extra headers. A platform agent’s key for connected businesses
sends
Ionic-Accountwith the business’s ID on every call. - Rotate and revoke. Rotating a key replaces its secret. Revoking a key stops only that key; the agent and its other keys keep working.
- Agent work only. An agent key calls the operations listed in
agent permissions. Other endpoints
return
403 AGENT_OPERATION_UNAVAILABLE, including creating and changing agents.
Access and permissions
Access is a business’s approval for an agent, in one mode, with a set of permissions. Your own agents get access in your account when you create them. A platform’s agent gets access to a business when an owner of that business approves its agent grant request. A call goes through only when every check passes: The key and the access each hold permissions, and a call needs both. Removing a permission from the access blocks it on the agent’s next request. Adding a permission to the access does not change an existing key: issue a new key that includes it. For a platform’s agent, Ionic also checks your connection with the business and your Platform Program on every call.Agents over MCP
An AI assistant connected through an MCP client, such as Claude or ChatGPT, uses no agent key. The person connecting signs in to Ionic and approves the connection, and the connection becomes an agent with its own handle and access. Disconnecting removes its access and keeps the agent and its activity. See Connect an AI agent over MCP.Activity
Agent activity on the Agents page shows each call an agent made, each call Ionic refused with the reason, and each change to the agent or its access. A business also sees the platform agents acting in its account there.Writes and retries
Every write an agent makes needs anIdempotency-Key. Use a unique key for
each change and reuse it when you retry, so a retry returns the original
result instead of repeating the change. See
Idempotency.
What’s next
Agent quickstart
Issue an agent key and take a test payment through it.
Agent permissions
Each permission and the operations it allows.
Connect your AI agent
Create, manage, and review your own agents in the dashboard.
Platform agents
Act for the businesses you serve with your agent’s key.

