| Crates.io | wasmind_cli |
| lib.rs | wasmind_cli |
| version | 0.1.0 |
| created_at | 2025-09-06 23:59:21.963281+00 |
| updated_at | 2025-09-06 23:59:21.963281+00 |
| description | Command-line interface for Wasmind AI agent coordination system |
| homepage | https://github.com/SilasMarvin/wasmind |
| repository | https://github.com/SilasMarvin/wasmind |
| max_upload_size | |
| id | 1827723 |
| size | 415,955 |
A command-line interface and terminal application for the Wasmind library
This CLI provides an interactive terminal user interface for running and managing Wasmind actor configurations. It serves as a general-purpose interface to wasmind's actor-based AI coordination capabilities, allowing you to run any actor setup through an intuitive TUI.
Note: This is a reference implementation showing how to build user interfaces with wasmind. You can run any wasmind actor configuration - we've included some sample configurations to get you started.
The wasmind_cli provides a flexible TUI for running any wasmind actor configuration. You can:
We've included sample configurations to help you get started:
example_configs/assistant.toml)A simple AI assistant configuration - perfect for getting started with Wasmind:
example_configs/code_with_experts.toml)A collaborative code editing system where any code edit request triggers validation by configurable expert agents:
example_configs/delegation_network.toml)A hierarchical agent coordination system demonstrating:
cargo install cargo-component)rustup target add wasm32-wasip1)cargo install wasmind_cli --locked
# Basic assistant (great for getting started!)
wasmind_cli -c example_configs/assistant.toml
# Code edit approval workflow
wasmind_cli -c example_configs/code_with_experts.toml
# Delegation network
wasmind_cli -c example_configs/delegation_network.toml
# Or use your own configuration
wasmind_cli -c path/to/your/config.toml
example_configs/ - Ready-to-run sample configurationsUse the check command to validate and debug configuration files before running them:
wasmind_cli check -c path/to/your/config.toml
This will:
Debug Message Flow:
To see all messages being sent through the actor system, run with debug logging:
WASMIND_LOG=debug wasmind_cli -c your_config.toml
This is especially helpful when:
Interactive Mode (default):
wasmind_cli -c path/to/config.toml # Use specific configuration
wasmind_cli -p "Hello assistant" # Send initial message to agents
wasmind_cli --log-file /path/to.log # Custom log file location
Utility Commands:
# Show default config location, cache paths, and system information
wasmind_cli info
# Clean the actor cache (removes compiled WASM components)
# Actors are compiled and cached on first use for faster subsequent loads
wasmind_cli clean
# See [wasmind_actor_loader](https://github.com/silasmarvin/wasmind/tree/main/crates/wasmind_actor_loader/) for details on caching
# Validate and debug configuration files
wasmind_cli check -c example_configs/code_with_experts.toml
Environment Variables:
# Set log level (error, warn, info, debug, trace)
WASMIND_LOG=debug wasmind_cli # Debug level shows all messages sent through the system
WASMIND_LOG=info wasmind_cli # Default level for general information
Default Key Bindings (in TUI):
Ctrl+a - Assist (send message to agents)Ctrl+t - Toggle expanded tool displaysesc - Cancel the Agent's current action and force it to wait for your inputCtrl+c - ExitShift+Up/Down - Navigate graph viewNOTE: The cancel feature is WIP and if the Agent is making a request it will finish making it before cancelling.
The CLI uses TOML configuration files to define your actor setup. Configurations specify:
The example configurations show different patterns you can use, but you're free to create any actor configuration that suits your needs. See the Configuration Guide for detailed reference.