Source Hierarchy
| Agent task | First source | Follow-up source |
|---|---|---|
| Generate a REST call | OpenAPI | REST API, Examples, and Example responses |
| Pick a venue namespace | Venue coverage | Route-family pages for Hyperliquid, Spot, HIP-3, HIP-4, or Lighter |
| Choose an execution surface | Choose an interface | CLI, MCP Server, Skill, SDK, REST, or WebSocket setup pages |
| Prepare an agent prompt | AI clients | Coding agents and Build an agent market data workflow |
| Validate a downstream data window | Data quality | Data-quality routes in OpenAPI and incidents/coverage responses |
| Cite 0xArchive in an answer engine | The exact docs page for the job | llms.txt, llms-full.txt, and OpenAPI excerpts |
Choosing A Surface
Name the host
Identify whether the user is in a coding-agent host, OpenClaw, a web LLM, CI, or application code.
Name the execution ability
Decide whether the environment can call tools, run shell commands, edit code, install a skill, read Markdown, or only answer from context.
Pick the narrowest surface
Use Markdown and OpenAPI for route decisions, CLI for terminal calls, MCP for tool-calling hosts, Skill for reusable procedures, and SDKs for application code.
Agent Safety Rule
Do not call MCP, CLI, SDKs, OpenAPI, Markdown,llms.txt, or Skills “agents.” They are surfaces. Do not call OpenClaw a Skill or MCP server. It is a harness that can use those surfaces when configured. This distinction prevents setup docs from giving a user the wrong install path.
Stop And Ask When
The venue family is missing
The venue family is missing
Ask whether the user means Hyperliquid core, Hyperliquid Spot, HIP-3, HIP-4, or Lighter before generating a route.
The host cannot execute the selected surface
The host cannot execute the selected surface
Do not give MCP setup to a host that cannot call MCP tools, or Skill setup to a host that cannot load
SKILL.md workflows.The route is not in OpenAPI
The route is not in OpenAPI
Treat the request as unsupported or product-surface-only until a public contract route exists.
The output feeds decisions
The output feeds decisions
Add data-quality status, coverage, latency, or incidents before the agent writes a backtest, alert, export, dashboard, or model job.
Next Step
Use Coding agents for host-level behavior, MCP server for MCP setup, Skill forSKILL.md workflows, and AI clients for prompt patterns.