agent:manage (an Organization Admin, inside TRUSTIVAN) and your TRUSTIVAN session; NHI Security has no API keys. The console does all of it under Agents and Agents → Tools, with entitlements also under Agents → Entitlements.
Outside Amazon Bedrock and Vertex AI Agent Engine, which the AWS and Google Cloud connectors can read, no connector discovers AI agents. Register one yourself (
POST /nhi/api/v1/agents with displayName, purpose, riskTier and hosting) or from the console, and everything below then applies to it. See Limitations.1. Declare how autonomously it acts
The two supervised levels are a statement about your runtime, not a control NHI Security applies: declaring
human_approves_action tells the gate a person is already in the path, and the gate relaxes accordingly. It does not put that person there. Declare the level your runtime actually enforces.
statement is required for every level other than unknown, because every finding the rating governs quotes it. Setting unknown clears it. A level not in this table is refused with 400.
2. Declare what each tool does
A tool’s effect isread, write, administrative, authenticate or unknown. An MCP server’s own readOnlyHint sets the initial effect (true → read, false → write); everything else starts unknown, and unknown is treated as potentially mutating. Nothing becomes administrative unless a person says so.
statement is required for every effect other than unknown. The gate uses the stricter of this recorded effect and whatever class the runtime declares on a request, so a runtime cannot talk a mutating tool down to a read.
3. Entitle it to tools
An agent starts with no entitlements, andtool_not_entitled (one of the five rules no setting can switch off) denies every tool it has none for.
PATCH /nhi/api/v1/tools/entitlements/{entitlementId}/withdraw.
4. Bound the blast radius
What limits damage at runtime is the target’s classification and the agent’s standing, both read on every request:- High-impact targets need a person. Classify the resources your agents reach (
PATCH /nhi/api/v1/resources/{resourceId}/classification,resource:classify). A mutating action on a resource rated high or critical is challenged bymutating_action_on_high_impact_resourceunless an access grant covers it, and an action on a resource that is undiscovered or unclassified is challenged byresource_unresolved. The gate reads the named resource’s own rating; it does not traverse the identity graph to compute reach. - Stop one agent. Suspend or retire it (
POST /nhi/api/v1/agents/{identityId}/lifecycle), or quarantine the identity (POST /nhi/api/v1/identities/{identityId}/lifecyclewith{"lifecycleState": "quarantined"},identity:manage). Either takes effect on that agent’s next request:principal_not_liveorprincipal_quarantineddenies everything it asks. Quarantine applies to that identity only; it does not spread to other identities or credentials. - Stop every agent.
POST /nhi/api/v1/runtime/agent-suspensionwith{"suspended": true, "reason": "..."}(runtime:rule:manage) makestenant_agents_suspendeddeny every action by every agent in the organization, on the next request, until a person lifts it with a reason.
Next steps
- Runtime gate: all fourteen rules, runtime credentials and access grants.
- MCP server guardrails: connecting MCP servers and asking the gate before each call.
- Governance and audit: the audit trail every declaration above is written to.