Install and configure the Opta CLI for running AI workflows, agents, and browser automation from the terminal.
Updated 2026-03-01
The Opta CLI is a TypeScript-based command-line tool for running AI workflows, browser automation, and agent orchestration. It connects to your local LMX server or falls back to configured cloud providers.
Install via npm globally or per-project. The CLI is available as opta-cli in the npm registry.
npm install -g @opta/cliBy default the CLI looks for a local LMX server at http://localhost:1234. Configure this with the OPTA_LMX_URL environment variable or via the config file.
export OPTA_LMX_URL=http://localhost:1234