Mogplex Docs
CLI

Quickstart

Run your first Mogplex task from the terminal with the current CLI surface.

The fastest path is: install the binary, export a provider key, then start a session or run a one-off prompt.

1. Install

See Installation for platform-specific commands.

2. Set a provider key

export ANTHROPIC_API_KEY=sk-ant-...
# or
export OPENAI_API_KEY=sk-...

Mogplex resolves environment variables first. If you prefer stored credentials, see Authentication.

3. Start an interactive session

mogplex

Inside a session, the common entry points are:

  • /help to list in-session commands
  • /status to inspect model, usage, approval mode, and cwd
  • /model to switch models
  • /compact to summarize and continue with a smaller context window

4. Run a one-off task

mogplex exec "review the staged diff for regressions"

Bare prompts also route to non-interactive exec mode:

mogplex "summarize this repository"

5. Inspect the slash surface

mogplex slash list

That shows the built-in in-session commands plus any project or user commands loaded from .agents/commands/ and ~/.mogplex/commands/.

Edit on GitHub

On this page