Skip to content

menloresearch/cli

Repository files navigation

menlo

A CLI tool for accessing Menlo Robot.

Quick Install

sh -c "$(curl -fsSL https://raw.githubusercontent.com/menloresearch/cli/release/install.sh)"

Or build from source:

git clone https://github.com/menloresearch/cli
cd cli
go build -o menlo ./cmd/menlo

Quick Start

# Initialize the CLI (sets up API key and default robot)
menlo init

# Or configure manually
menlo config apikey <your-api-key>
menlo config default-robot <robot-id>

Commands

menlo init

Initialize menlo with your API key and select a default robot.

menlo init

menlo robot

Manage robots.

List all robots

menlo robot list

Show robot status

menlo robot status                         # Use default robot
menlo robot status --robot-id <robot-id>  # Use specific robot

Send action to robot

menlo robot action forward                 # Use default robot
menlo robot action left --robot-id <id>   # Use specific robot

Available actions:

  • forward - Move the robot forward
  • backward - Move the robot backward
  • left - Move the robot left
  • right - Move the robot right
  • turn-left - Turn the robot left
  • turn-right - Turn the robot right

Create WebRTC session

menlo robot session                         # Use default robot
menlo robot session --robot-id <robot-id>  # Use specific robot

This opens a LiveKit meet session with the robot, returning an SFU endpoint, WebRTC token, and a join URL.

menlo config

Manage configuration.

Set API key

menlo config apikey <your-api-key>

Show current API key

menlo config apikey

Set default robot

menlo config default-robot <robot-id>

Or interactively:

menlo config default-robot

Configuration

Configuration is stored in:

  • macOS: ~/Library/Application Support/menlo/config.yaml
  • Linux: ~/.config/menlo/config.yaml
  • Windows: %APPDATA%\menlo\config.yaml

Uninstall

sh -c "$(curl -fsSL https://raw.githubusercontent.com/menloresearch/cli/release/uninstall.sh)"

About

menlo-cli

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors