Agents
An agent is a named worker with its own provider chain, model, tools, budget, and prompt. The built-in ids are defaults you can override; you can also add entirely new agents.
Built-in agents
Section titled “Built-in agents”| Id | Title | Division | Provider | Tools |
|---|---|---|---|---|
assistant |
Tapplack Assistant | General | gemini |
All eight tools. |
ceo |
Chief Executive Officer | Executive | gemini |
None. |
researcher |
Market & Tech Researcher | Research | gemini |
Files plus web. |
cto |
Chief Technology Officer | Engineering | anthropic |
Read-only. |
senior_engineer |
Senior Engineer | Engineering | groq |
All eight tools. |
qa_reviewer |
QA Reviewer | Quality | openrouter |
Read, list, run. |
In single mode only singleAgent runs — assistant by default. The others matter when you enable
multi mode, and they are always available as reference examples.
Agent fields
Section titled “Agent fields”An agent lives under agents.<id>:
{ "agents": { "assistant": { "title": "Tapplack Assistant", "division": "General", "provider": "gemini", "fallback": ["anthropic", "openrouter", "ollama"], "temperature": 0.2, "maxTokens": 8192, "tools": ["read_file", "write_file", "list_dir", "run_command"], "reportsTo": null, "skills": [], "skillMode": "off", "autoApply": true } }}| Field | Type | Meaning |
|---|---|---|
title |
string | Display name used in reports and prompts. |
division |
string | Organizational label used in prompts. |
provider |
provider id | Primary provider. |
fallback |
provider id[] | Fallback order. |
model |
string | Optional model override. |
temperature |
number | Sampling temperature. |
maxTokens |
number | Output token budget per call. |
tools |
tool name[] | Tools this agent may call. |
reportsTo |
agent id or null | Used to describe the org chart in the prompt. |
skills |
skill id[] | Pinned skills. |
skillMode |
off | manual | auto |
How skills are loaded. |
autoApply |
boolean | Whether side-effecting tools run without approval. |
Unknown ids are allowed as long as they match ^[a-z][a-z0-9_-]*$. An agent with no explicit tools
gets no tools unless you grant them; that is the safe default.
Adding a custom agent
Section titled “Adding a custom agent”Add an entry under agents, then reference it from singleAgent or workflowOrder:
{ "mode": "single", "singleAgent": "docs_writer", "agents": { "docs_writer": { "title": "Documentation Writer", "division": "Docs", "provider": "anthropic", "fallback": ["gemini", "openrouter"], "temperature": 0.3, "maxTokens": 6144, "tools": ["read_file", "write_file", "list_dir"], "reportsTo": null } }}Switch to it:
tapplack config set singleAgent docs_writerOr edit the file directly with tapplack config edit.
Choosing tools
Section titled “Choosing tools”Grant the smallest set that does the job.
| Goal | Suggested tools |
|---|---|
| Read-only review | read_file, list_dir |
| Write and refactor code | read_file, write_file, delete_file, rename_file, list_dir, run_command |
| Research | read_file, list_dir, web_search, web_fetch |
| Verify builds and tests | read_file, list_dir, run_command |
run_command is powerful even though it is whitelisted; keep it off agents that only plan or
review. See Safety and permissions.
Budgets and temperature
Section titled “Budgets and temperature”maxTokens caps the output of each call. temperature controls variation: lower for code and
review, a little higher for brainstorming. Both are per agent, so a cheap reviewer and an expensive
engineer can coexist.
The agent stops when it reaches maxTokens or the tool-round budget, and returns whatever it has.
Raising maxTokens does not raise the provider’s own context limit.
Organization and prompts
Section titled “Organization and prompts”title, division, and reportsTo are used to describe the agent’s place in the organization when
the prompt is built. reportsTo is resolved to the parent’s title when possible. This shapes tone
and responsibility; it does not enforce permissions. Permissions come from tools and autoApply,
which are enforced in code.
Per-agent environment overrides
Section titled “Per-agent environment overrides”Each agent has an environment prefix: ROLE_<ID> with non-alphanumerics replaced by underscores.
For senior_engineer that is ROLE_SENIOR_ENGINEER. Overrides include:
ROLE_SENIOR_ENGINEER_PROVIDER=anthropicROLE_SENIOR_ENGINEER_MODEL=claude-sonnet-5-5ROLE_SENIOR_ENGINEER_FALLBACK=openrouter,ollamaROLE_SENIOR_ENGINEER_SKILLS=pdf,commitROLE_SENIOR_ENGINEER_SKILL_MODE=autoROLE_SENIOR_ENGINEER_AUTO_APPLY=0These win over the JSON file. They are useful for a one-off run without editing config.
Inspecting agents
Section titled “Inspecting agents”tapplack config show # masked summary, including agentstapplack config get agents.assistant # read one agent (JSON)tapplack status # provider routing per active agentInside a session, /config opens the interactive editor and /status shows routing.
Agent prompts
Section titled “Agent prompts”Built-in agents have rich default prompts. A custom agent without a custom prompt still receives a configurable base prompt built from its title, division, and reporting line. The system prompt also includes the tool list and any active skills.
- Workflows — how multiple agents run in sequence.
- Skills — attach instruction packs.
- Human approval — control side effects per agent.