Install
Authenticate
- Create an API key in your Twill workspace under Settings
- Run
twill login:
~/.twill/credentials.json. You can also set the TWILL_API_KEY environment variable instead.
Interactive mode
Runtwill with no arguments to open the interactive TUI where you can browse tasks, create new ones, and resume conversations.
/ to see available commands: /tasks, /resume <slug>, /agent, /forks, /exit.
Tasks
Create options
| Flag | Description |
|---|---|
--command | What to do (required) |
--mode | code, plan, ask, or dev_env (optional) |
--agent | Agent provider/model, e.g. claude-code/opus, codex/gpt-5.5 |
--effort | Reasoning effort: low, medium, high, or xhigh |
--title | Task title (optional) |
Resume
Start a live interactive chat session with an existing task:Automations
Teleport
Export a task’s Claude session locally so you can continue in Claude Code:twill teleport prompts you to pick from your existing Claude Code projects under ~/.claude/projects/. Pass --project <path> to write directly to a specific project directory and skip the picker.
Workspace sandbox
Each workspace has a long-lived sandbox that holds your connected repos and dev-environment state. You can open a shell into it directly, or create a named fork — a one-off sandbox cloned from the workspace sandbox that isn’t tied to any task.SSH into the workspace sandbox
Fork the workspace sandbox
Create a named fork (cloned from the current workspace sandbox state) and SSH into it:~/.twill/forks.json, keyed by workspace. List them inside the interactive TUI with /forks.
SSH into a fork
twill ssh <name> resumes the sandbox automatically. Forks are auto-deleted 7 days after they stop being used.
Fork names must contain only letters, digits, -, and _.
Profiles
Manage multiple workspaces with named profiles:Environment variables
| Variable | Description |
|---|---|
TWILL_API_KEY | API key (alternative to twill login) |
TWILL_BASE_URL | Override API base URL |