Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .github/workflows/docs-sync.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: docs-sync

# Optional: a coding agent in your own session keeps the docs in step with the code through AGENTS.md, and needs no key.
# This workflow does the same on GitHub. After a code change on main, an agent edits the docs to match the change, and the result arrives as one pull request on docs/sync.
# The agent needs a model key: the repository secret ANTHROPIC_API_KEY. Without it a run does nothing.
on:
push:
branches: [main]
paths-ignore: ["docs-site/**"]

jobs:
sync:
permissions:
contents: write
pull-requests: write
uses: VerticalStudio-ai/vertical-docs/.github/workflows/docs-sync.yml@6bd9f3ddae4b6bd23bb8d118b4026cef9c85e8a2
with:
site: docs-site
secrets:
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
36 changes: 36 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: docs

# Checks the docs on a pull request and on main: the build, and every link, anchor and search result in it.
# With a Cloudflare account it also publishes them: main to the live site, a pull request to its own preview address.
# The account is the repository variable CLOUDFLARE_ACCOUNT_ID and the repository secret CLOUDFLARE_API_TOKEN.
on:
pull_request:
push:
branches: [main]

permissions:
contents: read

jobs:
check:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: 24
# Installs the package at the version that wrote this file. npm runs outside the repository, where it reads no package.json: inside, it installs the repository's own dependencies too, and stops when the package.json allows only pnpm or names a workspace package. No dependency runs an install script: none needs one.
- run: npm install --no-save --ignore-scripts vertical-docs@0.1.0
working-directory: ${{ runner.temp }}
# Links the package to node_modules/, where docs-site/wrangler.jsonc finds the Worker. A repository that has vertical-docs in its own devDependencies runs its own install in place of these two steps.
- run: ln -s "$RUNNER_TEMP/node_modules" node_modules
- run: node_modules/.bin/vertical-docs check docs-site
- if: vars.CLOUDFLARE_ACCOUNT_ID != ''
run: npx wrangler@4.161.0 ${{ github.event_name == 'push' && 'deploy' || format('versions upload --preview-alias pr-{0}', github.event.number) }} --config "$GITHUB_WORKSPACE/docs-site/wrangler.jsonc" --message ${{ github.sha }}
working-directory: ${{ runner.temp }}
env:
CLOUDFLARE_ACCOUNT_ID: ${{ vars.CLOUDFLARE_ACCOUNT_ID }}
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
8 changes: 8 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,3 +129,11 @@ tag: `publish:npm` sends every package — the `vapi-network` distribution and t
four scoped packages — to `latest`, and `publish:npm:next` puts the same package
on `next` instead. The manual GitHub workflow verifies artifacts and prints
commands; it has no npm authentication and performs no publish.

## Keep the docs in step with the code

The docs of this repository are the Markdown pages in `docs-site/content/`. When a change to the code changes behaviour that a page describes, do these three steps in the same change:

1. Read the writing rules, `WRITING.md` of the `vertical-docs` package: `npx vertical-docs rules` prints them.
2. Edit the page so that it describes the code as it is now.
3. Run `npx vertical-docs check docs-site`, and fix what it reports.
2 changes: 2 additions & 0 deletions docs-site/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
dist/
.wrangler/
177 changes: 177 additions & 0 deletions docs-site/content/account-and-sign-in.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,177 @@
---
title: "Account and sign-in"
description: "Sign in with Google, email or a wallet, then finish setup and confirm your vAPI ID."
order: 5
---

Select Sign in at [api.vapinetwork.ai](https://api.vapinetwork.ai), then choose Google, email or a wallet.
A new email or Google login creates an account; an existing sign-in email opens its account.
Each account has one wallet, and every sign-in method opens that same account.
Accounts do not merge.

## Sign in

The first window offers Continue with Google, Continue with email and Connect a wallet.
Connect a wallet opens a separate picker for supported and installed wallets.
Cancelling the picker returns you to the first screen.

| Method | What happens |
| ------ | -------------------------------------------------------------------------------------------------------------- |
| Google | Continue with Google opens Google sign-in. Some identities need an email code to finish connecting Google. |
| Email | Enter the six-digit code sent to your email. Send a new code becomes available after 30 seconds. |
| Wallet | Review the sign-in message, then select Sign in with wallet. This needs one free signature and moves no money. |

New email and Google accounts receive Your vAPI wallet, an embedded EVM wallet kept by Coinbase.
This differs from the Coinbase Wallet entry in the wallet picker, which can create a smart wallet.
Email and Google login do not require that embedded wallet to sign a wallet sign-in message.
vAPI offers no password sign-in.

Email and Google prepare a security check while the initial screen is visible and online, when configured.
The inline check asks for interaction only when needed; wallet sign-in runs its check on demand.
If a new-account check appears, choose whether to create another account or return to the remembered one.

## Account setup

Finish the missing steps in this order: picture, safety word, username.
Saved answers are reused, including a Genesis Egg holder's existing safety word.
Required setup cannot be dismissed with Escape, the backdrop or Close; Sign out or Disconnect remains available.
Draft answers survive reload in the same wallet's tab storage when browser storage is available.

| Step | What you choose |
| ----------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Picture | Choose one of three generated variants. You can change it later. |
| Safety word | Type your own word or phrase, or select Suggest one. Use 4 to 32 characters: letters and numbers, with single spaces or hyphens between words. You cannot change it after saving. |
| Username | Use 3 to 20 lowercase letters, numbers or underscores, including at least one letter or digit. Reserved names and generated patterns can fail, including vapi followed by your wallet's last four hex characters. You cannot change it later. |

The final action is Create your vAPI ID.
Saving setup and confirming the ID are separate operations; the waiting window remains until your account is ready.
Done shows Account as Created, Username as Saved and the vAPI ID status, followed by Start exploring.
Its folded Give this to your agent section contains a copyable prompt with your username.

Your safety word helps you recognise vAPI screens and emails.
The account menu displays it directly when you are signed in and it is present.
Some genuine email-change and removal notices omit it, so it is a recognition aid rather than a universal authenticity test.
vAPI never asks you to type or send your saved safety word, seed phrase or private key.

## Join verification and your vAPI ID

New accounts need one accepted verification signal before vAPI sponsors the ID mint on Base.
The checklist adds Prove you're a person when verification is needed.
These paths are alternatives; you can authenticate before you qualify for the sponsored mint.

| Signal | What qualifies |
| ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Google | Recorded Google signup or trusted linked-Google evidence. The checklist button explains how to add email, then sign in with Google using that address. |
| Email | A real sign-in email that passes the shared domain checks. Adding it requires code verification. |
| Router | A recorded credited top-up. The verification page offers Top up $1 on Router; return to the sign-in window afterward. |
| Used wallet | At least one sent transaction on Base, Ethereum, BSC, Optimism or Arbitrum One. Receiving tokens alone does not qualify. |
| Existing ID | A previously confirmed or existing onchain vAPI ID. |

Valid custom-domain email addresses are eligible; vAPI does not restrict signup to a finite provider list or check MX records.
Email identity ignores case and surrounding spaces; Gmail dots, plus suffixes and googlemail.com map to the same identity.
New throwaway-email accounts are refused, while an existing account holding that email can still sign in.
Addresses from these privacy-relay services are accepted, including their subdomains.

| Relay | Accepted domains |
| ---------------------- | ------------------------------------------------------ |
| DuckDuckGo and Firefox | duck.com, mozmail.com |
| Addy | addy.io, anonaddy.com, anonaddy.me |
| SimpleLogin | simplelogin.com, simplelogin.co, aleeas.com, slmail.me |
| Proton | passmail.net, passmail.com, passinbox.com |
| Apple | privaterelay.appleid.com |

## Waiting for your vAPI ID

The waiting checklist shows Account, Username and vAPI ID, plus verification when needed.
ID labels include Waiting, On Base, Creating…, Delayed, Checking… and On hold.

| State | What it means | What you do |
| ------------------- | -------------------------------------------------------- | ----------------------------------------------------------- |
| Verification needed | One accepted signal is still missing. | Choose a verification path, then return. |
| Creating | vAPI is writing your ID to Base. | Wait for confirmation. |
| Slow | Confirmation is taking longer than usual. | Let the screen update; View transaction may be available. |
| Delayed | vAPI's team has been alerted to a problem on its side. | You can close the page and return; use Discord for help. |
| Cannot check | Your ID may already exist, but vAPI cannot check it now. | The screen retries every few seconds; use Discord for help. |
| On hold | The mint needs support intervention. | Ask on Discord to continue. |
| Ready | Your vAPI ID is ready. | Select Continue. |

Delayed, cannot-check and on-hold states offer [Get help on Discord](https://discord.gg/vapinetwork).
Pending states retain Sign out; automatic polling does not remove verification or hold requirements.
Readiness requires completed setup, a valid picture and username, and a recorded ID confirmation.
Without readiness, guarded product APIs, agent linking, OAuth consent and owner-bound credential issuance remain unavailable.

Account read/setup and own-ID read, mint and polling remain available during recovery.
A setup-complete pending account can also add or verify an own-wallet sign-in email and use the $1 verification top-up.
These exceptions do not admit machine credentials or bypass required setup; email removal still requires readiness.
Public unauthenticated reads and independent buyer-local x402 payments do not acquire an ID requirement.
The signed-in console nevertheless keeps pending accounts in the waiting window.
The ID cannot be transferred and grants no token rights by itself.
It establishes no skill, history or reviewer eligibility.

## Account menu and navigation

Open the account menu from the avatar and username in the header, with Account as its fallback.
The menu truncates USDC balances to two decimal places.
A signed-in account without its wallet gets Connect wallet; signed-out visitors get Sign in.

| Order | Own-wallet account | Active vAPI-wallet account |
| -------------- | -------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- |
| 1 | Avatar, username or wallet-name fallback, shortened address, Copy address and explorer link. | Avatar, username or Your vAPI account fallback, embedded address, Copy address and explorer link. |
| 2 | Balance, then Network and Wallet. | Balance, then the Coinbase custody notice, Network and Your vAPI wallet. |
| 3, conditional | Connect wallet when signed in without the wallet; otherwise Sign in when needed. | The same conditional connection action. |
| 4, signed in | Safety word, when present. | Signed in as with your email, then Safety word. |
| 5 | Theme, showing Dark or Light. | Theme, showing Dark or Light. |
| 6 | Switch wallet, then Disconnect. | Add funds, Export key, Switch wallet, Disconnect. |

The vAPI-wallet custody notice says Coinbase keeps the wallet and vAPI cannot move your funds.
Account links are hidden inside this dropdown; use the separate Account navigation in the sidebar, tabs or mobile menu.
Settings opens the account dialog, followed by My APIs, My agents and Usage and activity in this order.

| Order | Account navigation | Destination |
| ----- | ------------------ | --------------- |
| 1 | Settings | Account dialog |
| 2 | My APIs | `/call/my-apis` |
| 3 | My agents | `/agents` |
| 4 | Usage and activity | `/usage` |

## Settings and wallet proof

Sign-in methods follows the safety word in Settings.
Adding email to an own-wallet account opens the same account and does not merge accounts.
An email already used elsewhere remains unavailable after successful code verification.

| Setting | What you can do |
| ----------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- |
| Own-wallet email | Add, change or remove email. Add/change requires a verified code and wallet proof, including the first email. |
| Google | With a real email, see Connected or guidance to use Continue with Google with that email. There is no separate Google connect/remove control here. |
| vAPI-wallet email | Read-only; this email opens your vAPI wallet and cannot be changed yet. |
| Wallet | Copy its address and, when available, choose Use it in your own wallet app. This section does not replace or remove the account wallet. |

Removing email also clears Google sign-in; the original wallet remains bound to the account.
Changing or removing email stops admission through the old address and attempts to sign out other sessions.
The caller's wallet-proved session remains active.
Reading an own-wallet account through email or Google does not itself require reconnecting the browser wallet.

Sensitive actions require proof from the account wallet when that own-wallet account has or ever had sign-in email.
The prompt asks you to connect the matching address, switch wallets, cancel or sign out, then review wallet sign-in.
Cancellation does not retry the action; successful recovery can retry a reusable request once.
A matching trusted embedded credential satisfies proof without an external wallet sign-in signature.

## Your vAPI wallet

Every embedded signature opens a review sheet with account, network and payment, approval, message or transaction details.
Unknown or unreadable requests cannot be confirmed.
Embedded Call and Router x402 authorizations work, but the embedded connector cannot pay network fees yet.
Stake transactions, Egg mints and direct wallet transfers require an external wallet connection.

Add funds opens the wallet's funding page with Buy with card, Send from your wallet and Bridge from another chain.
You can also send Base USDC manually; direct sending from another embedded connector is disabled.
Card availability can vary, and a blocked popup offers Open Coinbase in a new tab.
Insufficient USDC for the matching embedded payer can offer Add funds from a Call or Router payment failure.

Export key warns that anyone holding the private key can take your funds.
Show export opens Coinbase's export frame, with Cancel and Close export available; never share the key.
You can import it into MetaMask, Rabby or Coinbase Wallet, then sign in with that wallet.
Signatures then use the active external wallet connector.

Checked on 2026-11-17.
8 changes: 8 additions & 0 deletions docs-site/content/agents/control/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
title: "Control"
description: "Explore Owner and agents, Swarms."
order: 7
---

- [Owner and agents](/agents/control/owner-and-agents/) — Owners link, limit, pause, or revoke agents without giving them control of the owner wallet.
- [Swarms](/agents/control/swarms/) — Local swarms group agent accounts around one treasury while each member keeps its own keys, balance, caps, and owner link.
Loading
Loading