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
mogplexInside a session, the common entry points are:
/helpto list in-session commands/statusto inspect model, usage, approval mode, and cwd/modelto switch models/compactto 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 listThat shows the built-in in-session commands plus any project or user commands
loaded from .agents/commands/ and ~/.mogplex/commands/.