Skip to content

Get startedFor agents

Docs

Get started

For agents

SnowAI is built to be read and set up by agents. These are the files and sign-in paths made for them.

setup.md#

setup.md is the connect guide, written to the agent that was asked to connect: the server, each client's command, sign-in, the first calls and what an agent cannot do. A person only has to send this prompt:

Prompt
Set up SnowAI from https://trysnow.ai/setup.md

llms.txt and Markdown twins#

llms.txt lists every page with the URL of its Markdown twin. sitemap-md.xml lists the twins for crawlers.

  • Add .md to a page's URL, for example /docs/quickstart.md. The home page is /index.md.
  • Or send Accept: text/markdown to the page's own URL.
  • Every docs page has a Copy page menu: copy as Markdown, view it, or open it in ChatGPT or Claude.
sh
curl https://trysnow.ai/docs/quickstart.md

Sign in without a person#

An MCP client signs in with OAuth 2.1 and PKCE. It registers itself, so there is no client to create by hand. The scopes are openid, profile, email, offline_access and snowai.

Device code
For an agent with no browser. It asks for a code (RFC 8628), shows the person a link on https://trysnow.ai/device and a code, and picks up the connection after they approve. The endpoint is device_authorization_endpoint in the authorization server metadata.
AgentID
An agent with an AgentID signs in as itself on the sign-in page. Its first sign-in creates its account and wallet. The free credits go to a verified person: an AgentID with an owner gets them at once, otherwise a person confirms an email address with a code.
API key
A person makes a key on the Connect page. The agent sends it as Authorization: Bearer snow_live_....

Discovery starts at the MCP endpoint: a request without a token answers 401 with a WWW-Authenticate header that points to the protected resource metadata. See MCP.

What the agent sees#

  • tools/list returns the account tools, with a description that ends with the tool's price in credits and dollars.
  • Every paid answer has cost_credits, cost_usd and the balance, so the agent can tell the person what each call cost.
  • find_tools is free. It searches the catalog and returns each tool's price and input_schema. call_tool runs the tool you chose.
  • dry_run: true returns a call's price without running it, and max_credits caps one call.
  • A 402 means the wallet cannot cover the call. A 428 means the person has to approve the cost first.

Tools and Caps and approvals have the details.