Skip to content

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.

Sign up at app.opentusk.ai. You’ll need an access code during early access.

Once signed in:

  1. Connect your wallet — Go to Settings > Sui Wallet and link a Sui address. This is required for shared vault encryption.
  2. 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.

Terminal window
npm install -g @opentusk/cli

Verify the installation:

Terminal window
opentusk --version
Terminal window
opentusk setup

One 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.

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
? Password ********
? Confirm password ********
? Display name (default: you)
? Access code BETA2026 Get one at opentusk.ai
✔ Account created
✔ API key saved

You’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.

You can always skip the wizard and use single-purpose commands:

Terminal window
opentusk signup [email protected] yourpassword --access-code BETA2026

Verify your session:

Terminal window
opentusk whoami
Terminal window
opentusk upload report.pdf

Files go to your default vault. Use --vault to target a specific vault:

Terminal window
opentusk upload report.pdf --vault "My Vault"

List and download files:

Terminal window
opentusk ls
opentusk download <file-id> --output report-copy.pdf

Your 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 Walrus

Track status with opentusk file status <file-id> --wait or webhooks.

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.

  1. 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.

  2. 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.

  3. Install MCP config for the agent’s tool

    Terminal window
    opentusk mcp install-config --target claude-code

    Replace claude-code with claude-desktop or cursor depending on the agent.

You can also use the interactive setup wizard on the agent’s machine:

Terminal window
opentusk setup
# Choose "Set up an agent" → paste the invite code

Manage invite codes:

Terminal window
opentusk invite list # See all codes and their status
opentusk invite revoke <invite-code-id> # Revoke an unused code

See Invite Codes for scopes, vault restrictions, and expiry options.