Configuration

Where Jouzu keeps settings and state, language and profile settings, Pi import, updates, and environment variables.

Where Jouzu keeps its files

Jouzu keeps its configuration, state, and cache apart from a stock Pi installation. Default roots for npm installations:

PlatformLocations
LinuxAgent/config ${XDG_CONFIG_HOME:-~/.config}/jouzu/agent; state and sessions ${XDG_STATE_HOME:-~/.local/state}/jouzu; cache ${XDG_CACHE_HOME:-~/.cache}/jouzu
macOSAgent/config ~/Library/Application Support/Jouzu/agent; state and sessions ~/Library/Application Support/Jouzu/state; cache ~/Library/Caches/Jouzu
WindowsAgent/config %APPDATA%\Jouzu\agent; state and sessions %LOCALAPPDATA%\Jouzu\state; cache %LOCALAPPDATA%\Jouzu\cache

Move all three roots together with --jouzu-home <path> or JOUZU_HOME. The Windows launcher keeps its roots under %LOCALAPPDATA%\Shisa.ai\Jouzu unless JOUZU_HOME overrides it. Sessions live under the state root; see Session history.

Terminal
JOUZU_HOME="$PWD/.jouzu" jz doctor

jz doctor reports your resolved configuration, state, and cache locations without changing them. Node's startup compile cache is separate: it uses the operating system's temporary directory unless NODE_COMPILE_CACHE sets another location, and contains compiled code, not conversation history.

Terminal display

The interactive terminal defaults to full-screen mode. To use the terminal's normal scrollback instead, set "tuiMode": "regular" in settings.json under the agent/config directory; "tuiMode": "fullscreen" selects full-screen explicitly. Jouzu preserves an existing setting.

JSON
{
  "tuiMode": "regular"
}

In fullscreen mode, /scrollback prints the active conversation branch on the terminal's normal screen while the agent and shell commands are idle, so you can use terminal search and selection or tmux copy mode. The export does not change the display setting, and the prompt draft stays intact. It requires an interactive fullscreen terminal and is unavailable with TERM=dumb.

Work dashboard size is a separate setting in Settings / Catalogs: compact (up to 12 lines), expanded (up to 24), or hidden. /subagents hide hides it for the current session only.

Language settings

The UI locale, the response language, and the artifact policy are three separate settings, stored in localization.json in the Jouzu configuration directory (the parent of the agent directory in the locations table):

JSON
{
  "schemaVersion": 2,
  "localization": {
    "uiLocale": "ja",
    "responseLanguage": "auto",
    "artifactPolicy": {
      "comments": "preserve",
      "documentation": "project",
      "commits": "project",
      "reviews": "project"
    }
  }
}
FieldValues and effect
uiLocaleauto, en, ja, zh-Hans, or zh-Hant. The interface offers English and Japanese; a Chinese locale request falls back to English. auto resolves from locale environment variables.
responseLanguageThe language of the agent's user-facing explanations: auto, en, ja, zh-Hans, or zh-Hant. auto adds no fixed conversational-language instruction.
artifactPolicyPer artifact kind (comments, documentation, commits, reviews): preserve keeps existing text, project follows the project's existing language, or a fixed locale.

Use /language or Settings → Language to preview changes, then press Enter to review and Enter again to save. Confirmed display choices override CLI and environment inputs; response and artifact changes apply on the agent's next turn. Direct file edits apply to a new session. jz doctor reports the resolved startup values and their sources.

Profiles

A profile is a set of instructions, skills, and prompts that Jouzu installs into its agent directory. core is the default; ja adds Japanese responses while leaving code, commands, and paths unchanged.

Terminal
jz profile plan --profile ja     # preview, writes nothing
jz profile apply --profile ja

To select a profile for one launch and save it, run jz --jouzu-profile ja or set JOUZU_PROFILE=ja. Each launch reconciles the selected profile: applying uses a lock, conflict checks, backups, and atomic file replacement, and unknown files and your own AGENTS.md are never removed. Backups are kept under the Jouzu state directory shown by jz doctor.

Profiles may write only bundled UTF-8 files at APPEND_SYSTEM.md, skills/jouzu-*/**/SKILL.md, skills/jouzu-*/references/<name>.md, and prompts/jouzu-*.md. If a managed file conflicts with a file you own or edited, Jouzu stops before launching; see Profile conflicts. The bundled skills themselves are covered in Skills.

Importing from Pi

On the first interactive setup, Jouzu looks for Pi files in PI_CODING_AGENT_DIR, then ~/.pi/agent, and offers to import them. It asks separately for each file, and both prompts default to no. Source files are not changed, and an existing Jouzu file is never replaced.

Offered for importNot imported
Custom models.jsonsettings.json, keybindings
Saved provider credentials from auth.jsonPackages, extensions, skills, prompts, themes
Sessions, caches, trust decisions

Rejected: symbolic links, non-regular files, oversized files, and files whose top-level JSON value is not an object. Non-interactive commands never read Pi state. JOUZU_NO_PI_IMPORT=1 skips the offer for one launch. Jouzu still uses trusted project .pi resources and the shared ~/.agents/skills directory.

Model catalogs

Add model catalog sources in Settings / Catalogs (/catalogs). Shisa AI's catalog is built in and activates when you sign in. Check sources with jz catalog status.

PlatformCatalog configuration
Linux${XDG_CONFIG_HOME:-~/.config}/jouzu/catalogs.json
macOS~/Library/Application Support/Jouzu/catalogs.json
Windows%APPDATA%\Jouzu\catalogs.json

When catalogs.json does not exist, JOUZU_MODEL_CATALOG_URL and JOUZU_MODEL_CATALOG_TOKEN define a single catalog source. See Model selection for how defaults are chosen.

Updates

A global npm installation checks the latest version of the Jouzu package before an interactive launch. After a successful check the next check waits 24 hours; after a failed or offline check, at least one hour. The check contacts your configured npm registry and sends no Jouzu telemetry.

PolicyBehavior
auto-restart (default)Install the update and relaunch your command once under the new version.
notifyReport that an update is available.
offDo not check at startup.
Terminal
jz self-update status
jz self-update check
jz self-update apply
jz self-update policy notify       # or auto-restart, off

An update downloads the new version without running install scripts, verifies its checksum, installs it globally, and verifies --version; if verification fails, the previous version is restored. Source checkouts, project-local installs, and npx runs are not updated automatically, and installations where the global npm prefix is not writable keep running the current version and report the problem. Only one update runs at a time. See Update problems.

Environment variables

VariableEffect
JOUZU_HOMERoot for Jouzu configuration, state, and application cache; excludes Node's compile cache.
NODE_COMPILE_CACHEDirectory for Node's startup compile cache.
NODE_DISABLE_COMPILE_CACHE=1Disable Node's startup compile cache.
JOUZU_PROFILEProfile for this launch: core or ja. The selection is saved.
JOUZU_UI_LOCALEStartup UI locale when no preference is saved; a CLI option takes precedence in that case.
SHISA_API_KEYShisa API key; overrides the saved login.
JOUZU_MODEL_CATALOG_URL, JOUZU_MODEL_CATALOG_TOKENSingle catalog source when catalogs.json does not exist.
JOUZU_FLOW_CONTROL=0Disable flow control for this process.
JOUZU_CAMOUFOX_IDLE_STOP_MSBrowser idle shutdown delay.
JOUZU_CAMOUFOX_LIBRARY_PATHNSS library directory for the browser.
JOUZU_NO_UPDATE=1Skip the update check for one launch.
JOUZU_UPDATE_POLICYauto-restart, notify, or off for this process.
JOUZU_UPDATE_INTERVAL_HOURSHours between successful update checks.
JOUZU_NO_KEYBINDING_DEFAULTS=1Skip first-run keybinding defaults.
JOUZU_NO_PI_IMPORT=1Skip the Pi import offer.
JOUZU_NO_CLEAR=1Keep terminal output at startup.
NO_COLORTurn off header color.
PI_CLIPBOARD_TMUX=0Disable Jouzu's tmux clipboard forwarding and use Pi's ordinary clipboard paths.
PI_CODING_AGENT_DIRPi directory checked for import.