The Misar Code agent uses a rich set of tools to interact with your workspace. Tools are invoked automatically based on your request — you do not call them directly. This page documents every available tool so you know exactly what the agent can do.
Run /explore to enter read-only mode, which disables all write and destructive tools for safe codebase exploration.
The agent follows safe git practices by default: it will not force-push to main/master and will not skip hooks. It will ask for confirmation before destructive git operations.
The run_command tool uses execFile (not a shell) to prevent shell injection attacks. A blocklist prevents execution of known dangerous operations including:
rm -rf / and similar destructive recursive deletes
shutdown, reboot, halt
dd if= targeting block devices
mkfs and disk-formatting commands
Commands targeting /etc/passwd, /etc/shadow, or /boot
Even with these protections, review agent-proposed commands before approving them. The agent will always ask for confirmation before running commands that modify system state outside the project directory.