Installation and first run
Muxiva is pre-alpha. Its release automation builds standalone CLI archives and Python Wheels; the first public tag remains gated on publisher ownership confirmation.
Install the CLI
After the Homebrew tap is activated, macOS ARM64 and Intel users install the native binary without a Rust toolchain:
Until the first tagged release is published, install from the source checkout:
git clone https://github.com/PiyotaHu/muxiva.git
cd muxiva
cargo install --locked --path crates/muxiva-cli
muxiva --version
After installation, application developers use muxiva; they do not run the
workspace through cargo run for normal workflows.
Source installation requires Git and the Rust toolchain in
rust-toolchain.toml. CMake, CPython, maturin, Node.js, and pnpm are needed only
for contributors building their corresponding SDKs or examples. Release owners
should follow Release operations.
CLI entry point
Running muxiva alone leads with the headless Runtime entry point. muxiva --help
explains every command:
| Command | Purpose |
|---|---|
muxiva init [directory] |
Create a complete project with graph.json and .muxiva/ |
muxiva validate <project or graph> |
Validate without creating or executing Nodes |
muxiva run <project or graph> |
Execute a finite Graph to completion |
muxiva serve <project or graph> |
Run a real-time Graph and minimal Client API without Studio |
muxiva studio [project or graph] |
Optional visual design and local debugging tool |
muxiva doctor [--voice] |
Check tools, project discovery, and real-voice readiness |
muxiva simulate |
Run synthetic, network-free Runtime fixtures; not a product demo |
First run: a real voice assistant
Muxiva's primary developer experience is the credentialed Qwen + Agora Voice Room, not synthetic ASR, LLM, or TTS output. On macOS the setup command downloads and verifies Agora automatically; Qwen requires no SDK download. Follow the from-scratch flagship guide to create the browser and Bot RTC tokens, Model Studio API Key, and Workspace ID.
./examples/voice-agent/setup.sh
cp examples/voice-agent/.env.example examples/voice-agent/.env
# macOS: open Studio by default
./examples/voice-agent/run.sh
# Linux / Docker: start the Headless Runtime
./examples/voice-agent/run.sh --headless
# In another terminal for headless mode:
cd examples/voice-agent && npm run voice-room
run.sh defaults to Studio in macOS and Windows shells, and to Headless Runtime
on Linux. --studio and --headless explicitly override the platform default.
Create and run a graph
init creates my-agent/graph.json, .muxiva/nodes/, .muxiva/templates/, and a
project README. validate is side-effect free. run compiles the Graph against
the exact Node Registry, materializes selected Factories, and executes them
through the concurrent Runtime with bounded execution and shutdown deadlines.
The older single-.json form remains compatible. Use serve for a real-time
service: it stays alive until the Graph completes or receives Ctrl-C/SIGTERM and
exposes the minimal HTTP API needed by a standalone web client.
Open Studio
Studio discovers graph.json automatically. Outside a project it safely
creates muxiva.graph.json; from the Muxiva source root it discovers the flagship
Voice Agent workspace. It binds locally with a random access token. Continue with the
Studio guide.