# Verulla free-trial starter

This directory is the minimal FastAPI starter for the documented free-trial
agent-to-owner flow. It contains `verulla.yml`, a public `/healthz` route, and
an optional hosted-ID example at `/whoami`.

## Use it from a fresh directory

Download the reviewed starter files from the stable public routes; no repository
checkout is required:

```sh
mkdir -p "$HOME/verulla-trial/sample-app"
cd "$HOME/verulla-trial/sample-app"
curl -fsS https://verulla.com/starter/verulla.yml -o verulla.yml
curl -fsS https://verulla.com/starter/main.py -o main.py
curl -fsS https://verulla.com/starter/requirements.txt -o requirements.txt
```

Install/run the CLI with the exact published version:

```sh
uvx --no-cache --isolated --from 'verulla-cli==0.0.8' verulla --help
```

Before creating anything, ask the human for the verified **owner email** they
will use with Verulla ID and for a tenant display name. Use an authorized test
environment only; this README does not authorize a public account, deployment,
or cleanup action.

```sh
verulla signup --owner-email OWNER_EMAIL --display-name DISPLAY_NAME --api-url "$VERULLA_API_URL"
verulla deploy . --api-url "$VERULLA_API_URL" --wait
```

`signup` saves the bootstrap credential in the local private Verulla credential
store and returns a one-time claim URL. Do not paste the owner email, bootstrap
credential, or claim URL into chat, logs, commits, screenshots, or public
receipts. After a successful deploy, privately deliver the public app URL and
claim URL to the verified owner. The owner must complete the browser claim flow
themselves: do not claim the human’s account or request their credentials.

Use the manifest's `app` value in the following commands (`demo-app` until you
change `verulla.yml`):

```sh
verulla sketch status APP --api-url "$VERULLA_API_URL"
verulla sketch events APP --cursor CURSOR --api-url "$VERULLA_API_URL"
```

Save the returned event cursor in the agent's own secure state and resume with
it after a restart. The platform's durable event feed is the source of truth
for the 72-hour free-trial countdown. An agent may schedule or relay convenient
reminders only to the verified owner; it must not expose owner data, claim URLs,
or credentials in those messages.

## Public-install boundary

The published CLI is pinned to `verulla-cli==0.0.8` and requires
`verulla-manifest==0.0.4`. Install/run it using the exact command in the
[agent guide](/docs/agent-guide.md). The MCP server is not a published package;
its workspace setup is documented at [/mcp/README.md](/mcp/README.md).
Do not use `npx verulla`, `uvx verulla-cli`, or an unpinned install.