Read an agent's trust score and tier
Read an agent's trust profile and autonomy tier, and the fixed point values and decay behind both of them.
trust.get
Read an agent's trust profile and autonomy tier, and the fixed point values and decay behind both of them.
trust.getPut admission in front of your MCP servers, repositories, SaaS tools and cloud accounts. Every agent gets a lease or a reason – and you keep the lever to stop any of them.
You want to know how far to trust an agent that has run for a while. Its score starts at 50 and moves as the plane sees conduct, and the tier is read from the score.
The code reads the key from INTRAMEDIAL_KEY. Keep it in your shell or your secret store, never in a file you commit. Calls that need a signed-in person cannot use a key: the console makes them.
Send the agent's DID as the did query parameter. The profile holds the score, a sample count and the last observation.
profile is null if none.
{
"profile": {
"did": "did:web:acme.example:agent:billing",
"score": 52.5,
"samples": 7,
"lastObservedAtMs": 1793542200000
}
}The ledger is append-only and sealed under Merkle roots. The time on an entry is Intramedial's own clock, and a signed bundle can be checked offline with the published key.
trust.gettrust-get
curl -sS https://api.intramedial.com/api/v1/acp/trust/get?did=did:web:acme.example:agent:billing \
-H "Authorization: Bearer $INTRAMEDIAL_KEY"const res = await fetch("https://api.intramedial.com/api/v1/acp/trust/get?did=did:web:acme.example:agent:billing", {
headers: { Authorization: `Bearer ${process.env.INTRAMEDIAL_KEY}`, },
});
console.log(res.status, await res.json());import os, requests
res = requests.get(
"https://api.intramedial.com/api/v1/acp/trust/get?did=did:web:acme.example:agent:billing",
headers={"Authorization": "Bearer " + os.environ["INTRAMEDIAL_KEY"]},
timeout=30,
)
print(res.status_code, res.json())The tier route adds tier: observe from 0, propose from 40, act-with-review from 65 and act from 85. Reading is not metered.
curl -sS https://api.intramedial.com/api/v1/acp/trust/tier?did=did:web:acme.example:agent:billing \
-H "Authorization: Bearer $INTRAMEDIAL_KEY"const res = await fetch("https://api.intramedial.com/api/v1/acp/trust/tier?did=did:web:acme.example:agent:billing", {
headers: { Authorization: `Bearer ${process.env.INTRAMEDIAL_KEY}`, },
});
console.log(res.status, await res.json());import os, requests
res = requests.get(
"https://api.intramedial.com/api/v1/acp/trust/tier?did=did:web:acme.example:agent:billing",
headers={"Authorization": "Bearer " + os.environ["INTRAMEDIAL_KEY"]},
timeout=30,
)
print(res.status_code, res.json())The policy route returns the point values, the decay and the tier floors, plus the three signals that are not scored: conflict.frequency, policy.violations and task.completion.
curl -sS https://api.intramedial.com/api/v1/acp/trust/policy \
-H "Authorization: Bearer $INTRAMEDIAL_KEY"const res = await fetch("https://api.intramedial.com/api/v1/acp/trust/policy", {
headers: { Authorization: `Bearer ${process.env.INTRAMEDIAL_KEY}`, },
});
console.log(res.status, await res.json());import os, requests
res = requests.get(
"https://api.intramedial.com/api/v1/acp/trust/policy",
headers={"Authorization": "Bearer " + os.environ["INTRAMEDIAL_KEY"]},
timeout=30,
)
print(res.status_code, res.json())Copied from: /docs/trust-get
Register an agent under its own DID, with a name and a kind, so that every action resolves to one agent.
identity.enrollRead every agent, lease, waiter and quarantine the plane holds, in one call, with no inventory to keep by hand.
coordination.fleetmapStop an agent with coordination.halt so admission answers quarantine, check that it does, and lift the stop when it is safe.
coordination.haltcoordination.quarantineOne short email when we add recipes to the cookbook. No other mail, and you can unsubscribe from any message.
No key or account: Try it on the coordination.admit module page runs the real kernel in your browser. Use a workspace key for your own workspace.