For cloud agents with no local install, connect the coding agent to the MCP server instead.
Holo MCP bridge
holo mcp is a local MCP server in the holo CLI. The host starts it over stdio and calls it to run any agent the way holo run does, including h/holo-desktop on this machine.
Install into a host
Sign in first. Hosts startholo mcp in the background, so they cannot open a browser sign-in.
claude-code, claude-desktop, codex, cursor, vscode, windsurf. holo mcp install list shows the rest.
The entry it adds uses your saved key. Restart the host. For the US region, install with holo --base-url https://agp.hcompany.ai mcp install <host>.
For Cursor and other hosts with a config file, the entry is:
- Apps launched from the Dock or Start menu do not inherit shell exports, so set environment variables in the host’s MCP
envblock. - For
localruns on your own model server, addHAI_AGENT_RUNTIME_BASE_URLandHAI_AGENT_RUNTIME_MODELthere. See Run the model yourself. - Claude Code, Codex, and Grok Build drop these settings when you run
holo mcp installagain. Add them back afterwards.
Tools
run_agent starts a session, reports each step to the host, and returns the answer.
agentis a name fromlist_agents, likeh/web-surfer-profor the web orh/holo-desktopfor this machine.localruns the agent loop on this machine, likeholo --local.modelreplaces the agent’s model, like-o agent.model=....
~/.holo files apply to every run.
Write a good task
The agent does not see the host conversation. Each task must say which app, workspace, account, and person, and when it is done:Stop a run
Cancelling the tool call in the host cancels the session, but some hosts never send the cancel. For runs on this machine, use the kill switch orholo local stop. A run the user stopped tells the host not to retry.
Check it worked
Restart the host, then ask:holo:
- Run
holo mcp install list, thenholo mcp install <host-id>again. - For Claude Code, run
claude mcp get holo. - Run
holo whoami. The key must come from~/.config/hai/.env, not only from your shell.
Coding skill
The /hai-agents skill writes and runs a TypeScript availability check from one prompt
hai-agents skill teaches your coding assistant H’s APIs, so it writes working code for sessions, agents, and environments from a plain prompt. One SKILL.md works in Claude Code, Cursor, and Hermes. It loads on its own when you mention H sessions or hk-... keys.
Source: computer-use-agents-demos/skills/hai-agents, also published as a Claude Code plugin in the hai-skills marketplace.
Install the skill
- Claude Code
- Cursor
- Hermes
Add the marketplace first, otherwise
hai-skills is unknown. In any Claude Code prompt:Build a use case
Describe the workflow. In Claude Code, use the plugin’s slash command. In Cursor or Hermes, a plain prompt loads the skill. The video above came from:examples/product_availability/src/index.ts. More recipes are in the demos repo.