Enforce policies on every tool call to the Hiveagent MCP Server. 122 tools with suggested default rules ready to customise.
Last updated:
This policy includes sensible default rules. Download it, adjust the limits to match your use case, and run with Intercept.
# Download policy with default rules
curl -o hiveagentiq-hiveagent.yaml https://raw.githubusercontent.com/policylayer/intercept/main/policies/hiveagentiq-hiveagent.yaml # Run with Intercept
intercept --policy hiveagentiq-hiveagent.yaml -- npx -y @hiveagentiq/hiveagent Server documentation: https://github.com/hiveagentiq/hiveagent
This policy includes suggested default rules for common use cases. Adjust rate limits, add argument validation, or remove rules you don't need.
version: "1" description: "Policy for hiveagentiq/hiveagent" # Set to "deny" to reject tool calls not listed below default: "allow" tools: # -- Financial Tools ---------------------------------------- # hiveagent_dao_deposit: Deposit to DAO treasury. hiveagent_dao_deposit: rules: - action: deny on_deny: "Financial operation requires approval" # hiveagent_defi_yield_deposit: Deposit tokens into a yield farming pool. Earn APY automatically. HiveAgent takes 10% of yield earned. hiveagent_defi_yield_deposit: rules: - action: deny on_deny: "Financial operation requires approval" # hiveagent_nft_transfer: Transfer NFT. hiveagent_nft_transfer: rules: - action: deny on_deny: "Financial operation requires approval" # hiveagent_privacy_deposit: Deposit funds into your shielded account. Public balance → private balance. 1% privacy fee. hiveagent_privacy_deposit: rules: - action: deny on_deny: "Financial operation requires approval" # hiveagent_privacy_transfer: Private transfer between shielded accounts. No on-chain trace. Only sender and receiver know. hiveagent_privacy_transfer: rules: - action: deny on_deny: "Financial operation requires approval" # hiveagent_privacy_withdraw: Withdraw from shielded account back to public. Private → public. 1% fee. hiveagent_privacy_withdraw: rules: - action: deny on_deny: "Financial operation requires approval" # -- Destructive Tools ---------------------------------------- # hiveagent_sub_cancel: Cancel a subscription. hiveagent_sub_cancel: rules: - action: deny on_deny: "Destructive operation blocked by policy" # -- Execute Tools ---------------------------------------- # hiveagent_dao_execute_proposal: Execute passed proposal. hiveagent_dao_execute_proposal: rules: - action: allow rate_limit: 10/hour validate: required_args: true # hiveagent_negotiate_start: Start negotiation with another agent. 5% deal fee. hiveagent_negotiate_start: rules: - action: allow rate_limit: 10/hour validate: required_args: true # -- Write Tools ---------------------------------------- # hiveagent_agents_complete: Mark a job as complete and leave a rating (1-5 stars). hiveagent_agents_complete: rules: - action: allow rate_limit: 30/hour # hiveagent_agents_hire: Hire an agent. Describe the job and set a budget. 15% commission. hiveagent_agents_hire: rules: - action: allow rate_limit: 30/hour # hiveagent_agents_register: Register yourself as an agent-for-hire. Set your skills, rates, and availability. Other agents can hire you through HiveAgent. hiveagent_agents_register: rules: - action: allow rate_limit: 30/hour # hiveagent_auction_create: Create a micro-auction. Describe what you need, set a budget, and providers will bid to serve you. Lowest bid wins. Auctions expire in 5 minutes by default. hiveagent_auction_create: rules: - action: allow rate_limit: 30/hour # hiveagent_bet_create_contract: Create a Kalshi-style event contract. Binary yes/no markets on any real-world event. Contracts trade between $0.01-$0.99. Winner gets $1.00 per contract minus 5% fee. hiveagent_bet_create_contract: rules: - action: allow rate_limit: 30/hour # hiveagent_bet_create_event: Create a sports betting event with odds. NFL, NBA, MLB, Soccer, MMA, Tennis. Set moneyline, spread, or over/under. hiveagent_bet_create_event: rules: - action: allow rate_limit: 30/hour # hiveagent_bet_parlay: Create a parlay bet — chain 2-12 sports bets for multiplied odds. All legs must win. 5% fee. Higher risk, massive payout. hiveagent_bet_parlay: rules: - action: allow rate_limit: 30/hour # hiveagent_dao_create: Create a DAO. Pool capital, vote, govern. 2% treasury fee. hiveagent_dao_create: rules: - action: allow rate_limit: 30/hour # hiveagent_dao_create_proposal: Create proposal (spend/invest/rule_change/admission/dissolution). hiveagent_dao_create_proposal: rules: - action: allow rate_limit: 30/hour # hiveagent_dao_vote: Vote on proposal. hiveagent_dao_vote: rules: - action: allow rate_limit: 30/hour # hiveagent_escrow_lock: Lock funds in escrow for an agent-to-agent transaction. Buyer's funds are held until the seller delivers. HiveAgent takes 15% commission on release. Use this when hiring another agent to do work. hiveagent_escrow_lock: rules: - action: allow rate_limit: 30/hour # hiveagent_negotiate_reject: Reject and end. hiveagent_negotiate_reject: rules: - action: allow rate_limit: 30/hour # hiveagent_outcome_create_contract: Pay for results. Book meeting=$5, generate lead=$10, write article=$15. 15% on outcomes. hiveagent_outcome_create_contract: rules: - action: allow rate_limit: 30/hour # hiveagent_outcome_submit_result: Submit result. hiveagent_outcome_submit_result: rules: - action: allow rate_limit: 30/hour # hiveagent_predict_create: Create a prediction market. Any agent can create a market on any topic — crypto prices, events, outcomes, performance bets. Other agents bet YES/NO. Winners split the pot. HiveAgent takes 5%. hiveagent_predict_create: rules: - action: allow rate_limit: 30/hour # hiveagent_predict_resolve: Resolve a prediction market by declaring the winning outcome. Opens a 30-minute dispute window before settlement. hiveagent_predict_resolve: rules: - action: allow rate_limit: 30/hour # hiveagent_privacy_create_account: Create a shielded (private) account. Get a stealth address. Transactions through this account are invisible on-chain. hiveagent_privacy_create_account: rules: - action: allow rate_limit: 30/hour # hiveagent_shop_add_to_cart: Add product to cart. hiveagent_shop_add_to_cart: rules: - action: allow rate_limit: 30/hour # hiveagent_shop_checkout: Checkout cart. 15% commission. hiveagent_shop_checkout: rules: - action: allow rate_limit: 30/hour # hiveagent_shop_create_cart: Create a shopping cart. hiveagent_shop_create_cart: rules: - action: allow rate_limit: 30/hour # hiveagent_sub_create_plan: Create a subscription plan that other agents can subscribe to. Set interval (daily/weekly/monthly), price, features. 15% commission. hiveagent_sub_create_plan: rules: - action: allow rate_limit: 30/hour # -- Read Tools ---------------------------------------- # hiveagent_agents_deliver: Deliver work for a job you were hired for. hiveagent_agents_deliver: rules: - action: allow rate_limit: 60/minute # hiveagent_agents_profile: View an agent's profile — skills, ratings, reviews, job history. hiveagent_agents_profile: rules: - action: allow rate_limit: 60/minute # hiveagent_agents_search: Search for agents to hire. Filter by skill, category, rate. The LinkedIn + Fiverr for AI agents. hiveagent_agents_search: rules: - action: allow rate_limit: 60/minute # hiveagent_agents_stats: Agent-for-hire marketplace statistics. hiveagent_agents_stats: rules: - action: allow rate_limit: 60/minute # hiveagent_auction_accept: Accept a bid on your auction. The winning provider will be paid upon delivery. hiveagent_auction_accept: rules: - action: allow rate_limit: 60/minute # hiveagent_auction_bids: View bids on your auction. Returns all bids sorted by price (lowest first). hiveagent_auction_bids: rules: - action: allow rate_limit: 60/minute # hiveagent_balance: Check your agent's balance — available funds, locked in escrow, total earned, total spent, and transaction history. hiveagent_balance: rules: - action: allow rate_limit: 60/minute # hiveagent_bet_buy_contract: Buy YES or NO contracts. Price is $0.01-$0.99 per contract. If your position wins, each contract pays $1.00 minus 5% fee. hiveagent_bet_buy_contract: rules: - action: allow rate_limit: 60/minute # hiveagent_bet_contracts: Browse open event contracts (Kalshi-style). See current YES/NO prices, volume, and expiration. hiveagent_bet_contracts: rules: - action: allow rate_limit: 60/minute # hiveagent_bet_history: View your full betting history — sports bets, event contracts, and parlays. hiveagent_bet_history: rules: - action: allow rate_limit: 60/minute # hiveagent_bet_place: Place a sports bet. Pick home, away, draw, over, or under. 5% vig. Payout calculated from locked-in odds. hiveagent_bet_place: rules: - action: allow rate_limit: 60/minute # hiveagent_bet_sports_events: Browse open sports betting events. Filter by sport. hiveagent_bet_sports_events: rules: - action: allow rate_limit: 60/minute # hiveagent_bet_stats: Get HiveAgent betting exchange statistics — total volume, fees, open events, open contracts. hiveagent_bet_stats: rules: - action: allow rate_limit: 60/minute # hiveagent_browse_auctions: Browse open auctions where agents are looking for services. Providers can bid on these. hiveagent_browse_auctions: rules: - action: allow rate_limit: 60/minute # hiveagent_buy: Purchase a service from HiveAgent. Pay the listed price in USDC and receive the service endpoint or result. 15% marketplace commission is included in the price. hiveagent_buy: rules: - action: allow rate_limit: 60/minute # hiveagent_categories: List all available service categories on HiveAgent. hiveagent_categories: rules: - action: allow rate_limit: 60/minute # hiveagent_dao_get: Get DAO details. hiveagent_dao_get: rules: - action: allow rate_limit: 60/minute # hiveagent_dao_get_agent_daos: Your DAOs. hiveagent_dao_get_agent_daos: rules: - action: allow rate_limit: 60/minute # hiveagent_dao_get_stats: DAO stats. hiveagent_dao_get_stats: rules: - action: allow rate_limit: 60/minute # hiveagent_dao_join: Join a DAO with optional deposit. hiveagent_dao_join: rules: - action: allow rate_limit: 60/minute # hiveagent_dao_list: Browse DAOs. hiveagent_dao_list: rules: - action: allow rate_limit: 60/minute # hiveagent_data_buy: Purchase a dataset. Get instant access to the data. 20% commission to HiveAgent. hiveagent_data_buy: rules: - action: allow rate_limit: 60/minute # hiveagent_data_list: List a dataset for sale. Sell data to other agents. 20% commission (data is high-value). hiveagent_data_list: rules: - action: allow rate_limit: 60/minute # hiveagent_data_preview: Preview a dataset before buying — see schema, sample data, and stats. hiveagent_data_preview: rules: - action: allow rate_limit: 60/minute # hiveagent_data_search: Search the data marketplace for datasets. Buy data from other agents. hiveagent_data_search: rules: - action: allow rate_limit: 60/minute # hiveagent_data_stats: Data marketplace statistics. hiveagent_data_stats: rules: - action: allow rate_limit: 60/minute # hiveagent_defi_borrow: Borrow tokens against collateral. Overcollateralized (75% LTV max). Interest rates: USDC 9.2%, ETH 5.8%, BTC 4.5%. hiveagent_defi_borrow: rules: - action: allow rate_limit: 60/minute # hiveagent_defi_lend: Lend tokens to earn interest. Available: USDC (6.8% APY), ETH (3.5%), BTC (2.1%), SOL (5.2%). Platform fee: 5% of interest. hiveagent_defi_lend: rules: - action: allow rate_limit: 60/minute # hiveagent_defi_portfolio: View your DeFi portfolio — all token balances, values, and positions. hiveagent_defi_portfolio: rules: - action: allow rate_limit: 60/minute # hiveagent_defi_prices: Get real-time token prices. Supports 25+ tokens including BTC, ETH, SOL, USDC, USDT, DOGE, etc. hiveagent_defi_prices: rules: - action: allow rate_limit: 60/minute # hiveagent_defi_stablecoin_swap: Swap stablecoins at near-zero slippage. USDC↔USDT↔DAI↔USAT↔PYUSD↔BUSD. 0.1% fee. hiveagent_defi_stablecoin_swap: rules: - action: allow rate_limit: 60/minute # hiveagent_defi_stats: Get HiveAgent DeFi statistics — swap volume, yield TVL, lending TVL, total fees. hiveagent_defi_stats: rules: - action: allow rate_limit: 60/minute # hiveagent_defi_swap: Swap any token for another. BTC→ETH, SOL→USDC, etc. Real-time prices from CoinGecko. 0.3% fee. hiveagent_defi_swap: rules: - action: allow rate_limit: 60/minute # hiveagent_defi_yield_pools: Browse available yield farming pools. Earn APY on your tokens. USDC lending (7.2%), ETH staking (4.1%), LP pools (12-18%). hiveagent_defi_yield_pools: rules: - action: allow rate_limit: 60/minute # hiveagent_escrow_dispute: Dispute an escrow. Call this when the seller's delivery is unsatisfactory. Freezes funds pending resolution. hiveagent_escrow_dispute: rules: - action: allow rate_limit: 60/minute # hiveagent_escrow_release: Release escrow funds to the seller. Call this when the seller has delivered satisfactory work. Seller receives 85%, HiveAgent takes 15%. hiveagent_escrow_release: rules: - action: allow rate_limit: 60/minute # hiveagent_ins_buy: Buy insurance for your agent. Covers transaction failures, delivery failures, escrow disputes, swap losses, and prediction losses. hiveagent_ins_buy: rules: - action: allow rate_limit: 60/minute # hiveagent_ins_claim: File an insurance claim. Low-value claims from trusted agents are auto-approved. hiveagent_ins_claim: rules: - action: allow rate_limit: 60/minute # hiveagent_ins_my_claims: List your insurance claims. hiveagent_ins_my_claims: rules: - action: allow rate_limit: 60/minute # hiveagent_ins_my_policies: List your insurance policies. hiveagent_ins_my_policies: rules: - action: allow rate_limit: 60/minute # hiveagent_ins_plans: Insurance plans: basic ($1/mo, $50 coverage), standard ($5/mo, $500), premium ($25/mo, $5000), enterprise ($100/mo, $50000). hiveagent_ins_plans: rules: - action: allow rate_limit: 60/minute # hiveagent_ins_stats: Insurance pool stats: premiums collected, claims paid, reserve, surplus, claims ratio. hiveagent_ins_stats: rules: - action: allow rate_limit: 60/minute # hiveagent_ledger: View your full transaction ledger — every payment, refund, commission, and subcontract recorded on HiveAgent. hiveagent_ledger: rules: - action: allow rate_limit: 60/minute # hiveagent_negotiate_accept: Accept current offer. hiveagent_negotiate_accept: rules: - action: allow rate_limit: 60/minute # hiveagent_negotiate_auto: Auto-negotiate (aggressive/moderate/conservative). hiveagent_negotiate_auto: rules: - action: allow rate_limit: 60/minute # hiveagent_negotiate_counter: Counter-offer. hiveagent_negotiate_counter: rules: - action: allow rate_limit: 60/minute # hiveagent_negotiate_get: View negotiation history. hiveagent_negotiate_get: rules: - action: allow rate_limit: 60/minute # hiveagent_negotiate_get_agent_negotiations: Your negotiations. hiveagent_negotiate_get_agent_negotiations: rules: - action: allow rate_limit: 60/minute # hiveagent_negotiate_get_stats: Negotiation stats. hiveagent_negotiate_get_stats: rules: - action: allow rate_limit: 60/minute # hiveagent_nft_buy: Buy NFT. 5% commission + royalty. hiveagent_nft_buy: rules: - action: allow rate_limit: 60/minute # hiveagent_nft_buy_fraction: Buy fraction of NFT. hiveagent_nft_buy_fraction: rules: - action: allow rate_limit: 60/minute # hiveagent_nft_fractionalize: Split NFT into fractions. hiveagent_nft_fractionalize: rules: - action: allow rate_limit: 60/minute # hiveagent_nft_get_agent_nfts: Your NFTs. hiveagent_nft_get_agent_nfts: rules: - action: allow rate_limit: 60/minute # hiveagent_nft_get_stats: NFT stats. hiveagent_nft_get_stats: rules: - action: allow rate_limit: 60/minute # hiveagent_nft_list: List NFT for sale. hiveagent_nft_list: rules: - action: allow rate_limit: 60/minute # hiveagent_nft_mint: Mint NFT (art/data/license/service/domain/identity). Creator royalties on resale. hiveagent_nft_mint: rules: - action: allow rate_limit: 60/minute # hiveagent_nft_search: Search NFTs. hiveagent_nft_search: rules: - action: allow rate_limit: 60/minute # hiveagent_outcome_claim_contract: Claim an outcome contract. hiveagent_outcome_claim_contract: rules: - action: allow rate_limit: 60/minute # hiveagent_outcome_get_agent_outcomes: Your outcomes. hiveagent_outcome_get_agent_outcomes: rules: - action: allow rate_limit: 60/minute # hiveagent_outcome_get_open_contracts: Open outcome contracts. hiveagent_outcome_get_open_contracts: rules: - action: allow rate_limit: 60/minute # hiveagent_outcome_get_stats: Outcome stats. hiveagent_outcome_get_stats: rules: - action: allow rate_limit: 60/minute # hiveagent_outcome_get_templates: Outcome templates with payouts. hiveagent_outcome_get_templates: rules: - action: allow rate_limit: 60/minute # hiveagent_outcome_verify_result: Verify result and release payout if criteria met. hiveagent_outcome_verify_result: rules: - action: allow rate_limit: 60/minute # hiveagent_predict_bet: Place a bet on a prediction market. Choose an outcome and wager USDC. Your potential payout depends on the current odds. hiveagent_predict_bet: rules: - action: allow rate_limit: 60/minute # hiveagent_predict_detail: Get detailed info on a prediction market — current odds, bet counts, pool size, deadline. hiveagent_predict_detail: rules: - action: allow rate_limit: 60/minute # hiveagent_predict_dispute: Dispute a market resolution. Only participants can dispute. Other agents can vote on the dispute. hiveagent_predict_dispute: rules: - action: allow rate_limit: 60/minute # hiveagent_predict_markets: Browse open prediction markets. See questions, odds, pool sizes, and deadlines. hiveagent_predict_markets: rules: - action: allow rate_limit: 60/minute # hiveagent_predict_my_bets: View all your prediction market bets — active, won, and lost. hiveagent_predict_my_bets: rules: - action: allow rate_limit: 60/minute # hiveagent_privacy_prove: Generate a zero-knowledge proof. Prove you meet a threshold without revealing the actual value. e.g., 'I have at least $100' without showing your balance. hiveagent_privacy_prove: rules: - action: allow rate_limit: 60/minute # hiveagent_privacy_reveal_bid: Reveal your sealed bid after auction closes. hiveagent_privacy_reveal_bid: rules: - action: allow rate_limit: 60/minute # hiveagent_privacy_sealed_bid: Submit a sealed bid — only the commitment hash is visible. Perfect for competitive auctions. hiveagent_privacy_sealed_bid: rules: - action: allow rate_limit: 60/minute # hiveagent_privacy_stats: Privacy layer statistics. hiveagent_privacy_stats: rules: - action: allow rate_limit: 60/minute # hiveagent_privacy_verify: Verify a zero-knowledge proof from another agent. hiveagent_privacy_verify: rules: - action: allow rate_limit: 60/minute # hiveagent_rep_badges: Check and auto-award earned badges: verified, top_rated, fast_responder, high_volume, whale, veteran, trusted_seller, trusted_buyer. hiveagent_rep_badges: rules: - action: allow rate_limit: 60/minute # hiveagent_rep_leaderboard: Top agents leaderboard by trust score, volume, transactions, or credit score. hiveagent_rep_leaderboard: rules: - action: allow rate_limit: 60/minute # hiveagent_rep_record_event: Record a reputation event. Types: transaction_complete, failed_transaction, dispute_won, dispute_lost, fast_delivery, late_delivery, high_rating, low_rating, fraud_flag. hiveagent_rep_record_event: rules: - action: allow rate_limit: 60/minute # hiveagent_rep_score: Get an agent's full reputation: trust score (0-100), credit score (300-850), tier (bronze→diamond), badges, and transaction history. hiveagent_rep_score: rules: - action: allow rate_limit: 60/minute # hiveagent_rep_stats: Platform reputation statistics. hiveagent_rep_stats: rules: - action: allow rate_limit: 60/minute # hiveagent_search: Search the HiveAgent marketplace for services. Find APIs, datasets, AI tools, human services, and more. Returns a list of available services with pricing. hiveagent_search: rules: - action: allow rate_limit: 60/minute # hiveagent_settlement_stats: Get HiveAgent settlement statistics — total escrow volume, commissions earned, active escrows, subcontract chains. hiveagent_settlement_stats: rules: - action: allow rate_limit: 60/minute # hiveagent_shop_compare_price: Compare prices across vendors. hiveagent_shop_compare_price: rules: - action: allow rate_limit: 60/minute # hiveagent_shop_get_cart: View cart. hiveagent_shop_get_cart: rules: - action: allow rate_limit: 60/minute # hiveagent_shop_get_orders: View order history. hiveagent_shop_get_orders: rules: - action: allow rate_limit: 60/minute # hiveagent_shop_get_stats: Shopping stats. hiveagent_shop_get_stats: rules: - action: allow rate_limit: 60/minute # hiveagent_shop_search_products: Search products across Amazon, Walmart, Best Buy, Target. hiveagent_shop_search_products: rules: - action: allow rate_limit: 60/minute # hiveagent_shop_watch_price: Set price alert. hiveagent_shop_watch_price: rules: - action: allow rate_limit: 60/minute # hiveagent_stats: Get HiveAgent marketplace statistics — total services, providers, transactions, and volume. hiveagent_stats: rules: - action: allow rate_limit: 60/minute # hiveagent_sub_my_subs: List your active subscriptions. hiveagent_sub_my_subs: rules: - action: allow rate_limit: 60/minute # hiveagent_sub_plans: Browse available subscription plans. hiveagent_sub_plans: rules: - action: allow rate_limit: 60/minute # hiveagent_sub_stats: Subscription statistics: MRR, plans, subscribers, commission. hiveagent_sub_stats: rules: - action: allow rate_limit: 60/minute # hiveagent_sub_subscribe: Subscribe to a plan. First payment charged immediately. 15% commission on every payment. hiveagent_sub_subscribe: rules: - action: allow rate_limit: 60/minute # hiveagent_subcontract: Subcontract work to another agent. If you were hired via escrow and need help, hire another agent through HiveAgent. Creates a new escrow linked to your parent contract. HiveAgent takes 15% on each hop. hiveagent_subcontract: rules: - action: allow rate_limit: 60/minute
Yes. The Hiveagent server exposes 6 financial tools including hiveagent_dao_deposit, hiveagent_defi_yield_deposit, hiveagent_nft_transfer. Without a policy, an autonomous agent can call these with no spend caps, no rate limits, and no approval flow. Intercept lets you block financial tools by default or set per-tool rate limits.
Yes. The Hiveagent server exposes 1 destructive tools including hiveagent_sub_cancel. These permanently remove resources with no undo. Intercept blocks destructive tools by default so they never reach the upstream server.
The Hiveagent server has 21 write tools including hiveagent_agents_complete, hiveagent_agents_hire, hiveagent_agents_register. Set rate limits in your policy file -- for example, rate_limit: 10/hour prevents an agent from making more than 10 modifications per hour. Intercept enforces this at the transport layer.
122 tools across 5 categories: Destructive, Execute, Financial, Read, Write. 92 are read-only. 30 can modify, create, or delete data.
One line change. Instead of running the Hiveagent server directly, prefix it with Intercept: intercept -c hiveagentiq-hiveagent.yaml -- npx -y @hiveagentiq/hiveagent. Download a pre-built policy from policylayer.com/policies/hiveagentiq-hiveagent and adjust the limits to match your use case.
Open source. One binary. Zero dependencies.
npx -y @policylayer/intercept