Skip to main content

Module agent_tools

Module agent_tools 

Source
Expand description

The helper programs an agent’s hooks and MCP config run (agentmux-mcp, agentmux-bashwrap), written down once in config/tools.lock.json and used by both ways an agent gets them (task #13666, step 4). A native agent finds them in AgentMux’s tool folders (find_in_tool_dirs); a container agent finds them where the image copies them, and docker/Dockerfile.agent-agentmux is checked against the lock by the_dockerfile_installs_what_the_lock_lists, so a tool added to one side without the other fails a test, not an agent’s first turn.

Structs§

LockedTool
ToolLock

Enums§

ToolDir
A folder AgentMux keeps its own tools in.

Functions§

find_in_tool_dirs
name as a file in the first of dirs that has it, with the platform’s executable suffix tried first.
lock