MCPcopy Index your code
hub / github.com/VexaAIAgent/vexa-agent

github.com/VexaAIAgent/vexa-agent @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
229 symbols 700 edges 109 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Vexa

Vexa is a decentralized AI agent platform built on BNB Chain that enables no-code creation, automated tokenization, and innovative liquidity mechanisms, allowing AI agents to autonomously monetize and trade freely.

Core Innovations

No-Code Agent Factory

  • Drag-and-drop AI agent composition
  • Pre-built templates for Social/Game/DeFi agents
  • Automated Solidity contract generation

Tokenization Engine

  • Bonding curve-based pricing model
  • Agent-specific token issuance (ERC-20)
  • Liquidity pool auto-configuration

Cross-Agent Marketplace

  • Agent capability trading
  • Revenue-sharing smart contracts
  • Agent reputation system

Technical Architecture

  1. Protocol Layers
Layer Components Tech Stack
Presentation Web/Mobile/CLI React, Next.js, TypeScript
Agent Core Brain/Persona/Memory Python, LangChain
Blockchain Smart Contracts/AMM Solidity, Hardhat
Infra Nodes/Indexers BNB Chain, The Graph
  1. Smart Contract Suite
  2. AgentFactory.sol: Agent deployment with ERC-721
  3. TokenBondingCurve.sol: Dynamic pricing model
  4. AgentExchange.sol: P2P agent trading

Getting Started

Prerequisites

  • Node.js v20+
  • Hardhat
  • BNB Chain RPC URL

Installation

  1. Frontend Setup
cd character-dashboard
npm install
npm run dev
  1. Backend Setup
cd character-creator
npm install
npm start

Key Features Deep Dive

Agent Creation Flow

sequenceDiagram
    User->>UI: Select Agent Template
    UI->>Blockchain: Deploy Agent Contract
    Blockchain->>UI: Mint Agent NFT
    UI->>AI: Initialize Brain Model
    AI->>UI: Return Agent API

Tokenomics Model

  • Agent Token (ERC-20): 80% to bonding pool
  • Platform Token: Governance + fee capture
  • Revenue Split: 70% creator / 20% LP / 10% treasury

Contributing

  • Fork the repository
  • Create feature branch (git checkout -b feat/amazing-feature)
  • Submit Pull Request

Extension points exported contracts — how you extend this code

ButtonProps (Interface)
(no doc)
swap-component/swap-component/src/components/ui/button.tsx
Voice (Interface)
(no doc)
character-dashboard/src/types.ts
State (Interface)
(no doc)
swap-component/swap-component/src/hooks/use-toast.ts
Settings (Interface)
(no doc)
character-dashboard/src/types.ts
CharacterData (Interface)
(no doc)
character-dashboard/src/types.ts
Message (Interface)
(no doc)
character-dashboard/src/types.ts
BuildStage (Interface)
(no doc)
character-dashboard/src/types.ts

Core symbols most depended-on inside this repo

cn
called by 67
character-dashboard/src/lib/utils.ts
cn
called by 31
swap-component/swap-component/src/lib/utils.ts
storeMemory
called by 21
character-creator/server/db/database.js
updateBuildStage
called by 19
character-dashboard/src/components/CreateCharacterPage.tsx
addBuildLog
called by 12
character-dashboard/src/components/CreateCharacterPage.tsx
addLog
called by 12
character-dashboard/src/components/createui/GameForm.tsx
addLog
called by 11
character-dashboard/src/components/createui/CharacterForm.tsx
shortenAddress
called by 7
character-dashboard/src/components/CharacterDashboard.tsx

Shape

Function 155
Interface 34
Method 32
Class 8

Languages

TypeScript100%

Modules by API surface

character-creator/server/db/database.js14 symbols
character-dashboard/src/components/CharacterDashboard.tsx13 symbols
character-creator/server/services/storage.js13 symbols
character-dashboard/src/components/CreateCharacterPage.tsx12 symbols
character-dashboard/src/components/ChatInterface.tsx11 symbols
ai-brain/src/index.ts11 symbols
swap-component/swap-component/src/hooks/use-toast.ts9 symbols
character-dashboard/src/components/createui/TerminalComponent.tsx9 symbols
character-dashboard/src/components/chatui/GameChatInterface.tsx9 symbols
character-dashboard/src/types.ts8 symbols
character-dashboard/src/components/createui/GameForm.tsx8 symbols
character-dashboard/src/components/createui/CharacterForm.tsx8 symbols

For agents

$ claude mcp add vexa-agent \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page