Zen7 Payment Agent
Z

Zen7 Payment Agent

The Zen7 Payment Agent is the first practical implementation of a DePA decentralized payment agent. It adopts a multi - agent collaborative architecture, supports the A2A and MCP protocols, and provides multi - chain and multi - currency payment solutions for AI agents and Dapp applications, enabling automated cryptocurrency payments and LLM - driven intent recognition.
3 points
4.5K

Installation

Copy the following command to your Client for configuration
Note: Your key is sensitive information, do not share it with anyone.

🚀 Zen7 Payment Agent

Zen7 Payment Agent is the first practical implementation of DePA (Decentralized Payment Agent), pioneering the next generation of intelligent payment infrastructure. It fully realizes the core functionalities of DePA and successfully deploys innovative application cases in the agentic commerce domain.

🚀 Quick Start

  • Quick Start Guide - A detailed guide for setting up and running the project.

Environment Setup

  • Basic Environment Installation - Install Python 3.13+, the uv tool, and Git.
  • Blockchain Environment Configuration - Set up the blockchain environment and prepare a test wallet.

Development Guide

  • Development Guide - A guide for developers on extension and customization.

✨ Features

As the first practical project in the DePA ecosystem, Zen7 implements several key features:

  • Automated encrypted payments between agents.
  • A "permissionless authorization" mechanism.
  • LLM-driven intent recognition and interaction.

Zen7 Payment Agent adopts a multi-agent collaborative architecture, supporting both A2A and MCP protocols, as well as custodial and non-custodial payment models. It offers a comprehensive payment solution for AI Agents and native Dapp applications, with multi-chain, multi-currency, multi-wallet support, high-frequency transactions, gasless operations, and passwordless authentication.

📚 Documentation

Navigating the Repository

This repository contains the complete implementation of Zen7 Payment Agent, presenting the core components and architectural design based on the Zen7 Payment Agent (Decentralized Payment Agent) protocol.

Core Directory Structure

The core implementation of the project is located in the following key directories:

  • host_agent - The core implementation of the multi-agent collaborative architecture. The host agent uses the gemini-2.0-flash-lite model as the core coordinator, responsible for query understanding, state management, and response coordination. The sub-agent system (sub_agents/) contains three specialized agents:
    • payer_agent handles order creation for the payer, EIP-712 signature generation, and wallet balance verification.
    • settlement_agent focuses on the settlement process, confirming payment details, executing on-chain transactions, and monitoring transaction status.
    • payee_agent handles payee-related operations, receiving settlement notifications, confirming order creation, and notifying payment completion.
  • a2a_server & mcp_server - Protocol adaptation layer implementation, providing diverse integration methods.
    • a2a_server implements Google's Agent-to-Agent protocol using the A2AStarletteApplication framework, exposing agent capabilities through AgentCard, supporting inter-agent collaborative communication, and running on port 10000 by default.
    • mcp_server implements Model Context Protocol integration based on the FastMCP framework, encapsulating payment functionality as tool APIs, providing the core proceed_payment_and_settlement_detail_info tool, supporting SSE (Server-Sent Events) transport, and running on port 8015 by default.
  • services - Complete blockchain service implementation.
    • The signature service (execute_sign.py) provides EIP-712 typed data signing functionality, supporting permit signatures for USDC and DAI.
    • Transfer handlers are divided into custodial/ mode (backend manages wallets to simplify user experience) and non_custodial/ mode (users control private keys for enhanced security).
    • Constant configuration (constants.py) centrally manages blockchain network configurations, contract addresses, and chain IDs.
    • Permit execution (execute_permit.py) handles ERC-20 token authorization and permit execution.

Companion Console Demo Application

The companion console demo application is located in a separate Zen7-Console-Demo repository, providing users with a complete interactive interface and payment flow demonstration, allowing developers to intuitively experience the workflow of the entire payment system. It includes complete payment flows for both A2A and MCP clients in e-commerce scenarios.

  • Shopping Agent Client demonstrates how to use payment agent services in e-commerce scenarios, implementing features such as product browsing, ordering, and payment.

Technology Stack and Compatibility

Property Details
Supported Blockchain Networks Ethereum Sepolia, Base Sepolia Testnets
Compatible Token Standards USDC (Version 2), DAI (Version 1)
Signature Standard EIP-712 Typed Data Signing
Wallet Integration MetaMask, Coinbase Wallet

This design provides developers with a flexible testing environment while ensuring good compatibility with mainstream wallets and blockchain networks.

🔧 Technical Details

Security Considerations

  • Private Key Security: Private keys in the test environment are only for development; use secure key management solutions in production.
  • Network Environment: Currently supports testnets; production environments require corresponding mainnet configurations.
  • Token Management: Ensure test wallets have sufficient test tokens for transactions.
  • API Security: Configure appropriate authentication and authorization mechanisms in production environments.

📄 License

Apache License Version 2.0

Support

If you encounter issues or need help, please:

  • Check the relevant guides in the documentation directory.
  • Submit issues on GitHub Issues.
  • Contact the development team.

About Zen7 Labs

Zen7 Labs is dedicated to building the next generation of decentralized payment infrastructure, focusing on providing innovative payment solutions for Agentic Commerce. By simplifying blockchain payment experiences through AI agent technology, we are pioneering a new paradigm of payments in the agent economy era, making commercial interactions between agents more efficient, secure, and intelligent.

Citation

If you find Zen7 Payment Agent helpful in your research or project, please cite it as:

@misc{zen7paymentagent,
  author = {Zen7 Labs},
  title = {Zen7 Payment Agent: A Dedicated Payment Network for Every Intelligent Agent.},
  year = {2025},
  publisher = {GitHub},
  url = {https://github.com/Zen7-Labs/Zen7-Payment-Agent}
}

Alternatives

M
MCP
The Microsoft official MCP server provides search and access functions for the latest Microsoft technical documentation for AI assistants
10.1K
5 points
A
Aderyn
Aderyn is an open - source Solidity smart contract static analysis tool written in Rust, which helps developers and security researchers discover vulnerabilities in Solidity code. It supports Foundry and Hardhat projects, can generate reports in multiple formats, and provides a VSCode extension.
Rust
5.4K
5 points
D
Devtools Debugger MCP
The Node.js Debugger MCP server provides complete debugging capabilities based on the Chrome DevTools protocol, including breakpoint setting, stepping execution, variable inspection, and expression evaluation.
TypeScript
5.6K
4 points
S
Scrapling
Scrapling is an adaptive web scraping library that can automatically learn website changes and re - locate elements. It supports multiple scraping methods and AI integration, providing high - performance parsing and a developer - friendly experience.
Python
8.7K
5 points
M
Mcpjungle
MCPJungle is a self-hosted MCP gateway used to centrally manage and proxy multiple MCP servers, providing a unified tool access interface for AI agents.
Go
0
4.5 points
C
Cipher
Cipher is an open-source memory layer framework designed for programming AI agents. It integrates with various IDEs and AI coding assistants through the MCP protocol, providing core functions such as automatic memory generation, team memory sharing, and dual-system memory management.
TypeScript
0
5 points
N
Nexus
Nexus is an AI tool aggregation gateway that supports connecting multiple MCP servers and LLM providers, providing tool search, execution, and model routing functions through a unified endpoint, and supporting security authentication and rate limiting.
Rust
0
4 points
S
Shadcn Ui MCP Server
An MCP server that provides shadcn/ui component integration for AI workflows, supporting React, Svelte, and Vue frameworks. It includes functions for accessing component source code, examples, and metadata.
TypeScript
11.3K
5 points
G
Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
16.2K
4.3 points
D
Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
46.5K
4.3 points
N
Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
16.1K
4.5 points
M
Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
25.3K
5 points
U
Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
20.8K
5 points
F
Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
46.6K
4.5 points
M
Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
31.7K
4.8 points
C
Context7
Context7 MCP is a service that provides real-time, version-specific documentation and code examples for AI programming assistants. It is directly integrated into prompts through the Model Context Protocol to solve the problem of LLMs using outdated information.
TypeScript
67.0K
4.7 points
AIBase
Zhiqi Future, Your AI Solution Think Tank
© 2025AIBase