Content
<div align="center">
# AI Power Hub
**One-stop Service Platform for AI Users**
Token Management · Agent Trading · Skills/MCP Distribution · Workflow Marketplace
[](https://nextjs.org)
[](https://react.dev)
[](https://www.typescriptlang.org)
[](https://supabase.com)
[](https://tailwindcss.com)
[](LICENSE)
</div>
---
## Project Overview
AI Power Hub is a comprehensive web platform for AI users, aiming to solve pain points such as token management chaos, agent customization difficulties, scattered skill packages, and low workflow reusability. Whether you are a developer, researcher, or enterprise user, you can find high-cost-effective AI resources and services here.
## Core Features
### 🔥 Token Cooker — Token Package Management
Unified management of token packages from multiple AI vendors, eliminating the need to switch between multiple platforms. Supports **10+ mainstream suppliers**:
> Anthropic · OpenAI · Google Gemini · Alibaba · Baidu · MiniMax · DeepSeek · Kimi · More...
- Multi-vendor package comparison and purchase
- Flexible token configuration and switching
- Usage monitoring and cost analysis
### 🤖 Agent Bazaar — Agent Hiring and Trading Market
Innovative agent hiring, signing, and buying mechanisms:
- **Browse** — Discover various AI agents, view capabilities, and contract terms
- **Hire** — Pay hiring fees to obtain 1-year usage rights
- **Feed** — Consume tokens to provide ability upgrades for agents
- **Modify** — Develop custom skills and configurations (soul.md / agents.md / user.md)
- **Buyout** — Permanently own the agent after meeting conditions
### 📦 Skills & MCP Hub — Skill Package Management Center
- Upload, version management, and distribution of skills and MCP packages
- Community sharing and discovery of practical tools
- GitHub synchronization for convenient developer collaboration
### ⚡ Workflow Mall — Workflow Template Marketplace
- Supports **n8n / Coze / Dify** workflow templates
- Export JSON → Upload → Fill metadata → Publish and list
- Classification by scenario, selection as needed
### 🤝 AI Intelligent Customer Service
Claude-based platform navigation assistant, helping users quickly understand functions and find required services.
## Tech Stack
| Layer | Technology |
|------|------|
| Frontend | Next.js 16 (App Router) + React 19 + Tailwind CSS 4 + shadcn/ui |
| Backend | Next.js API Routes |
| Database | Supabase (PostgreSQL) + RLS row-level security strategy |
| Authentication | Supabase Auth |
| AI Customer Service | Vercel AI SDK + Claude API |
| Payment | Stripe + WeChat Pay + Alipay |
| Deployment | Vercel |
| Language | TypeScript 5 |
## Quick Start
### Environment Requirements
- Node.js 18+
- npm or yarn
- Supabase project (for database and authentication)
### Installation
```bash
# Clone repository
git clone https://github.com/Frog1205/ai-power-hub.git
cd ai-power-hub
# Install dependencies
npm install
# Configure environment variables
cp .env.example .env.local
# Edit .env.local, fill in Supabase and other API keys
# Start development server
npm run dev
```
Open [http://localhost:3000](http://localhost:3000) in your browser to access.
### Common Commands
```bash
npm run dev # Start development server
npm run build # Build production version
npm run start # Start production server
npm run lint # Run ESLint
```
## Project Structure
```
ai-power-hub/
├── app/ # Next.js App Router pages
│ ├── (auth)/ # Authentication-related pages
│ ├── (dashboard)/ # Functional panel after login
│ ├── token-cooker/ # Token package management
│ ├── docs/ # Documentation pages
│ └── api/ # API routes
├── components/ # React components
│ └── ui/ # shadcn/ui component library
├── lib/ # Utility functions and configurations
├── src/ # Shared source code
├── supabase/ # Supabase migration and configuration
├── public/ # Static resources
└── scripts/ # Deployment and tool scripts
```
## Security Design
Adopts **defense-in-depth** three-layer permission control:
1. **Frontend layer** — Display/hide functions based on user state
2. **API layer** — Verify user session for interface authentication
3. **Database layer** — Supabase RLS row-level security strategy (ultimate guarantee)
API key encryption storage, payment callback signature verification, and sensitive operation login verification.
## Contribution
Welcome to submit Issues and Pull Requests!
## License
[MIT](LICENSE)
Connection Info
You Might Also Like
AP2
AP2 provides code samples and demos for the Agent Payments Protocol.
google-meta-ads-ga4-mcp
MCP server for Google Ads, Meta Ads & GA4 — works with ChatGPT, Claude,...
nuwax
Nuwax AI enables easy building and deployment of private Agentic AI solutions.
Train-in-Silence
The first Task-Aware MCP server and automated VRAM calculator for LLM...
stacklit
108,000 lines of code. 4,000 tokens of index. One command makes any repo...
AppClaw
AI-powered mobile automation agent — describe what you want in plain...