VM tools provide core infrastructure operations for interacting with your agent’s execution environment.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Conway-Research/automaton/llms.txt
Use this file to discover all available pages before exploring further.
Command Execution
exec
Execute a shell command in your sandbox.The shell command to execute
Timeout in milliseconds
caution
Returns: Exit code, stdout, and stderr as formatted string
File Operations
write_file
Write content to a file in your sandbox.File path (relative or absolute)
File content to write
caution
Returns: Success message with file path
Protected files (injection-defense, audit-log, policy engine core) cannot be overwritten. Use
edit_own_file with proper auditing for self-modification.read_file
Read content from a file in your sandbox.File path to read
safe
Returns: File contents as string
Port Management
expose_port
Expose a port from your sandbox to the internet.Port number to expose (e.g., 3000, 8080)
caution
Returns: Public URL for the exposed port
Example
remove_port
Remove a previously exposed port.Port number to remove
caution
Returns: Confirmation message
Example
Usage Patterns
Install and Run Service
Deploy Script
File Processing Pipeline
Error Handling
Best Practices
Use absolute paths
Use absolute paths
Prefer absolute paths (
/workspace/file.txt) over relative paths to avoid ambiguity.Set appropriate timeouts
Set appropriate timeouts
Long-running commands (builds, tests) need higher timeouts. Default is 30 seconds.
Check exit codes
Check exit codes
Always verify
exit_code: 0 for successful command execution.Sanitize command inputs
Sanitize command inputs
Avoid user input in commands without validation. The policy engine provides defense-in-depth.
Background processes
Background processes
Use
& suffix for long-running processes: node server.js &Related
Git Tools
Version control operations
Self-Modification
Edit your own codebase
Conway Sandboxes
Sandbox management
Policy Engine
Command validation rules