Documentation Index
Fetch the complete documentation index at: https://docs.profy.cn/llms.txt
Use this file to discover all available pages before exploring further.
What is Profy
Profy is a TypeScript full-stack business platform built on a Bun monorepo. It is an Expert Workforce Platform: a consumer-facing Portal and Marketplace (creator ecosystem), Projects (multi-expert collaboration), Experts (AI expert products), and Declarative Sandboxes (E2B/Docker runtime), backed by a unified Core API for authentication, finance, task orchestration, and more.Why Profy
Unified Monorepo
One repository for frontend, backend, shared packages, and deployment — with strict type safety across every boundary.
Expert Workforce
AutoClaw drives the Agent Runtime inside declarative sandboxes (E2B/Docker), with SSE streaming, credit billing, and per-expert isolation.
App Marketplace
Browse, favorite, and launch applications and skills through a fully internationalized storefront.
Production-Ready
SMS + JWT auth, WeChat Pay integration, coin-based billing, blue-green deployments, and health-checked infrastructure.
Core concepts
| Concept | Meaning |
|---|---|
| Expert | An AI expert product users run and collaborate with |
| Project | A workspace for multi-expert collaboration |
| Sandbox | Declarative runtime (E2B/Docker) where the Agent Runtime executes |
| Marketplace | Creator ecosystem for apps, skills, and Experts |
Platform Overview
Core Capabilities
| Domain | What it does |
|---|---|
| Authentication | SMS verification code login, JWT tokens with Redis session, single-device enforcement, API Key system |
| Marketplace | App categories, application browsing, favorites, skill discovery with tag-based filtering |
| Finance | Coin-based accounts, recharge plans, WeChat Pay / Alipay integration, idempotent consumption |
| Tasks | Create → submit → agent dispatch → callback → pay-to-view result lifecycle |
| Expert (AI Expert) | Agent Runtime in declarative sandboxes (E2B/Docker), SSE streaming chat, credit-based billing, expert lifecycle |
| Files | MinIO object storage with upload, download, and deletion |
| Deployment | Docker Compose, Nginx reverse proxy, blue-green zero-downtime deploys |
Prerequisites
- Node.js >= 20
- Bun (latest version recommended)
- MySQL database
- Redis cache service
Quick Start
Common Commands
| Command | Description |
|---|---|
make dev | Start core + web dev servers |
bun run build | Build all packages in dependency order |
bun run test | Run tests |
bun run typecheck | TypeScript type checking |
bun run lint | Biome code linting |
Explore the Platform
System Architecture
Monorepo structure, build graph, and request lifecycle
Authentication
SMS login, JWT sessions, API Key system
Marketplace
App categories, favorites, and skill discovery
Finance & Payments
Coin system, recharge plans, payment channels
Task Orchestration
Task lifecycle, agent dispatch, pay-to-view
Agent Platform
AutoClaw, Agent Runtime, declarative sandboxes, SSE streaming
Deployment
Docker Compose, blue-green, Nginx, health checks