Install & Setup
This page walks you through everything you need before jumping into the quickstarts. By the end you’ll have an account, the CLI installed, a vault created, and your first file uploaded.
1. Create an account
Section titled “1. Create an account”Sign up at app.opentusk.ai. You’ll need an access code during early access.
Once signed in:
- Connect your wallet — Go to Settings > Sui Wallet and link a Sui address. This is required for shared vault encryption.
- Create a shared vault — Go to Vaults > New Vault and create your first shared vault. Shared vaults use SEAL encryption — only approved Sui addresses can decrypt files.
You can also create public vaults (unencrypted, shareable via URL) from the dashboard.
2. Install the CLI
Section titled “2. Install the CLI”npm install -g @opentusk/cliVerify the installation:
opentusk --version3. Run the setup wizard
Section titled “3. Run the setup wizard”opentusk setupOne interactive command handles everything — creating a new account, logging into an existing one, or onboarding an agent from an invite code. The wizard then offers to set up a Sui wallet (for shared vault encryption) and create a default vault.
The three branches
Section titled “The three branches”When you run opentusk setup, you pick one of three paths:
? What would you like to do? ❯ Create a new account — sign up for OpenTusk Log in — existing account Set up an agent — invite code from owner
? Email [email protected]? Password ********? Confirm password ********? Display name (default: you)? Access code BETA2026 Get one at opentusk.ai ✔ Account created ✔ API key savedYou’ll also be prompted:
- Set up a Sui wallet for shared vaults? — generates an Ed25519 keypair and links it to your account.
- Create your first vault? — pick a name and visibility (public or private).
The wizard finishes with a summary card showing your account, plan, storage, Sui address, default vault, and config path.
? What would you like to do? Create a new account ❯ Log in — existing account Set up an agent
? How would you like to log in? ❯ Email & password — sign in with credentials API key — paste an existing keyEither path validates the credentials and stores a fresh API key in your CLI config. The same Sui-wallet and default-vault prompts follow.
? What would you like to do? Create a new account Log in ❯ Set up an agent — invite code from owner
? Invite code otinv_… from your account owner ✔ Generated Sui keypair: 0x… ✔ Agent authenticated under [email protected]The wizard generates (or reuses) a Sui keypair, redeems the invite, and locks the CLI into agent mode. The agent’s Sui key cannot be changed without logging out. See Invite Codes for how owners create and scope these codes.
4. Manual alternatives to the wizard
Section titled “4. Manual alternatives to the wizard”You can always skip the wizard and use single-purpose commands:
opentusk login --api-key otk_your_keyGet an API key from app.opentusk.ai under Settings > API Keys.
opentusk login --invite-code otinv_abc123...Verify your session:
opentusk whoami5. Upload a file
Section titled “5. Upload a file”opentusk upload report.pdfFiles go to your default vault. Use --vault to target a specific vault:
opentusk upload report.pdf --vault "My Vault"List and download files:
opentusk lsopentusk download <file-id> --output report-copy.pdfYour file is hot — stored in a fast cache and immediately downloadable. In the background, OpenTusk syncs it to the Walrus decentralized network for durability.
uploading → hot → synced → cold ↑ durable on WalrusTrack status with opentusk file status <file-id> --wait or webhooks.
6. Set up a new agent with invite codes
Section titled “6. Set up a new agent with invite codes”Invite codes let you onboard an AI agent with a single command. The agent gets its own API key and Sui keypair, scoped to your account.
-
Create an invite code
Terminal window opentusk invite create --name "my-agent"Copy the code (
otinv_...) — it’s single-use and expires in 1 hour by default. -
Redeem the code (on the agent’s machine)
Terminal window opentusk login --invite-code otinv_abc123...This generates a Sui keypair, creates an API key under your account, and stores everything in the agent’s CLI config.
-
Install MCP config for the agent’s tool
Terminal window opentusk mcp install-config --target claude-codeReplace
claude-codewithclaude-desktoporcursordepending on the agent.
You can also use the interactive setup wizard on the agent’s machine:
opentusk setup# Choose "Set up an agent" → paste the invite codeManage invite codes:
opentusk invite list # See all codes and their statusopentusk invite revoke <invite-code-id> # Revoke an unused codeSee Invite Codes for scopes, vault restrictions, and expiry options.