Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Key concepts

The words you will meet in Drizz Twins, from twins and worlds to keys, tokens and the record of calls.

The few ideas behind Drizz Twins, in one page.

Covers

Twins, worlds, seeds, leases, limits, roles, keys, tokens, the record of calls, environments

Default lease

6 hours with twin world create, 1 hour with twin start

World limit

25 worlds per organization at a time, unless an admin raised it

Watch out

Calls you make with twin api go into the same record as your agent's

Terms

Term
What it means

Twin

A fake copy of a product (Google Calendar, Gmail) that answers like the real one. Each twin is an MCP server.

World

One private, seeded copy of a twin. Yours alone: nothing you do there is seen anywhere else.

Seed

The plain-text file (seed.md) that says what is in a world when it starts.

Lease

How long a world lives if you never delete it.

World limit

How many worlds your organization can hold at once.

Organization

Your company's account. People in it have roles.

API key

Your credential. It makes, lists and deletes worlds. Your agent never gets it.

World token

One world's credential. Your agent sends it to reach that world, and only that world.

Record of calls

The twin's own log of every call made in a world (the trace).

Environment

Several twins raised together as one unit.

Twin

A twin copies a real product's behaviour: its operations, its data shapes and its failure modes. Your agent connects to it over MCP, the standard way AI agents call tools, exactly as it would connect to the real product. See the Google Calendar and Gmail pages for what each covers.

World

A world is one private copy of a twin, with your data in it. An agent gets its own world, drives it, and nobody else sees what it did.

To your agent, a world is two things: an MCP address and a token.

Each twin world create makes a new, separate world. Run different agents side by side, or the same agent twice. A --label groups worlds so you can list and delete them together:

By default your worlds are private to you. Set TWIN_WORLD_SHARED=1 to make worlds your organization shares instead: a teammate's key can read them, and only an admin's key can delete them.

Seed

A seed file describes a world's starting state in plain text: the events on the calendar and the emails in the mailbox.

now: pins the world's clock, so "Thursday" always means the same day.

You can turn a world back into files, too:

  • twin world save <folder> -o after.md writes the world as it stands, as a seed file you can read and edit.

  • twin world snapshot <folder> -o snap.json writes an exact copy of every app's state. twin world create snap.json makes that world again.

See Describe a world.

Lease

Every world has a lease: how long it lives if you never delete it. When the lease ends, the world deletes itself.

How the world was made
Default lease

twin world create

6 hours

twin start

1 hour

Both commands take --lease <seconds> to set a different time. Delete a world yourself as soon as you are done with it, to free its place.

World limit

Your organization can hold 25 worlds at a time, unless an admin raised the limit. twin world list shows the worlds made on this machine that still exist, and how full your organization is.

Organization, people and roles

Your organization's access comes from Drizz. People sign in with their work email. Each person has a role in the organization: owner, admin or member.

A role bounds the keys a person can mint:

  • An owner or an admin may mint a key with any of the six scopes.

  • A member may mint five. Only WORLDS_ADMIN is withheld.

Two credentials: API key and world token

A person and a key are different things, on purpose.

The API key belongs to you. twin login mints one for your machine and keeps it in your OS credential store. It makes, lists and deletes worlds. It carries a frozen set of scopes, bounded by your role when it was minted. A key never widens: a later role change does not grant an existing key more.

The world token belongs to one world. Your agent sends it as Authorization: Bearer <token> to that world's MCP address. It reaches that world and nothing else.

Your agent never gets your API key. When you run it with twin world run, its environment gets the world's address and token, never your key.

In CI, where there is no browser, give the CLI a key minted elsewhere:

Or set it in the TWINS_API_KEY environment variable. twin logout revokes this machine's key on the server and forgets it.

Record of calls

Every world records every call made in it. For each call, the twin keeps the operation, its outcome, the arguments and data (with secret-looking values masked by their content), and the change it made to the world's state.

Calls you make yourself with twin api go into the same record. Mail and events you add with twin world trigger do not: they are the world's, not the agent's.

See See what your agent did.

Environment

One seed can name several twins. A seed with twin: calendar, gmail gives you a calendar and a mailbox in one folder, and your agent reaches both in the same run.

On the server, an environment raises several twins as one unit. Its members reset together, renew together and lapse together.

See Several twins together.

Next


Last updated: 27 October 2026

Was this helpful?