Quickstart
Install the twin CLI, make a calendar world, connect your agent, and read every call it made.
Make a private calendar world, point your agent at it, ask it something, and read back every call it made.
Time
A few minutes
Twins
Google Calendar
You need
A terminal on macOS or Linux, and an agent that speaks MCP
Ends with
Every call your agent made, on screen
Watch out
Treat the world's token, and the world/ folder, as a secret
Prerequisites
A terminal on macOS or Linux.
An agent that speaks MCP: Claude Code, Cursor, Codex or your own.
A work email with access. Your organization's access comes from Drizz.
Copy this
Save this as seed.md in an empty folder:
## Setup
twin: calendar
now: Mon 09:00
## World: calendar
Wed 15:00-16:00 Dentist
Thu 09:00-09:30 Team syncThen run, from that folder:
The steps below explain each line, with npm, uv and other agents.
Steps
Install the twin CLI
On a Mac, or Linux with Homebrew:
Homebrew also sets up tab completion. Upgrade later with brew upgrade twin-harness.
Needs Node 16+ and Python 3.9+ on your PATH.
With uv, install both packages from the release page:
Check it:
Describe and create a world
Make a folder to work in, and save this as seed.md. It says what is on the calendar when the world starts.
now: Mon 09:00 pins the world's clock, so "Wednesday" always means the same day.
Create the world:
The world is yours alone. The folder world/ holds its address and tokens, and every other twin world command takes that folder. The world lives 6 hours unless you delete it first.
Connect your agent
twin world create printed the world's MCP address. To see the address and the token together:
Add the world to your agent as an MCP server over HTTP, sending the token as a bearer token:
This detects the MCP clients on your machine and adds the server to them:
For your own agent, see Connect your agent.
See the calls it made
Save the world as it stands now, as a seed file you can read:
More ways to read a world: See what your agent did.
In a hurry: twin start
twin start makes a world in one command and prints the lines that connect your agent to it:
It prints the world's id, its MCP address and token, an npx add-mcp line for Claude Code, Cursor, Codex and others, and a claude mcp add line for Claude Code alone. A twin start world lives 1 hour by default (--lease sets the seconds).
Delete it by its id, or delete every world twin start made:
Common mistakes
A bare pip install into your system Python
Most systems refuse it. Use Homebrew, npm or uv
twin world calls on a twin start world
It can't read it: a twin start world has no folder
Next
Key concepts: worlds, seeds, leases, keys and tokens.
Describe a world: events, attendees, emails and threads.
Run your agent: start your agent with the world's address in its environment.
Last updated: 27 October 2026
Was this helpful?