Skip to content
pi-c Settings
Login

Settings

Settings live in ~/.pic/pic.sqlite. Read and change them with pic settings [KEY [VALUE]] and pic settings --unset KEY, or in the terminal interface's /settings. Object settings take Pi's settings.json shape as JSON, for example pic settings compaction '{"reserveTokens":16384}'.

Key Type Default What it does
defaultModel provider/id anthropic/claude-opus-5-5 the model when --model is not given; pic models --default NAME sets it, and so does every model you choose in the terminal interface unless rememberModel is false (Ctrl+S in the picker saves it then)
rememberModel true, false true a model chosen in the terminal interface becomes defaultModel, so the next conversation starts on it
lastModel provider/id none written by pic: the model you last chose; while it equals defaultModel the first line says "your last choice"
defaultThinkingLevel level medium the thinking level when no per-model level is saved
thinkingLevel:MODEL level none the thinking level saved for one model, used before defaultThinkingLevel
passphraseCommand shell command none prints the credential store's passphrase (its first line) instead of asking on the terminal; PIC_PASSPHRASE_COMMAND wins
activeKey:PROVIDER label none the key PROVIDER's requests use (default, a stored name, env, file); pic auth use and /key set it
hideThinking true, false false show a one-line marker instead of the reply's thinking (Ctrl+T toggles it)
defaultTools comma list read,bash,edit,write the tools a request offers; same entries as --tools
toolExecution parallel, sequential parallel whether a reply's tool calls run at once or one by one, as Pi's; Tool execution in /settings
cacheRetention short, long, none short the prompt cache retention: long is 1 hour (OpenAI 24 hours); PI_CACHE_RETENTION=long too
theme name system the terminal interface's colour theme: dark, light, light/dark, system or a custom theme
notifyWhenDone true, false true ring the bell and ask for a desktop notification when a reply is ready and the window is not focused
tuiMode fullscreen, regular fullscreen how the terminal interface draws; --tui-mode for one run
fullscreenExitOutput transcript, resume-hint transcript what fullscreen leaves in the scrollback on exit
fullscreenScrollbar auto, always, hidden auto the fullscreen scrollbar
fullscreenCopyOnSelect true, false true copy a mouse selection to the clipboard
hyperlinks auto, on, off auto links in the terminal interface; auto is on except where the terminal is known to show or drop them, and inside tmux before 3.4
fullscreenWheelScrollLines auto, 1, 2, 3, 5, 10 auto lines per mouse wheel step
mouse on, off on fullscreen captures the mouse (wheel, selection, link clicks); off leaves it to the terminal; /mouse or Alt+M for one session
skillBudget characters 1% of the model's context window x 4 the most the system prompt's skill list may take; 0 is no limit; see Skills in pic help prompts-and-skills
compaction object see below Pi's compaction settings
compaction.enabled boolean true automatic compaction, overflow recovery included; not pic compact
compaction.reserveTokens tokens 16384 compact when the context passes the window minus this
compaction.keepRecentTokens tokens 20000 about this much recent context is kept verbatim (a lapse trim counts it in provider tokens)
compaction.modelOverrides object none per-model values, keyed "provider/model"
branchSummary object see below Pi's branch summary settings
branchSummary.reserveTokens tokens 16384 a branch summary sends at most the window minus this
branchSummary.skipPrompt boolean false leave a branch in /tree without asking "Summarize branch?"
retry object none retry.enabled, saved by the RPC command set_auto_retry; only RPC mode reads it
lapseCompaction on, off on lapse compaction; --lapse, PIC_LAPSE
lapseSeconds seconds the cache's lifetime how long the prompt cache is assumed to live; --lapse-seconds, PIC_LAPSE_SECONDS
lapseFloorTokens tokens 100000 lapse compaction waits below this context; --lapse-floor, PIC_LAPSE_FLOOR
lapseHoldout 0 to 1 0.1 the share of lapses left uncompacted, to measure the savings; PIC_LAPSE_HOLDOUT
lapseMode trim, summary trim how a lapse compacts: drop older context with no request, or Pi's summary
rewindMaxBytes bytes 1048576 the largest file whose contents are saved before write or edit changes it, for rewind; 0 saves none; applies from the next request
doubleEscapeAction rewind, tree, fork, none rewind what Esc twice on an empty editor opens; Pi's default is tree
imageRetentionDays days 30 pic prune drops image bytes older than this; 0 never
piSessionFiles 1, 0 0 also write ~/.pic/sessions files when exporting Pi session lines
remote.relay URL https://remote.zeitforge.app the relay pic remote and pairing use
remote.invite string unset the invitation the relay needs to make this computer's mailbox; pic settings remote.invite INVITE
remote.phonePairing on, off on whether a paired phone may add a device (Add a device, approved on that phone); off: pairing at the computer only
remote.notify all, remote, off all which finished requests notify paired phones: every one, only those a phone started or steered, or none