Star 历史趋势
数据来源: GitHub API · 生成自 Stargazers.cn
README.md

JiuwenSwarm Logo

JiuwenSwarm

Understands Your Intent, Evolves Autonomously — Swarm Collaboration for Complex Tasks

English · Chinese · Docs (EN) · Docs · Website · Swarm Skills Hub · GitCode

License Release Python Version OS Support

JiuwenSwarm_Introduction.mp4

JiuwenSwarm is an Agent system that makes multi-agent collaboration truly work. Designed for developers and teams who need to automate complex tasks, it helps users drive multi-agent collaboration, Skill self-evolution, and tool invocation through natural language — delivering end-to-end from intent to result. It runs on a single machine or across a cluster, and you can reach it from a browser, a terminal, or the chat apps you already use.

Why JiuwenSwarm

CapabilityValue
Multi-Agent CollaborationThe Leader decomposes a complex task and assembles teams, multi agents specialize and negotiate dynamically.
Distributed Agent SwarmLeader and Teammates deploy across processes and machines, coordinating at scale.
SwarmflowDeterministic multi-stage workflows via Python scripts: the Leader hands off between stage agents; supports HITL (human / human_session), team token budget, and TUI /swarmflows run-tree monitoring.
Skill Self-EvolutionAutomatically detects error signals and user dissatisfaction, then optimizes Skill definitions
Skill Hub SharingCapability assets are built once and reused everywhere, search, install, remix, and publish Skills through the Swarm Skills Hub
Auto HarnessEvaluation drive end-to-end optimization of the Harness itself, which learns and improves in practice with no model-weight training
AI Infrastructure CompatibilityCompatible with Huawei Cloud MaaS and other mainstream platforms, OpenAI-compatible APIs, and local models
Tool Permissions & SecurityEvery step is under your control, tools require approval before execution, file access goes through a whitelist, and sensitive operations are intercepted

Install

Desktop

One-click install, no environment setup — the quickest way to try JiuwenSwarm.

PlatformDownloadNotes
WindowsDownload Windows VersionFor Windows 10 / 11
macOSDownload macOS VersionFor Intel / Apple Silicon
HarmonyOSTry nowHarmonyOS PC, installed via the official site

Download and follow the installer prompts to get started.

On Linux, install via Command Line or from source below.

Command Line

# Install JiuwenSwarm
pip install jiuwenswarm

# Use China mirror (recommended)
pip install jiuwenswarm -i https://pypi.tuna.tsinghua.edu.cn/simple

# Initialize JiuwenSwarm (first-time setup)
jiuwenswarm-init

# Start JiuwenSwarm
jiuwenswarm-start

After launching, visit http://localhost:5173 to open the frontend.

To use TUI (terminal interface), open a new terminal after starting JiuwenSwarm:

# Install JiuwenSwarm-tui
pip install jiuwenswarm-tui

# Use China mirror (recommended)
pip install jiuwenswarm-tui -i https://pypi.tuna.tsinghua.edu.cn/simple

# Start JiuwenSwarm-tui
jiuwenswarm-tui

From Source

git clone https://github.com/openJiuwen-ai/jiuwenswarm.git
cd jiuwenswarm
uv venv
uv pip install -e .

For detailed installation instructions, see: Install Guide

Quick Start

Configure Model

JiuwenSwarm supports multiple model platforms: Huawei Cloud MaaS, OpenAI, DeepSeek, DashScope, SiliconFlow, OpenRouter and other OpenAI-compatible APIs, as well as local model deployment.

A default model is the one piece of configuration you cannot skip. Set it in the web UI under More → Configuration, or edit ~/.jiuwenswarm/config/config.yaml directly. The file is created on your first jiuwenswarm-start, and saving it reloads the config without a restart.

For example, with DeepSeek:

model_name: deepseek-v4-flash
api_base: https://api.deepseek.com
api_key: sk-your-api-key
model_provider: OpenAI

Start a Conversation

The workbench has two spaces, switched from the top-left selector: Work, for office, collaboration, and general tasks, and Code, for viewing and modifying code in a project directory .

Each conversation runs in one of two execution modes, picked from the selector in the chat input area:

ModeWhat it doesUse it for
Agent modeSingle agent handles tasks independently, supports task planning and dynamic adjustmentMost daily tasks, Q&A, code generation, etc.
Cluster modeMulti-agent collaboration mode, with a Leader orchestrating multiple specialized agentsLarge, complex tasks that need multi-role collaboration

Cluster Mode (default)

Example input:

Conduct an in-depth research on the new energy vehicle industry and generate an analysis report.

Agent Mode

Example input:

Check today's weather in Beijing, and recommend 3 books about artificial intelligence.

In IM channels and the TUI, the /mode command switches between finer-grained sub-modes (agent.plan, agent.fast, code.normal, code.team, team). See Modes.

By default, tools ask for approval before they run. If you would rather not confirm every step, adjust the policy in Tool Permissions & Security.

For detailed operation guide, see: Quick Start

Channels

Enable a channel from the Web UI, or in config.yaml with enabled: true and the credentials for that platform, and you can talk to the same agent from an app you already have open.

RegionChannels
ChinaXiaoyi, Feishu, DingTalk, WeCom, Personal WeChat
InternationalTelegram, Discord, Slack, WhatsApp

Capabilities differ per platform. Xiaoyi and WhatsApp are private chat only; Feishu, WeCom, DingTalk, Telegram, Discord, and Slack also work in groups, usually by @mentioning the bot. Feishu and WeCom additionally support the Digital Avatar feature. See Channels.

Documentation

Full index: Documentation

Latest Updates

  • 2026-08-06v0.2.4.beta3 Focuses on cutting cold-start latency in the Agent instance launch path.
  • 2026-07-28v0.2.4.beta2 Improves the scheduling mechanism for tasks and refines front-end interaction logic.
  • 2026-07-24v0.2.4.beta1 Builds out the Code work-mode system and its front-end support: workspace selection and switching, and code-diff display.
  • 2026-07-14v0.2.3 The collaboration capabilities in cluster mode have been enhanced, with new features such as browser sub-agent isolation and support for online sessions within the same session; image attachments and multimodal conversations; Skill-Omni turns visual knowledge into reusable multimodal Skills, with a usage-experience loop improving skill dispatch; new TUI commands (/keybindings, /simplify, /review, /security-review, /btw); stability fixes..

Full notes for every version are on GitHub Releases.

FAQ

For solutions to common issues, see: FAQ.

Contributing

We welcome developers to contribute to JiuwenSwarm. You can contribute in the following ways:

Read the Contributing Guide first for the debugging workflow, code style, and commit conventions. The contribution map is on the openJiuwen contribution page.

Contributors

Thanks to all developers who have contributed to JiuwenSwarm: View Contributor List

Community

ChannelPurposeLink
WebsiteProduct info, updates, and ecosystemVisit Website
SIGTechnical roadmap, engineering practices, ecosystem buildingJoin SIG
Swarm Skills HubBrowse, publish, and reuse JiuwenSwarm SkillsVisit Swarm Skills Hub

License

This project is licensed under Apache License 2.0.

This product serves solely as a workflow orchestration tool and does not embed any AI model capabilities. When users integrate AI models for specific business scenarios, they shall bear full responsibility for compliance obligations under the EU AI Act and other relevant regulatory frameworks.

关于 About

JiuwenSwarm is an intelligent AI Agent built on openJiuwen. It extends the powerful capabilities of large language models directly to your fingertips through various communication apps you use daily.

语言 Languages

Python70.4%
TypeScript22.6%
JavaScript3.7%
CSS1.9%
HTML0.9%
Shell0.5%
Inno Setup0.1%
PowerShell0.0%
Makefile0.0%
Dockerfile0.0%
Batchfile0.0%

提交活跃度 Commit Activity

代码提交热力图
过去 52 周的开发活跃度
2380
Total Commits
峰值: 156次/周
Less
More

核心贡献者 Contributors