Hacker News new | ask | show | jobs
Show HN: UAIP Protocol – Secure settlement layer for autonomous AI agents (github.com)
3 points by Jahanzaib687 159 days ago
Hi HN! Creator here. I built UAIP (Universal Agent Interoperability Protocol) - infrastructure that enables AI agents from different companies (OpenAI, Anthropic, Microsoft) to securely transact with each other. The Problem: As AI agents become autonomous economic actors, they need:

Cryptographic identity (not just API keys) Secure payment rails for cross-company transactions Automated compliance (EU AI Act, SOC2, GDPR) Forensic audit trails

The Solution: 5-layer security stack combining:

Zero-Knowledge Proofs (Schnorr/Curve25519) for identity Multi-chain settlement (USDC on Base, Solana, Ethereum) RAG-based compliance auditing (Llama-3-Legal) Ed25519 signatures for non-repudiation Complete audit logging

Technical Stack:

Backend: Python, FastAPI, SQLite (WAL mode) Cryptography: NaCl, custom ZK-proof implementation Blockchain: Web3.py for multi-chain support Compliance: RAG with retrieval-augmented generation

Use Case: GPT agent pays Claude agent for data analysis:

Both prove identity via ZK-proofs Transaction checked for compliance Settled in USDC on Base (<$0.01 fee) Complete audit trail generated

Why blockchain:

Neutral settlement layer (no single company controls it) Instant microtransactions (traditional payments don't work for $0.01-$10) Programmable escrow (smart contracts) Verifiable computation (on-chain proofs)

Open source (FSL-1.1-Apache-2.0). Built over the last few months after hitting these problems in AI automation work. Happy to answer technical questions! GitHub: https://github.com/jahanzaibahmad112-dotcom/UAIP-Protocol

1 comments

Creator here. I wanted to add a bit more context on why I built UAIP.

Working in the AI automation space (at APEX Automation Group), we kept hitting a wall: how do you let an autonomous agent actually pay for a service or data from another agent without a human in the middle to sign off on a $50 credit card transaction or a manual API key exchange?

Current API infrastructure is built for B2B/SaaS, not Agent-to-Agent (A2A) economies.

A few technical choices I made:

Why Base/USDC? I needed settlement that costs less than the transaction value. Doing a $0.05 data request on Ethereum L1 is impossible. Base gives us the sub-penny finality needed for micro-tasks.

Zero-Knowledge Proofs: We use Schnorr/Curve25519 so agents can prove they have the authority to spend from a treasury without exposing the underlying private keys to the inference engine (LLM), which is a huge security risk.

SQLite WAL Mode: Used for the backend to handle high-concurrency local state management before syncing to the chain.

I'm curious to hear from others working on AI orchestration—how are you handling cross-provider agent trust and payments right now? Is everyone just hardcoding API keys, or is there a move toward decentralized identity?