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}', or one field by its dotted name: pic settings compaction.reserveTokens 16384. A setting in the panel's list takes only the values this table allows; pic refuses others and says which it takes.

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 /auth set it
profile:NAME JSON none a profile: {"model": "provider/id", "key": LABEL, "thinking": LEVEL}, the last two optional; pic profiles set writes it
keyExpiryWarnDays number 7 how many days before a key's expiry pic warns of it
keyFor:PATTERN label none a rule: the models PATTERN (provider/id, * for any part) matches use that key of their provider; pic auth use … --for, b in /auth and set_model_credential 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,send_message,wake,web_fetch,web_search the tools a request offers; same entries as --tools (send_message unless grapevine.sendMessage is false, wake unless loops.tool is; web_fetch unless left out, web_search when a Brave key exists)
codemode true, false false offer the codemode tool, scripts that call the other tools (codemode); /codemode switches it for the session, PIC_CODEMODE for one process
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
permissionMode allow, ask-edits, ask-all, read-only allow the permission mode a new conversation starts with: which tool calls ask first, or are refused; --permission-mode and /permissions set one conversation's
readOnlyTools comma list none MCP tools a permission mode treats as read-only: full names, or whole servers as mcp__SERVER__*, from the next call; a resource tool's call counts when each server it reaches is named whole; a trusted project's own servers are never covered; pic's own tools are unaffected, any other * names nothing, and a server's readOnlyHint alone does not count
webSearch auto, brave auto where web_search searches: the model provider's own search when it has one (billed per search by that provider), or always Brave (web search)
sessionShareDestination auto, gist, artifacts auto where /share puts the page: a secret GitHub gist, or the HTML artifact publisher; auto is the publisher once a token is stored (pic login artifacts) or HTML_PUBLISHER_TOKEN is set, and artifactsUrl is set, else the gist (sharing)
artifactsUrl address none the HTML artifact publisher /share uses, an https:// address (http:// only to this machine)
offline true, false false send nothing pic starts itself: no model catalog fetch from pi.dev, no free check of a key, no update, no web_fetch or web_search; requests to the model, /share after its yes, sign-in and pic remote are not affected; PIC_MODEL_CATALOG=offline stops only the catalog
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; in Apple's Terminal the address is printed and a mouse click still opens it
fullscreenWheelScrollLines auto, 1, 2, 3, 5, 10 auto lines per mouse wheel step
autoUpdate true, false true the terminal interface starts pic update --auto in the background: updates
autoUpdate.source path pic's own clone in ~/.pic/src the trunk checkout pic update pulls and builds in
mouse auto, on, off auto fullscreen captures the mouse (wheel, selection, link clicks); off leaves it to the terminal; auto is on except in Apple's Terminal; /mouse or Alt+M for one session
mouseNoticeShown true unset set when pic has said once that it leaves the mouse to Apple's Terminal; unset it to see the line again
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
loops.tool true, false true wake is among the default tools: the model may start a monitor, and a loop or a goal once you agree (loops); false leaves it out
grapevine.sendMessage true, false true send_message is among the default tools; false leaves it out (--tools +send_message still adds it)
grapevine.wake true, false true a send_message to a conversation with nothing running starts a request there; false, it waits for one (peers)
grapevine.maxHops number 8 a message that has passed through more conversations than this is refused
grapevine.maxWakes number 0 requests messages may start in a conversation since a person last prompted there; more are refused; 0, unset or a huge number: no limit
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
remote.folders folders, separated by : unset the folders whose subfolders a phone may start a conversation in (remote control); unset: those holding your workspaces, except the home folder, anything under /Volumes, and the home folder's private folders (Desktop, Documents and the like)