Skip to content

Config file

Tapplack reads one JSON file. This page is the field-by-field reference. For the practical editing workflow, see Configuration.

Platform Path
Linux / macOS ~/.tapplack/config.json
Windows %USERPROFILE%\.tapplack\config.json

Override with TAPPLACK_CONFIG. The file is created on first use. Invalid JSON is reported, never silently replaced.

{
"version": 1,
"mode": "single",
"singleAgent": "assistant",
"finalAgent": "ceo",
"company": { "name": "", "tagline": "", "mission": "" },
"defaultProvider": "gemini",
"runtime": {},
"providers": {},
"agents": {},
"skills": {},
"workflowOrder": ["ceo", "cto", "senior_engineer", "qa_reviewer"]
}
Field Type Default Notes
version number 1 Schema version.
mode "single" | "multi" "single" Execution mode.
singleAgent agent id "assistant" Agent used in single mode.
finalAgent agent id | null "ceo" Optional synthesis stage in multi mode.
company object see below Identity and mission.
defaultProvider provider id "gemini" Display/session default.
runtime object see below Limits, paths, policies.
providers object see below Per-provider settings.
agents object see below Agent definitions.
skills object {} Declared skills.
workflowOrder agent id[] ["ceo","cto","senior_engineer","qa_reviewer"] Multi-mode order.
Field Type Default
name string "Tapplack Agent"
tagline string "Autonomous software delivery, orchestrated from your terminal."
mission string A built-in mission statement.

These appear in prompts and reports.

Field Type Default Meaning
requestTimeoutMs number 120000 Per-request timeout.
retryAttempts number 2 Retries per provider.
retryBaseDelayMs number 1200 Initial backoff.
retryMaxDelayMs number 20000 Backoff ceiling.
maxToolRounds number 8 Tool rounds per agent call.
maxAgentCallsPerRun number 24 Total calls per run.
maxTaskRetries number 3 Retries per failed task/stage.
errorLogsDir string "" Error-log dir; empty means <runsDir>/error-logs.
logLevel enum "info" debug, info, warn, error, silent.
workspaceDir string "./workspace" The only writable root.
runsDir string "./runs" Artifact root.
allowNetworkTools boolean false Web tools and network package commands.

Paths support ~ and are resolved to absolute paths. Relative paths are resolved from where the CLI is launched.

A map keyed by provider id. Each entry:

Field Type Meaning
apiKey string Credential (omit for Ollama). Empty means “use the env var”.
model string Model override.
baseUrl string Endpoint override (OpenAI-compatible providers).

Supported ids and defaults:

Id Default model Default base URL
gemini gemini-2.5-flash Google endpoint
anthropic claude-sonnet-5-5 Anthropic endpoint
openai gpt-4.1-mini https://api.openai.com/v1
groq llama-3.3-70b-versatile https://api.groq.com/openai/v1
openrouter meta-llama/llama-3.3-70b-instruct:free https://openrouter.ai/api/v1
together meta-llama/Llama-3.3-70B-Instruct-Turbo https://api.together.xyz/v1
mistral mistral-small-latest https://api.mistral.ai/v1
deepseek deepseek-chat https://api.deepseek.com/v1
ollama qwen2.5:7b-instruct http://localhost:11434/v1

Unknown provider ids are rejected at load time.

A map of agent id to settings. Ids must match ^[a-z][a-z0-9_-]*$. Built-in ids are assistant, ceo, researcher, cto, senior_engineer, qa_reviewer; any other id is allowed and gets safe defaults (no tools).

Field Type Default Meaning
title string built-in title or id Display name.
division string "General" Organizational label.
provider provider id built-in or defaultProvider Primary provider.
fallback provider id[] built-in or [] Fallback order.
model string unset Overrides the provider model.
temperature number built-in (0.1–0.4) Sampling temperature.
maxTokens number built-in (4096–8192) Output budget per call.
tools tool name[] built-in or [] Allowed tools.
reportsTo agent id | null built-in Prompt org chart.
prompt string built-in prompt Custom system prompt.
rules string unset Extra rules appended.
outputContract string unset Output format appended.
enabled boolean true Set false to skip in the pipeline.
contextBudget number built-in Character budget for multi-mode context.
tokenBudget number built-in Hard token ceiling per invocation.
skills string[] [] Pinned skill ids.
skillMode enum "off" off, manual, auto.
skillBudget number built-in Character budget for skill instructions.
autoApply boolean true Run side effects without approval.
Id Provider Fallback Temperature Max tokens Tools
assistant gemini anthropic, openrouter, groq, ollama 0.2 8192 All eight.
ceo gemini anthropic, groq, openrouter 0.3 4096 None.
researcher gemini openrouter, groq, mistral 0.4 4096 Files + web.
cto anthropic gemini, openrouter, groq 0.2 6144 read_file, list_dir.
senior_engineer groq openrouter, deepseek, together, ollama 0.15 8192 All eight.
qa_reviewer openrouter groq, gemini, mistral 0.1 4096 read_file, list_dir, run_command.

read_file, write_file, delete_file, rename_file, list_dir, run_command, web_search, web_fetch.

Value Effect on loading Effect on autoApply
off No skills. Unchanged.
manual Pinned skills preloaded. Sets false.
auto Catalogue + use_skill tool. Sets true.

A map of skill id to settings.

Field Type Meaning
name string Display name.
description string Shown in catalogues.
instructions string Inline Markdown.
path string File or directory containing SKILL.md.
enabled boolean Set false to ignore.

Instructions are capped at 40,000 characters. Discovered skills under .tapplack/skills/ merge with declared ones; declared entries win.

Rule Behavior
Provider ids Must be one of the nine.
Agent ids ^[a-z][a-z0-9_-]*$.
Tool names Must be one of the eight.
mode single or multi.
skillMode off, manual, auto.
logLevel A supported level.
Numbers Must be finite and positive where applicable.

Unknown fields are tolerated so a newer config can be read by an older build; invalid values for known fields are rejected with the offending key named.