Skip to content

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.

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.

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.

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:

Terminal window
tapplack config set singleAgent docs_writer

Or edit the file directly with tapplack config edit.

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.

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.

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.

Each agent has an environment prefix: ROLE_<ID> with non-alphanumerics replaced by underscores. For senior_engineer that is ROLE_SENIOR_ENGINEER. Overrides include:

Terminal window
ROLE_SENIOR_ENGINEER_PROVIDER=anthropic
ROLE_SENIOR_ENGINEER_MODEL=claude-sonnet-5-5
ROLE_SENIOR_ENGINEER_FALLBACK=openrouter,ollama
ROLE_SENIOR_ENGINEER_SKILLS=pdf,commit
ROLE_SENIOR_ENGINEER_SKILL_MODE=auto
ROLE_SENIOR_ENGINEER_AUTO_APPLY=0

These win over the JSON file. They are useful for a one-off run without editing config.

Terminal window
tapplack config show # masked summary, including agents
tapplack config get agents.assistant # read one agent (JSON)
tapplack status # provider routing per active agent

Inside a session, /config opens the interactive editor and /status shows routing.

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.