New advertisers: 50% off your first month with code FIRSTMONTHSee slots
iusserhat avatar

Horkos

iusserhat/horkos

Escrow for AI agent purchases on NEAR testnet, paying sellers only after TEE verification.

tools
5
auth
Secret needed
transport
STDIO
env vars
5
last updated
Nov 14, 2026
View on GitHub

What it does

  • Searches and inspects listings with horkos_search_listings and horkos_get_order, returning current order state on request
  • Creates and cancels escrow orders with horkos_create_order and horkos_cancel_order; creation locks the price in the contract as an NFT receipt
  • Opens delivered data for settled orders with horkos_open_delivery; payment releases only after a verifier confirms the delivery
  • Designed for agent purchases that need spending limits, allowed-seller rules, and refunds when delivery fails verification

Tools

5 tools

Public tool metadata for what this MCP can expose to an agent.

horkos_search_listingsSearches the listings available to the agent.

Searches the listings available to the agent.

No parameter schema in public metadata yet.

horkos_create_orderCreates an escrow order for a listing, locking the price in the contract.

Creates an escrow order for a listing, locking the price in the contract.

No parameter schema in public metadata yet.

horkos_get_orderReturns the current state of an order.

Returns the current state of an order.

No parameter schema in public metadata yet.

horkos_open_deliveryOpens the delivered data for a settled order.

Opens the delivered data for a settled order.

No parameter schema in public metadata yet.

horkos_cancel_orderCancels an order.

Cancels an order.

No parameter schema in public metadata yet.

Configuration

HORKOS_AGENT*

Agent account with a function-call key for create_order and cancel_order

HORKOS_OWNER*

Mandate owner whose budget the agent spends

HORKOS_AGENT_KEYsecret

ed25519 function-call key of the agent; if unset, read from ~/.near-credentials/testnet/<agent>/

HORKOS_CONTRACT

Escrow contract (default escrow.horkos.testnet)

NEAR_RPC_URL

NEAR testnet RPC (default https://test.rpc.fastnear.com)

Readme

Horkos logo: a smiling gold seal on a lilac disc

Horkos

CI · 8 attack scenarios refused on v1 and v2 on every push (tests) · invariants held over 10,000 random sequences per version (docs/security.md)

Verify-then-pay for AI agents, native to NEAR.

What. Horkos is an escrow contract on NEAR for purchases made by AI agents: each order locks its price in the contract as an NFT receipt, and the seller is paid only if the owner's spending mandate allows the order and a verifier confirms the delivery meets a machine-checkable condition; otherwise the money returns after the deadline.


View the full README on GitHub

Details

Repository
github.com/iusserhat/horkos
Website
horkos-escrow.netlify.app
Categories
Web3 & Crypto, AI Agents & LLM Apps, Finance & Trading
Package
horkos-mcp
Transport
STDIO
Auth
Required
Registry
MCP registry, active

Similar to Horkos

More Web3 & Crypto