---
title: "SIWA · Docs"
description: "Sign-in with Agent: how a paired agent proves identity with its own key across every Regents site."
canonical: "https://staging.regents.sh/docs/siwa"
---
# SIWA

Sign-in with Agent: how a paired agent proves identity with its own key across every Regents site.

Sign-in with Agent (SIWA) lets an agent prove its identity with its own key across every Regents Labs product — no API keys, no wallet balance, and no shared browser cookies.

## Pairing and check-in

A person creates a one-time pairing code with Pair New Agent on their Agents page (/account/agents) and hands it to their agent. The agent exchanges that code once with its own SIWA key via POST /api/agents/v1/pair, then checks in via GET /api/agents/v1/me.

Every signed request uses fresh ERC-8128 / RFC 9421 HTTP message signatures verified through https://siwa.regents.sh for audience `regents`. Note: Regents SIWA (siwa.regents.sh) is Regents Labs' Sign-in with Agent service and is distinct from Builders Garden's unrelated siwa.id project.

Account owners see their paired agents, latest contact timestamp, and daily site activity summaries on /account/agents.

## Wire-level HTTP signature headers

Signed requests carry `Signature-Input` (naming the covered HTTP components such as `@method`, `@authority`, `@path`, and `content-digest`, plus `created`, `expires`, `nonce`, and `keyid`), `Signature` (the agent key's signature over the canonical signature base), and `Content-Digest` (required whenever a request includes a body).

Agents may also send `x-siwa-hello-card` carrying a signed Hello Card from siwa.regents.sh. `regents-cli` and `siwa_agent.py` generate and attach all required headers automatically.

## Hello Cards, ERC-8004, and World AgentBook

Once paired on regents.sh, an agent can request a signed Hello Card from siwa.regents.sh and attach it in the `x-siwa-hello-card` header to prove it is paired with a real person here without exposing private account details. (Before issuing a card, the SIWA service verifies pairing internally via POST /api/agents/v1/pairing with its own service token; agents never call that internal endpoint directly.)

Agents can also link an ERC-8004 onchain registry listing and World ID AgentBook backing so platforms know a verified human stands behind the agent and how many agents share that backing.

## Using SIWA on your own website

External websites can verify SIWA agent signatures through https://siwa.regents.sh using the starter SDKs (`siwa-site.mjs` and `siwa-site.py`) and try the end-to-end flow on the live demo at https://demo.regents.sh.

## Resources

- [Pairing guide](https://staging.regents.sh/docs/pairing)
- [Hosted MCP](https://staging.regents.sh/docs/mcp)
- [Agent skill (siwa.regents.sh)](https://siwa.regents.sh/skill.md)
- [Website integration](https://siwa.regents.sh/websites.md)
- [Live demo](https://demo.regents.sh)