Skip to content

wecode-ai/Wegent

Repository files navigation

Wegent

๐Ÿš€ An open-source AI-native operating system to define, organize, and run intelligent agent teams

English | ็ฎ€ไฝ“ไธญๆ–‡

Python FastAPI Next.js Docker Claude Gemini Version


โœจ Core Modes

๐Ÿ’ฌ Chat Mode ๐Ÿ’ป Code Mode ๐Ÿ“š Knowledge Mode (Experimental)
LLM: Supports Claude / OpenAI / Gemini and other mainstream models
Multimodal: Supports automatic parsing of images / PPT / Word / PDF / Excel files
Web Search: Supports integration with various search engines
Deep Research: Supports deep research mode with automatic search, organization, and report generation
Error Correction: Multiple AIs automatically detect and correct errors in responses
Follow-up Mode: AI proactively asks clarifying questions to ensure accurate understanding
Extensions: Supports Skill packages / MCP tools / Custom tools
Multi-platform Integration: Supports GitHub / GitLab / Gitea / Gitee / Gerrit platforms
Automated AI Workflow: Branch โ†’ Code โ†’ Commit โ†’ PR automation
Requirement Clarification: AI proactively asks questions to ensure accurate understanding
Wiki Generation: Automatic codebase documentation generation
RAG Retrieval: Vector / Keyword / Hybrid retrieval
Storage Backends: Elasticsearch / Qdrant
Document Parsing: PDF / Markdown / DOCX / Code files
Wiki: Automatic codebase documentation generation

๐Ÿ”ง Extensibility

  • Agent Creation Wizard: 4-step creation: Describe requirements โ†’ AI asks questions โ†’ Real-time fine-tuning โ†’ One-click create
  • Collaboration Modes: 4 out-of-the-box multi-Agent collaboration modes (Sequential/Parallel/Router/Loop), flexible combination of multiple Bots
  • Skill Support: Dynamically load skill packages to improve Token efficiency
  • MCP Tools: Model Context Protocol for calling external tools and services
  • Execution Engines: Supports ClaudeCode / Agno sandboxed isolation, Dify API proxy, Chat direct mode - 4 execution engines
  • YAML Config: Kubernetes-style CRD for defining Ghost / Bot / Team / Skill
  • API: Provides OpenAI-compatible interface for easy integration with other systems

๐Ÿš€ Quick Start

git clone https://github.com/wecode-ai/wegent.git && cd wegent
docker-compose up -d
# Open http://localhost:3000

Optional: Enable RAG features with docker compose --profile rag up -d


๐Ÿ“ฆ Built-in Agents

Team Purpose
chat-team General AI assistant + Mermaid diagrams
translator Multi-language translation
dev-team Git workflow: branch โ†’ code โ†’ commit โ†’ PR
wiki-team Codebase Wiki documentation generation

๐Ÿ—๏ธ Architecture

Frontend (Next.js) โ†’ Backend (FastAPI) โ†’ Executor Manager โ†’ Executors (ClaudeCode/Agno/Dify/Chat)

Core Concepts:

  • Ghost (prompt) + Shell (environment) + Model = Bot
  • Multiple Bots + Collaboration Mode = Team

See Core Concepts | YAML Spec


๐Ÿค Contributing

We welcome contributions! Please see our Contributing Guide for details.

๐Ÿ“ž Support

๐Ÿ‘ฅ Contributors

Thanks to the following developers for their contributions and efforts to make this project better. ๐Ÿ’ช

qdaxb
Axb
feifei325
Feifei
Micro66
MicroLee
cc-yafei
YaFei Liu
johnny0120
Johnny0120
moqimoqidea
Moqimoqidea
kissghosts
Yanhe
2561056571
Xuemin
junbaor
Junbaor
joyway1978
Joyway78
fengkuizhi
Fengkuizhi
jolestar
Jolestar
andrewzq777
Andrewzq777
graindt
Graindt

Made with โค๏ธ by WeCode-AI Team