扣子智能体
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Yu Yang c7e027e065
fix: ChatSDK readme (#2182)
1 month ago
..
apps/coze-studio feat: Support for Chat Flow & Agent Support for binding a single chat flow (#765) 2 months ago
config feat: Support for Chat Flow & Agent Support for binding a single chat flow (#765) 2 months ago
infra refactor: IDL structure modification (#475) 3 months ago
packages fix: ChatSDK readme (#2182) 1 month ago
scripts fix: Fix pre-push-hook.sh to prevent fork users from syncing upstream… (#448) 3 months ago
.gitignore feat: manually mirror opencoze's code from bytedance 3 months ago
.npmignore feat: manually mirror opencoze's code from bytedance 3 months ago
.prettierignore feat: manually mirror opencoze's code from bytedance 3 months ago
.stylelintignore feat: manually mirror opencoze's code from bytedance 3 months ago
Dockerfile feat(ci): build frontend docker images (#588) 3 months ago
README.md docs: Add an explanation of how the frontend code is used (#182) 3 months ago
disallowed_3rd_libraries.json chore: replace all cn comments of fe to en version by volc api (#320) 3 months ago
rushx-config.json chore: setup package audit config (#340) 3 months ago
rushx-config.schema.json feat: manually mirror opencoze's code from bytedance 3 months ago

README.md

Coze Studio Frontend

This is the frontend project of Coze Studio, an AI Agent development platform built with monorepo architecture, based on React 18 and modern frontend technology stack.

🏗 Project Architecture

Core Technology Stack

  • Framework: React 18 + TypeScript
  • Build Tool: Rsbuild
  • Package Manager: Rush + PNPM
  • Routing: React Router v6
  • State Management: Zustand
  • UI Components: @coze-arch/coze-design
  • Internationalization: @coze-arch/i18n

Directory Structure

frontend/
├── apps/                    # Application layer
│   └── coze-studio/        # Main application
├── packages/               # Core packages
│   ├── agent-ide/         # AI Agent development environment
│   ├── arch/              # Architecture infrastructure
│   ├── common/            # Common components and utilities
│   ├── components/        # UI component library
│   ├── data/              # Data layer
│   ├── devops/            # DevOps tools
│   ├── foundation/        # Foundation infrastructure
│   ├── project-ide/       # Project development environment
│   ├── studio/            # Studio core features
│   └── workflow/          # Workflow engine
├── config/                # Configuration files
│   ├── eslint-config/     # ESLint configuration
│   ├── rsbuild-config/    # Rsbuild build configuration
│   ├── ts-config/         # TypeScript configuration
│   ├── postcss-config/    # PostCSS configuration
│   ├── stylelint-config/  # Stylelint configuration
│   ├── tailwind-config/   # Tailwind CSS configuration
│   └── vitest-config/     # Vitest testing configuration
└── infra/                 # Infrastructure tools
    ├── idl/              # Interface Definition Language tools
    ├── plugins/          # Build plugins
    └── utils/            # Utility libraries

🚀 Quick Start

Prerequisites

  • Node.js >= 21
  • PNPM 8.15.8
  • Rush 5.147.1

Install Dependencies

# Run in project root directory
rush install
# update
rush update

Development Mode

# Start development server
cd apps/coze-studio
npm run dev
# or use rushx
rushx dev

Production Build

# Build application
cd apps/coze-studio
npm run build
# or use rushx
rushx build

📦 Core Modules

Agent IDE

  • agent-ide: AI Agent integrated development environment
  • prompt: Prompt editor
  • tool: Tool configuration management
  • workflow: Workflow integration

Architecture Layer (arch)

  • bot-api: API interface layer
  • bot-hooks: React Hooks library
  • foundation-sdk: Foundation SDK
  • i18n: Internationalization support
  • bot-flags: Feature flags management
  • web-context: Web context utilities

Workflow Engine (workflow)

  • fabric-canvas: Canvas rendering engine
  • nodes: Node component library
  • sdk: Workflow SDK
  • playground: Debug runtime environment

Data Layer (data)

  • knowledge: Knowledge base management
  • memory: Memory system
  • common: Common data processing

🔧 Development Standards

Code Quality

  • Code formatting with ESLint + Prettier
  • TypeScript strict mode
  • Unit test coverage requirements
  • Team-based tier management (level-1 to level-4)

Team Collaboration

  • Rush-based monorepo management
  • Workspace dependency management
  • Unified build and release process

📄 License

Apache License 2.0