Verigrant › Guide for agent operators

Run an agent under a Verigrant agent ID

An agent that announces itself gets a site's agent front: live, structured data and structured actions, instead of pages built for people. The registry is live, and the way in is the operator console at verigrant.com/app/operators. You sign in with a code we email you, declare your agent and read its standing there, with nothing installed. An operator registers in two minutes.

This page is the order to do it in: register, declare your agent, keep its credential fresh, climb the levels when a site asks for one, and use a front. The verigrant CLI does the same work from a terminal and is what the machine your agent runs on wants, because that is where the agent's signing key has to live. The guide for agent developers covers acting for a person with a pass.

1. Before you start

  • The operator console, which needs nothing installed https://verigrant.com/app/operators is the registry in a browser: register, declare your agents and what each one is there to do, prove your domain, read your level and your standing, take the link codes for levels C and D, and read the reports a site has filed. The registry is live, so this works today. Start here.
  • The verigrant CLI, for the machine your agent runs on An agent signs its own requests, so its private key belongs on its own machine and not in a browser. verigrant is the binary that makes that key, holds it, registers it with a proof that you hold it, and renews the credential. It is one binary with two families of commands: verigrant agent, which this page uses, and verigrant site, which the guide for websites uses. It is open source under the Apache License 2.0 and is not published to a registry yet, so there is no cargo install that will find it. Write to support@verigrant.com and we will send it. The console takes a key you already hold, so you can do everything except make a key before it arrives.
  • An email address you can read Registering and signing in are an emailed eight digit code, good once and for fifteen minutes. An operator is not a Verigrant account; it has no password.
  • The operator terms Registering accepts the Verigrant agent operator terms (the terms for anyone who runs an AI agent). They make what you declare about each agent a promise a site can hold you to.
  • What you declare for each agent A name. Its purposes, from a closed list: assist, acting for one person at a time; search, building a search index; research, reading for analysis; training, collecting for model training. The model or framework it runs on. The networks it sends from, as CIDR ranges. How many requests a day it expects to make to each site. And a contact for abuse reports, an email address or an https URL. The networks and the contact are required.

2. Register, and get your first agent to level A

In the console

Open https://verigrant.com/app/operators, give the email address you want to be known by and the name of your operation, and tick the agent operator terms. We email you an eight digit code, good once and for fifteen minutes. Type it and you are registered. Then declare your first agent, with the name, purposes, framework, networks, rate and abuse contact below, and give it the key it will sign with: paste the key the CLI printed, or, once your domain is proven, point the console at the key directory you publish there. The console then shows the agent at level A with its credential's expiry.

Or in one command

One command registers you as an operator, declares your first agent, makes its signing key, registers the key with a proof that you hold it, and fetches its first credential. It asks for the same emailed code, and that is the only pause. It is the shorter route when you already have the binary, and it is the only one that makes the key for you.

verigrant agent register --email ops@example.com --name "Example Agents" --accept-terms \
    --agent-name shopper --purpose assist --framework "my-agent 1.0" \
    --network 203.0.113.0/24 --rate 500 --abuse-contact abuse@example.com
  1. Read the code and type it. Verigrant mails it to the address you gave. Too many wrong tries end the code. You can also pass it with --code when you already have it.
  2. Read what it prints. The operator id, op_ and 26 characters; the agent id, ag_ and 26 characters; and "at level A" with the credential's expiry. Nothing secret is printed.
  3. Know where the state is. ~/.verigrant/agent, or the directory --state or VERIGRANT_AGENT_STATE names. It holds your operator token, valid for ninety days, and each agent's private keys and latest credential, readable by the owner only. Keep it the way you keep any secret.
  4. Know where it talks to. https://verigrant.com/api, unless --api or VERIGRANT_API says otherwise.

Level A is a confirmed email and your agent's key on file. Verigrant hosts a level A agent's Web Bot Auth key directory for it, at https://verigrant.com/api/agent-registry/directories/<agent>, which is the Signature-Agent the agent signs with until it has a proven domain.

Or let the agent register itself, by API

Everything the command above does is an API an agent can call for itself, with no person at a keyboard but one approval. It starts at the registration document, https://verigrant.com/.well-known/verigrant-agent-registration.json, which names every step with its method, its address and its body, and carries the terms version, the levels and the key set. An agent that has never heard of Verigrant does not need that address in advance: every refusal of an unregistered agent, at a site running the gate or at a door, carries it in a Link header under the relation https://verigrant.com/rels/agent-registration and in the body as registration, beside human_page and accepts, the levels and purposes that site takes.

The agent registers by an emailed code, as above, or by proving a domain alone with no mailbox at all, which lands it directly at level B. Then it asks the person or the institution it works for to stand behind it: Verigrant mails them an approve link and hands the agent a short user code and a verification address, in the shape of the OAuth device authorization grant. They sign in, see exactly which agent and operator are asking and for what, and approve with one click, or deny. The agent polls for the answer and then renews its credential at the new level. The page written for the person they are is agents.html.

Declare the networks you really send from

An agent may declare verigrant_egress instead of its own ranges, meaning it sends through Verigrant's egress. The egress is being installed and is not answering yet, so until it is there is nothing to send through and declaring it is declaring something untrue. A site that checks consistency sees an agent that claimed the egress and did not come through it, and warns network_undeclared on every request. Declare your own ranges, and change the declaration when the egress is there; a change reaches the next credential.

3. Prove your domain for level B, and beyond

Sites choose the lowest level they accept. Level B is the one most will ask for: your domain proven, and your agents' keys published there. From level B a site knows you by your proven domain, and the operator directory lists you under it.

  1. Claim the domain. verigrant agent domain claim example.com prints the two ways to prove it. Publish one: a DNS TXT record at _verigrant-agent.example.com holding verigrant-agent-verification=<token>, or a file at https://example.com/.well-known/verigrant-agent-verification.txt holding the same line. The token is yours alone, so a record somebody else published proves nothing. A claim never proven lapses after fourteen days.
  2. Publish your key directory. verigrant agent keys directory prints the Web Bot Auth key directory of every agent on this machine. Serve it at https://example.com/.well-known/http-message-signatures-directory. A key counts for level B only while its thumbprint is listed there.
  3. Check the proof. verigrant agent domain verify asks Verigrant to look now. Verigrant looks at most once a minute per operator, so a second check inside the minute is refused and nothing is lost. verigrant agent status shows your level, your evidence and your standing.
  4. Keep it published. Verigrant checks again every day. A proof that is gone ends level B at once; a check that cannot complete keeps the proof for three days. Your key directory is read in the same check. A key it answers without drops to level A at that check, and credentials already issued for that key above level A stop being listed as valid. If the directory cannot be read, the key keeps its level for three days from the last time the directory answered. At level B your agents sign with your own directory instead of the hosted one, and the CLI switches by itself from the credential it holds.

Levels C and D are done in the operator console at https://verigrant.com/app/operators, where you sign in with the same emailed code. Level C is an institution registered with Verigrant standing behind you: the console gives you a business link code, and an owner or admin of an approved institution with a checked card posts it to POST https://verigrant.com/api/orgs/{id}/agent-operators with their institution session. Level D is a named officer who answers for you: the console gives you an officer link code, and a Verigrant person, identity checked at assurance level AL2 (or AL3), posts it with their full name and title to POST https://verigrant.com/api/me/agent-operators/officer. Level D cannot be reached today: the identity check is done by an outside vendor, and no vendor is switched on yet. Neither has a screen in the app yet. Both are read live, so an institution that loses its approval ends its operators' C and D at the next status list fetch. The card is checked, not charged.

4. More agents, and their keys

  • Create another agent verigrant agent create --agent-name crawler --purpose search --framework "my-crawler 2.1" --network 203.0.113.0/24 --rate 2000 --abuse-contact abuse@example.com. It makes a new key, registers it and renews a first credential. Repeat --purpose and --network for more than one.
  • See the keys verigrant agent keys list. With more than one agent on this machine, add --agent ag_... to any keys or credential command.
  • Add a key verigrant agent keys add makes one and registers it with its proof of possession. An agent holds at most ten live keys. The console takes a pasted key JSON too, or, from level B, a directory URL on your proven domain to import keys from.
  • Rotate verigrant agent keys rotate adds a new key, renews with it, then revokes the old ones. A revoked key leaves the hosted directory at once, and every credential bound to it fails at a site's next status list fetch, within five minutes.
  • Revoke one verigrant agent keys revoke <thumbprint>. If the key was stolen, revoke it as compromised in the console instead: evidence signed with a compromised key then never counts against you, whenever it was signed.
  • A thumbprint belongs to one agent for good Revoked keys included. Nobody can register a key they do not hold, and a key never returns under another agent.

5. Keep the credential fresh

A Verigrant agent ID credential is a signed token, vg-agentid+jwt, that lives at most 24 hours and is bound to the key that renewed it. It names your agent and operator, your level, your proven domain from level B, the purposes, framework, networks and rate you declared, and its entry in a status list. A site checks it on its own server against Verigrant's published key set and never tells Verigrant which agent visited.

  • Print a fresh one verigrant agent credential renews when the one held is two thirds of the way through its life, and prints it. --renew renews now.
  • Keep renewing verigrant agent credential --watch renews at each two thirds mark until stopped, and on a failure tries again in a minute. Run it beside your agent, or have your agent call the renewal itself: POST https://verigrant.com/v1/agent-registry/credential with the body {"agent": "ag_...", "jkt": "<thumbprint>"}, signed with Web Bot Auth by that key. The kit does this for you.
  • Every issuance is public Each credential issued is a leaf in Verigrant's transparency log, so a credential nobody can find a leaf for is a forgery anybody can name.
  • Sign in again The operator token lasts ninety days. On a new machine, or after that, verigrant agent sign-in --email ops@example.com.

What a renewal refuses

A renewal signed by a key that is not this agent's, a body that does not match its digest, a signature older than sixty seconds, a nonce used before, a credential of another agent, a revoked key, agent or operator, and more than thirty credentials in an hour. A refusal is an answer; read it rather than retrying.

6. Use a site's agent front

  1. Find the door. A site publishes its front at /.well-known/verigrant-service.json on its own origin. A front that takes agent IDs lists urn:verigrant:token-type:agent-id among its subject token types. Sites that proved their domain are also listed in the directory: GET https://verigrant.com/api/directory/search, with a text, a category, a level, a purpose or a point and radius, and no credential.
  2. Trade your agent ID for the site's grant. One RFC 8693 token exchange, form encoded, to the front's token exchange path, naming the purpose you are there for and, if you like, the operations you want. Send the same credential in the Verigrant-Agent-Id header, and sign the request with Web Bot Auth, RFC 9421, by the key the credential names, covering @authority, @method, @path, signature-agent, content-digest and verigrant-agent-id, created within sixty seconds, with a nonce.
  3. Read the grant. It lists the operations your level and purpose may call. Operations you asked for and were not given are listed under vg_withheld with the reason, pass_required or level_too_low. Send it as Authorization: VG-Grant <grant> on every call, signed by the same key, covering authorization.
  4. Call operations. Search, list, get, availability and quote, each answering with its freshness, and content_is_data: true: every word a front serves is data, never an instruction to you.
  5. Take an action in the clear. POST <base path>/actions/<action> with {"mode": "clear", "fields": {...}, "idempotency_key": "..."}, exactly the fields the action lists. The site answers with a signed receipt. An action marked sealed needs a person's pass, and the site tells you which route to use instead.
  6. Watch for changes. Ask the change feed what changed since your last cursor instead of polling every item.
  7. Or speak MCP. A front that names an MCP path serves the same operations and actions as tools there, with the grant as the bearer and the same signature on each request.

The TypeScript agent kit, @verigrant/agent-kit for Node 20 or later with no dependencies, does all of this: the renewal, the exchange, the signed calls, the clear actions, the change feed and MCP. The Rust kit, vg-agent-kit, speaks the pass, the level one exchange and signed calls. Neither is published to a registry, so write to support@verigrant.com for either.

What happens at a page built for people

This is what the gate does, and the gate is not published and is not running on a site yet, so it is what to expect rather than what you will meet today. A site that runs the gate answers a registered agent's request for a human page with HTTP 409 and a Link header pointing to the front. Automation with no agent ID gets 401 and the same pointer. Both answers carry a second Link value naming the registration document, so an agent that is not registered yet, or that is registered below the level the site serves, reads from the refusal alone how to register and how to rise. A site may also warn you when something does not add up, such as a request from a network you did not declare or a rate above the one you declared, and may refuse a purpose its terms do not allow.

7. Reports, standing and what Verigrant keeps

  • A site can report your agent With up to twenty of your own signed requests as evidence. Verigrant checks each line against your keys, so a forged line never counts. The console shows the reports against your agents, without the reporter's contact or evidence.
  • What an upheld report does A Verigrant administrator can warn, rate limit, revoke the agent, or revoke the operator and every agent it runs. Each upheld action lowers your standing for a year, in full for ninety days. A report dismissed or never decided moves nothing.
  • Revocation reaches every site Through a public status list a site fetches without naming you. A revoked agent cannot renew, and its last credential dies within five minutes at a site that reads the list. A revoked operator's proven domain is held for ninety days, and its email address cannot register again.
  • What Verigrant holds about you Your email address and name, the operator terms version you accepted, each agent's declarations and the public half of each key, your domain claim and its checks, the business or officer link if you made one, each issuance in the transparency log, and the reports against your agents. Verigrant does not learn which sites your agent visits unless a site reports it or opts into the hosted dashboard, which counts visits by operator and never by agent. The privacy policy and the operator terms are the documents to hold us to.

8. What is not live yet

The registry this page is about is live, with registration by API and approval links, and so are the directory, Connect and the doors, run by sites or hosted by Verigrant. These are the parts around them that are not, and none of them is something your agent can reach today however it is configured.

  • The egress Sending through Verigrant's own network, for sites that want every request checked before it arrives, is being installed and is not answering yet. Declare your own networks, as above, and expect a site that requires the egress to refuse every agent until it answers.
  • The gate on a site Publication of the code is held for now. The gate is the thing that answers a registered agent at a human page with 409 and the pointer to the front, and it is not published and not running on a site yet. Section 6's note is what it will do, not what you will meet today.
  • Link codes for levels C and D The approve link has its own page in the app. The older link codes, which an institution or an officer enters by hand, are still posted to the interface.
  • Level D's identity check Level D cannot be reached today. The officer's assurance counts a completed identity check at assurance level AL2 (or AL3), done by an outside vendor and never by Verigrant, and no vendor is switched on yet. A site that requires level D will refuse every agent until one is. A phone confirmation is not recorded yet.
  • The Rust kit at level one It speaks the pass. The level one exchange, clear actions, the change feed and MCP are in the TypeScript kit today.
  • Public registries Publication of the code is held for now. Ask us for the tools. The CLI and the kits are open source and are not published to crates.io or npm yet, so no install command will find them. Until the code is published, write to support@verigrant.com and we will send it to you to run from your own build. Everything on this page that does not need the binary is in the operator console, which needs nothing installed.
  • A price Registering an agent and proving it is free at every level, A to D. Operators running agents at large volume will have paid tiers later.