Workflows & Recipes
Workflow Guides
Each workflow below shows what an agent needs to do, what the integration looks like without Hive, and how Hive reduces it to bounded tool calls through one connection.
Market Intelligence Agents
Without Hive, you integrate CoinGecko for spot prices, CCXT for exchange-level order flow, and build your own alerting logic to flag outliers. Three providers, three schemas, and a custom data pipeline before your agent can answer "what moved today?"
With Hive, your agent calls three tools and gets a market snapshot with price, liquidity, and outlier context.
Common tools
get_priceget_coins_market_dataget_gainers_losersget_tickerget_open_interest
Typical flow
- Pull spot pricing and market-cap context with
get_priceandget_coins_market_data - Add exchange-level order flow or derivatives context with
get_tickerandget_open_interest - Flag outliers with
get_gainers_losers
DeFi Strategy Monitoring
Without Hive, you scrape DeFiLlama for yields and TVL, normalize the response format, and maintain a separate pipeline for fee and treasury data. Every schema change breaks your agent.
With Hive, the agent queries yields, TVL, and fees through one connection with a consistent schema.
Common tools
get_yield_poolsget_protocol_tvlget_protocol_fee_summaryget_chain_feesdefillama_get_treasury
Typical flow
- Filter attractive pools with
get_yield_pools - Validate protocol scale with
get_protocol_tvl - Compare fee capture and treasury strength before surfacing an opportunity
Wallet Intelligence
Without Hive, you integrate wallet, DeFi position, transaction, and NFT APIs separately, then build custom logic to merge the data into a wallet profile. Multiple providers, mismatched schemas, and fragile glue code.
With Hive, your agent builds a wallet profile from one API key.
Common tools
get_wallet_balancesalchemy_get_token_balances_by_walletmoralis_get_wallet_defi_positionsmoralis_get_wallet_historyalchemy_get_nfts_by_wallet
Typical flow
- Start with balances and token exposure
- Add DeFi positions and transaction history
- Enrich with NFT ownership or chain activity for a broader wallet profile
Security Review
Without Hive, you integrate GoPlus for token checks, a separate dApp security provider, and Tenderly for transaction simulation. Your agent needs three different auth flows before it can gather enough evidence for a pass, block, or escalate decision.
With Hive, your agent runs the full security check through one connection.
Common tools
get_token_securitycheck_dapp_securitycheck_phishing_sitesimulate_evm_transactiontenderly_trace_transaction
Typical flow
- Check token or dApp risk
- Simulate the transaction before prompting the user to sign
- Trace suspicious activity if you need deeper inspection
Prediction Market Analytics
Without Hive, you integrate Codex directly and build custom data pipelines for market discovery, price tracking, and trade aggregation.
With Hive, the prediction market category is ready to query.
Common tools
codex_prediction_marketscodex_prediction_market_pricecodex_prediction_tradescodex_prediction_event_stats
Typical flow
- Discover markets for a category or network
- Track market price changes and trade flow
- Aggregate event-level statistics for reporting or agent ranking logic
Minimal REST Wrapper
import requests
def execute(tool: str, args: dict) -> dict:
response = requests.post(
"https://mcp.hiveintelligence.xyz/api/v1/execute",
headers={"Authorization": "Bearer YOUR_HIVE_API_KEY"},
json={"tool": tool, "args": args},
timeout=30,
)
response.raise_for_status()
return response.json()
market = execute("get_price", {
"ids": "bitcoin,ethereum",
"vs_currencies": "usd",
})