Mogplex Docs
Platform

How Mogplex Fits Together

Understand the core Mogplex object model from account state to GitHub coverage, repos, agents, routing, runs, sandboxes, and observability.

Mogplex is easier to debug once the platform objects have clear ownership.

Most product questions reduce to this chain:

account -> GitHub installation -> repo -> agent -> route -> run -> observability
                                      \
                                       sandbox

Each object answers a different question.

Core objects

ObjectOwnsStart here when
Account stateIdentity, managed model and sandbox access, CLI tokens, model defaults, Slack installs, connections, MCP definitionssign-in, model, billing, token, Slack, or connection state looks wrong
GitHub installationApp-backed coverage for one GitHub user or orgrepos are visible but GitHub events do not trigger work
RepoImported repository state and repo-specific settingsthe target repo is missing, duplicated, hidden, or needs runtime settings
AgentReusable behavior, slug, prompt, model, skills, rules, and contextthe worker itself behaves wrong or a mention slug does not resolve
RouteThe rule that decides what wakes workthe wrong event, repo, or workflow starts work
RunOne execution of Mogplex workwork started and you need status, events, or final state
SandboxRuntime and preview environment for repo workpreviews, workspace sessions, branches, ports, env, or stale runtimes are involved
Observability recordCaptured runtime detailsyou need calls, tools, errors, tokens, cost, pressure, or sandbox linkage

Ownership map

Product areaPrimary ownership
Settingsaccount state
InstallationsGitHub App coverage
SlackSlack workspace install, channel-to-repo links, and Slack-started repo-agent controls
Projectsrepos, workspace sessions, repo settings, sandbox launch
Agentsreusable behavior and mention slugs
Triggersinstallation-scoped event-to-agent routes
Assignmentsrepo-scoped standing work
Automationsworkflow graph routing
CLIlocal run supervision
Headless Runsscript and CI execution
Sandboxescross-repo runtime operations
Observabilityruntime inspection

The important splits

Visibility vs triggerability

Repo visibility means Mogplex can see a repo through account sync.

Triggerability means the owning GitHub user or org has App-backed coverage, so GitHub webhook events can start hosted work.

A repo can be visible without being triggerable. When that happens, fix GitHub App coverage before editing routes.

Agent definition vs route binding

An agent defines behavior.

A route decides when that behavior runs.

Do not create a new agent when the real problem is that the wrong Trigger, Assignment, or Automation points at it. Do not edit routing when the real problem is an agent slug, model, prompt, skill, rule, or context library.

Run state vs sandbox state

A run is the unit of work.

A sandbox is the runtime environment the work may use.

Some failures are run failures. Some are preview/runtime failures. If a run is linked to a sandbox, inspect both Observability and Sandboxes before changing prompts or routing.

Interactive vs unattended execution

Use the CLI when a human operator should supervise the work.

Use Headless Runs or the Hosted API when another system should start work unattended.

A route from setup to runtime

  1. Account state makes the user able to use Mogplex.
  2. GitHub App coverage makes the repo owner eligible for webhook-backed work.
  3. Projects imports the repo and stores repo runtime settings.
  4. Agents define reusable behavior.
  5. Triggers, Assignments, or Automations bind that behavior to events or repos.
  6. Slack channel links can also bind a Slack channel to one repo.
  7. A run starts.
  8. A sandbox may launch or attach.
  9. Observability captures the runtime story.

If the chain breaks, debug the earliest missing object first.

Edit on GitHub

On this page