Skip to main content

Installation

MAGPIE keeps optional features separate. Begin with the smallest installation that supports your transport, then add media, discovery, or MCP when your application needs them.

The core package includes ZeroMQ streaming and RPC:

python -m pip install luxai-magpie

Install optional feature groups individually or combine their names:

CommandAdds
pip install "luxai-magpie[mqtt]"MQTT transport and MQTT CLI tools
pip install "luxai-magpie[webrtc]"WebRTC with ZeroMQ and HTTP signaling
pip install "luxai-magpie[mqtt,webrtc]"WebRTC with MQTT signaling as well
pip install "luxai-magpie[mcp]"FastMCP client adapter
pip install "luxai-magpie[video]"Image frames, capture, and viewer tools
pip install "luxai-magpie[audio]"Audio frames, capture, and player tools
pip install "luxai-magpie[discovery]"Zeroconf discovery tools
pip install "luxai-magpie[full]"All optional features except MCP

Verify the installation:

python -c "import luxai.magpie as magpie; print(magpie.__version__)"

Install from source during development​

Use editable/source installations when contributing or testing unreleased changes:

git clone https://github.com/luxai-qtrobot/magpie.git
cd magpie
python -m venv .venv
# Linux/macOS: source .venv/bin/activate
# Windows: .venv\Scripts\activate
pip install -e ".[dev,mcp]"
pytest

Continue with the quickstart.