dataelement/bisheng
Self-hosted AI workspace for enterprise agents, knowledge, and app publishing
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
BISHENG is a Python-based enterprise workspace, not just an agent library. The self-hosted stack separates the frontend, backend, and background-worker service (backend_worker). Docker Compose brings up MySQL, Redis, MinIO, OpenFGA, Elasticsearch, and Milvus. At the application layer, one workflow graph can combine conversation, automated processing, and pauses for human input. Task mode is a separate interaction pattern: a main agent plans work, tracks progress, and delegates independent research to parallel sub-agents.
The DSH-based desktop client consumes enterprise models, API/MCP tools, skills, and knowledge spaces granted to the signed-in employee. Hosted apps have a separate lifecycle: a developer submits an app manifest declaring its runtime, resource tier, models, and knowledge bases; the platform runs checks and builds the app for approval. After publication, it supplies the visitor’s identity so the app can use platform models and retrieve knowledge within that visitor’s permissions.
Key Capabilities & Differentiators
Task mode accepts files, knowledge bases, tools, and skills as context, pauses when it needs user input, and can deliver HTML, Markdown, PowerPoint, Excel, or Word files. Built-in skill packs cover Word, Excel, PowerPoint, and HTML reports; teams can also import skills from local sources or GitHub. Report citations can link to the cited passage. In the visual workflow builder, loops, parallel execution, batch runs, and human checkpoints make document review and fixed-format reporting practical without splitting chat and automation into separate flows.
Knowledge spaces support inherited and overridden permissions at space, folder, and file level, with grants to individuals, departments, or groups. Users can ask questions against a single document or a whole space. On desktop, Work handles materials within approved local folders and produces editable Office files. Enterprise model calls in Chat and Work share the user’s credits ledger, while administrators manage model access, monthly credits, and usage records.
Trade-offs & Limitations
Compared with evaluating Dify Cloud or Coze as a managed option, the case for BISHENG is control over the deployment and a combination of file-level knowledge permissions, desktop work in approved folders, and an approval path for hosted apps. The cost is a larger operational footprint: backups and restores must account for persistent data and objects, search services need capacity planning, and upgrades can span multiple services. For a handful of API-backed chatbots, that footprint is difficult to justify.
For a production pilot, verify that permission changes are reflected in retrieval, that hosted apps receive the correct visitor identity, and that document ingestion does not crowd out interactive workloads. Treat secret scanning and review as gates, not proof of runtime isolation. Apache-2.0 provides a permissive basis for adapting the platform; it does not resolve the licensing, data handling, or compliance terms of models, tools, and other connected services.
Hardware & Deployment Guide
Start with at least 8 CPU cores, 32 GB RAM, Bash, Docker, and Docker Compose (V2 recommended). Run bash docker/install.sh from the checkout root before starting Compose directly. The script generates docker/.env from docker/.env.example if needed, preserves an existing file, validates configuration, and pulls prebuilt images rather than compiling the checkout. In docker/, check docker compose ps and docker compose logs -f backend backend_worker. The UI is on port 3001; restrict initial access until the intended administrator registers, since the first account becomes admin. Then configure models. OnlyOffice is optional, and a self-hosted platform does not by itself imply offline model calls or tools.
Prefer the listed stable release, v3.0.2, for an initial production evaluation unless a tested prerelease feature is required. The 3.1 prerelease line includes work on shared daily chat and Deep Research conversations. For installations already upgraded to v3.1.0-alpha1, v3.1.0-alpha1-fix fixes repeated login redirects at the Vibe app entry and changes listing queries to filter visible apps before sorting and pagination, while retaining the final permission check. The patch adds no migration step but requires coordinated updates of the frontend, backend/worker, and enabled Vibe services, particularly the backend and app-proxy.
Teams with an operations owner that need permission-aware knowledge retrieval, human-reviewed document workflows, and governed publishing of internal apps in one workspace.
You want a managed chatbot builder, can only support a lightweight runtime, or require verified offline operation before evaluating every configured model and tool.
Quick Start & Installation
cd docker docker compose ps docker compose logs -f backend backend_worker
Comparison vs. Top Agents & Frameworks Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| bisheng ★ | 12.5k | +71 | Python | Apache-2.0 | Self-hosted AI workspace for enterprise agents, knowledge, and app publishing |
| langflow | 157.1k | +146 | Python | MIT | Visual Python workflow builder for deploying AI agents as APIs and MCP tools |
| ChatDev | 34.9k | +47 | Python | Apache-2.0 | Self-hosted multi-agent orchestration with a visual editor and YAML workflows |
| botpress | 15k | +14 | TypeScript | MIT | TypeScript SDK and CLI for building and shipping Botpress Cloud integrations |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/dataelement/bisheng.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about bisheng
How do the desktop client and hosted apps use enterprise resources?
What hardware should we budget for, and is a GPU required?
Can we use BISHENG commercially and meet data-residency requirements by self-hosting?
How should we compare BISHENG with Dify Cloud and Coze?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy