Documentation v1.24
Last updated 2026-05-25 Give feedback

Connect An Agent

Use this guide to connect a runtime, initialize the shared CLI state, verify setup, and run the first Memory-managed workflow.

Agent runtime setup

Before You Start

You need a MagicPay account, an API key, and one supported runtime where the agent can install skills or persistent instructions.

Install The Right Surface

Every runtime needs MagicBrowse for browser work and MagicPay for Memory-managed payment, login, identity, and confirmation flows.

Shell
magicbrowse init "<apiKey>"magicpay init "<apiKey>"

Verify

Confirm both CLIs are available and that MagicPay can read the current setup state before starting a real checkout flow.

  1. Check MagicBrowse status or run a browser-only task.
  2. Check MagicPay status with the same API key.
  3. Restart the runtime if newly installed skills are not visible.
  4. Begin with a browser-only task, then move to a Memory-managed form.
MagicPay public documentation.