#agent #remote #automation

bin+lib mitoxide-agent

Remote agent binary for Mitoxide

1 unstable release

0.1.0 Oct 16, 2025

#2989 in Command line utilities

MIT license

210KB
4K SLoC

Mitoxide Agent

Crates.io Documentation License: MIT

Remote agent binary for Mitoxide - the lightweight agent that runs on remote systems to execute commands and manage resources.

Features

  • Self-bootstrapping agent deployment
  • Multi-platform support (Linux, macOS, Windows)
  • Privilege escalation handling
  • PTY operations for interactive commands
  • Resource constraint handling
  • WASM module execution support

Installation

Install the agent binary:

cargo install mitoxide-agent

Usage

The agent is typically deployed automatically by Mitoxide, but can be run manually:

# Run agent with default settings
mitoxide-agent

# Run with custom configuration
mitoxide-agent --config /path/to/config.json

# Run in debug mode
RUST_LOG=debug mitoxide-agent

Configuration

The agent can be configured via environment variables or configuration file:

{
  "max_memory": "512MB",
  "max_cpu_time": "30s",
  "allowed_commands": ["*"],
  "wasm_enabled": true,
  "sudo_enabled": false
}

Security

The agent includes several security features:

  • Command allowlist/blocklist
  • Resource limits (memory, CPU, disk)
  • Privilege escalation controls
  • Sandboxed WASM execution

Documentation

License

This project is licensed under the MIT License.

Dependencies

~36–56MB
~817K SLoC