asqend-local
v0.2.5
Published
External CLI for Asqend local execution and managed MCP setup
Maintainers
Readme
Asqend CLI
External CLI for bootstrapping a local Asqend runner, managing its background service, and exposing the managed MCP server through asqend mcp serve.
Current boundary:
- Asqend is the control plane for schedules, execution targets, workflow state, and review state
asqend-localis the local machine bridge- OpenClaw is the local execution engine for
openclaw_task - OpenClaw users install
asqend-local; they do not install a separateasqend-mcppackage
Install
npm install -g asqend-localQuickstart
OpenClaw-specific install and template guidance lives in docs/runbooks/runtimes/openclaw-install.md.
- Install the CLI.
npm install -g asqend-localThe installed command is still asqend.
- If you are using OpenClaw, use the OpenClaw runtime explicitly.
asqend bootstrap --runtime openclawFor a lane-specific OpenClaw target such as a dedicated research worker, persist the lane on the target during bootstrap:
asqend bootstrap --runtime openclaw --openclaw-agent-id researchThis opens a browser approval flow against https://app.asqend.com by default. Approve the machine in the browser window before returning to the terminal.
- Attach and repair the local OpenClaw runtime.
asqend doctor --fixFor --runtime openclaw, this release attaches to an existing local OpenClaw runtime. Initialize OpenClaw first, or point the CLI at an existing runtime with OPENCLAW_CONFIG_PATH and optionally OPENCLAW_STATE_DIR.
That repair step writes or repairs the managed mcp.servers.asqend entry in your OpenClaw config, so OpenClaw can use the bundled Asqend MCP server without a separate asqend-mcp install.
- Install the background service on macOS if you want the runner to start automatically on login.
asqend installOn Linux, the same command installs a user-level systemd service.
For a lane-specific OpenClaw target such as a dedicated research worker, install can still pin the local lane explicitly:
asqend install --yes --openclaw-agent-id research- Check current status at any point.
asqend statusIf you are not using OpenClaw and only want the generic runner path, use:
asqend bootstrap
asqend doctor
asqend installFirst System
The CLI bootstraps the local runner and writes managed MCP configuration. It does not create systems directly by itself.
To create your first operational system after bootstrap:
- Open your MCP-compatible client, typically Claude Code or Codex.
- Confirm the managed Asqend MCP server is available through the config written by
asqend bootstrap. - Start with
platform_discoverto see available templates and deployed systems. - Use
systems_template_deployto create a first CRM, ticketing, or project system.
For OpenClaw scheduled execution, the runtime path is:
- Asqend creates a run request for an execution target
asqend-localclaims the runasqend-localinvokes local OpenClawasqend-localreports the result back to Asqend
For most users:
- leave
bootstrapon its default runtime ofclaude_code - use
--runtime codexonly when you specifically want Codex-managed MCP config - use
--runtime openclawonly when you already have a local OpenClaw runtime to attach
Platform Support
bootstrap,status,doctor,drain, andmcp servework cross-platform on supported Node versions.installsupports macOS vialaunchdand Linux via a user-levelsystemdunit.- On other platforms, run
asqend startunder your own supervisor such astmux,screen, or an equivalent service manager.
Commands
asqend bootstrapasqend startasqend installasqend statusasqend drainasqend doctorasqend mcp serve
Current Scope
- Primary supported install path is npm global install.
installis macOS-first and currently manages alaunchdservice.- Managed MCP setup writes runtime config that points to the
asqendbinary, not to a separateasqend-mcpinstall. - For
--runtime openclaw,doctor --fixmanages the OpenClaw-ownedmcp.servers.asqendregistry entry withopenclaw mcp set. - For
--runtime openclaw,installpersists the saved runtime profile into the managed service and accepts--openclaw-agent-idfor lane-specific runners. - OpenClaw integration does not require OpenClaw source changes or plugins.
Development Verification
From the repo root:
npm --workspace asqend-local run verify
npm --workspace asqend-local run pack:smokepack:smoke is the release-blocking clean-room tarball test. It installs the packed artifact into a temp directory and verifies that the CLI and asqend mcp serve run from built package artifacts only.
