DocsReference

Data, storage & privacy

Where Rusty keeps your keys, chats and settings, and where your requests go.

Rusty runs on your machine. This page explains what it stores and where your data goes.

Where requests go

Model requests go to the providers you connect, using the keys or sign-ins you give Rusty. If you use a local OpenAI-compatible server, model requests stay on your machine.

Some features call other services you configure: web search providers, MCP servers and the selector models behind smart tools. Each is opt-in and uses the provider or server you choose.

Rusty also contacts GitHub to check for updates, as described in Installation.

The decision model

Automatic model selection and Auto flows send short prompts to the OpenRouter Decisions API, with your OpenRouter key. Model selection sends your request (clipped to a fixed length). Choosing a workflow sends your message and an excerpt of the last result. A hand-over check sends your request and the outputs of the workflow steps finished so far, which can quote your code. What is sent lists the limits. None of this goes to the provider of the model that does your work, and none of it happens unless you have chosen to use these features.

Provider keys and MCP credentials

API keys, tokens and MCP server settings (kept separately for each workspace) are saved in Rusty's application configuration, encrypted with AES-GCM. The encryption key is a random 256-bit key held in the macOS Keychain. If no keychain is available, it is kept in an owner-only file in the app's data folder instead. The key is never shipped inside the app.

Two safeguards protect against data loss:

  • If the key cannot be obtained at all, for example because the keychain is locked, Rusty does not save anything over your existing configuration during that session.
  • If the key is available but cannot decrypt the stored data, for example because the keychain entry was reset, Rusty moves the old data aside under a backup key and starts fresh instead of overwriting it.

Sign-ins for GitHub Copilot and OpenAI Codex are handled by those providers' own tooling. Rusty does not store their OAuth tokens in its provider settings. Codex credentials live in ~/.codex, shared with the Codex CLI and desktop app.

Settings → System → Storage & Cache tells you which is in use: it reports that secrets are encrypted with a key held in the OS keychain, or that the keychain was unavailable and an owner-only file is used instead. It also warns you if previously saved secrets could not be decrypted, in which case you need to re-enter your tokens.

Secret Shield

Under Settings → Intelligence → Secrets Shield, choose how Rusty handles credential patterns in outbound model requests. Detection runs locally over text and structured tool data before a model receives the request:

Policy Behavior
Off Send requests unchanged.
Warn Log a warning and send unchanged.
Mask Replace matches with [REDACTED]. This is the default.
Block Do not send requests containing matches.

Detection is pattern-based: it can miss secrets or match ordinary text, and it does not scan image contents. It is not a guarantee that a request contains no sensitive data. Secret Shield controls outbound model requests only; it does not redact local chat history or diagnostics, or replace care when sharing files and logs.

Project data

Chats, workflows, profiles, skills, metrics and observability records are plain files in the workspace's .rusty/ folder. Chats can contain messages and information about modified files; observability can contain tool execution records and diagnostics. These files are not protected by Secret Shield's outbound masking. Review them before sharing or committing them. See The .rusty folder for the folder-by-folder breakdown and Git guidance. Deleting a folder there removes the data in it.

Application data on your Mac

Rusty stores its own settings and caches in these locations:

~/Library/Application Support/com.rusty.ide
~/Library/Caches/com.rusty.ide
~/Library/Preferences/com.rusty.ide.plist
~/Library/Saved Application State/com.rusty.ide.savedState

Repository analysis results and written project documentation are saved in the repositories and documentation folders under ~/Library/Application Support/com.rusty.ide, not in your workspace. The analysis itself uses no model and sends nothing anywhere; writing documentation pages sends their briefs and code excerpts to the model you pick.

Under Settings → System → Storage & Cache, Application Cache & Logs shows how much space the WebView cache, process logs and local execution telemetry take up. Delete Cache clears them. It does not affect your workspaces, project files or settings.

Commands and files

Agents work on your real files and can run commands in the IDE's own environment, which may include the credentials in your shell environment and tools. Rusty asks before it runs commands. See Permissions & safety.

This website

The Rusty website sets no cookies and runs no analytics. The download button asks GitHub's public API for the latest release when the page loads, and the file itself downloads directly from GitHub.

Esc

Type to search the docs.