Tools
Each agent either receives every tool available in its workspace or exactly its selected grants. Container-backed tools require a workspace container; environment-free tools can also run in General.
What runs where
Section titled “What runs where”| Tool | Container-backed workspace | General workspace |
|---|---|---|
read |
Reads through pi-env in the workspace container | Unavailable |
write |
Writes through pi-env in the workspace container | Unavailable |
edit |
Edits through pi-env in the workspace container | Unavailable |
bash |
Runs through pi-env in the workspace container | Unavailable |
grep |
Searches matching lines with rg, or grep when rg is unavailable |
Unavailable |
find |
Finds files and directories by name, type, and depth | Unavailable |
ls |
Lists entries with their type and size | Unavailable |
git |
Reads status, history, diffs, file history, branches, and remotes | Unavailable |
web_fetch |
Retrieves a public URL when granted | Available as the environment-free tool |
codemode |
Runs JavaScript in a QuickJS sandbox; scripts can call only the tools offered to that conversation | Available, but scripts can call only General’s offered tools |
ask_user |
Asks a blocking question in the chat and waits for an answer | Available as the environment-free tool |
A pi-env daemon inside the workspace container performs file and shell operations. The read-only grep, find, ls, and git tools resolve paths inside /home/dev/workspace, use argv rather than interpolated shell commands, and cap their output. git accepts only status, log, diff, show, blame, branch, and remote; it rejects options that can write, access outside paths, or execute commands. Branch and remote operations are restricted to read-only listing and lookup. Cake does not publish a container port for each tool call. The workspace container does not join the database, Docker socket proxy, or secrets networks.
General has a container for skills, MCP servers and user terminals, but its agent receives only environment-free tools, currently web_fetch, codemode and ask_user; it is not a host or container shell and cannot use coding tools against either filesystem. Code mode itself has no filesystem, shell, or network access: JavaScript can only call the conversation’s offered tools as tools.<name>(args). It cannot call a tool the agent was not granted or that is unavailable in General. Code mode cannot make model calls. web_fetch refuses private addresses to keep it from becoming a proxy into the install’s private network. It fetches known URLs rather than performing web search.
Configure agents
Section titled “Configure agents”The registry’s tools are synchronized into the catalog automatically at startup. Every new container-backed workspace starts with Build, an allow-all default agent, and Plan, which is granted read, web_fetch, and ask_user.
On the workspace’s Agents tab:
- Select a profile, or create one with New agent.
- Leave All tools available here on to offer every tool that can run in this workspace.
- Or turn it off and select individual grants. New workspaces’ Plan agent receives exactly
read,grep,find,ls,git,web_fetch, andask_user. It does not receivewrite,edit,bash, orcodemode. An implementation agent may also needwrite,edit, andbash. - Save the profile to write its grants. Use
ask_userwhen a blocking decision needs the person’s input; choose 2–6 short options when useful, and allow free text by default.
In General, read, write, edit, bash, grep, find, ls, and git remain visible but unavailable to the agent even though its container exists. Disabled environment tools are never offered to a run, even if an old grant names them. Code mode remains available there, but its scripts can call only tools that General offers and the agent has been granted.
harness registry ↓ automatic startup syncagent profile: all available tools, or selected grants ↓ remove environment-backed tools in General or when no container is availabletools offered to the conversation ↓tool call shown in the live transcriptProvider permissions are separate: the Providers tab controls keys and models, not tools. Conversation model/key switches do not change tool grants.
What is not connected yet
Section titled “What is not connected yet”MCP servers and skill grants reaching runs are planned. Web search is also planned. Saving related configuration is not a claim that today’s run consumed it. The implemented tools above execute as described and appear in the chat transcript.