Data handling
Where conversation data goes
Section titled “Where conversation data goes”- The model provider you configure, and nothing else. With
openai-compatiblepointed at a local server, prompts and tool output never leave the machine. Withanthropic, or anopenai-compatiblebaseURLon a remote host, the conversation goes there./statusshows the active endpoint and flags whether it’s local. web_searchsends your query to the configured search backend (DuckDuckGo by default)./statusshows which. Inmanualmode each search prompts; to block it, add"web_search"topermissions.deny.- The only other outbound request is a version check against the npm registry on
startup - it sends nothing about your session, and runs even when
autoUpdateisfalse. It fails silently offline.
See Running offline for the full lockdown.
What’s written to disk (~/.polyglot/)
Section titled “What’s written to disk (~/.polyglot/)”| Path | Contents |
|---|---|
sessions/<id>.jsonl |
Full transcript - every user message, assistant reply, and tool result, in plaintext. |
plans/*.md |
Every plan proposed via exit_plan_mode. |
settings.json |
Your config (may contain an apiKey). |
Controls
Section titled “Controls”Set once in settings.json / env / a launch flag - not toggleable mid-session, so
a running session can’t lower its own guarantees.
persistTranscripts: false(orPOLYGLOT_NO_PERSIST=1, or--no-persist) - ephemeral: nothing is written tosessions/orplans/.--resumestill works within the same process; once it exits there’s nothing to resume.retentionDays: <n>(orPOLYGLOT_RETENTION_DAYS) - on startup, delete transcripts and plans older thanndays. Unset = kept indefinitely.
Why no at-rest encryption
Section titled “Why no at-rest encryption”Polyglot deliberately does not encrypt its own files. A key stored on the same
disk adds little against an attacker who can already read your home directory (where
your API key and SSH keys also live), and it breaks cat / grep / --resume. For
a regulated setup the effective controls are full-disk encryption + a local model +
persistTranscripts: false or a short retentionDays.