Architechture
High-level architecture design for CAI NETWORK AI Agent Platform:
Creating and customizing AI agents
Chatbox with agents
Publishing agents to a marketplace
Tokenizing AI agents
A referral system
Daily tasks to earn CAI Points
Core Modules:
User Module:
Auth (Email, Social, Connect Wallet)
Profile Management
Referral System (invite code, track referrals, bonuses, tasks)
AI Agent Module:
Create Agent (UI + Backend Logic)
Customize Agent (bio, category, personality, …)
Deploy Agent
Tokenize Agent (coming soon)
Marketplace Module:
Browse/ Search Agents
Agent Page (show details, demo, reviews, …)
Purchase (via CAI Points, fiat, crypto) (coming soon)
Reward Module:
Daily Tasks (login, interact with social, create agent, …)
One-time task
Point Engine (track Cai points, referrals points)
Tiered Rewards, Badges, leaderboard
Referral System:
Referrals CAI Points
Referral Code
Referrals Earning
Tech Stack:
Backend:
NestJS
PostgreSQL
Redis
TypeORM
Kafka
AI Agent Core:
OpenAI Assistant API
User-Assistant/Thread API Management
Vector DB : Azure CosmosDB
Fine-tuning : OpenAI
Blockchain Layer: Cardano
Infrastructure:
Docker
CI/CD : Github Actions
Last updated
