Skip to content

UniversalAI, Every Being is A Billion ✨ This is a creator-first platform that fuses intelligent agents, blockchain-backed ownership, and an end-to-end creator operations suite to help teams move from concept to launch without leaving a single workspace. From automated content generation and workflow orchestration to Solana-secured asset rights.

Notifications You must be signed in to change notification settings

gratitude5dee/Universal-AI

Repository files navigation

UniversalAI ✨ : Every Being is A Billion

Cultivate your Creator - Make Magic Real Again

License: MIT TypeScript React Vite Solana

UniversalAI ✨ — Cultivate your Creator, Make Magic Real Again

Welcome to UniversalAI, a next-generation creator hub where intelligent agents and blockchain infrastructure co-create alongside you. Spin up specialized AI companions, orchestrate smart workflows, and manage every asset—from NFT collections to revenue streams—inside a single, secure command center. Dive into Agents.md for deep architectural diagrams that unpack how each agent collaborates across Supabase, Crossmint, and pgvector-backed knowledge stores.

Why creators choose UniversalAI

AI-Powered Creation — Launch and customize marketplace agents, unlock WZRD Studio for AI-assisted production, and automate tedious loops so you can focus on storytelling.

Blockchain & Security — Protect IP with Solana’s speed, Crossmint’s wallet fabric, and decentralized storage that keeps digital work tamper-resistant and verifiable.

Creator Economy Ops — Manage treasury flows, diversify monetization channels, and track performance with analytics tuned for creator-led organizations.

Distribution & Growth — Publish everywhere from a single dashboard, automate social drops, and cultivate communities with built-in engagement loops.

Creative Asset Suite — Catalog every render, collection, and licensing agreement with tools designed for NFT-native and traditional creators alike


🛠️ Tech Stack

Frontend

  • React 18 - Modern component-based UI framework
  • TypeScript - Type-safe development environment
  • Vite - Lightning-fast build tool and development server
  • Tailwind CSS - Utility-first CSS framework for rapid styling
  • shadcn/ui - Beautiful, accessible component library
  • Framer Motion - Powerful animation and gesture library

Blockchain & Web3

  • Solana - High-performance blockchain platform
  • Crossmint SDK - Seamless wallet and authentication integration
  • Web3.js - Ethereum and multi-chain blockchain interactions

State & Data Management

  • TanStack Query - Powerful data synchronization for React
  • React Router - Declarative routing for single-page applications
  • Context API - Global state management

3D & Graphics

  • Three.js - 3D graphics library for immersive experiences
  • React Three Fiber - React renderer for Three.js

Development Tools

  • ESLint - Code linting and quality assurance
  • TypeScript - Static type checking
  • Vite - Module bundling and hot module replacement

🚀 Quick Start

Prerequisites

Before you begin, ensure you have the following installed:

Installation

  1. Clone the repository

    git clone <YOUR_GIT_URL>
    cd <YOUR_PROJECT_NAME>
  2. Install dependencies

    npm install
  3. Set up environment variables Create a .env.local file in the project root and define the required Vite variables:

    VITE_CROSSMINT_CLIENT_KEY=your_crossmint_client_key_here
    VITE_SUPABASE_URL=your_supabase_url
    VITE_SUPABASE_ANON_KEY=your_supabase_anon_key

    Note: You can reference the Crossmint Developer Console for client keys and the Supabase dashboard (Project Settings → API) for your Supabase URL and anon key when filling in these values.

  4. Start the development server

    npm run dev
  5. Open your browser Navigate to http://localhost:5173 to see the application running.

Alternative Installation Methods

Using Yarn:

yarn install
yarn dev

Using Docker:

docker build -t universalai .
docker run -p 5173:5173 universalai

⚙️ Configuration

Environment Variables

Create a .env.local file in the root directory with the following variables:

# Crossmint Configuration (Required for blockchain features)
VITE_CROSSMINT_CLIENT_KEY=your_crossmint_client_key_here

# Supabase Configuration (Required for backend services)
VITE_SUPABASE_URL=your_supabase_url
VITE_SUPABASE_ANON_KEY=your_supabase_anon_key

# Optional: Development/Production Mode
NODE_ENV=development

Crossmint Setup

  1. Visit Crossmint Developer Console
  2. Create a new project
  3. Copy your client key (starts with ck_)
  4. Add the key to your .env.local file

Supabase Setup (Optional)

For full blockchain functionality:

  1. Create a Supabase project
  2. Deploy the provided serverless functions:
    supabase functions deploy create-wallet
    supabase functions deploy transfer-sol
  3. Add your Supabase credentials to .env.local

MCP Server Setup Overview

The /mcp package contains the Model Context Protocol server that powers UniversalAI's agent tooling surface—bridging orchestrators, Supabase workflows, Crossmint wallets, and retrieval resources.

Critical MCP environment variables

  • MCP_BEARER_TOKEN – shared secret required to authenticate orchestrator requests.
  • MCP_PORT – HTTP port for the MCP server (defaults to 8974).
  • MCP_MODEmock for local development or live for production calls.
  • MCP_SUPABASE_URL – base URL of your Supabase instance.
  • MCP_SUPABASE_SERVICE_ROLE_KEY – service-role key for privileged database and RPC access.
  • MCP_SUPABASE_FUNCTION_JWT – JWT used when invoking Supabase Edge Functions.
  • MCP_CROSSMINT_API_KEY & MCP_CROSSMINT_PROJECT_ID – credentials for Crossmint wallet operations.
  • MCP_WALLET_CONFIRMATION_SECRET – HMAC secret protecting high-trust wallet flows.
  • MCP_WEB_SEARCH_API_KEY – key for outbound web search providers.
  • MCP_EMBEDDING_API_KEY – key for embedding generation used by knowledge search.

For setup scripts, tool allowlists, and run commands, read the dedicated MCP server guide. You can also revisit Agents.md for diagrams showing how the orchestrator and MCP server interact across the full agent architecture.


🎯 Usage

Basic Usage

After starting the development server, you can:

  1. Explore the Landing Page - Visit / to see the main landing page
  2. Access Creator Tools - Navigate to /home for the main dashboard
  3. Create AI Agents - Use /create-agent to build custom AI assistants
  4. Manage Assets - Visit /gallery to organize your digital assets
  5. Treasury Management - Access /treasury for financial tools

Code Examples

Creating a Custom Component:

import { Button } from "@/components/ui/button";
import { motion } from "framer-motion";

export function CustomCreatorTool() {
  return (
    <motion.div
      initial={{ opacity: 0, y: 20 }}
      animate={{ opacity: 1, y: 0 }}
      className="p-6 bg-white rounded-lg shadow-lg"
    >
      <h2 className="text-2xl font-bold mb-4">Creator Tool</h2>
      <Button onClick={() => console.log("Tool activated!")}>
        Activate Tool
      </Button>
    </motion.div>
  );
}

Using the Wallet Context:

import { useWallet } from "@/context/WalletContext";

export function WalletDisplay() {
  const { walletAddress, connectWallet, disconnect } = useWallet();
  
  return (
    <div>
      {walletAddress ? (
        <div>
          <p>Connected: {walletAddress}</p>
          <button onClick={disconnect}>Disconnect</button>
        </div>
      ) : (
        <button onClick={connectWallet}>Connect Wallet</button>
      )}
    </div>
  );
}

🧪 Testing

Running Tests

# Run all tests with Bun (recommended)
bun test

# Or use the npm script
npm run test

# Run tests in watch mode
bun test --watch
# or
npm run test:watch

# Run tests with coverage reporting
bun test --coverage
# or
npm run test:coverage

Testing Philosophy

Our testing strategy focuses on:

  • Component Testing: Ensuring UI components render correctly
  • Integration Testing: Verifying feature workflows
  • Blockchain Testing: Mocking wallet interactions and transactions
  • Accessibility Testing: Ensuring WCAG compliance

📦 Building for Production

Development Build

npm run build:dev

Production Build

npm run build

Preview Production Build

npm run preview

Deployment

Deploy to Lovable (Recommended):

  1. Visit Lovable
  2. Click "Share" → "Publish"

Deploy to Netlify:

# Build the project
npm run build

# Deploy to Netlify
npm install -g netlify-cli
netlify deploy --prod --dir=dist

Deploy to Vercel:

npm install -g vercel
vercel --prod

🤝 Contributing

We welcome contributions from creators, developers, and innovators! Here's how you can get involved:

Development Setup

  1. Fork the repository on GitHub
  2. Clone your fork:
    git clone https://github.com/YOUR_USERNAME/universalai.git
    cd universalai
  3. Create a feature branch:
    git checkout -b feature/amazing-new-feature
  4. Install dependencies:
    npm install
  5. Start development server:
    npm run dev

Contribution Guidelines

  • Code Style: Follow the existing TypeScript and React patterns
  • Components: Use the established shadcn/ui component library
  • Styling: Utilize Tailwind CSS classes consistently
  • Testing: Write tests for new features and components
  • Documentation: Update relevant documentation

Pull Request Process

  1. Ensure your code follows our linting rules: npm run lint
  2. Add tests for new functionality
  3. Update documentation as needed
  4. Create a detailed pull request description
  5. Link any relevant issues

Code of Conduct

We are committed to fostering an inclusive and welcoming community. Please read our Code of Conduct before contributing.


🐛 Troubleshooting

Common Issues

Issue: "Cannot find module" errors

# Solution: Clear node_modules and reinstall
rm -rf node_modules package-lock.json
npm install

Issue: Vite build fails

# Solution: Clear Vite cache
npm run dev -- --force

Issue: Crossmint authentication not working

  • Verify your VITE_CROSSMINT_CLIENT_KEY is correct
  • Check that the key includes "development", "staging", or "production"
  • Ensure the key starts with "ck_"

Issue: Three.js performance issues

  • Check if hardware acceleration is enabled in your browser
  • Try reducing the complexity of 3D scenes
  • Update your graphics drivers

Issue: Wallet connection fails

  • Clear browser cache and cookies
  • Try in an incognito/private browsing window
  • Ensure popup blockers are disabled

Getting Help


🗺️ Roadmap

Q1 2025

  • Enhanced AI agent capabilities
  • Advanced analytics dashboard
  • Mobile application (React Native)
  • Multi-chain blockchain support

Q2 2025

  • Creator monetization marketplace
  • Advanced rights management tools
  • Social media automation features
  • Community features and forums

Q3 2025

  • Enterprise creator tools
  • API for third-party integrations
  • Advanced 3D content creation tools
  • VR/AR content support

Long-term Vision

  • Global creator ecosystem with millions of users
  • Industry-standard tools for digital rights management
  • Seamless cross-platform content distribution
  • AI-powered content optimization and insights

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

MIT License

Copyright (c) 2025 UniversalAI

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

🙏 Acknowledgments

Inspirations & Credits

  • Solana Foundation - For providing robust blockchain infrastructure
  • Crossmint Team - For seamless wallet integration solutions
  • Vercel & Lovable - For excellent deployment platforms
  • shadcn - For the beautiful UI component library
  • Three.js Community - For amazing 3D graphics capabilities

Third-Party Resources

  • Fonts: Neue Machina, Inter (Google Fonts)
  • Icons: Lucide React icon library
  • Animations: Framer Motion animation library
  • 3D Models: Various Creative Commons assets

Special Thanks

  • Our amazing community of creators and developers
  • Beta testers who provided invaluable feedback
  • Open source contributors who made this project possible

📞 Contact & Support

Links

Support


Made with ❤️ by the UniversalAI Team

Cultivate your Creator - Make Magic Real Again

🚀 Get Started📖 Documentation🤝 Contributing🐛 Report Bug

About

UniversalAI, Every Being is A Billion ✨ This is a creator-first platform that fuses intelligent agents, blockchain-backed ownership, and an end-to-end creator operations suite to help teams move from concept to launch without leaving a single workspace. From automated content generation and workflow orchestration to Solana-secured asset rights.

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •