tormie Developer access
← Download

Tormie CLI

Search and cite your notes from a terminal, automate approved workspace tasks, and connect a local MCP client.

Rust CLI 0.3.0 in public beta.

Install the CLI

The npm package includes the Rust executable and a local tormie-mcp server. The launcher and MCP server require Node.js 22 or later. The beta supports x64 and ARM64 on macOS and Linux.

npm install --global @getyak/tormie@beta
tormie --version
tormie doctor --json

Use an exact version to pin the CLI, or run it once without a global install.

npm exec --package=@getyak/tormie@0.3.0-beta.1 -- tormie --help

If you also have the Mac app, use type -a tormie and tormie doctor --json to check which command your shell launches.

Authorize a terminal

Run tormie setup --open or open Developer access in Tormie Web. Check the account and create a read-only knowledge credential for search and exact reads.

Put the one-time token in your host’s secret store. Supply it as TORMIE_TOKEN and supply the approved account ID as TORMIE_EXPECTED_USER_ID when launching Tormie. Keep the token out of command arguments, shell history and config files.

tormie auth status

Confirm the workspace and expiry in the result. Access covers original text and available transcripts of all eligible notes in the account, subject to your Library exclusions. Credentials expire after 30 days.

Find and cite a note

Search for words you remember. This example uses a fictional note.

tormie search --query "smaller experiment" --limit 5

Pass a chosen result’s read_args as JSON to tormie read --input-stdin. This example uses jq to select the first result.

tormie search --query "smaller experiment" --limit 5 \
  | jq -e '.items[0].read_args | objects' \
  | tormie read --input-stdin

Cite the record ID and version. Open that version in Tormie Web using ?record=RECORD_ID&version=VERSION while signed in to the same workspace. Follow the returned cursor or read continuation for more results.

Count notes and analyze conversations

Use a separately authorized workspace credential for these commands. Inspect its scopes with tormie agent status.

tormie stats | jq -r '.count'
tormie stats --tag 'Research'
tormie agent run --text 'Summarize the decisions in this conversation.'

stats requires records:read. It counts each visible note once, including notes with edit history or a transcript. Trash is excluded.

agent run requires agent:run, message read and write access, and an account that allows AI processing. It saves a message and requests a model response. Use tormie runs read --id RUN_ID to follow the run.

Connect a local MCP client

Run tormie mcp config to find the local command, arguments and required environment variable names. Use the command and arguments in a host that supports stdio MCP.

tormie mcp config

Create a separate credential for that host in Developer access and inject it through the host’s secret store or a trusted local launcher. Call tormie_workspace_status, then tormie_notes_search and tormie_notes_read.

Your MCP host may retain retrieved text or send it to its own model. Check the host’s data settings before connecting.

Revoke, update or uninstall

Revoke the credential in Developer access and remove its local secret. Revocation blocks new reads. Review any copies already retained by the host separately.

Run the same npm install --global @getyak/tormie@beta command to update. To remove a global npm installation:

npm uninstall --global @getyak/tormie