prufy
Skip to the page

Get startedFor AI agents

Get started

For AI agents

Everything here is readable without running a page.

On this page

An agent can prove a domain with Prufy the same way a person does: get one record, add it, and ask for a check. This page lists what's there for agents to read and run.

Read the docs

Start at llms.txt, the list of every page. Or ask for one of these:

To getAsk for
Any page as MarkdownAdd .md to its address, or send Accept: text/markdown
The landing page/index.md
Every page in one file/llms-full.txt
The API as OpenAPI/api/openapi.json
A setup link's record and stepsAdd .md to the link

Start with a prompt

Copy this into your agent to prove a domain from scratch:

Prompt
Help me prove I own yourcompany.com with Prufy. Start by reading https://www.prufy.dev/llms.txt: it lists every page of Prufy's docs as Markdown.

1. Use the CLI: npx --yes @prufy/cli verify yourcompany.com --json. It prints the one TXT record to add.
2. Show me the record before you change any DNS, add only that one record, and never ask for my DNS provider's password. If you can't change my DNS, tell me exactly what to add and where, in my provider's words.
3. Once it's added, run npx --yes @prufy/cli check yourcompany.com --wait --json. Exit status 0 means verified, and 3 means checked and not there yet.

The Quick start writes one for the API, a component or a setup link instead. To put Prufy inside a product, the components introduction has its own.

Use the CLI

Add --json to any command. stdout then carries one JSON document and nothing else, in the same shapes the API returns. With npx --yes there's nothing to install and nothing asks a question.

Terminal
npx --yes @prufy/cli verify yourcompany.com --json

The exit status says what happened, so a script can branch without parsing text:

Exit statusMeans
0Done. After a check, it means verified
1Something went wrong
2The command wasn't understood
3Checked, and not verified yet

Scripts and agents on the CLI page covers what changes when nobody is at the keyboard.

Someone who can't add the record themselves can send a setup link to whoever can, including an agent. The link can read one record and ask for a check, and nothing else, so an agent that has one needs no other credential:

An agent with a setup link
# Read the record. The link is the only credential this needs.
npx --yes @prufy/cli setup https://prufy.dev/setup/… --json

# Once the record is added, ask for a check and wait for the answer.
npx --yes @prufy/cli setup https://prufy.dev/setup/… --check --wait --json

Rules to follow

  • Show the record first. Before changing anyone's DNS, show them exactly what you'll add.

  • Add only that record. One TXT record proves the domain. Nothing else needs to change.

  • Never ask for passwords. Not for the DNS provider, not for anything. Prufy never needs one.

  • Only a check says verified. Read the claim's phase after a check. Don't report a domain as verified because the record was added.