Skip to main content

CLI for Physical AI

Project description

Solo CLI

Python 3.12+ License: Apache 2.0 PyPI Version

Fastest way to deploy Physical AI on your hardware

Simple CLI for Physical AI: Fine-tune and serve models in the physical world; optimized for edge & on-device operations

LeRobot Chess Match Screenshot LeRobot Writer Screenshot

๐Ÿ“ข IMPORTANT: Package Renamed

This package has been renamed from solo-server to solo-cli!

If you're upgrading from solo-server, please see the Migration Guide for upgrade instructions.

  • Old: pip install solo-server
  • New: pip install solo-cli
  • Config Migration: ~/.solo_server โ†’ ~/.solo
  • CLI Command: Still solo (unchanged) โœ…

Solo-CLI powers users of Physical AI Inference by providing access to efficiency tuned AI models in the real world. From language to vision to action models, Solo-CLI allows you to interact with cutting-edge, on-device AI directly within the terminal. It is tailored for context aware intelligence, specialized for mission-critical tasks, and tuned for the edge.

Docs | About

Features & MCP Module Catalog

Medical & Healthcare (5 modules)

Module Description Input Output Use Case Availability
๐Ÿซ€ VitalSignsMCP Real-time patient monitoring Sensor streams, video Heart rate, SpO2, alerts ICU monitoring, telemedicine Free
๐Ÿฉป MedicalImagingMCP CT/MRI/X-ray analysis Medical scans Diagnosis, annotations Radiology, emergency medicine Free
๐Ÿ’ช๐Ÿพ RehabTrackingMCP Physical therapy progress Motion capture Exercise tracking, recovery metrics Physical therapy, sports medicine Free
๐Ÿ’‰ SurgicalGuidanceMCP OR instrument tracking Video feeds, RFID Tool identification, workflow Operating room management Pro
๐Ÿ’Š DrugInteractionMCP Medication safety analysis Prescription data Interaction warnings, dosing Pharmacy, clinical decision support Pro

Agricultural & Environment (5 modules)

Module Description Input Output Use Case Availability
๐Ÿซ› CropHealthMCP Precision agriculture analysis Drone imagery, sensors Disease detection, yield prediction Farm management, crop insurance Free
๐Ÿชด SoilAnalysisMCP Soil condition monitoring Sensor networks pH, nutrients, moisture levels Precision farming, sustainability Free
๐ŸŒฆ๏ธ WeatherPredictionMCP Localized weather forecasting Meteorological data Micro-climate predictions Irrigation planning, harvest timing Free
๐Ÿ„ LivestockManagementMCP Animal health and tracking RFID, cameras, sensors Health status, location, behavior Ranch management, veterinary care Pro
๐Ÿ“ฆ SupplyChainMCP Agricultural logistics Market data, inventory Pricing, routing, demand forecasting Food distribution, commodity trading Pro

Industrial & Manufacturing (5 modules)

Module Description Input Output Use Case Availability
๐Ÿ”ฉ PredictiveMaintenanceMCP Equipment failure prediction Vibration, thermal, acoustic Failure alerts, maintenance schedules Manufacturing, oil & gas Free
โœ… QualityControlMCP Automated defect detection Product images, measurements Pass/fail, defect classification Assembly lines, quality assurance Free
โšก๏ธ EnergyOptimizationMCP Smart power management Smart meters, usage patterns Cost reduction, efficiency gains Factory automation, green manufacturing Free
๐Ÿฆพ RoboticsControlMCP Multi-robot coordination Robot states, task queues Work allocation, path planning Automated warehouses, assembly Pro
๐Ÿค– DigitalTwinMCP Real-time process mirroring Production telemetry Performance insights, optimization Process industries, smart factories Pro

Robotics & Automation (5 modules)

Module Description Input Output Use Case Availability
๐Ÿ›ฃ๏ธ NavigationMCP SLAM and path planning LiDAR, cameras, IMU Maps, waypoints, obstacle avoidance Autonomous vehicles, service robots Free
๐Ÿฆฟ ManipulationMCP Object detection and grasping RGB-D cameras Grasp poses, object properties Pick-and-place, warehouse automation Free
๐Ÿ‘ค HumanRobotMCP Social interaction and safety Cameras, microphones Emotion recognition, voice commands Service robots, eldercare Free
๐Ÿ SwarmControlMCP Multi-agent coordination Network communications Formation control, task allocation Drone swarms, distributed robotics Pro
๐Ÿš˜ AutonomousVehicleMCP Self-driving capabilities Vehicle sensors Steering, braking, route planning Autonomous cars, delivery robots Pro

Educational & Research (5 modules)

Module Description Input Output Use Case Availability
๐Ÿ“ LearningAnalyticsMCP Student performance tracking Interaction data, assessments Progress insights, recommendations Online education, skill assessment Free
๐Ÿฅผ LabAssistantMCP Scientific experiment guidance Protocols, sensor data Step-by-step instructions, safety alerts Research labs, STEM education Free
๐Ÿง๐Ÿผโ€โ™€๏ธ AccessibilityMCP Inclusive learning support Text, audio, video Translations, adaptations Special needs education, language learning Free
๐Ÿ‘จ๐Ÿปโ€๐Ÿ”ฌ ResearchAutomationMCP Data analysis and hypothesis generation Research datasets Statistical insights, literature reviews Academic research, R&D Pro
๐Ÿ‘ฉ๐Ÿปโ€๐Ÿซ VirtualTutorMCP Personalized instruction Learning patterns, preferences Adaptive curricula, feedback Personalized education, corporate training Pro

Installation

Upgrading from solo-server? See the Migration Guide first.

First, install the uv package manager and setup a virtual environment as explained in prereq.md

#Choose one of the following for solo-cli installation
#1. Install solo cli from PyPI python manager
uv pip install solo-cli

#2. Install solo cli from source
git clone https://github.com/GetSoloTech/solo-cli.git
cd solo-cli
uv pip install -e .

# Solo commands
solo --help

๐Ÿ’ป Solo Tech Installation Demo

Solo Tech Installation Demo

For the full video, click here to watch on YouTube.

Quick Installation for Mac (Automated)

For Mac users, we provide an automated installation script that handles all the setup steps:

# Clone the repository
git clone https://github.com/GetSoloTech/solo-cli.git
cd solo-cli

# Make the installation script executable
chmod +x install_mac.sh

# Run the automated installation
./install_mac.sh

The script will automatically:

  • Install uv package manager (version 0.9.3)
  • Create a virtual environment with Python 3.12.12
  • Set up environment variables for dependencies
  • Install solo-cli in development mode with fallback handling for mujoco dependencies

After installation, activate the virtual environment:

source solo_venv/bin/activate

๐Ÿ’ป Quick Installation Demo

Mac Quickstart Installation Demo


For the full video, click here to watch on YouTube.

Solo Commands:

solo --help
                                                                                                           
โ•ญโ”€ Commands โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ setup      Set up Solo Server environment with interactive prompts and saves configuration to config.json.           โ”‚
โ”‚ robo       Robotics operations: motor setup, calibration, teleoperation, data recording, training, and inference     โ”‚
โ”‚ serve      Start a model server with the specified model.                                                            โ”‚
โ”‚ status     Check running models, system status, and configuration.                                                   โ”‚
โ”‚ list       List all downloaded models available in HuggingFace cache and Ollama.                                     โ”‚
โ”‚ test       Test if the Solo server is running correctly. Performs an inference test to verify server functionality.  โ”‚
โ”‚ stop       Stops Solo Server services. You can specify a server type with 'ollama', 'vllm', or 'llama.cpp'           โ”‚
โ”‚            Otherwise, all Solo services will be stopped.                                                             โ”‚
โ”‚ download   Downloads a Hugging Face model using the huggingface repo id.                                             โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

Start server with SML models

# Note that you will need Docker for solo serve
solo setup
solo serve --server ollama --model llama3.2:1b

Interactive Lerobot With Solo Server

Find more details here: Solo Robo Documentation

# Motors (both) โ†’ Calibrate (both) โ†’ Teleop
solo robo --motors all
solo robo --calibrate all
solo robo --teleop

# Record a new local dataset with prompts
solo robo --record

# Train ACT or SmolVLA Policy on a recorded dataset and push to Hub
solo robo --train

# Inference with a hub model id (with optional Teleop override)
solo robo --inference

API Reference

Find more details here: OpenAI -> OpenAI API Docs Ollama -> Ollama API Docs

vLLM & llama.cpp (OpenAI Compatible)

# Chat request endpoint
curl http://localhost:5070/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{
    "model": "llama3.2",
    "messages": [{"role": "user", "content": "Analyze sensor data"}],
    "tools": [{"type": "mcp", "name": "VitalSignsMCP"}]
  }'

Ollama

# Chat request endpoint
curl http://localhost:5070/api/chat -d '{
  "model": "llama3.2",
  "messages": [
    {
      "role": "user",
      "content": "why is the sky blue?"
    }
  ]
}'

Configuration

Navigate to config file .solo/config.json

{
    "hardware": {
        "use_gpu": false,
        "cpu_model": "Apple M3",
        "cpu_cores": 8,
        "memory_gb": 16.0,
        "gpu_vendor": "None",
        "gpu_model": "None",
        "gpu_memory": 0,
        "compute_backend": "CPU",
        "os": "Darwin"
    },
    "user": {
        "domain": "Software",
        "role": "Full-Stack Developer"
    },
    "server": {
        "type": "ollama",
        "ollama": {
            "default_port": 5070
        }
    },
    "active_model": {
        "server": "ollama",
        "name": "llama3.2:1b",
        "full_model_name": "llama3.2:1b",
        "port": 5070,
        "last_used": "2025-10-09 11:30:06"
    }
}

Contributing

  1. Fork the repository
  2. Create feature branch (git checkout -b feature/name)
  3. Commit changes (git commit -m 'Add feature')
  4. Push to branch (git push origin feature/name)
  5. Open Pull Request

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

solo_cli-0.6.0.tar.gz (76.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

solo_cli-0.6.0-py3-none-any.whl (88.8 kB view details)

Uploaded Python 3

File details

Details for the file solo_cli-0.6.0.tar.gz.

File metadata

  • Download URL: solo_cli-0.6.0.tar.gz
  • Upload date:
  • Size: 76.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for solo_cli-0.6.0.tar.gz
Algorithm Hash digest
SHA256 09899042534ff6855e55b4ee9042396b54fe82c5d84fda79dcfa250f8157a25d
MD5 96c91829ce2490c61843465ff4430bf7
BLAKE2b-256 b84309b00980b8e91133922ef9e0b1876ef43c67fbbd980414d26bc4487ae616

See more details on using hashes here.

File details

Details for the file solo_cli-0.6.0-py3-none-any.whl.

File metadata

  • Download URL: solo_cli-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 88.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for solo_cli-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7adfcd080af8726fc56d46d12c0ff2efa42f5da9b0e59666f1fac0ea2a4d51da
MD5 eb8f20ff7bb7d31fa5f1d5b60313bbd2
BLAKE2b-256 da3d598d70ce866089708cd592974e24e3691304890596cdd3c61fd2d8699caf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page