Configuration
All durable settings live in one JSON file. There is no project-local config and no .env loading;
environment variables are optional overrides.
The config file
Section titled “The config file”| Platform | Default path |
|---|---|
| Linux / macOS | ~/.tapplack/config.json |
| Windows | %USERPROFILE%\.tapplack\config.json |
Point elsewhere with TAPPLACK_CONFIG:
TAPPLACK_CONFIG=/path/to/config.json tapplack statusThe file is created on first use with a complete, valid template and no secrets. If it contains invalid JSON, Tapplack reports the error and refuses to proceed rather than silently rewriting your settings.
Precedence
Section titled “Precedence”For every setting:
- Environment variable, when explicitly set.
- Config file value.
- Built-in default.
Environment wins. This lets CI or a one-off shell override a value without touching the file.
Four ways to edit
Section titled “Four ways to edit”1. Interactive editor
Section titled “1. Interactive editor”tapplack configOutside the full-screen TUI, on a TTY, this opens an interactive menu for providers, agents, and
runtime. Otherwise it prints a masked summary. Inside a session you can also use /config or the
CONFIG tab.
2. Dotted-key commands
Section titled “2. Dotted-key commands”tapplack config set mode multitapplack config set singleAgent assistanttapplack config set workflowOrder ceo,cto,senior_engineer,qa_reviewertapplack config set runtime.workspaceDir ./worktapplack config set agents.assistant.skillMode manualtapplack config set agents.assistant.skills pdf,commitset validates types and rejects unknown providers, tools, modes, and log levels. Comma-separated
strings are split into arrays where the schema expects one.
Read a value (masked for secrets):
tapplack config get agents.assistanttapplack config get providers.gemini.model3. Friendly shortcuts
Section titled “3. Friendly shortcuts”tapplack config key gemini # masked key inputtapplack config model gemini gemini-2.5-protapplack config model assistant gpt-4.1-minitapplack config provider cto anthropictapplack config workspace ./work4. Direct edit
Section titled “4. Direct edit”tapplack config editThis opens the file in $EDITOR, or Notepad on Windows. After editing, run tapplack status to
confirm it still parses. The file is validated on load.
Inspecting the config
Section titled “Inspecting the config”tapplack config path # the active file pathtapplack config show # masked summary of the whole configtapplack config init # create if missingtapplack config init --force # reset to the template (destroys settings)Secrets are masked on every read path, so show and get never print a full key.
Applying changes
Section titled “Applying changes”- CLI commands take effect on the next
tapplackinvocation. - Inside a session, mutating
/configor/skillscommands reload the in-memory config before the next task. The CONFIG tab only writes ons. - Direct file edits while a session is running are not picked up until the session reloads config or you restart it. Restart to be sure.
A complete example
Section titled “A complete example”{ "version": 1, "mode": "single", "singleAgent": "assistant", "finalAgent": "ceo", "company": { "name": "Tapplack Agent", "tagline": "Autonomous software delivery, orchestrated from your terminal.", "mission": "Turn a product vision into a reviewed, runnable artifact." }, "defaultProvider": "gemini", "runtime": { "requestTimeoutMs": 120000, "retryAttempts": 2, "retryBaseDelayMs": 1200, "retryMaxDelayMs": 20000, "maxToolRounds": 8, "maxAgentCallsPerRun": 24, "logLevel": "info", "workspaceDir": "./workspace", "runsDir": "./runs", "allowNetworkTools": false, "maxTaskRetries": 3, "errorLogsDir": "" }, "providers": { "gemini": { "apiKey": "", "model": "gemini-2.5-flash" }, "anthropic": { "apiKey": "", "model": "claude-sonnet-5-5" }, "ollama": { "model": "qwen2.5:7b-instruct", "baseUrl": "http://localhost:11434/v1" } }, "agents": { "assistant": { "title": "Tapplack Assistant", "division": "General", "provider": "gemini", "fallback": ["anthropic", "ollama"], "temperature": 0.2, "maxTokens": 8192, "tools": ["read_file", "write_file", "list_dir", "run_command"], "reportsTo": null, "skills": [], "skillMode": "off", "autoApply": true } }, "skills": {}, "workflowOrder": ["ceo", "cto", "senior_engineer", "qa_reviewer"]}The full schema is in Config file.
Validation rules
Section titled “Validation rules”| Field | Rule |
|---|---|
| Provider ids | One of the nine supported ids. |
| Agent ids | ^[a-z][a-z0-9_-]*$. |
| Tool names | One of the eight supported tools. |
mode |
single or multi. |
skillMode |
off, manual, or auto. |
logLevel |
A supported level. |
maxTokens, limits |
Positive numbers. |
Invalid values are rejected with a message naming the offending key. This is why the dotted-key commands are safer than hand-editing.
Backups and versioning
Section titled “Backups and versioning”The config is a plain file. Copy it before large changes:
cp ~/.tapplack/config.json ~/.tapplack/config.backup.jsonDo not commit a config that contains API keys. If you want to share a setup, share a template with
empty apiKey fields and use environment variables for secrets.
- Config file reference — every field and default.
- Environment variables — override without editing.
- Troubleshooting — when a config change breaks a run.