Verigrant › Guide for websites

Give your website an agent front

Agents already visit your site. This page is how to give them a door of their own and keep your pages for people: generate an agent front (a version of your site made for AI agents: your offers and actions as structured data, not pages) from the site you already have, publish its service file, put the gate in front of your pages, read the verdict on each visitor, and get found in the directory. Once you have the tooling, a site goes from its website to a front in fifteen minutes, which the release test measures. The generator, the door and the gate are open source and are not published to a registry yet. Publication of the code is held for now; until it is published, write to support@verigrant.com and we will send you any of it. Section 1 says where each piece stands before the steps start. Would rather run nothing? Verigrant can draft the same front for you. Live now: create an organization account, prove your site, and draft its agent front for review. You can publish that front as a hosted agent front (Verigrant runs your agent front for you, so you install nothing) and list it in the agent directory. Paid hosted plans are built, and not switched on yet. The guide for businesses covers sealed orders and applications, and the offerings lay out hosting and privacy side by side.

1. Three ways in, and where each one stands

Read this before the rest of the page

Live on production today: the agent ID registry (an agent ID is the identity an AI agent carries, which says who runs it), so every agent that visits you can already carry an identity you can check; the directory, so a listing is somewhere agents already look; and Connect, so an agent acting for a person already has a way to be given one.

The hosted agent front is in "Your site for AI agents", in the organization workspace. Live now: create an organization account, prove your site, and draft its agent front for review. You can publish that front as a hosted agent front and list it in the agent directory. Paid hosted plans are built, and not switched on yet.

Working, with publication of the code held for now: the generator, the open source door, the gate and the verify packages. There is no install command that finds them yet, because nothing here is on crates.io or npm. Until the code is published, write to support@verigrant.com and we will send it to you to run from your own build, and a front or a gate you stand up from it is yours and works. Not answering yet: the egress, which is being installed.

  • Run the generator and the open source door verigrant site reads your site into a draft agent front, lets you review it, publishes the file and serves the door. Sections 2 and 3. Until the code is published, write to support@verigrant.com and we will send it to you to run from your own build.
  • Install the gate The same arrangement. A sidecar beside nginx, Caddy or Traefik, or a package for Express, Next.js and Cloudflare Workers, that sorts each visitor and points registered agents to your front. Sections 4 and 5. It works with or without a front of your own, and it is built and not yet installed on a live site.
  • Let Verigrant host it Live now: create an organization account, prove your site, and draft its agent front for review. You can publish that front as a hosted agent front and list it in the agent directory. Paid hosted plans are built, and not switched on yet. Start by creating an organization account and accepting the site owner terms. No card on the Free plan. The paid plans, from $39 a month, add live data, agents acting for a person, orders and sealed fields; see the hosted plans. Fields that look sensitive are sealed by default on every plan. On paid plans, so is anything the scan cannot place; on the Free plan, a field the scan cannot place is sent in the clear unless you seal it, and the editor shows this beside each field before you publish. The Verigrant for business page has the detail.

All of the self hosted tooling is open source under the Apache License 2.0. Publication of the code is held for now, and none of it is on crates.io or npm yet. Until it is published, write to support@verigrant.com and we will send you any of it: the verigrant CLI, vg-gate, vg-service-grant, @verigrant/verify or @verigrant/gate.

2. Run the generator

verigrant site init --domain example.com
verigrant site verify
verigrant site scan https://example.com
verigrant site review
verigrant site publish --out /var/www/html
verigrant site serve
  1. init makes your keys and prints your proof. It writes a state directory, .verigrant-site by default or --state, holding the site's grant signing key and its box key, readable by the owner only and never printed. It prints the one DNS line or the one file that proves your domain: a TXT record (a line of text you add in your domain's DNS settings, where you manage your domain) at _verigrant-door.example.com holding verigrant-door-verification=<token>, or the same line in https://example.com/.well-known/verigrant-door-verification.txt. It never overwrites a configuration that exists, so keys are never replaced by accident. This proof is the generator's own; a listing in the directory takes a second record of its own, as section 6 says, and the hosted path uses only that one.
  2. verify checks the proof. The record first, then the file, and records which held. A proof counts for thirty days. The scan checks it again, live, before reading a page, so a line written by hand into the configuration admits nothing.
  3. scan reads your site into a draft. Your robots file, per host, and it obeys it; your sitemap, or links from the start page two levels deep; each page's schema.org markup and OpenGraph tags; Shopify and WooCommerce products, Google Merchant, RSS and Atom feeds, or one you name with --feed. It waits a second between requests, longer when your robots file asks, and reads at most 200 pages unless you raise it. Products, services, menu items, events, jobs, courses, rooms and articles become collections with search, list, get, availability and quote. Every form becomes an action, except search boxes and sign in forms. Card and password inputs are never accepted. Fields that look sensitive are sealed by default, and so is anything the scan cannot place.
  4. review is your approval. It serves a page on 127.0.0.1:8827 with a token it prints, and nothing else can reach it. Switch operations on and off, edit fields, terms and limits, and approve. Nothing is published until you approve it. After that, site scan --update and --watch replace the published items with what your site says now, without asking you again. A collection that comes back empty keeps its items. An owner who edited draft.json by hand runs verigrant site review --approve.
  5. publish writes the files. .well-known/verigrant-service.json, the front; verigrant-connectors.json; and verigrant-snapshot.json, the items with their date. --out writes them to your web root as well.
  6. Connect live data where it matters. verigrant site connect products --feed https://example.com/products.json points a collection at a product feed. --json with --map reads a JSON API you already have, --csv a file on the server, and --sql-env with --view a read only Postgres view, with the database URL read from an environment variable and never written down. A collection with a connector answers live; without one it answers from the snapshot, with its date.
  7. Keep it current. verigrant site scan https://example.com --update on a schedule keeps your reviewed draft, refreshes the snapshot and records what changed in the change feed. --watch 3600 does the same every hour from one process. Each run replaces the published items. A collection that comes back empty keeps its items.

Everything the scan reads is data. Each string is cleaned and capped, nothing read from a page becomes an operation, an action kind or a path, and a page written to steer an agent is carried as a description and changes nothing else. Pages with no structured data can be labelled by a language model with your own key, with --label; it is off by default.

3. Publish the service file, and serve the door

  • The file is the door's address An agent fetches /.well-known/verigrant-service.json from your origin. It names your business, your collections, your operations and actions with their fields and modes, your change feed, your limits per tier and level, your terms per purpose, and your public keys. A front written for the first version of the format still reads it.
  • Say what you allow Terms per purpose: allow, deny, or a price. The generator starts you with assist, search and research allowed and training denied. A purpose your terms do not name is refused. Limits per tier and level set the calls a minute and a day, and a level with no limits is a level you do not serve, which is how you set your minimum.
  • serve runs the door On 127.0.0.1:8826, behind your own TLS proxy: the front, the token exchange at /agent/v1/token, each operation at /agent/v1/<id>, the change feed at /agent/v1/changes, actions at /agent/v1/actions/<id>, and the same front as an MCP server at /agent/v1/mcp. Point your proxy's /.well-known/verigrant-service.json and /agent/ at it, and have it pass your site's own Host header through, since every agent signs the request for your domain; in nginx that is proxy_set_header Host $http_host;, which keeps the port. --preview also answers without a grant on loopback so you can try the front first.
  • Both levels, with no flags A registered agent trades its Verigrant agent ID for your grant, and an agent for a person trades the person's pass. serve fetches Verigrant's agent ID key set and pass key set from their published addresses, keeps a copy in your state directory and fetches them again every hour. It reads the agent ID status list when an agent arrives and keeps it fresh, so an agent Verigrant revoked is refused, and it fetches the key directory an agent signs with. Your connectors answer the operations live.
  • Where clear actions arrive In the inbox directory, one file each, .verigrant-site/inbox by default or --inbox. With --webhook they go to an https address on a public host as a signed webhook, and with --email to your address through your own mail server, named by the VERIGRANT_SMTP_HOST, _PORT, _USER, _PASSWORD_FILE and _FROM variables. A webhook or a mail that fails leaves the action in the inbox, so nothing is lost. The agent gets a receipt signed with your grant key.

4. Install the gate

Publication of the code is held for now. The gate is written, built and tested, and it is not published to a registry and is not running on a site yet, so this section is the order to install it in once you have the binary from us rather than something to start now. Everything in it is accurate about what the gate does; none of it is accurate about a gate you can fetch from crates.io or npm this afternoon. Until the code is published, write to support@verigrant.com and we will send it to you to run from your own build.

The gate sits in front of your pages. People get the page. Verified search crawlers get the page unless you say otherwise. A registered agent gets HTTP 409 and a Link header pointing to your front. Automation that will not say who it is gets 401 and the same pointer. A visitor who may be a person but looks automated gets a small proof of work for its browser to do once per session.

  1. Fetch the files it reads. Verigrant's agent ID key set from https://verigrant.com/.well-known/verigrant-agentid-keys.json, the pass key set if you take passes, and the Google and Bing crawler ranges. deploy/gate/refresh-files.sh does it from cron, hourly, and the gate notices a changed file within a minute.
  2. Write gate.json. Your domain, your front's address, the file paths and your policy: the purposes you allow, the lowest level per purpose, what turns a warning into a refusal, whether crawlers and agents get pages, the proof of work difficulty, the rate limits by network and session, and the trap paths. Every field has a default and an unknown field is an error. deploy/gate/gate.json is a worked example.
  3. Run it beside your proxy. vg-gate --config gate.json listens on 127.0.0.1:8822 and refuses any other address. nginx uses auth_request against /auth/nginx with /render for the refusal page; Caddy uses forward_auth and Traefik forwardAuth against /auth. The example configurations and a systemd unit are in deploy/gate/.
  4. Or use the package. @verigrant/gate is the same gate as Express and Node middleware, Next.js middleware and route handler wrappers, and a Cloudflare Worker, built on @verigrant/verify. No dependencies, and it never calls Verigrant.

Paths under /.well-known/ and /robots.txt are never gated, so your front stays reachable. A page that pulls dozens of images and scripts should serve those outside the gate, or raise the network limit, because every gated request counts. The example configurations have not yet been run behind a real nginx, Caddy or Traefik on our side; the gate was tested against its HTTP contract.

5. Read the verdict

One decision looks at each request and returns a verdict. The gate adds it to every request it lets through as three headers, and replaces any the visitor sent under the same names: X-Verigrant-Class, X-Verigrant-Verdict, the verdict JSON in base64url, and X-Verigrant-Agent.

  • The classes person, search_crawler, agent, agent_for_person when a pass rides on the same request, unannounced_automation, and unknown when there is not enough signal.
  • What makes an agent an agent A credential (a signed proof your server can check on its own, without calling us each time) that verifies offline under Verigrant's key set, addressed to your site, a Web Bot Auth signature by the key the credential names, a fresh nonce, and a status list entry that reads valid. Anything wrong makes it unannounced automation with the reason, such as agent_id_expired, agent_id_revoked, replayed or wrong_site.
  • The warnings network_undeclared, fingerprint_changed, rate_exceeded, purpose_not_allowed and upstream_bot_score_low. Your policy's refuse_on turns any of them into a refusal; by default only a purpose you do not allow is refused.
  • The log While the gate is running, each request that carries an agent ID is written to requests.log in the gate's state directory, as the agent signed it, each line signed by the gate's own key over a hash chained to the line before. A request the site served while the gate could not answer is not in it, and a few lines can be lost when the file is rotated. Nothing checks the chain yet. It stays on your server, and it is what you report an agent with.

Two settings to leave alone for now

egress_only refuses every agent that did not come through Verigrant's egress. The egress is not answering yet, so nothing can have come through it and this setting refuses every agent, including the honest ones. And an agent whose status list the gate cannot fetch is refused by default, so revocation fails closed; a site that turns status_list_required off leaves revocation to the credential's day.

6. See your visitors, get found, and report

  • The hosted visit reports For a registered institution. An organization that publishes a front through "Your site for AI agents" sees the same counts there, as daily counts of agent visits, without the credential of a business that receives data through Verigrant. A registered institution presses "Opt in to the hosted dashboard" under Agent visits in its Verigrant workspace. Then verigrant site serve --report-visits https://verigrant.com/api, with your credential as a business that receives data through Verigrant, in VERIGRANT_RELYING_PARTY_CREDENTIAL, posts one aggregate record a day per operator, level and purpose: the operations called, the actions taken and the outcomes, as counts. Verigrant refuses a record with anything else in it, so an email address, a request body or an agent id cannot be posted. Opting out stops new posts at once; the counts already posted stay with your organization. A door you run without opting in sends nothing. What Verigrant holds for an institution is in the privacy policy, and the terms of service say who agrees to what.
  • The directory listing A registered institution lists its site under Agent visits. You can also list your site from "Your site for AI agents". To list your site, give a name, a description, up to eight categories, a location, your front's address, and the levels and purposes you accept. It becomes public when you prove the site, with a TXT record at _verigrant-directory.example.com holding verigrant-directory-verification=<token> or the same line at https://example.com/.well-known/verigrant-directory-verification.txt, and press "Check the proof now". Verigrant rechecks daily; a proof that is gone delists you, and the listing returns when you publish it again. The front's address must be on your own site. Agents search it at GET https://verigrant.com/api/directory/search.
  • Report an agent POST https://verigrant.com/api/agent-registry/abuse-reports with the agent, your site, a contact, a category and up to twenty lines from your signed log. Verigrant checks each line against the agent's keys, so a forged line never counts. A report counts as from your site when it carries your credential as a business that receives data through Verigrant and your site is proven, by a listing or a registered domain; otherwise it is kept as claimed and unproven. An upheld report warns, rate limits or revokes the agent or its whole operator, across every site.

7. What is live, and what is built and not switched on yet

What is: the agent ID registry, so an agent that visits you can already carry an identity you can check offline; the directory, so a listing is already somewhere agents look; Connect, so an agent acting for a person already has a way to be given one; and the open source door, which works today from the source we send on request. The rest of this list is not live yet.

  • The door hosted by Verigrant Live now: create an organization account, prove your site, and draft its agent front for review. You can publish that front as a hosted agent front and list it in the agent directory. Paid hosted plans are built, and not switched on yet.
  • The egress Being installed, and not answering yet. Do not set egress_only until it is: until then it refuses every agent.
  • The published packages Publication of the code is held for now. The generator, the door and the gate are open source under Apache 2.0 and none is on crates.io or npm, so there is nothing to install yet and no site is running the gate. Until it is published, write to support@verigrant.com and we will send you any of it.
  • Email delivery needs your mail server The generator's door sends an action by email only through the mail server you name with the VERIGRANT_SMTP variables. Without them an action set to arrive by email waits in the inbox directory, and the receipt says inbox.
  • Selling priced access You can price a purpose, and an agent is refused with the price's address. Nothing collects the price yet.
  • Python Not built. Rust and TypeScript are what ship.
  • A price The generator, the open source door, the gate you run yourself and a directory listing have no price and are not billed, and a front Verigrant hosts is free for a small site on the Free plan. The paid hosted plans start at $39 a month and include sealed fields, and private compute is priced on request; see the hosted plans. Sealed orders and applications are the business guide's, with its prices.