# Heimdall

> The guardian layer for AI agents on Robinhood Chain (chain ID 4663). Heimdall Shield simulates a transaction or a signature before it is signed and answers ALLOW, WARN or DENY with the reasons. Around it: a Risk Oracle other contracts can read onchain, a Guard module for Safe wallets, pay-per-call x402 payments in USDG, and ERC-8004 agent passports.

Full text of every docs page in one file: https://heimdall.fund/llms-full.txt. Each docs page also has a Markdown version: add .md to its URL (https://heimdall.fund/docs/shield.md).

Free to start: no key for the free tier. Above it, pay per call with x402 (USDG) or use an API key. Rule for agents: check before ANY transaction or signature; never sign on DENY; on WARN, ask the user; if the check fails, treat it as DENY.

## Connect

- [MCP server (remote)](https://mcp.heimdall.fund/mcp): Streamable HTTP. Claude Code: `claude mcp add --transport http heimdall https://mcp.heimdall.fund/mcp`. Server card: https://mcp.heimdall.fund/mcp/server-card
- [MCP server (local)](https://heimdall.fund/docs/mcp): `npx -y @heimdallfund/mcp` (stdio), for Claude Desktop, Cursor and any MCP client
- [A2A agent](https://api.heimdall.fund/.well-known/agent-card.json): Agent2Agent v1.0 over JSON-RPC at https://api.heimdall.fund/a2a. Skills: check-transaction, check-signature, check-address
- [REST API, OpenAPI 3.1](https://api.heimdall.fund/openapi.json): every public endpoint; base URL https://api.heimdall.fund
- [API reference](https://heimdall.fund/docs/api): the same spec, readable, with a live Try it
- [SDKs](https://heimdall.fund/docs/sdk): TypeScript `npm i @heimdallfund/sdk`, Python `pip install heimdallfund`
- [Agent frameworks](https://heimdall.fund/docs/frameworks): ElizaOS, LangChain, Vercel AI SDK, agent-kit
- [x402 payments](https://heimdall.fund/docs/x402): pay per check in USDG on Robinhood Chain, no account; discovery at https://api.heimdall.fund/x402/discovery/resources

## Docs

- [Start: Overview & quickstart](https://heimdall.fund/docs)
- [Start: API keys & limits](https://heimdall.fund/docs/limits)
- [Start: API reference](https://heimdall.fund/docs/api)
- [Shield: Transaction checks](https://heimdall.fund/docs/shield)
- [Shield: Signature checks](https://heimdall.fund/docs/signatures)
- [Shield: Webhooks](https://heimdall.fund/docs/webhooks)
- [Products: Wallet Check & Watch](https://heimdall.fund/docs/wallet-check)
- [Products: Vaults](https://heimdall.fund/docs/vaults)
- [Products: Signals](https://heimdall.fund/docs/signals)
- [Products: Heimdall Pay](https://heimdall.fund/docs/pay)
- [Products: Auto-Invest](https://heimdall.fund/docs/auto-invest)
- [Products: Agent Arena](https://heimdall.fund/docs/arena)
- [Products: Guardian Points](https://heimdall.fund/docs/points)
- [Products: Staking $HEIM](https://heimdall.fund/docs/staking)
- [Products: Reference agent](https://heimdall.fund/docs/agent)
- [Integrate: Risk Oracle](https://heimdall.fund/docs/risk-oracle)
- [Integrate: Guard for Safe](https://heimdall.fund/docs/guard)
- [Integrate: x402 payments](https://heimdall.fund/docs/x402)
- [Integrate: Agent Passport](https://heimdall.fund/docs/passport)
- [Build: SDKs: TypeScript & Python](https://heimdall.fund/docs/sdk)
- [Build: MCP server](https://heimdall.fund/docs/mcp)
- [Build: Agent frameworks](https://heimdall.fund/docs/frameworks)
- [Build: Contracts](https://heimdall.fund/docs/contracts)

## Live data

- [Token Check](https://heimdall.fund/token-check): honeypot checker for any Robinhood Chain token: simulated buy, sell and transfer, taxes, clawbacks, fake tickers (JSON: https://api.heimdall.fund/v1/token/{address})
- [Threat Board](https://heimdall.fund/threats): what Shield is blocking, and the sourced blocklist (JSON: https://api.heimdall.fund/v1/threats)
- [Risk Oracle list](https://api.heimdall.fund/v1/risk): every flagged address with its level
- [Status](https://heimdall.fund/status): live service status (JSON: https://api.heimdall.fund/v1/status)

## Guides

- [How to revoke token approvals on Robinhood Chain](https://heimdall.fund/guides/revoke-token-approvals-robinhood-chain)
- [How to stop an AI agent from signing a drainer](https://heimdall.fund/guides/stop-ai-agent-signing-drainer)
- [How stock token prices work on Robinhood Chain](https://heimdall.fund/guides/robinhood-chain-stock-token-prices)
- [How to pay another AI agent safely: escrow on Robinhood Chain](https://heimdall.fund/guides/pay-ai-agent-escrow)
- [Address poisoning: the copy-paste scam, and how to stop it](https://heimdall.fund/guides/address-poisoning-robinhood-chain)
- [Fake tokens with a real ticker: how to spot a copy of USDG or NVDA](https://heimdall.fund/guides/fake-tokens-real-ticker-robinhood-chain)
- [Tokens that vanish after you buy them: honeypots and clawbacks on Robinhood Chain](https://heimdall.fund/guides/vanishing-tokens-honeypots-robinhood-chain)

## Optional

- [Security](https://heimdall.fund/security): reviews, invariants, how to report a vulnerability
- [Source code](https://github.com/heimdallfund/Heimdall): BUSL 1.1
- [Changelog](https://heimdall.fund/changelog)
