ai_agent with an agent profile attached. Every route and every screen addresses an agent by its identity id, the same id the inventory, the graph and the runtime gate use.
This page covers how an agent gets into the inventory, what you can change about it afterwards, and how to read Agents and Agents → Tools. Declaring autonomy, tool effects and entitlements is covered in Agent autonomy.
Permissions
Inside TRUSTIVAN,
agent:manage therefore belongs to Owners and Admins only: nobody maps to Security Admin. The Register an agent button and the edit controls are not shown to anyone without it.
Routes below are written as /api/v1/.... Inside TRUSTIVAN they are served under /nhi, for example https://app.trustivan.com/nhi/api/v1/agents, and take your TRUSTIVAN session.
Register an agent
1
Open the form
Go to Agents and select Register an agent.
2
Describe the agent
Enter a Name and What it is for. Both are required. Choose a Risk tier (the form starts at Medium) and a Hosting model (the form starts at Self-hosted). Framework and Model are optional and stored exactly as typed. For a Bedrock agent or a Vertex AI Agent Engine deployment, put its ARN or resource name in Provider reference (see When a connector later finds it).
3
Register
Select Register. The console opens the new agent’s page.
4
Finish the setup
A new agent is unrated, unowned and entitled to nothing. Declare its autonomy and entitle it to tools (Agent autonomy), assign an owner (Ownership; the assignment shows everywhere, but today it does not clear the agent’s
unowned_agent finding, see How ownership feeds findings), and issue a runtime credential if a runtime will ask the gate on its behalf (Runtime gate).
The answer is
201 with the agent. Use its identityId for every later call. A missing field, an unknown tier or hosting, or a property not in this table is 400. A name or purpose that is only whitespace is 422. A providerRef that an agent already carries, declared or discovered, is 409: revise that agent instead.
Autonomy is deliberately not a registration field. It has its own route, its own audit record and its own stated reason.
What a registered agent is
Registration creates an identity and a profile, and marks both as a person’s declaration rather than a provider’s report.- The
registryconnector is made for you. The first registration in an organization creates one connector named “Declared agents”. It has no capabilities, cannot be synchronized or health-checked, and you cannot create one yourself. - Presence never becomes confirmed. Presence is what a provider confirmed, and no provider will confirm a declared agent. Activity is only what you send through the ingestion endpoints.
- The risk tier is a label. It is shown as a badge on the agent’s page. No policy and no gate rule reads it, so lowering it silences nothing.
- The agent starts live. Its lifecycle state is
active, its autonomy isunknown, and it has no owner and no tool entitlements. - There is no delete. Retiring is the end state, and it leaves the record.
agent.registered and appended to the agent’s evidence.
When a connector later finds it
If you registered an agent with aproviderRef, and a connector later discovers an agent whose own identifier is exactly that string, the two become one agent. On that synchronization the registration moves onto the discovering connector:
- it keeps its identity id, owner, tool entitlements, runtime credentials, purpose, risk tier and
registeredAt; - its name, hosting, framework and model become the provider’s, and from then on revising them is refused like any connector-reported agent’s;
- its presence is confirmed by each synchronization, and it gets the connector’s
ASSUMESedge to the role or service account it runs as; - the console badge reads Declared, then discovered, and the agent’s evidence records the merge.
providerRef, or if two registrations name the same reference, the discovered agent arrives as a second agent and both stay visible.
Revise a registration
On the agent’s page select Edit registration, or call:framework or modelHint clears it.
- On a registered agent you can change
displayName,purpose,riskTier,hosting,frameworkandmodelHint. - On a connector-reported agent you can change
purposeandriskTieronly. Its name, hosting, framework and model are the provider’s answers and the next synchronization would overwrite them, so a request that names any of them is refused with422rather than written and lost. - A body with nothing to change is
422. A name or a purpose cannot be cleared.
agent.registration_updated with the values before and after.
Suspend, reactivate or retire
On the agent’s page select Suspend or retire (or Return to service on a suspended agent), choose the action and say why. Through the API:reasonis required, up to 500 characters. Anactionother than the three above is400.- Retiring is terminal. Any lifecycle call on a retired agent is
409. Register a new agent instead. - Both denying rules are among the five that cannot be switched off, and no access grant lifts them.
- Suspending writes the same state as quarantining the identity, so an agent quarantined from the identity inventory is returned to service here too.
- None of these revokes the agent’s runtime credentials or changes anything at a provider. Revoke credentials yourself if the agent should not come back with the same token.
The AI agents screen
Agents lists every agent, most autonomous first. The four tiles (GET /api/v1/agents/summary): Agents, Autonomy unrated, Autonomous and Unowned. Agents a connector has reported as gone are not counted.
The summary also returns hasDiscovered, which is true once a connector with identity discovery enabled has completed a synchronization. It is not the same as “there is at least one agent”. Until it is true the tiles show no figure, with the reason “No synchronization has discovered anything yet”, because a zero there would claim somebody looked. The registry connector never synchronizes, so registering agents does not change it: with registered agents and no completed synchronization, the table lists your agents and the tiles stay blank.
The table (GET /api/v1/agents):
Filter by name or identifier, autonomy, hosting and provider. Needs attention offers Autonomy unrated and Nobody accountable, which is
?attention=unrated or ?attention=unowned in the console URL and unratedOnly=true or unownedOnly=true on the API. Filters live in the URL, so a filtered view is a link you can share.
The API also accepts connectorId, presence, sort (displayName, autonomy, lastSeenAt, firstDiscoveredAt), direction, limit (25 by default, 100 at most) and offset. provider=registry returns only the agents your organization declared.
One agent
Selecting a row opens the agent (GET /api/v1/agents/{identityId}). The header carries its autonomy, lifecycle state, presence, risk tier and a badge saying where it came from (Declared here, Discovered or Declared, then discovered), then its purpose, owner, who it acts for, hosting, tool count and runtime decision count. Below that:
A panel you lack the permission for says “Not visible to your role” rather than appearing empty.
Agent evidence
GET /api/v1/agents/{identityId}/evidence returns the append-only trail behind the profile, newest first: kind, connectorId, sourceRef, observedAt and a description sentence. Registering, each revision and each lifecycle change append an operator_action entry that quotes the purpose, the fields changed or the reason you gave. Entries are never rewritten.
The Agent tools screen
Agents → Tools lists the tools connectors have collected. Of the shipped connectors only MCP collects tools, and there is no route to add one by hand: see MCP server guardrails. The tiles (GET /api/v1/tools/summary and GET /api/v1/tools/reachability/summary): Tools, Effect unclassified, Change state, Reach undiscovered (tools naming a resource nothing has discovered) and Complete paths (identity to tool to resource, every step observed). Complete paths shows no figure until something has reported both who may invoke a tool and what a tool acts upon.
The table (GET /api/v1/tools) shows each tool’s name, its effect, the resource it acts upon, how it is reached (mcp, api_operation, cloud_action, internal_function, external_service or unknown), its source and when it was last seen. A Callers column appears once something has reported an entitlement. Needs attention offers unclassified effects (unclassifiedOnly=true) and undiscovered targets (unresolvedTargetOnly=true).
Opening a tool (GET /api/v1/tools/{toolId}) shows:
- What invoking this does: the effect, its basis (
publisher_declaredoroperator_declared), the stated reason and who classified it. Change it here withagent:manage; the rules are in Agent autonomy. - What it acts upon: the target resource, its kind and its impact rating, or that the target has not been discovered.
- What the publisher says it does: the description the server published. It is a claim, not a classification.
- Who is permitted to invoke this and Who reaches what through this: entitlements and evidenced paths (
GET /api/v1/tools/reachability?toolId=...). - Why the platform believes this: the tool’s evidence trail, also at
GET /api/v1/tools/{toolId}/evidence.
What this does not do
- It does not find agents. Nothing scans endpoints, network egress or process names, and nothing infers an agent from a name.
- A registration is not coverage. It tells NHI Security the agent exists; it does not make a provider watch it.
- It does not compare what you declared with what was observed on these screens. That comparison is the drift report, which is API only: see Delegation, certification and drift.
Next steps
- Agent autonomy: rate the agent, classify its tools and entitle it.
- Runtime gate: issue a runtime credential and get to a first allow.
- Delegation, certification and drift: whose authority an agent exercises, and the API-only governance records.
- Governance and audit: where every action on this page is recorded.