Elyrail documentation
Elyrail lets an AI agent act on Elysium and Hyperliquid without being able to exceed the limits its operator set, even if the agent is manipulated.
It has five parts:
- Wallet. Holds the key and runs every write through the policy, a simulation, an optional human approval and the kill switch, then signs and logs.
- Tools. 21 tools with strict inputs. Reads never sign. Writes always go through the wallet or, for Hyperliquid, the order checks.
- MCP server. Exposes the tools to Claude Desktop, Claude Code, Cursor and any MCP client.
- CLI. Operator commands: set up, check, lint and simulate policies, manage keystores, stop everything.
- Adapters. The same tools in the Vercel AI SDK and LangChain.
What it does not do#
- It does not custody anyone else's funds or route transactions through an Elyrail server. There is no Elyrail server.
- It does not let an agent edit its policy, its keys or the kill switch. No tool reaches them.
- On Hyperliquid it never withdraws or transfers. It signs with an agent (API) wallet, which Hyperliquid itself prevents from moving funds.
- It does not bridge HYPE or read HyperCore through Elysium precompiles yet. The bridge calls are undocumented and the precompile is not live.
Status#
Version 0.1.0, on npm as @elyrail/*. See Status for what has been verified against the live networks.
Where to go next#
- Quickstart: read-only on testnet in five minutes.
- Concepts: how an action travels from tool call to chain.
- Policy reference: every field.
- Security model: threats, mitigations and what remains.