Docs menu and search
Headmaster Docs/Using Headmaster/Tools and toolsets

Tools and toolsets

What the agent can use, and how to switch tools on and off

Tools are what the agent uses to do things: search the web, run commands, read and edit files, remember, schedule tasks, drive a browser. Tools are grouped into toolsets, and you choose which toolsets are on for each place you use Headmaster (the terminal, a messaging app, and so on).

Toolsets

CategoryExamplesWhat it does
Webweb_search, web_extractSearch the web and read pages.
Terminal and filesterminal, process, read_file, patchRun commands and change files.
Browserbrowser_exec, browser_cdpDrive a real browser, with screenshots.
Mediavision_analyze, image_generate, text_to_speechLook at images, make images, speak.
Planning and delegationtodo, clarify, execute_code, delegate_taskPlan, ask you questions, run code, hand work to sub-agents.
Memorymemory, session_searchRemember across chats and search past ones. See Memory.
AutomationcronjobCreate and manage scheduled tasks.
Connectionstools from MCP servers and pluginsWhatever you have connected. See Connections.

Common toolset names include web, search, terminal, file, browser, vision, image_gen, skills, tts, todo, memory, session_search, cronjob, code_execution, delegation, clarify, messaging and safe. Run headmaster tools to see the ones available to you.

Choosing which tools are on

Run the interactive screen:

headmaster tools

Or use the subcommands:

CommandWhat it does
headmaster tools listShow every tool and whether it is on.
headmaster tools enable <name>...Turn toolsets on.
headmaster tools disable <name>...Turn toolsets off.
headmaster tools --summaryPrint what is on for each platform.

Each command takes --platform to say where the change applies. The default is cli, the terminal.

Toolsets use plain names such as web or memory. A single tool from a connected MCP server is written server:tool, for example github:create_issue.

For one run only, pass the toolsets on the command line:

headmaster chat --toolsets "web,terminal"

Changing tools while a chat is open takes effect in your next chat, not the current one. This keeps the running conversation stable.

Where commands run

The terminal tool can run commands in different places. Pick one with terminal.backend in your config:

BackendWhat it is
localYour own computer. The default.
dockerAn isolated container.
sshA remote server, so the agent stays away from its own files.
modal, daytona, vercel_sandboxCloud sandboxes.
terminal:
  backend: local
  cwd: "."
  timeout: 180

Your config file lives in your Headmaster home folder. Run headmaster config path to print its location, or headmaster config edit to open it.

With the Docker backend, one long-lived container serves the whole session, so packages you install and folders you change carry over from one command to the next. To keep real API keys out of that container, see Egress proxy.

Background processes

The agent can start a long command in the background, such as a test run or a dev server, then check on it, read its output, send it input or stop it. A command that ends with & is treated as a background command and goes through the same approval checks.

Shell startup files

The agent runs your shell without a terminal and without you at the prompt. Slow or interactive lines in .bashrc or .zshrc (version managers, prompts, tmux attach, banners) can slow every command or make it hang. Keep heavy setup below the usual guard that returns early in non-interactive shells:

case $- in
  *i*) ;;
  *) return;;
esac

If commands hang for the agent but work in your own terminal, check your shell startup first.

Approvals still apply

Turning a toolset on does not skip safety checks. Risky commands still go through your approval mode. See Approvals and safety.