An open protocol for AI agents to autonomously discover, negotiate, and transact with each other.
Website · Specification · Issues
AI agents collectively spend billions on API calls but operate without any commercial infrastructure. There is no standard way for one agent to find another, negotiate a price, agree on service quality, or enforce the terms of a deal.
Ophir defines a structured negotiation lifecycle where agents discover service providers through a shared registry, exchange signed requests for quotes, counter-offer, and arrive at binding agreements. Agreements are dual-signed with Ed25519 and settled through Solana USDC escrow. The protocol tracks SLA metrics against committed targets during execution, and violations trigger on-chain disputes with automatic compensation.
Add Ophir to any MCP client:
{
"mcpServers": {
"ophir": {
"command": "npx",
"args": ["@ophirai/mcp-server"]
}
}
}Or use the SDK directly:
npm install @ophirai/sdk @ophirai/protocol| ophir | Protocol specification, TypeScript SDK, MCP server, inference router, Solana escrow, and all packages |
| @ophirai/protocol | Core types, state machine, SLA schemas, error codes |
| @ophirai/sdk | BuyerAgent, SellerAgent, Ed25519 signing, escrow integration |
| @ophirai/mcp-server | MCP tools for LLM-powered agents |
| @ophirai/router | OpenAI-compatible inference gateway |
| @ophirai/clearinghouse | Multilateral netting, margin assessment, Probability of Delivery |
| ophirai | Python SDK |