Agents page
The Agents page is where you register the A2A agents the gateway fronts, give them keys and limits, stop them in an emergency, and build custom agents that the gateway runs itself. Open it at /ui/agents. It sits in the left nav in the AI Gateway group under Agentic, as the first item before Workflow Runs. The nav shows it to proxy admins, proxy admin viewers and internal users. Internal viewers and org admins do not see it in the nav. Two UI settings can hide it from internal users. When disable_agents_for_internal_users is on, internal users lose the item unless allow_agents_for_team_admins is also on and they admin at least one team. When an admin limits the pages internal users can see (the enabled_ui_pages_internal_users UI setting), internal users only see it if it is on that list. The page itself has no role guard, so anyone signed in who types the URL reaches it. Registering, editing and deleting agents is for proxy admins only, and the gateway enforces that. Identity bindings, required trace ids, session limits and the kill switch need the Agent governance license feature. The Custom agents tab needs the Custom agents feature, and server tools inside a custom agent need Server tools in custom agents.
The page has two tabs, Agents and Custom agents. It always opens on Agents and does not remember the tab in the URL.
Scenario
A platform admin has to put a new research agent in front of two product teams by the end of the day, with a spend cap per session and a way to stop it if it misbehaves. Everything happens on this page. The admin registers the agent, picks the teams on the Entitlements step, sets a session budget on the Governance step, and later watches the Spend (USD) column grow. When the agent starts looping one evening, Stop Agent in the Danger Zone halts it and blocks its keys in one click.
Steps
-
Sign in as a proxy admin and open Agents under Agentic in the left nav, or go to
/ui/agents. -
Click Add New Agent. On Configure fill the agent name, description and URL. On Entitlements pick the teams and keys that may call it. On Governance set the session limits and the kill switch webhook if you have one. Review Agent Management and click Create Agent. The dialog sends the same request as this call.
curl -X POST http://localhost:4000/v1/agents -H "Authorization: Bearer $SPANWAY_API_KEY" -H "Content-Type: application/json" \-d '{"agent_name": "research-assistant","agent_card_params": {"name": "Research assistant", "description": "Finds and summarises internal documents", "url": "https://agents.internal.example.com/research"},"spanway_params": {"custom_llm_provider": "a2a", "api_key": "os.environ/RESEARCH_AGENT_KEY", "max_budget_per_session": 2.5},"session_rpm_limit": 60}' -
Click the new row's Agent ID to open the detail view. The Overview tab shows the agent card, the bound keys and the usage charts, and the Settings tab edits every field you set in the dialog.
-
To build an agent the gateway runs itself, switch to the Custom agents tab, click New custom agent, fill the form and click Save agent, then open it and click Run with a task.
-
In an emergency open the agent, scroll to Danger Zone, click Stop Agent and confirm. Restore on the same page re-enables it and unblocks its keys afterwards.
Expected result
The new agent appears in the table with a Needs Setup badge until a key is bound to it or a JWT identity is configured, then Active. The create call answers 200 with the agent record, including its agent_id, and the same agent is reachable at /a2a/research-assistant/message/send for every key you granted it. After Stop Agent the row shows Disabled, calls to the agent answer 403 and the confirm dialog's count of blocked keys matches the affected_tokens in the kill switch response.
Agents tab
The header reads Agents with a short explanation and a link to the run ledger. Below it an info box titled How do agents authenticate? explains that an agent can call the gateway with a virtual key or with a JWT from a trusted identity provider, and that JWT authentication does not need a key.
| Control | Type | What it does |
|---|---|---|
| Add New Agent | Button | Opens the Add New Agent dialog. Shown only to proxy admins. |
| Search box | Text field | Filters the table by agent name, agent id or description as you type. The placeholder is "Search agents by name, ID, or description...". A clear button appears once you type. |
| Health Check | Switch, off by default | When on, the list is fetched again with a health check and only agents whose URL answers are shown. The tooltip reads "When enabled, only agents with reachable URLs are shown". The switch is disabled while the check runs. Each agent gets SPANWAY_AGENT_HEALTH_CHECK_TIMEOUT seconds (5 by default) and the whole check SPANWAY_AGENT_HEALTH_CHECK_GATHER_TIMEOUT (30), see the settings reference. |
The table is sorted by Created, newest first, and is paginated in the browser.
| Column | Meaning |
|---|---|
| Agent Name | The unique agent name. Sortable. |
| Agent ID | The agent id. Click it to open the agent detail view. Sortable. |
| Spend (USD) | Total spend recorded for the agent, to four decimals. Sortable. |
| Model | The model set in the agent's Spanway parameters, or N/A. |
| Created | The creation date. Sortable. |
| Status | A badge, see below. |
| Actions | A menu with Delete. Shown only to proxy admins. |
| Badge | Meaning |
|---|---|
| Disabled | The agent's execution is off, for example after the kill switch or when Execution is set to Disabled. |
| JWT configured | The agent has an identity provider binding and can call the gateway without a key. |
| Active | At least one virtual key is bound to the agent. |
| Needs Setup | No key is bound and no JWT identity is configured, so nothing can call the gateway as this agent yet. |
Delete opens a Delete Agent dialog that names the agent and warns "This action cannot be undone." Delete removes the agent registration. It cannot be undone. Cancel closes the dialog.
Add New Agent dialog
The dialog walks through five steps shown as a progress bar, namely Configure, Entitlements, Governance, Agent Management and Ready. Next moves forward, Back moves back, and Cancel closes the dialog and throws the draft away. Closing the dialog any other way also resets it. Nothing is saved until you press Create Agent on the fourth step.
Configure step
| Control | Type | What it does |
|---|---|---|
| Agent Type | Dropdown | The kind of agent. The list of types, with their logos and descriptions, comes from the gateway. The last entry, under "Not listed?", is Custom / Other with a GENERIC badge, "For outbound agents using an identity provider or virtual key". Changing the type resets the form and drops any discovered card. |
| Agent Identity section | Fields | Binds an identity provider application to the agent. See below. |
| Agent Name | Text field, required | The unique agent name. The error reads "Please enter a unique agent name" (or "Please enter an agent name" for Custom / Other). |
| Description | Text area | Shown for Custom / Other and for gateway types that use their own fields. |
| Type specific settings | Fields | Some types add a box named after the type with its own connection fields, some of them required or masked as secrets. The labels, placeholders and tooltips come from the gateway. |
| Discover from agent URL | Section | Fetches the upstream agent card. Not shown for Custom / Other. See below. |
For the default A2A type, and for gateway types that reuse the A2A form, the step shows these collapsible panels. Basic Information (Required) opens by default.
| Panel | Fields |
|---|---|
| Basic Information (Required) | Display Name (required), Description, URL (the base URL where the agent is hosted, optional), Version (default 1.0.0) and Protocol Version (1.0 or 0.3, default 1.0). The help text says Spanway serves the version you pick to clients and converts the upstream agent's responses to match it. |
| Skills | Add Skill adds a skill card with Skill ID, Skill Name, Description and Tags (all required) and Examples. Tags and examples are typed and added with Enter. Remove Skill removes the card. |
| Capabilities | Streaming, Push Notifications and State Transition History switches. |
| Optional Settings | Icon URL, Documentation URL and Supports Authenticated Extended Card. |
| Cost Configuration | Cost Per Query ($), Input Cost Per Token ($) and Output Cost Per Token ($). Used to price calls to the agent. |
| Spanway Parameters | Model (Optional) and a Make Public switch. |
| Authentication Headers | Static Headers are header name and value pairs always sent to the agent, and they win over client headers. Add Static Header adds a pair and both fields are required. Forward Client Headers lists header names copied from the client request to the agent. |
| Kill Switch | The webhook the gateway calls when the agent is stopped. See below. |
Gateway types with their own fields show the type's fields, then only the Cost Configuration and Kill Switch panels.
The Kill Switch panel has these fields.
| Control | Type | What it does |
|---|---|---|
| Webhook URL | Text field | Absolute http or https URL Spanway calls when the kill switch fires. Leave it empty to have no webhook, or clear it on an existing agent to remove the webhook. |
| Method | Dropdown, default POST | POST, PUT, PATCH, DELETE or GET. |
| Headers | Name and value pairs | Add Header adds a pair. The name is required. |
| Query Parameters | Name and value pairs | Add Query Parameter adds a pair. The name is required. |
| JSON Body | Text area | Optional JSON object sent as the body. Anything other than a JSON object is refused with "Body must be a JSON object". |
| Authentication | Dropdown, default None | None, Bearer token, API key header or Basic auth. Bearer asks for a Bearer token. API key asks for Header name (defaults to X-API-Key when empty) and API key. Basic asks for Username and Password. Secrets are masked and required for the chosen type. |
The Agent Identity section reads "Connect an existing identity provider application to this agent." Its fields are below. Without the Agent governance license feature the section shows "Identity provider binding needs a Spanway Enterprise license" and Identity Provider is disabled.
| Control | Type | What it does |
|---|---|---|
| Identity Provider | Dropdown, default No explicit identity binding | Pick Microsoft Entra ID to bind an Entra application. The other fields only appear for Entra. |
| Trusted Entra Tenant | Dropdown, required | The tenants the gateway already trusts, read from the gateway's JWT issuer settings. When none exist it says to configure JWT issuer and audience validation on the gateway first, and that dashboard Microsoft SSO is configured separately. |
| Application (Client) ID | Text field, required | The Entra application client UUID. A value that is not a UUID is refused. No client secret is needed. |
| Execution Mode | Dropdown, default Autonomous | Autonomous, On behalf of a user or Both. |
| Enterprise Application Object ID | Text field | The service principal Object ID from Entra Enterprise applications, which is a different value from the App registrations Object ID. Required unless the mode is On behalf of a user. Must be a UUID. |
| Required Application Roles | Text field | Comma separated role values autonomous tokens must carry, placeholder Agent.Invoke. |
| Required Delegated Scopes | Text field, default user_impersonation | Shown for On behalf of a user and Both. Required. Users must first sign in through the gateway's Microsoft SSO, and delegated calls must satisfy both the user's and the agent's permissions. |
| Execution | Dropdown, default Enabled | Disabled keeps the binding but stops the agent from running. |
Discover from agent URL fetches the upstream agent card through the gateway. For types whose connection fields build the URL, it shows the URL it will fetch and a Discover button. Otherwise it shows a URL field (placeholder https://upstream-agent.example.com) and tries /.well-known/agent-card.json, /.well-known/agent.json and /agent.json in that order. It also discovers on its own about 400 ms after the URL stops changing. Once a card loads it shows Upstream card loaded, an editable Name (shown to API clients) and Description, a Skills list with a checkbox per skill and a "selected" count, and a Capabilities list where only streaming can be switched. A capability the upstream card does not advertise shows "not advertised upstream". Your picks flow into the form with no extra apply step, and Re-discover fetches again. A failure shows Discovery failed with the reason and a dismiss button.
Entitlements step
The step reads "Configure which models, agents, and MCP tools this agent is allowed to use. Leave fields empty to allow all (subject to key/team permissions)."
| Control | Type | What it does |
|---|---|---|
| Allowed Models | Multi select | Limits the models the agent may call. Empty allows all. |
| Allowed Agents (Sub-Agents) | Multi select | Limits the other agents this agent may call as sub-agents. Empty allows all. |
| Access Groups | Multi select | Attached access groups cap the models, MCP servers and agents the agent can reach, on top of its key and team permissions. Empty adds no cap. |
| Allowed MCP Servers | Multi select | MCP servers or MCP access groups the agent may use. |
| MCP tool permissions | Per server list | Appears for the chosen servers and lets you limit which tools of each server the agent may call. |
Governance step
| Control | Type | What it does |
|---|---|---|
| Require x-spanway-trace-id on calls TO this agent | Switch, off | Only accept calls to this agent that carry a trace id, for example when it is used as a sub-agent. |
| Require x-spanway-trace-id on calls BY this agent | Switch, off | LLM and MCP calls the agent makes must carry x-spanway-trace-id so they can be tracked per session. Turning it off clears the session budgets below. |
| Max Iterations | Number | Hard cap on LLM calls per session, placeholder "e.g. 25". Values under 1 become 1. |
| Max Budget Per Session ($) | Number | Spend per trace before the gateway answers 429, placeholder "e.g. 5.00". Values under 0.01 become 0.01. |
| TPM Limit and RPM Limit | Numbers | Global rate limits across every caller of this agent. |
| Session TPM Limit and Session RPM Limit | Numbers | Rate limits per session, each session with its own counters. |
| Guardrails | Multi select | Guardrails that run on every call this agent makes. |
Max Iterations, Max Budget Per Session ($) and the two session rate limits are disabled until Require x-spanway-trace-id on calls BY this agent is on, and a warning box says so. Without the Agent governance license feature both trace id switches and those four fields are disabled and the step shows "Required trace ids, session budgets and session rate limits needs a Spanway Enterprise license". TPM Limit, RPM Limit and Guardrails stay available.
Agent Management step
The step shows the agent name as a chip and asks how the agent gets a key.
| Control | Type | What it does |
|---|---|---|
| Assign to Team | Dropdown | Optional team for the virtual key. The agent's own permissions are managed separately. |
| Create a new key for this agent | Radio card, default, marked Recommended | Creates a key scoped to this agent. Key Name is filled with the agent name plus -key. If you empty the name, no key is created. |
| Assign an existing key | Radio card | Moves a key you already have to this agent. Pick it in the search box (placeholder "Search by key name…"). The first 100 keys are listed. Creating without picking one shows "Please select an existing key to assign". |
| Skip for now, I'll assign a key later | Link | Creates the agent with no key. For an Entra bound agent it reads Use Entra JWT authentication and a note says you can skip key creation. |
| Create Agent | Button | Validates the whole form, creates the agent and then the key or key assignment. Errors show as "Failed to create agent" with the reason. |
Ready step
The step reads Agent Created! with the agent name. When a new key was made it is shown once with a copy control. Copy it now, because the gateway does not show it again. When an existing key was assigned it names that key. When you skipped, it says to create a key on the Virtual Keys page, or for Entra agents to send an authenticated request to verify the connection. Done closes the dialog and refreshes the table.
Agent detail view
Clicking an agent id replaces the table with the agent view. Back to Agents returns to the list. The header shows the agent name, a Disabled badge when execution is off, and the agent id. Proxy admins see two tabs, Overview and Settings. Everyone else sees only Overview.
Overview tab
For proxy admins with an Entra bound agent, a box titled Agent Identity for Microsoft Entra ID comes first. It shows the tenant, the client id, the Enterprise application Object ID, the execution state and mode, and either the last time a validated Entra token matched the binding, "Configured, awaiting an authenticated request", or a note that the identity is unbound and execution is disabled. Refresh authentication evidence reloads it, and View request logs opens the Logs page.
A details list follows with Agent ID, Agent Name, Display Name, Description, URL, Version, Protocol Version, Streaming, the push and state history capabilities when on, Skills (a count), Model and Make Public when set, Icon URL and Documentation URL when set, TPM Limit, RPM Limit, Session TPM Limit and Session RPM Limit (each "Unlimited" when empty), Access Groups, Created At and Updated At.
Below it are these sections.
| Section | What it shows |
|---|---|
| Virtual Keys | The keys bound to the agent, each with its alias and a shortened token. Clicking a token opens that key's detail view, with Back to Agent to return. With none it reads "No virtual key assigned to this agent." |
| MCP Tool Permissions | Shown when the agent has MCP grants. Lists MCP Servers, MCP Access Groups, MCP Toolsets and Tool permissions per server. |
| Cost Configuration | Shown when any cost field is set. |
| Skills | Each skill with its id, description, tags and examples. |
| AI hub | Proxy admins only. See below. |
| Danger Zone | Proxy admins only. The kill switch. See below. |
The AI hub box shows Listed in the AI hub or Not listed. It explains that publishing puts the agent card (name, description, skills and A2A address) on the public AI hub page, which anyone who can reach the gateway can open without a key, while calling the agent still needs a key granted to it. Publish to AI hub opens a confirmation, "Publish ... to the AI hub?", that warns you to leave out anything you would not show outside your organization. Publish lists it. The page has no unpublish button. To take it off the hub you change the published agents on the AI hub page. If the hub cannot be read the box says the listing state is unknown.
Danger Zone and kill switch
The Kill switch box explains that it disables the agent, blocks or deletes every key bound to it and stops its workflow steps, and that this can cause an outage for everyone using the agent. It names the webhook it will call afterwards, or says no webhook is configured.
Stop Agent opens a dialog titled "Stop ...?".
| Control | Type | What it does |
|---|---|---|
| Block its keys | Radio, default | Blocks every key bound to the agent. Restore can unblock exactly these keys later. |
| Delete its keys | Radio | Deletes every key bound to the agent. Deleted keys cannot be restored, so you will need to issue new ones. |
| Reason | Text area, up to 500 characters | Optional. Recorded in the audit log. |
| Confirm agent name | Text field | You must type the agent name exactly before Stop Agent is enabled. |
| Stop Agent | Button | Stops the agent at the gateway, then calls the webhook if one is set. |
The warning in the dialog counts how many keys will be blocked or deleted and says that whatever the webhook does is outside Spanway's control. After a stop, a toast and a status line describe the result, for example how many keys were blocked or deleted, whether the webhook answered and with which HTTP status, or that the agent is disabled on this replica only because the database step failed or the agent has no database row.
Restore appears when the agent is disabled. It re-enables the agent and unblocks the keys the last kill switch blocked. If the last kill switch deleted keys, it re-enables the agent and tells you to issue new keys. If no kill switch record is found, it re-enables the agent and tells you to unblock keys on the Virtual Keys tab. Restore needs no license. Without the Agent governance license feature the Stop Agent button is hidden and the box shows "The kill switch needs a Spanway Enterprise license".
Settings tab
The tab reads Agent Settings. Edit Settings turns it into a form. Until then the tab only shows a hint to press Edit Settings.
The form shows the read only Agent ID, then the same panels as the Configure step for this agent's type, the Agent Identity section and Discover from agent URL (which starts from the saved card). After them come a Rate Limits section with TPM Limit, RPM Limit, Session TPM Limit and Session RPM Limit (placeholder "Unlimited"), an Access Groups field, and an MCP Servers section with Allowed MCP Servers and the per server tool permissions. Keys bound to the agent can only reach the MCP servers granted here. Without the Agent governance license feature the session limits are disabled unless they already hold a value, and a note reads "Session limits needs a Spanway Enterprise license".
A stored secret only goes to the address it was saved with. If you change the agent card URL or the agent's API base, enter its key or secret again in the same save, otherwise the gateway refuses the update with a 400. Masked secrets you leave untouched are never saved back over the stored value.
Save Changes saves and shows "Agent updated successfully", or "Failed to update agent". Cancel drops your edits and reloads the agent. The settings form has no fields for allowed models, allowed sub-agents, required trace ids, session budgets or guardrails, so those keep the values set when the agent was created.
Custom agents tab
Custom agents are agents the gateway runs itself, built from instructions, a model and tools. The whole tab sits behind the Custom agents license feature. Without it the tab shows "Custom agents needs a Spanway Enterprise license".
| Control | Type | What it does |
|---|---|---|
| New custom agent | Button | Opens the custom agent form. Hidden for view only roles, which instead read that they can see the custom agents shared with them but not create or change them, and that a custom role with custom_agents.write lifts this. |
| Column | Meaning |
|---|---|
| Name | The agent name, with a Disabled badge when it cannot run. Click it to open the agent. |
| Model | The model it calls. |
| Shared with | Only me, Team or Everyone. |
| Write tools | The MCP write tools switched on for it, or Off. |
| Actions | Delete for roles that can write. It opens Delete followed by the agent name, which says "Its instructions, tools and limits are deleted and nobody can run it again. Past runs stay readable to whoever started them and to admins. This cannot be undone." Delete agent deletes the agent and its registration, and Cancel keeps it. A failure keeps the dialog open with "The agent was not deleted". |
Proxy admins and admin viewers see every custom agent. Everyone else sees the ones they own and the ones shared with their teams or with everyone.
Custom agent form
The same form creates and edits an agent.
| Control | Type | What it does |
|---|---|---|
| Name | Text field, required | "Name is required" until filled. |
| Description | Text field | Optional. |
| Instructions | Text area | The system instructions the agent follows. |
| Managed prompt | Dropdown, default No managed prompt | Uses a managed prompt from the prompt library instead of, or with, the instructions. |
| Skills | Checkboxes | Shown when skills exist on the gateway. Attaches those skills. |
| Built-in read-only tools | Checkboxes | Lens: recent traces, Lens: read a trace, Lens: read a span, Server tool: fetch a public web page and Server tool: current date and time. |
| Model | Dropdown, required | Models you can call. "Pick a model" until chosen. |
| MCP toolset | Dropdown, default No MCP tools | The MCP toolset the agent may use. Changing it clears the write tools. |
| Tool list | Per tool row | Appears once a toolset is picked. See below. |
| Max steps | Number, default 10, 1 to 50 | The most model turns in one run. |
| Budget per run (USD) | Number, optional | The run stops once it has spent this much. |
| Time limit (seconds) | Number, default 300, 1 to 900 | The run stops after this long. |
| Who can see and run it | Dropdown, default Only me | Only me, My team (proxy admins and team admins) or Everyone (proxy admins only). |
| Team | Dropdown | Shown for My team. Lists the teams you admin. Required, "Pick the team that owns this agent". |
| Save agent | Button | Saves the agent. Disabled while any rule above fails, and the first problem is shown above the buttons. |
| Cancel | Button | Returns to the list without saving. |
The two server tools need the Server tools in custom agents license feature. Without it their checkboxes are disabled (unless already ticked) and the help text says to ask sales@spanway.ai to add agent_server_tools. With it, the help text reminds you that server tools must also be enabled under general_settings.server_tools and granted on the runner's key and team.
When a toolset is picked, the tool list explains that read only tools are available to the agent and write tools stay off unless a proxy admin switches them on. A proxy admin sees a switch per tool, or "Read-only" for tools the server marks read only, or "Writes are off for this tool on its server" for write tools the server's tool policy has not enabled. Other users see "Write enabled by an admin" or "Read-only if annotated". When anyone other than a proxy admin changes what an agent does, the gateway switches its write tools off until a proxy admin turns them on again.
Running a custom agent
Opening an agent shows its name, description, Edit (for roles that can write) and Back. A disabled agent shows "This agent is disabled and cannot run".
| Control | Type | What it does |
|---|---|---|
| Agent input | Text area | What the agent should do, placeholder "What should the agent do?". |
| Run | Button | Starts a run and streams its timeline. Disabled while running or when the input is empty. |
| Stop | Button | Cancels the running run. Enabled once the run has an id. |
The timeline lists each event as it arrives, such as the tools it started with, each step, each model answer with its tokens and cost and the tools it asked for, each tool result, and tools that were refused (shown in amber) because they are not available to the agent, their arguments were not a JSON object, or the step went over its tool call limit. When the run stops, its final text appears with Open in run ledger. A run ends as Completed, Stopped at the step limit, Stopped at the budget, Stopped by the kill switch, Cancelled, Stopped at the time limit or The model call failed.
The Runs table below lists past runs with Started, By (the user, or "key"), Input, Result (the stop reason or "Running"), Steps, Cost and a Run ledger link. With none it reads "No runs yet".
Empty, error and disabled states
An empty agents table reads "No agents yet" with "Add an agent to make it available in your organization." A search with no match reads "No matching agents". If the agent list cannot be loaded, the table is simply empty. If one agent cannot be loaded, a toast reads "Failed to load agent information" and the view shows "Agent not found" with Back to Agents List. Add New Agent is disabled while there is no session token.
Governance controls are disabled with a license note when the license lacks Agent governance, as described in each section. They also stay disabled while the license is being checked and when it cannot be read. When it cannot be read, the note is titled with the section name followed by "is hidden until the license can be checked" and asks you to reload the page or ask a proxy admin to check that GET /health/license answers. The gateway checks the license on every call either way. The custom agents list reads "No custom agents yet" when empty. A failed custom agent save or delete shows the gateway's message in a toast. A failed run shows its error in red under the buttons.
Differences by role and license
| Who | What changes |
|---|---|
| Proxy admin | Sees Add New Agent, the row Delete action, the Settings tab, the Entra identity box, AI hub and Danger Zone. Can share custom agents with Everyone and switch write tools on. |
| Proxy admin viewer | Read only. Sees the table and every agent without Add New Agent, the row Delete action, the Settings tab, AI hub and Danger Zone. The gateway also refuses agent creates, edits, deletes and kill switch calls from anyone but a proxy admin. |
| Internal user | Sees the table and the Overview tab only. On Custom agents can create private agents, and team agents for teams they admin. |
| Internal viewer | Not in the nav. If they open the URL, the custom agents tab is read only. |
| Org admin | Not in the nav. |
| License feature | Unlocks |
|---|---|
| Agent governance | Identity provider binding, the required trace id switches, session budgets and session rate limits, and Stop Agent. |
| Custom agents | The Custom agents tab. |
| Server tools in custom agents | The two server tool checkboxes in the custom agent form. |
Errors
| What you see | What it means | Fix |
|---|---|---|
| "Failed to load agent information" and Agent not found | The agent was deleted, or the id in the URL is wrong. | Click Back to Agents List and open the agent from the table. |
| A governance field is locked with a license note | The license lacks Agent governance. | Ask sales@spanway.ai to add agent_governance, or leave the field empty. |
| A section "is hidden until the license can be checked" | The Admin UI could not read GET /health/license. | Reload the page, or ask a proxy admin to check the gateway answers that route. |
| The save fails with a 403 toast | The session is not a proxy admin, even if the controls were shown. | Sign in as a proxy admin. |
The save fails with 400 spanway_params.identity is not supported: bind an Entra application through the top-level identity field | An agent saved by an older release still carries spanway_params.identity. | Fill in the Agent Identity section of the Configure step (or the Settings tab of an existing agent) and save. |
The save fails with 400 Autonomous mode requires the Enterprise application service-principal object ID | Execution Mode is Autonomous or Both and Enterprise Application Object ID is empty. | Copy the Object ID from Enterprise applications in Entra into that field. |
| "Custom agents needs a Spanway Enterprise license" | The license lacks Custom agents. | Ask sales@spanway.ai to add custom_agents. |
| A custom agent run shows an error in red under the buttons | The gateway refused the run, for example the agent is disabled or the model is not in your model list. | Read the message, enable the agent or change its Model. |
| Restore re-enables the agent but the keys stay blocked | Audit logs are off, so the page cannot find which keys the kill switch blocked. | Unblock the keys by hand on the Virtual Keys page. |
Logs
The page writes no log lines of its own. The gateway lines for agent calls are on A2A agents.
Related
- A2A agents covers registering and calling agents from the API and
config.yaml. - Agent governance explains session limits, identity binding and the kill switch.
- Custom agents covers the agents behind the Custom agents tab.
- Agent activity reports explain the usage charts on the Overview tab.
- Agent tracing and the run ledger show what an agent did.
- Server tools, AI hub, JWT authentication and MCP toolsets cover the features the page configures.