Read the whole Fleet Map in a single call
Read every agent, lease, waiter and quarantine the plane holds, in one call, with no inventory to keep by hand.
coordination.fleetmap
Read every agent, lease, waiter and quarantine the plane holds, in one call, with no inventory to keep by hand.
coordination.fleetmapPut 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 one view of who is acting: which agents hold a grant, which leases are in force, who waits and who is stopped. The plane already holds these, and the Fleet Map reads them together instead of keeping a separate list.
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.
The route takes no parameters and returns the whole workspace, not a page of it. The workspace comes from the caller's session, and reading the map is not metered.
The map holds agents, leases, a grant count, waiters, presence, stops and gateway mode.
{
"agents": [
"did:web:acme.example:agent:billing",
"did:web:acme.example:agent:release"
],
"leases": [
{
"id": "lease_4c1e",
"resource": ,
: ,
: ,
: { : , : [] },
: ,
: {}
}
],
: ,
: { : },
: [],
: [],
: ,
: ,
:
}coordination.fleetmapcoordination-fleetmap
curl -sS https://api.intramedial.com/api/v1/acp/coordination/fleetmap \
-H "Authorization: Bearer $INTRAMEDIAL_KEY"const res = await fetch("https://api.intramedial.com/api/v1/acp/coordination/fleetmap", {
headers: { Authorization: `Bearer ${process.env.INTRAMEDIAL_KEY}`, },
});
const body = await res.json();
console.log(res.status, body);import os, requests
res = requests.get(
"https://api.intramedial.com/api/v1/acp/coordination/fleetmap",
headers={"Authorization": "Bearer " + os.environ["INTRAMEDIAL_KEY"]},
timeout=30,
)
body = res.json()
print(res.status_code, body)agents are the distinct principals in the grants. leases shows each lease in force with its holder and expiry, and grants is only a count. An agent that holds no grant is not listed here: callers seen at the MCP gateway are in mcp.shadow.
for (const l of body.leases) {
console.log(l.resource, "held by", l.holder, "until", new Date(l.expiresAtMs).toISOString());
}
console.log(body.agents.length, "agents,", body.grants, "grants");for l in body["leases"]:
print(l["resource"], "held by", l["holder"], "until", l["expiresAtMs"])
print(len(body["agents"]), "agents,", body["grants"], "grants")waiters counts the agents queued per resource, quarantined lists the DIDs the plane refuses, and mcpMode defaults to observe.
console.log(body.waiters, body.quarantined, body.mcpMode);print(body["waiters"], body["quarantined"], body["mcpMode"])Copied from: /docs/coordination-fleetmap
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.
Read the callers the MCP gateway has seen, then sanction one as an identity or keep it tracked as a shadow.
mcp.shadowidentity.enrollRead an agent's trust profile and autonomy tier, and the fixed point values and decay behind both of them.
trust.getStop 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.