MeghaOS ships a terminal companion: megha, a command-line tool that talks to the running assistant on your machine. It brings the assistant to your shell, letting you ask questions, run AI-driven tasks, refactor code, scaffold repos, and open PRs without leaving the terminal.

Setup

There is nothing to install: MeghaOS puts megha on your PATH when it starts, so it’s available in the terminals it opens. MeghaOS itself must be running, because the CLI hands every command to the local assistant. Check the connection with:

Commands

How it works

megha is a thin client: each command is sent to the assistant running on your machine and the result is printed. Because it reaches the same assistant as the desktop, anything you can ask for in chat is reachable from the terminal, including the full Capability Catalog and workflows.

Repo setup

megha setup <git-url> clones a repository and runs an AI-driven setup: it detects the stack, installs dependencies, and gets the project ready to run. Optionally pass a target directory:

For developers

The CLI talks to the agent’s local HTTP API on localhost:8000 (/chat, /api/llm, /project/setup, and POST /cli/dispatch for general command dispatch), so it stays in lockstep with the desktop’s capabilities.
megha pairs naturally with Computer Control: use the CLI for quick, scriptable asks, and computer control when you want the agent to drive a GUI app or IDE.