Skip to main content
The motus command is the entry point for the Motus Agent Framework CLI. Use it to run agents locally as HTTP servers, interact with them from the terminal, and deploy them to Motus Cloud.

Usage

motus <command> [options]
If no command is given, motus prints the help message and exits.

Environment variables

VariableDescription
LITHOSAI_API_KEYAPI key for Motus Cloud. When set, replaces credential-file authentication for deploy, login, logout, and whoami.
LITHOSAI_API_URLOverride the default Motus Cloud API endpoint (https://api.lithosai.cloud).

Configuration files

Motus reads project-level settings from motus.toml in the working directory. After a successful deploy, the CLI writes project_id, build_id, and import_path to this file so that subsequent commands can run without flags. See Configuration for details.

Subcommands

CommandDescription
motus serveStart an agent HTTP server and interact with it
motus deployPackage and deploy an agent to Motus Cloud
motus loginAuthenticate with Motus Cloud
motus logoutRevoke credentials and clear the local credential file
motus whoamiPrint the identity associated with your current credentials