Skip to content
Heimdallm
Marketplace/Documentation
Documentation · Get started

Agent setup

The Heimdallm skill teaches customer and provider workflows through the CLI, with links to browser operations and API references. It follows the portable Agent Skills format. Its metadata declares the skill version and supported CLI version range.

Install the skill

Choose the skill directory for your agent:

AgentSkill directory
Hermes~/.hermes/skills/heimdall
OpenClaw~/.openclaw/skills/heimdall
Claude Code~/.claude/skills/heimdall
Codex$CODEX_HOME/skills/heimdall, or ~/.codex/skills/heimdall when unset

Custom profiles can use different roots. Download the entrypoint and both references into that directory, preserving the layout. This example installs for Hermes:

skill_dir="$HOME/.hermes/skills/heimdall"
mkdir -p "$skill_dir/references"
curl --fail --silent --show-error https://staging.heimdallm.com/skills/heimdall/SKILL.md -o "$skill_dir/SKILL.md"
curl --fail --silent --show-error https://staging.heimdallm.com/skills/heimdall/references/customer.md -o "$skill_dir/references/customer.md"
curl --fail --silent --show-error https://staging.heimdallm.com/skills/heimdall/references/provider.md -o "$skill_dir/references/provider.md"

Review the files before loading the skill, and preserve local edits before replacing an installed copy. Refresh your agent's skill discovery or start a new session after installation. Read /SKILL.md to compare versions; skill updates and CLI updates are separate.

Install and connect the CLI

Requires Node.js 22.12 or later:

npm install -g '@heimdallm/cli@>=0.0.1 <0.1.0'
heimdallm --version
heimdallm models list --json

The installed command reaches https://api-staging.heimdallm.com/api/v1 and signs in through https://staging.heimdallm.com by default. The catalogue is public. Reuse an existing CLI login, including one saved by the heimdall-staging command, or a securely supplied HEIMDALLM_API_KEY for account operations. Check actual API access with heimdallm key --json; auth status --json only describes the stored profile.

If authorized Google/GitHub access or a browser session is available, the agent can complete normal sign-in itself. Otherwise it sends the human the login page, asks them to sign in or create an account and connect the installed CLI, and waits for access.

heimdallm login
# For a browser on another computer:
heimdallm login --manual

Keep the login terminal open. The approval page supplies a short-lived code for that terminal; restart login if it times out. Website sign-in alone does not connect the CLI. Existing keys can be supplied through the environment or imported using login --with-token < key.txt. Do not exchange passwords or long-lived API keys in chat.

A connected CLI does not imply a funded balance, a management key, or provider approval. Read the customer workflow or provider workflow for the relevant prerequisites. The CLI reference lists supported flags; authentication describes the existing authorization flow.

Connect over MCP

An agent that speaks the Model Context Protocol can use the marketplace as tools instead of shell commands: through the hosted server, or with heimdallm mcp once the CLI is connected. MCP server describes both and lists every tool.

DiscoverFind your next modelModel libraryAll models, versions, prices and capabilitiesBenchmarksMeasured quality, cost and time by serving configurationModel requestsAsk for a model, and vote on what is listed nextShowcaseImages, video and 3D made on the marketplaceProvidersCompare independent inference providersActivityMarketplace traffic and usageNetwork statusAvailability, latency and endpoint healthChatConversations, model settings and filesImage, video & 3DGenerate images, video and 3D assetsScene studioStage a shot in 3D, direct it and render it as a videoCoding playgroundBuild software with an AI agent on a machine of your ownOverview & routingIdentity, workspaces and routing preferencesBalance & depositsBalance, deposits, ledger and reserved fundsAPI keysKeys scoped to workspaces, limits and expirationOrganizationsTeams, members and shared workspacesRequest historyRequests, receipts, sandbox sessions and account historyReferralsInvitations and referral earningsPrivacyData settings, exports and deletionDocumentationQuickstart, SDKs, pricing and guidesAPI referenceInteractive endpoint referenceList your modelsProvider guide: requirements, the fee, payouts and what is measuredProvider payoutsMonthly statements, the marketplace fee and payout walletsProvider dashboardApply as a provider, add sources and track earnings