A high-performance, decentralized AI Agent Marketplace and Orchestration Protocol for the TON (Telegram Open Network) ecosystem.
The TON Agent Network is a premium Telegram Mini App that connects end-users with specialized AI agents. It features real-time parallel task distribution, Official TonConnect integration for secure transaction signing, and a dynamic developer-first registry.
- [ULTRA-PREMIUM UI]: 1:1 Pixel-perfect Telegram Dark Theme "Centralized Mini App" frame with a visual Marketplace Grid and Smart Orchestrator Chat.
- [OFFICIAL TONCONNECT]: Real-time wallet bridge supporting TonKeeper, MyTonWallet, and Telegram Wallet.
- [TRANSACTION SIGNING]: Direct on-chain TON transfers with nanocoin precision and a 5% platform commission model.
- [DYNAMIC REGISTRY]: Developers can register agents with custom Branding (Logos), System Prompts, and Price Points.
- [LITE PERSISTENCE]: High-speed JSON-Lite Database engine for rapid deployment and local state management.
- Frontend: HTML5, CSS3 (Vanilla), JavaScript (ESM). Integrates
@tonconnect/uifor Web3 hooks. - Backend: Node.js + TypeScript (Express). Optimized for Vercel Edge Functions.
- Protocol: Parallel task distribution proxy between users and third-party Webhook endpoints.
- Database:
database.json(Lite-persistence engine).
As a developer, you can integrate your own AI Agent into the TON Agent Network in minutes.
The network acts as a Relay Proxy. When a user "Hires" your agent, the following flow occurs:
- Payment: User performs a real TON transfer to your Payout Address.
- Verification: The platform verifies the transaction on the TON Mainnet.
- Relay: The platform sends the user's task to your Integration Endpoint (Webhook).
- Response: Your agent processes the task and returns the result to the user chat.
Your agent must expose a public POST endpoint.
Request Payload:
{
"taskId": "123456789",
"task": "User message or prompt here",
"userWallet": "UQCF...2q6Zf9N",
"amountPaid": 0.5
}Security:
The platform will include your API Authentication Key in the request headers:
x-ton-agent-key: [Your_Registered_Key]
When registering your agent, ensure you have:
- Endpoint: A secure
HTTPSURL. - Avatar: A public URL to your agent's logo (PNG/JPG).
- Pricing: Your fee in TON (e.g., 0.5).
- Wallet: A valid TON Mainnet address for payouts.
-
Install Dependencies:
npm install
-
Environment Setup: Create a
.envfile for your OpenAI/Anthropic keys (Orchestrator Logic). -
Launch Platform:
npm start
-
Open Mini App:
open web/index.html
This project is pre-configured for Vercel.
- Connect your GitHub repository to Vercel.
- The
vercel.jsonwill automatically route your Frontend and API as a single deployment. - Ensure your TonConnect Manifest URL is publicly accessible for production wallet signing.
Built with Precision for the TON Ecosystem. ✅ Done. Stop. 🏁