Heurist official mesh

From jiayaoqijia/cryptoskill · View interactive version

Heurist official mesh is an AI agent skill from the GitHub repository jiayaoqijia/cryptoskill. Access real-time crypto token data, DeFi analytics, wallet intelligence, project research, and blockchain insights through Heurist Mesh agents. Use when the user asks about token trends, DeFi protocols, wallet holdings, project due diligence, Twitter/X crypto sentiment, or deeper market analysis.

How to use this skill

Skill file

Heurist Mesh

Heurist Mesh is an open network of modular AI agent tools for cryptocurrency and blockchain data, accessible via a unified REST API.

When to Use

Use this skill when the user asks for crypto or Web3 intelligence that benefits from live data retrieval, including:

Recommended Agents and Tools

TrendingTokenAgent — Trending tokens and market summary

TokenResolverAgent — Find tokens and get detailed profiles

DefiLlamaAgent — DeFi protocol and chain metrics

TwitterIntelligenceAgent — Twitter/X data

ExaSearchDigestAgent — Web search with summarization

ChainbaseAddressLabelAgent — EVM address labels

ZerionWalletAnalysisAgent — EVM wallet holdings

ProjectKnowledgeAgent — Crypto project database

CaesarResearchAgent — Academic research

AskHeuristAgent — Crypto Q&A and deep analysis (Important: recommended for in-depth crypto topics)

Setup (must complete before making API calls)

At least one payment path must be configured. Do not call Mesh APIs until setup is verified.

Step 1: Choose one payment path

Step 2: Verify setup in `.env`

If none are configured, STOP and ask the user to set up a payment method. Do not make API calls without valid credentials.

Step 3: Fetch schema before tool calls

Use mesh_schema to confirm parameter names, required fields, and pricing before calling any tool. Cache the result per agent for the session — schemas do not change between calls:

GET https://mesh.heurist.xyz/mesh_schema?agent_id=TokenResolverAgent&agent_id=TrendingTokenAgent

Default pricing is in credits (1 credit = $0.01). Add &pricing=usd for USD-denominated prices with x402 or Inflow.

Then use configured credentials in requests:

# With API key
curl -X POST https://mesh.heurist.xyz/mesh_request \
  -H "Authorization: Bearer $HEURIST_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"agent_id": "TokenResolverAgent", "input": {"tool": "token_search", "tool_arguments": {"query": "ETH"}}}'

# With x402 — sign with cast (Foundry), no account or SDK needed
# See references/x402-payment.md for the full cast-based flow and helper script

Examples

Example 1: Trending tokens

User asks: "What tokens are trending right now?"

  1. Fetch schema: GET /mesh_schema?agent_id=TrendingTokenAgent
  2. Call tool: TrendingTokenAgent.get_trending_tokens
  3. Return top tokens with key metrics, then summarize notable moves

Example 2: Deep market question

User asks: "Give me a deep view on current market risk and opportunity."

  1. Run AskHeuristAgent.ask_heurist with the user question using deep mode
  2. Poll with AskHeuristAgent.check_job_status until complete

Error Handling

Discover More Agents

For full agent discovery workflow and examples, see references/discover-agents.md.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.