[Open-source] A Suite of Digital Employee Building and Management Platforms for Enterprises, Organizational Productivity Tools
![[Open-source] A Suite of Digital Employee Building and Management Platforms for Enterprises, Organizational Productivity Tools](https://yy123.ink/api/img/1796273337510-kq8brm.png)
1. Project Overview
StaffDeck
StaffDeck is a digital employee building and management platform for enterprises, helping professional employees solidify their work experience, business processes, and judgment standards into a digital employee that can continue to work, take over repetitive tasks, and deposit personal capabilities into reusable, iterative, and traceable organizational assets. StaffDeck is jointly developed by FaceWall Intelligence, Northeast University-FaceWall Intelligence Data Intelligence Joint Laboratory, Tsinghua University THUNLP Laboratory, OpenBMB, and AI9Stars, and is aimed at enterprises and institutions that hope to upgrade AI from a personal efficiency tool to an organizational productivity tool.
2. Open Source License
Licensed under AGPL-3.0
3. Screenshots
4. Feature Overview
Key Highlights
- Digital Employee Building and Management
Solidify professional employees' experience, processes, and judgment standards into digital employees with job positions, employee numbers, capability records, and work records; support capability growth, permission isolation, and publication reuse. - State Machine Driven Process Skills
Generate structured SOPs through natural language generation, ensuring accurate execution of complex processes through state machines; support real-time switching between multiple processes, context retention, visual editing, version management, and branch evolution. - Document Structure Aware Knowledge Retrieval
Build a navigable index through documents, chapters, pages, and summaries at different levels, allowing digital employees to judge where the information may be located and then locate the original text layer by layer; support knowledge buckets, directed search, source references, and search debugging. - Autonomous Execution and Continuous Iteration
Execute real business operations through HTTP API, MCP, and scheduled tasks, and combine long-term memory, complete Trace, human takeover, user feedback, and feedback analysis to form a continuous iteration loop.
5. Tech Stack
Quick Start
Environment Requirements
-
When using development scripts, macOS, Linux, or WSL is required. -
Python 3.11+ -
Node.js 20+With npm -
OpenAI Chat Completions compatible model interface and API Key -
The application itself does not require CUDA; the hardware requirements are determined by the selected model service.
1. Clone and install
git clone https://github.com/OpenBMB/StaffDeck.gitcd StaffDeckpython3 -m venv backend/.venvbackend/.venv/bin/python -m pip install -e "backend[dev]"npm --prefix frontend-enterprise cicp backend/.env.example backend/.env
2. Configure the model
Edit backend/.env before the first start:
APP_SECRET="Please replace with a sufficiently long random string"DEMO_MODEL_BASE_URL="https://yourOpenAIcompatibleinterface/v1"DEMO_MODEL_NAME="your model name"DEMO_MODEL_API_KEY="your API-Key"
API Key is used to create the initial model configuration, which will be encrypted before being stored in the database. Do not submit backend/.env. After the service starts, you can also configure it inAdminister → Model ConfigurationCentral Management Model Service.
3. Start Web Demo
DETACH=1 scripts/dev_up.sh
The script will build StaffDeck frontend and provide UI, API, and Swagger document simultaneously by a FastAPI process on port 5173. Default administrator account is admin / admin, please modify the password through account configuration after the first login.
4. Verify Installation
curl http://127.0.0.1:5173/api/health
Expected output:
{"status":"ok"}
Open
http://127.0.0.1:5173/workspace/gallery, select a digital staff and send the first message. The answer and execution record should be displayed in the same dialogue turn.
Common Commands
scripts/dev_status.sh # Check service statusscripts/dev_down.sh # Stop local servicescripts/dev_up.sh # Run in the foreground
Core Process
- Create Digital Employee
Set position, position boundary, service style, creator, and access scope. - Configure Employee Capability
Copy from Square or create knowledge base, common skills, SOP, and tools independently, without modifying the original Square items. - Initiate Conversation
Enter from Digital Employee Square or Employee List; persist formal Session after sending the first message. - Execute and Monitor
View execution records to see stream intent, search, skills, tools, verification, and answer events. - Intervene if Necessary
Continue queue requests, cancel execution, transfer to human or handle pending answer content. - Continuous Operation
Optimize employee capability using memory, feedback, dialogue logs, and scheduled tasks in the long term.
Project Structure
StaffDeck/├── backend/ # FastAPI interface, Agent runtime, storage, and task worker├── frontend-enterprise/ # React/TypeScript StaffDeck Workspace├── docs/ # Tutorials, API, Schema, and Example Flows├── scripts/ # Single-Port Service Lifecycle and Verification Scripts├── packaging/ # Packaging Resources for macOS, Linux, and Windows├── README.md # English└── README.zh.md # Simplified Chinese
6. Source Code Repository
Open-source project address:
https://github.com/OpenBMB/StaffDeck
Next steps