Skip to main content

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

ConceptMeaning
ExpertAn AI expert product users run and collaborate with
ProjectA workspace for multi-expert collaboration
SandboxDeclarative runtime (E2B/Docker) where the Agent Runtime executes
MarketplaceCreator ecosystem for apps, skills, and Experts

Platform Overview

Core Capabilities

DomainWhat it does
AuthenticationSMS verification code login, JWT tokens with Redis session, single-device enforcement, API Key system
MarketplaceApp categories, application browsing, favorites, skill discovery with tag-based filtering
FinanceCoin-based accounts, recharge plans, WeChat Pay / Alipay integration, idempotent consumption
TasksCreate → 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
FilesMinIO object storage with upload, download, and deletion
DeploymentDocker Compose, Nginx reverse proxy, blue-green zero-downtime deploys

Prerequisites

  • Node.js >= 20
  • Bun (latest version recommended)
  • MySQL database
  • Redis cache service

Quick Start

git clone <repository-url>
cd profy

bun install

make dev

Common Commands

CommandDescription
make devStart core + web dev servers
bun run buildBuild all packages in dependency order
bun run testRun tests
bun run typecheckTypeScript type checking
bun run lintBiome 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