Run your first agent
Install a Companion agent on your Hub, connect it to a model, and give it something to do.
Time: ~20 minutes Β· Youβll need: Hub running, and either Ollama with a model or a cloud API key
Already run an agent elsewhere? If you use Claude Code, or your own OpenClaw or Hermes install, you donβt need to install anything here β point it at your Hub instead. See Connect an Existing Agent.
Which agent
Two first-party agents ship in the App Store. Both declare hub_integration.mcp_client, so Hub hands them its MCP endpoints at install time.
| App | Store ID | Port | What it is |
|---|---|---|---|
| OpenClaw WebCLI | ci-openclaw | 18789 | Self-hosted assistant with browser automation and tool use |
| Hermes | ci-hermes | 18790 | Messaging assistant with a web terminal and dashboard |
This tutorial uses OpenClaw, the wizardβs default. Hermes follows the same shape.
The store also carries a plain openclaw entry (port 30189). That is the
upstream project without Hubβs integration β it does not receive Hubβs MCP
or memory variables. For this tutorial you want ci-openclaw, listed as
OpenClaw WebCLI.
Check whether you already have it
The Onboarding Wizard pre-selects OpenClaw, so it may already be installed. Look for OpenClaw WebCLI on your dashboard before installing a second copy.
Install it
From the App Store, find OpenClaw WebCLI and install it. Hub pulls the image, generates the environment, and starts the container.
Because the app declares hub_integration.mcp_client: true, Hub injects its MCP endpoint variables (HUB_URL, HUB_MCP_URL, HUB_MCP_API_KEY, and related) into the appβs environment. You do not configure those by hand β see AI & Inference.
Open it
Click Open on the app card, or go to its port directly:
http://localhost:18789You get OpenClawβs setup interface on first run.
Hostname not resolving? The direct port always works β see Finding Your Appβs URL.
Give it a model
On first run, OpenClaw asks for a model provider and key. Two routes:
- Local β point it at Ollama on your host. Nothing leaves your machine. Requires a pulled model; see Install Ollama.
- Cloud β paste an API key for a hosted provider. Better results on hard tasks; your prompts leave your machine.
You can change this later; it is not a one-way door.
Give it a task
Ask for something small and checkable, so you can tell whether it actually worked:
List the files in your working directory and tell me what this project is.A real answer means the agent is installed, has a model, and can use its tools. Thatβs the whole loop working.
What the Hub integration adds
Installed this way, the agent gets things a standalone install doesnβt:
- Hub MCP endpoints, injected at install, so it can act on your Hub
- Companion Memory wiring, when Memory is installed β via
CI_SERVER_URLandCI_SERVER_TOKEN - A wake endpoint (
/hooks/wake) Hub can call to nudge the agent
Enable Hubβs MCP server if it isnβt on yet:
cihub mcp setupThen cihub mcp config to see the resolved endpoints. See AI &
Inference.
Open questions
Two details I could not confirm from the source, so theyβre deliberately absent above rather than guessed:
- The exact first-run screens for OpenClaw WebCLI when installed through Hub. The upstream project documents a setup UI on port 18789 that asks for a model provider and key, and Hubβs app entry uses that same port β but whether Hub pre-fills the provider from your Settings β AI preferences, or asks from scratch, isnβt something I could verify. If it pre-fills, step 4 should say so and get shorter.
- Whether a restart is needed after Hub injects memory variables. Upstream notes that OpenClaw needs one restart if the memory environment arrives after onboarding. Whether Hubβs install ordering avoids that is unclear β if it doesnβt, this page needs a restart step.
Both are quick to settle for anyone with a Hub in front of them.
Next
- Connect an Existing Agent β for agents you already run
- Companion Agent β the agent ecosystem
- OpenClaw β the app reference