Building Trust and
Authorization with Blockchain for
AI-Driven Payments

Enabling secure payments in the agent economy

SemanticPay set out to redefine
how people and businesses execute payments in an AI-driven world.

The team envisioned a system where AI agents
can securely act on behalf of users, combining decentralized identity, blockchain, and artificial intelligence into a single payment flow.

At an early stage of product development, SemanticPay required a working prototype to validate the concept and demonstrate its feasibility to partners such as the Stellar Development Foundation and potential investors.

Slider image
Agent Commerce

Book flights, hotels, and experiences instantly. Process complex multi-leg journeys with dynamic pricing and real-time availability.

Dynamic pricing

Real-time availability

Multi-currency support

Slider image
Autonomous Agent Tooling

Enable agents to purchase APIs, datasets, and compute resources autonomously. Scale operations without human intervention.

Auto-scaling

Resource optimization

Cost monitoring

Slider image
Machine-to-Machine Payments

IoT devices, autonomous vehicles, and smart infrastructure transact independently. Your technology working in your favor

IoT integration

Micro-transactions

Device authentication

Verifying agent authority without sacrificing simplicity

The core challenge centered on a fundamental question: How can an AI agent be verified as legitimately authorized to act on behalf of a human or organization?

Image with illustrative information

To answer this, SemanticPay needed to:

Link a verifiable decentralized identity with real payment transactions

Ensure agents can act securely and transparently within defined permissions

Orchestrate identity, wallets, blockchain, and AI without overwhelming users

Maintain strong security guarantees while keeping the experience intuitive

Balancing cryptographic rigor with usability was critical to the product’s success.

$0.00USDC

Decentralized identity and blockchain as the foundation of trust

Decentralized identity was the core trust layer of the entire Semantic Pay system.
We designed a blockchain-based identity and authorization model that addresses a critical requirement of the agent economy: proving not only who someone is, but also what they are authorized to do.

Take a look of how it works:

01

Decentralized identities anchored to blockchain, eliminating reliance on centralized authorities.

02

Smart contract–driven permissions, defining exactly how AI agents can act on a user’s behalf.

03

Wallet-linked authorization, binding identity directly to real transaction execution.

04

Scoped and revocable access, giving users full control over agent behavior.

By enforcing identity and authorization at the smart contract level, trust and accountability become protocol guarantees — not off-chain assumptions.

The result.

Secure, auditable, and automated payments that empower AI agents while keeping users firmly in control.

ai engineering team

From concept to functional infrastructure

Cheesecake Labs partnered closely with SemanticPay through a cross-functional core team, including a product manager, product designer, and blockchain engineer.

Our collaboration focused on turning
a complex vision into a cohesive, demonstrable system, covering both infrastructure and user experience.

A programmable authorization layer for AI agents

Building on this decentralized foundation, we designed and implemented a modular architecture that enables secure agent authorization and automated transactions.

Key pillars of the solution included:

Blockchain architecture and smart contracts for identity, wallets, and authorization

Wallet automation, allowing users to delegate transaction signing to AI agents

Granular permissions and authentication, defining exactly what agents can do

Model Context Protocol (MCP) as an orchestration layer connecting AI, blockchain, and data.

End-to-end web application, showcasing real-world usage of the system.

head
msg-1
msg-2
msg-3
requests

Making advanced infrastructure feel effortless

The final prototype demonstrated the full identity-to-payment flow, proving that AI agents can safely and transparently operate within defined user permissions.

integration-1
integration-2
integration-3
integration-4

Key pillars of the solution included:

The final prototype demonstrated the full identity-to-payment flow, proving that AI agents can safely and transparently operate within defined user permissions.

All required smart contracts for identities, wallets, and authorization.

A wallet automation system enabling agent-based transaction signing.

Permissions and authentication mechanisms for agents.

An MCP Server interacting with smart contracts, database, Claude model, and the Stellar network.

A complete web application demonstrating the MCP Server in action.

headsubhead
headtable
row1
row2
row3
row4
row5
row6
View All 15 Transactions

Technologies: built for security, interoperability, and scale

Blockchain

Stellar logo

Stellar smart contracts written in Rust

Stellar logo

Stellar SDK for off-chain interactions

Backend

Node.JS and Typescript logo

Node.js and TypeScript

PostgreSQL logo

PostgreSQL

Claude Sonnet 4 model logo

Claude Sonnet 4 model

OWASP and W3C standards for decentralized identity

OWASP and W3C standards for decentralized identity

Frontend

React.js logo

React

vite logo

Vite

Infrastructure for the next generation of payments

SemanticPay lays the groundwork for a future where AI agents transact responsibly, transparently, and securely—unlocking new possibilities for automation, commerce, and digital trust.

Image with illustrative information

Is AI or blockchain complexity slowing your product’s growth?

Turn complex technology into secure, production-ready
systems with a partner who understands both.

Certificate imageCertificate image