Multi-User AI Employee Management Platform
ๅค็จๆท AI ๅๅทฅ็ฎก็ๅนณๅฐ
English ยท ไธญๆ ยท Contributing ยท Issues
HubOS is an open-source, self-hosted AI employee management platform. It transforms large language models into a team of specialized digital employees that communicate through your existing messaging tools.
It's not a chatbot โ it's an AI workforce.
Each agent has its own identity, skills, memory, and job responsibilities, coordinated by a central dispatcher (General Manager agent). You talk to them through Feishu, WeChat, Discord, or any of 14+ supported channels.
| Problem | HubOS Solution |
|---|---|
| ChatGPT/Claude are single-agent, general-purpose | 9 specialized agents with division of labor |
| SaaS AI tools store your data in the cloud | Everything runs locally, data never leaves your machine |
| One chatbot can't handle complex business workflows | Multi-agent orchestration with parallel/pipeline/DAG modes |
| AI doesn't learn from experience | Self-evolving memory system extracts lessons automatically |
| Every AI tool is a separate subscription | One platform, 24 built-in skills, 18 tools |
| Metric | Value |
|---|---|
| Code | 150,000+ lines (Python + TypeScript) |
| API Endpoints | 170+ |
| Built-in Tools | 18 |
| Skills | 24 |
| Messaging Channels | 14+ |
| Agent Roles | 9 |
| Frontend Pages | 28 |
| Languages | 4 (EN / ZH / JA / RU) |
Most AI platforms are single-agent chatbots. HubOS is fundamentally different:
| Feature | Description |
|---|---|
| Multi-Task Concurrency | Multiple users can chat simultaneously โ each request spawns an independent agent session via FastAPI async. No queuing, no blocking. |
| Agent Instance Pooling | LRU cache reuses initialized agent instances across requests. Second request for the same agent is ~200ร faster (no skill/MCP re-registration). |
| Sub-Agent Spawning | Any agent can independently spawn child agents (spawn_subagents) for parallel work โ and those children can spawn their own children (up to configurable depth). |
| DAG Orchestration | Complex multi-step workflows with dependencies: step B uses step A's output, step C+D run in parallel after B. Full pipeline coordination. |
| Self-Evolving Memory | After each task, the system automatically reflects on what happened, extracts lessons, and merges them into reusable methodology cards. The more you use it, the smarter it gets. |
| Multi-User Isolation | Each user gets independent workspaces, sessions, and memory. File locks (fcntl.flock) prevent write conflicts. Agent sandboxing prevents cross-user access. |
| Hot-Swappable Models | Per-agent model configuration โ assign GPT-4o for complex reasoning, Claude for writing, Gemini for multimodal tasks, or local Ollama models for privacy. Switch models without restarting. |
| Channel Multiplexing | One agent team serves all channels simultaneously. A message on WeChat and a message on Discord go to the same agent with the same memory. |
9 specialized agents, each with its own personality, skills, and model configuration:
| Agent | Department | Role |
|---|---|---|
| HubOS | General Manager | Task dispatch, coordination, decision-making |
| Sam | Sales | Lead generation, outreach, quotations |
| Mavis | Marketing | Content creation, competitive analysis, branding |
| Iris | Research | Market research, data analysis, industry reports |
| Rex | R&D | Development, system maintenance, automation |
| Felix | Finance | Billing, financial reports, cost analysis |
| Harper | HR | Documentation, scheduling, process management |
| Clara | Customer Success | Support, feedback handling, FAQ maintenance |
| Oscar | Operations | Task tracking, scheduled jobs, monitoring |
๐ก Fully Customizable: The 9 built-in agents are just a starting point. You can create any number of agents with custom roles, personalities, skills, and model configurations to match your specific business needs โ from a solo assistant to a 50-person digital company.
Three orchestration modes:
- Parallel Delegation (
spawn_subagents) โ Independent tasks run simultaneously - Pipeline Coordination (
coordinate_workflow) โ Sequential DAG with dependencies - Background Tasks (
delegate_task) โ Long-running jobs with progress tracking
All channels use a unified message format. One agent serves multiple channels simultaneously:
Console (built-in web UI) ยท Feishu ยท WeChat ยท DingTalk ยท Discord ยท Telegram ยท WeCom ยท QQ ยท Matrix ยท Mattermost ยท iMessage ยท MQTT ยท XiaoYi ยท Voice
| Layer | Loading | Purpose |
|---|---|---|
| Long-term Memory (MEMORY.md) | Auto-loaded every session | Persistent knowledge, tool configs, lessons learned |
| Work Experience v4 | Auto-retrieved by task type | Methodology cards โ one card per workflow |
| Daily Notes (memory/) | On-demand search | Detailed session logs, troubleshooting records |
Work Experience v4 โ Self-Evolving Engine:
- Automatically reflects after task completion โ extracts lessons โ merges into cards
- LLM semantic matching replaces keyword matching for higher accuracy
- Promotion pipeline: candidate โ approved โ mature
- Users choose their own reflection model via the UI
| Category | Skills |
|---|---|
| Document Processing | PDF ยท Word (.docx) ยท Excel (.xlsx) ยท PowerPoint (.pptx) |
| Web & Search | Web crawling ยท Tavily search ยท Browser automation |
| Communication | Channel messaging ยท Email (himalaya) ยท Multi-agent collaboration |
| Business | E-commerce price search ยท News aggregation ยท Cron scheduling |
| System | HubOS setup guide ยท Frontend design ยท File reading |
| Platform Integration | Feishu (Bitable/Doc/Wiki/Drive) ยท DingTalk channel setup |
| Feature | Description |
|---|---|
| File Locking | fcntl.flock per-file granularity, 30s timeout โ prevents write conflicts |
| Agent Sandbox | Each agent can only write to its own workspace |
| Write Whitelist | Configurable external directory access (e.g., R&D agent โ project dir) |
| Tool Guard | Risk-level tool control with human-in-the-loop approval |
| RBAC | Role-based access control (admin / user / viewer) |
| JWT Auth | Web API and WebSocket authentication |
| Feature | Implementation |
|---|---|
| Async Architecture | FastAPI + Uvicorn, each request as independent asyncio.Task |
| Agent Instance Pooling | LRU cache with concurrency-safe borrowing, ~200ร speedup on repeat requests |
| 200K Context Window | GLM-5.1 supports 200K tokens; auto-compression when exceeded |
| SSE Heartbeat | 15s ping intervals to prevent proxy timeouts |
| Feature | Description |
|---|---|
| ๐ฎ Real-Time Run Guidance | Interrupt and redirect agents mid-task โ type guidance while they work and they pivot immediately |
| ๐ Task Workflow Visualization | Watch multi-agent tasks execute in real-time with a full-page monitor and chat-side panel |
| ๐ง Status Messages | Context understanding & experience matching now shown as ๐ง tool-call indicators before each response |
| โจ๏ธ Slash Commands | 24 built-in commands with EN/ZH labels, accessible via / in chat input |
| โก Faster Response | WE card generation moved to background thread, context compression uses dedicated compact model |
| ๐ก๏ธ Reliability | Fixed async await bug, timeout floor guarantee, instant SSE release, friendly cancel prompts |
๐ Full Changelog
New Modules: RunControl API ยท TaskMonitor (backend + frontend) ยท TaskPlan (plan/autogen/executor/risk) ยท Slash Commands ยท UI Language
Improvements: Compact model config ยท WE async fire-and-forget ยท Retriever fuzzy matching ยท Reflection prompt rewrite ยท Timeout max() semantics ยท MCP Streamable HTTP ยท Absolute stdio paths ยท Desktop port-based restart
Fixes: memory_compaction AttributeError ยท memory.add() missing await ยท AGENT_ERROR on cancel ยท Dark mode text ยท delegate_task timeout override ยท SSE heartbeat blocking
Coming soon โ screenshots of the Web Console, Agent Management, and Chat interfaces.
- Python 3.10 - 3.13
- Node.js 18+ (for frontend build)
- At least one LLM API key (Zhipu GLM, MiniMax, OpenAI, Anthropic, etc.)
# Clone
git clone https://github.com/hubos-ai/HubOS.git
cd HubOS
# Set up virtual environment
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
# Install Python dependencies
pip install -e .
# Build frontend
cd console
npm ci
npm run build
cd ..
# Initialize (creates ~/.hubos/ directory)
hubos init
# Start the server
hubos appOpen http://localhost:8088 and start chatting.
- Open http://localhost:8088
- Register an account
- Go to Settings โ Models and configure your LLM provider (API key + model)
- Go to Settings โ Agents and verify agent configurations
- Start chatting with your AI team!
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ User Interface โ
โ Web UI โ Electron Desktop โ Feishu โ WeChat โ ... โ
โโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ FastAPI Backend (Async) โ
โ โโโโโโโโโโโโ โโโโโโโโโโโโโ โโโโโโโโโโโโ โโโโโโโโโโ โ
โ โ Auth/RBAC โ โ Sessions โ โ Tracker โ โ Locks โ โ
โ โโโโโโโโโโโโ โโโโโโโโโโโโโ โโโโโโโโโโโโ โโโโโโโโโโ โ
โโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Agent Dispatch Layer (GM) โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ Agent Instance Pool (LRU + concurrency-safe) โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ Parallel โ Pipeline โ Background โ Task Modes โ
โโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ 9 Specialized Agents โ
โ Sales โ Marketing โ Research โ R&D โ Finance โ ... โ
โ Each has: Identity + Skills + Memory + Model Config โ
โโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Infrastructure โ
โ Skills โ LLM Router โ Memory โ WE v4 โ MCP โ Cron โ
โ Security โ DAG Engine โ Tool Guard โ File Guard โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
src/hubos/
โโโ app/ # Application layer
โ โโโ runner/ # Agent runners (with instance pooling)
โ โโโ routers/ # 22 API router modules
โ โโโ channels/ # 14+ channel adapters
โ โโโ mcp/ # MCP client management
โ โโโ workspace/ # Workspace lifecycle
โโโ agents/ # Agent core
โ โโโ react_agent.py # HubOSAgent (ReAct reasoning)
โ โโโ tools/ # 18 built-in tools
โ โโโ skills/ # 24 skill definitions
โ โโโ hooks/ # Agent lifecycle hooks
โ โโโ memory/ # Memory managers
โโโ config/ # Configuration system (45+ classes)
โโโ core/ # Core engine
โ โโโ llm/ # LLM provider routing
โ โโโ memory/ # Memory storage (ChromaDB)
โ โโโ work_experience/ # Experience system (v4)
โ โโโ execution/ # Task execution engine
โ โโโ dag/ # DAG scheduling engine
โ โโโ infra/ # RBAC, feature flags, metrics
โโโ security/ # Tool guard, skill scanner
โโโ cli/ # CLI commands
console/ # React frontend (28 pages)
desktop/ # Electron desktop app
| Component | Technology |
|---|---|
| Backend | Python 3.10+ ยท FastAPI ยท Uvicorn |
| Agent Framework | AgentScope 1.0.18 |
| Frontend | React 18 ยท Vite ยท TypeScript ยท Ant Design 5 |
| Desktop | Electron |
| Vector Store | ChromaDB (SQLite backend) |
| UI Components | @agentscope-ai/chat ยท @agentscope-ai/design |
HubOS supports multiple LLM providers with per-agent model configuration:
| Provider | Models | Best For |
|---|---|---|
| Zhipu (ๆบ่ฐฑ) | GLM-4, GLM-5.1 | Complex reasoning, long context (200K) |
| MiniMax | M2.7-highspeed | Fast structured tasks |
| OpenAI | GPT-4o, GPT-4-turbo | General purpose |
| Anthropic | Claude 3.5/4 | Analysis, writing |
| Gemini 1.5/2.0 | Multimodal tasks | |
| DeepSeek | DeepSeek-V3 | Cost-effective reasoning |
| Qwen (้ไนๅ้ฎ) | Qwen 2.5/3 | Chinese language tasks |
| Ollama | Local models | Privacy-first, no API needed |
HubOS supports MCP client integration with hot-reload:
- Configure MCP servers via Web UI or config files
- Each skill can define its own MCP dependencies
- Built-in support for Zhipu MCP Server (Vision, Search, webReader, ZRead)
hubos app # Start FastAPI server
hubos init # Initialize working directory
hubos agent # Agent management & communication
hubos cron # Cron job management
hubos channel # Channel configuration
hubos models # Model provider configuration
hubos skills # Skill management
hubos auth # Authentication management
hubos shutdown # Stop all services- Plugin marketplace for community skills
- Multi-language agent templates (DE, FR, ES, AR)
- GPU-accelerated local model support (MLX, llama.cpp)
- Collaborative workspaces for teams
- Mobile companion app
- REST API playground / Swagger UI
We welcome contributions! Please see CONTRIBUTING.md for:
- Development environment setup
- Code style guidelines
- PR submission process
- How to add new skills, channels, and tools
HubOS is released under the Apache License 2.0.
HubOS builds upon the following excellent open-source projects:
| Project | Usage | License |
|---|---|---|
| AgentScope | Core agent framework, model routing, MCP integration | Apache-2.0 |
| AgentScope Runtime | Frontend UI components (@agentscope-ai/chat, @agentscope-ai/design) | Apache-2.0 |
| FastAPI | Async web framework | MIT |
| React | Frontend UI library | MIT |
| Ant Design | UI component library | MIT |
| Playwright | Browser automation | Apache-2.0 |
| ChromaDB | Vector storage | Apache-2.0 |
| ReMe | Long-term memory management | MIT |
| Uvicorn | ASGI server | BSD-3-Clause |
| Electron | Desktop application framework | MIT |
Special thanks to the open-source community and everyone who contributes to making AI more accessible.
HubOS ๆฏไธไธชๅผๆบใ่ชๆ็ฎก็ AI ๅๅทฅ็ฎก็ๅนณๅฐใๅฎๅฐๅคง่ฏญ่จๆจกๅ่ฝฌๅไธบไธๆฏไธไธ็ๆฐๅญๅๅทฅๅข้๏ผ้่ฟไฝ ๅทฒๆ็ๆฒ้ๅทฅๅ ทไธไฝ ๅไฝใ
ๅฎไธๆฏ่ๅคฉๆบๅจไบบ โ ๅฎๆฏ AI ๅณๅจๅใ
ๆฏไธช Agent ๆ่ชๅทฑ็่บซไปฝใๆ่ฝใ่ฎฐๅฟๅๅทฅไฝ่่ดฃ๏ผ็ฑๆป็ป็ Agent ็ปไธ่ฐๅบฆใไฝ ๅฏไปฅ้่ฟ้ฃไนฆใๅพฎไฟกใ้้็ญ 14+ ๆธ ้ไธๅข้ๆฒ้ใ
| ้ฎ้ข | HubOS ็่งฃๅณๆนๆก |
|---|---|
| ChatGPT/Claude ๆฏๅ Agentใ้็จๅ | 9 ไธชไธไธ Agent๏ผๅๅทฅๆ็กฎ |
| SaaS AI ๅทฅๅ ทๆๆฐๆฎๅญๅจไบ็ซฏ | ๅฎๅ จๆฌๅฐ่ฟ่ก๏ผๆฐๆฎไธ็ฆปๅผไฝ ็ๆบๅจ |
| ๅไธช่ๅคฉๆบๅจไบบๆ ๆณๅค็ๅคๆไธๅกๆต็จ | ๅค Agent ็ผๆ๏ผๅนถ่ก/ๆตๆฐด็บฟ/DAG ไธ็งๆจกๅผ |
| AI ไธไผไป็ป้ชไธญๅญฆไน | ่ช่ฟๅ่ฎฐๅฟ็ณป็ป๏ผ่ชๅจๆๅๆ่ฎญ |
| ๆฏไธช AI ๅทฅๅ ท้ฝๆฏ็ฌ็ซ่ฎข้ | ไธไธชๅนณๅฐ๏ผ24 ไธชๅ ็ฝฎๆ่ฝ๏ผ18 ไธชๅทฅๅ ท |
ๅคงๅคๆฐ AI ๅนณๅฐๆฏๅ Agent ่ๅคฉๆบๅจไบบใHubOS ไปๆ นๆฌไธไธๅ๏ผ
| ็นๆง | ่ฏดๆ |
|---|---|
| ๅคไปปๅกๅนถๅ | ๅคไธช็จๆทๅฏไปฅๅๆถๅฏน่ฏ โ ๆฏไธช่ฏทๆฑ้่ฟ FastAPI ๅผๆญฅๆบๅถๅๅปบ็ฌ็ซ็ Agent ไผ่ฏใๆ ้ๆ้๏ผไบไธ้ปๅกใ |
| Agent ๅฎไพๆฑ ๅ | LRU ็ผๅญๅค็จๅทฒๅๅงๅ็ Agent ๅฎไพใๅไธ Agent ็็ฌฌไบๆฌก่ฏทๆฑๅฟซ ~200 ๅ๏ผๆ ้้ๆฐๆณจๅ skill/MCP๏ผใ |
| ๅญ Agent ๆดพ็ | ไปปไฝ Agent ้ฝๅฏไปฅ็ฌ็ซๆดพ็ๅญ Agent๏ผspawn_subagents๏ผๅนถ่กๅทฅไฝ โ ๅญ Agent ่ฟๅฏไปฅ็ปง็ปญๆดพ็่ชๅทฑ็ๅญ Agent๏ผๆทฑๅบฆๅฏ้
็ฝฎ๏ผใ |
| DAG ๅทฅไฝๆต็ผๆ | ๅคๆ็ๅคๆญฅ้ชคไพ่ตๅทฅไฝๆต๏ผๆญฅ้ชค B ไฝฟ็จๆญฅ้ชค A ็่พๅบ๏ผๆญฅ้ชค C+D ๅจ B ๅฎๆๅๅนถ่กๆง่กใๅฎๆด็ๆตๆฐด็บฟๅ่ฐใ |
| ่ช่ฟๅ่ฎฐๅฟ | ๆฏๆฌกไปปๅกๅฎๆๅ๏ผ็ณป็ป่ชๅจๅๆใๆๅๆ่ฎญ๏ผๅๅนถไธบๅฏๅค็จ็ๆนๆณ่ฎบๅก็ใ่ถ็จ่ถ่ชๆใ |
| ๅค็จๆท้็ฆป | ๆฏไธช็จๆทๆฅๆ็ฌ็ซ็ workspaceใไผ่ฏๅ่ฎฐๅฟใๆไปถ้๏ผfcntl.flock๏ผ้ฒๆญขๅๅ
ฅๅฒ็ชใAgent ๆฒ็ฎฑ้ฒๆญข่ทจ็จๆท่ฎฟ้ฎใ |
| ๆจกๅ็ญๅๆข | ๆ Agent ้ ็ฝฎๆจกๅ โ ๅคๆๆจ็็จ GPT-4o๏ผๅไฝ็จ Claude๏ผๅคๆจกๆ็จ Gemini๏ผ้็งๅบๆฏ็จ Ollama ๆฌๅฐๆจกๅใ็จๆท่ช็ฑ้ๆฉไพๅบๅๅๆจกๅ๏ผๆ ้้ๅฏๅณๅฏๅๆขใ |
| ๆธ ้ๅค่ทฏๅค็จ | ไธไธช Agent ๅข้ๅๆถๆๅกๆๆๆธ ้ใๅพฎไฟกๅ Discord ไธ็ๆถๆฏ่ฎฟ้ฎๅไธไธช Agent ๅๅไธๅฅ่ฎฐๅฟใ |
9 ไธชไธไธ Agent๏ผๅๆ่ชๅทฑ็ไบบๆ ผใๆ่ฝๅๆจกๅ้ ็ฝฎ๏ผ
| Agent | ้จ้จ | ่่ดฃ |
|---|---|---|
| HubOS | ๆป็ป็ | ไปปๅก่ฐๅบฆใๅ่ฐใๅณ็ญ |
| Sam ๅผ | ้ๅฎ | ๅฎขๆทๅผๅใๆฅไปทใๅๅๆจ่ฟ |
| Mavis ็ | ๅธๅบ | ๅ ๅฎนๅไฝใ็ซๅๅๆใๅ็ไผ ๆญ |
| Iris ๅจ | ่ฐ็ | ๅธๅบ่ฐ็ ใๆฐๆฎๅๆใ่กไธๆฅๅ |
| Rex ้ | ๆๆฏ | ๅผๅใ็ณป็ป็ปดๆคใ่ชๅจๅ |
| Felix ๅ | ่ดขๅก | ่ดฆๅใ่ดขๅกๆฅ่กจใๆๆฌๅๆ |
| Harper ่ตต | ไบบๅ | ๆๆกฃ็ฎก็ใๆฅ็จๅ่ฐใๆต็จ่ง่ |
| Clara ๅญ | ๅฎขๆ | ๅฎๅๆฏๆใๅ้ฆๅค็ใFAQ ็ปดๆค |
| Oscar ๅด | ่ฟ็ปด | ไปปๅก่ฟฝ่ธชใๅฎๆถไฝไธใ็ๆง |
๐ก ๅฎๅ จๅฏๅฎๅถ๏ผๅ ็ฝฎ็ 9 ไธช Agent ๅชๆฏ่ตท็นใไฝ ๅฏไปฅๅๅปบไปปๆๆฐ้็ Agent๏ผ่ชๅฎไน่ง่ฒใไบบๆ ผใๆ่ฝๅๆจกๅ้ ็ฝฎ๏ผๅน้ ไฝ ็ไธๅก้ๆฑ โ ไปๅไบบๅฉๆๅฐ 50 ไบบ็ๆฐๅญๅ ฌๅธ้ฝๅฏไปฅใ
ไธ็งๅไฝๆจกๅผ๏ผ
- ๅนถ่กๅงๆดพ๏ผ
spawn_subagents๏ผโ ็ฌ็ซไปปๅกๅๆถๆง่ก - ๆตๆฐด็บฟๅไฝ๏ผ
coordinate_workflow๏ผโ ๆไพ่ต็ไธฒ่ก DAG ๅทฅไฝๆต - ๅๅฐไปปๅก๏ผ
delegate_task๏ผโ ้ฟๆถ้ด่ฟ่ก็ไปปๅก๏ผๅธฆ่ฟๅบฆ่ฟฝ่ธช
ๆๆๆธ ้็ปไธๆถๆฏๆ ผๅผ๏ผๅไธไธช Agent ๅๆถๆๅกๅคไธชๆธ ้๏ผ
Web ๆงๅถๅฐ๏ผๅ ็ฝฎ๏ผยท ้ฃไนฆ ยท ๅพฎไฟก ยท ้้ ยท Discord ยท Telegram ยท ไผไธๅพฎไฟก ยท QQ ยท Matrix ยท Mattermost ยท iMessage ยท MQTT ยท ๅฐ่ ยท ่ฏญ้ณ
| ๅฑ | ๅ ่ฝฝๆนๅผ | ็จ้ |
|---|---|---|
| ้ฟๆ่ฎฐๅฟ๏ผMEMORY.md๏ผ | ๆฏๆฌก่ชๅจๅ ่ฝฝ | ๆไน ๅ็ฅ่ฏใๅทฅๅ ท้ ็ฝฎใ็ป้ชๆ่ฎญ |
| ็ป้ชๆๅทง๏ผWork Experience v4๏ผ | ๆไปปๅก็ฑปๅ่ชๅจๆฃ็ดข | ๆนๆณ่ฎบๅก็ โ ไธๅกไธๆต็จ |
| ๆฏๆฅ็ฌ่ฎฐ๏ผmemory/๏ผ | ๆ้ๆ็ดข | ่ฏฆ็ปไผ่ฏๆฅๅฟใ่ธฉๅ่ฎฐๅฝ |
Work Experience v4 โ ่ช่ฟๅๅผๆ๏ผ
- ไปปๅกๅฎๆๅ่ชๅจๅๆ โ ๆๅๆ่ฎญ โ ๅๅนถๅป้ๅฐ็ฐๆๅก็
- LLM ่ฏญไนๅน้ ๆฟไปฃๅ ณ้ฎ่ฏๅน้ ๏ผๅ็กฎๅบฆๅคงๅน ๆๅ
- ๆๅ็ฎก็บฟ๏ผcandidate โ approved โ mature
- ็จๆทๅฏๅจๅ็ซฏ่ช้ๅๆๆจกๅ
| ็ฑปๅซ | ๆ่ฝ |
|---|---|
| ๆๆกฃๅค็ | PDF ยท Word ยท Excel ยท PowerPoint |
| ็ฝ็ปๆ็ดข | ็ฝ้กตๆๅ ยท Tavily ๆ็ดข ยท ๆต่งๅจ่ชๅจๅ |
| ๆฒ้ๅไฝ | ๆธ ้ๆถๆฏ ยท ้ฎไปถ ยท ๅค Agent ๅไฝ |
| ไธๅกๅทฅๅ ท | ็ตๅๆฏไปท ยท ๆฐ้ป่ๅ ยท ๅฎๆถไปปๅก |
| ็ณป็ป็ฎก็ | ๅฎ่ฃ ๆๅ ยท ๅ็ซฏ่ฎพ่ฎก ยท ๆไปถ่ฏปๅ |
| ๅนณๅฐ้ๆ | ้ฃไนฆ๏ผๅค็ปด่กจๆ ผ/ๆๆกฃ/็ฅ่ฏๅบ/ไบ็๏ผยท ้้ๆฅๅ ฅ |
| ็นๆง | ่ฏดๆ |
|---|---|
| ๆไปถๅ้ | fcntl.flock per-file ็ฒๅบฆ๏ผ้ฒๆญขๅค็จๆทๅๅ
ฅๅฒ็ช |
| Agent ๆฒ็ฎฑ | ๆฏไธช Agent ๅช่ฝๅ่ชๅทฑ็ workspace |
| ๅทฅๅ ท้ฒๆค | ๆ้ฃ้ฉ็บงๅซๆงๅถๅทฅๅ ท่ฐ็จ๏ผๆฏๆไบบๆบๅๅๅฎกๆน |
| RBAC | ๅบไบ่ง่ฒ็่ฎฟ้ฎๆงๅถ๏ผadmin / user / viewer๏ผ |
| JWT ่ฎค่ฏ | Web API ๅ WebSocket ่ฎค่ฏ |
| ๅ่ฝ | ่ฏดๆ |
|---|---|
| ๐ฎ ๅฎๆถๅผๅฏผๆๆญ | ไปปๅกๆง่กไธญ้ๆถๅๆไปค๏ผAgent ็ซๅณ่ฝฌๅ โ ๅๅ็ไบบๅไบๅไฝไธๆ ท |
| ๐ ไปปๅกๆต็จๅฏ่งๅ | ๅ จ้กตไปปๅก็ๆง + ่ๅคฉๅ ไพง่พน้ขๆฟ๏ผๅค Agent ๅไฝ่ฟๅบฆๅฎๆถๅฏ่ง |
| ๐ง ็ถๆๆถๆฏ | ไธไธๆ็่งฃใ็ป้ชๅน้ ไปฅ ๐ง ๅทฅๅ ท่ฐ็จๆ ทๅผๆพ็คบๅจๆฏๆฌกๅๅบๅ |
| โจ๏ธ ๅฟซๆทๅฝไปค | 24 ไธชๅ
็ฝฎๅฝไปค๏ผไธญ่ฑๅ่ฏญ๏ผ่พๅ
ฅ / ๅณๅฏๅผๅบ |
| โก ๅๅบๆดๅฟซ | ็ป้ชๅก็ๅๅฐๅผๆญฅ็ๆ๏ผไธไธๆๅ็ผฉไฝฟ็จ็ฌ็ซ่ฝป้ๆจกๅ |
| ๐ก๏ธ ็จณๅฎๆงๆๅ | ไฟฎๅค async await ไธขๅคฑใ่ถ ๆถ่ฆ็ใๅๆถๆฅ้็ญๅ ณ้ฎ bug |
๐ ๅฎๆดๆดๆฐๆฅๅฟ
ๆฐๆจกๅ๏ผ่ฟ่กๆงๅถ API ยท ไปปๅก็ๆง๏ผๅ็ซฏ+ๅ็ซฏ๏ผยท ไปปๅก่ฎกๅ๏ผ็ๆ/่ชๅจ/ๆง่ก/้ฃๆง๏ผยท ๅฟซๆทๅฝไปค ยท UI ่ฏญ่จๆจกๅ
ๆน่ฟ๏ผๅ็ผฉๆจกๅ็ฌ็ซ้ ็ฝฎ ยท ็ป้ชๅก็ๅผๆญฅ็ๆ ยท ๆฃ็ดขๅจๆจก็ณๅน้ ยท ๅๆ prompt ้ๅ ยท ่ถ ๆถ max() ่ฏญไน ยท MCP Streamable HTTP ยท stdio ็ปๅฏน่ทฏๅพ ยท ๆก้ข็ซฏๆ็ซฏๅฃ้ๅฏ
ไฟฎๅค๏ผmemory_compaction AttributeError ยท memory.add() ๆผ await ยท ๅๆถๅผๅฏผๆพ็คบ AGENT_ERROR ยท ๆทฑ่ฒๆจกๅผๆๅญไธๅฏ่ง ยท delegate_task ่ถ ๆถ่ฆ็ ยท SSE ๅฟ่ทณ้ปๅก
- Python 3.10 - 3.13
- Node.js 18+๏ผๅ็ซฏๆๅปบ้่ฆ๏ผ
- ่ณๅฐไธไธช LLM API key๏ผๆบ่ฐฑ GLMใMiniMaxใOpenAIใAnthropic ็ญ๏ผ
git clone https://github.com/hubos-ai/HubOS.git
cd HubOS
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install -e .
cd console
npm ci
npm run build
cd ..
hubos init
hubos appๆๅผ http://localhost:8088 ๅผๅงไฝฟ็จใ
- ๆๅผ http://localhost:8088
- ๆณจๅ่ดฆๅท
- ่ฟๅ ฅ ่ฎพ็ฝฎ โ ๆจกๅ๏ผ้ ็ฝฎ LLM ไพๅบๅ๏ผAPI key + ๆจกๅ๏ผ
- ่ฟๅ ฅ ่ฎพ็ฝฎ โ Agent๏ผ็กฎ่ฎค Agent ้ ็ฝฎ
- ๅผๅงๅไฝ ็ AI ๅข้ๅฏน่ฏ๏ผ
HubOS ๆฏๆๅค็ง LLM ไพๅบๅ๏ผๆฏไธช Agent ๅฏ็ฌ็ซ้ ็ฝฎๆจกๅ๏ผ
| ไพๅบๅ | ๆจกๅ | ้็จๅบๆฏ |
|---|---|---|
| ๆบ่ฐฑ๏ผZhipu๏ผ | GLM-4, GLM-5.1 | ๅคๆๆจ็ใ้ฟไธไธๆ๏ผ200K๏ผ |
| MiniMax | M2.7-highspeed | ๅฟซ้็ปๆๅไปปๅก |
| OpenAI | GPT-4o, GPT-4-turbo | ้็จๅบๆฏ |
| Anthropic | Claude 3.5/4 | ๅๆใๅไฝ |
| Gemini 1.5/2.0 | ๅคๆจกๆไปปๅก | |
| DeepSeek | DeepSeek-V3 | ้ซๆงไปทๆฏๆจ็ |
| ้ไนๅ้ฎ | Qwen 2.5/3 | ไธญๆๅบๆฏ |
| Ollama | ๆฌๅฐๆจกๅ | ้็งไผๅ ๏ผๆ ้ API |
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ็จๆทๆฅๅ
ฅๅฑ โ
โ Web ๆงๅถๅฐ โ ๆก้ขๅบ็จ โ ้ฃไนฆ โ ๅพฎไฟก โ ้้ โ 14+ ๆธ ้ โ
โโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ FastAPI ๅ็ซฏ (ๅผๆญฅ) โ
โ ่ฎค่ฏ/ๆ้ โ ไผ่ฏ็ฎก็ โ ไปปๅก่ฟฝ่ธช โ ๆไปถ้ โ
โโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Agent ่ฐๅบฆๅฑ (ๆป็ป็) โ
โ Agent ๅฎไพๆฑ (LRU ็ผๅญ + ๅนถๅๅฎๅ
จ) โ
โ ๅนถ่กๅงๆดพ โ ๆตๆฐด็บฟๅไฝ โ ๅๅฐไปปๅก โ
โโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ 9 ไธชไธไธ Agent (ๆฐๅญๅๅทฅ) โ
โ ๆฏไธช Agent: ่บซไปฝ + ๆ่ฝ + ่ฎฐๅฟ + ๆจกๅ้
็ฝฎ โ
โโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ๅบ็ก่ฎพๆฝๅฑ โ
โ ๆ่ฝ โ LLM ่ทฏ็ฑ โ ่ฎฐๅฟ็ณป็ป โ ่ช่ฟๅ โ MCP โ ๅฎๆถไปปๅก โ
โ ๅฎๅ
จ้ฒๆค โ DAG ๅผๆ โ ๅทฅๅ
ท้ฒๆค โ ๆไปถ้ฒๆค โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
| ็ปไปถ | ๆๆฏ |
|---|---|
| ๅ็ซฏ | Python 3.10+ ยท FastAPI ยท Uvicorn |
| Agent ๆกๆถ | AgentScope 1.0.18 |
| ๅ็ซฏ | React 18 ยท Vite ยท TypeScript ยท Ant Design 5 |
| ๆก้ข็ซฏ | Electron |
| ๅ้ๅญๅจ | ChromaDB (SQLite) |
| UI ็ปไปถ | @agentscope-ai/chat ยท @agentscope-ai/design |
HubOS ๅบไบ Apache License 2.0 ๅผๆบใ
HubOS ๅบไบไปฅไธไผ็งๅผๆบ้กน็ฎๆๅปบ๏ผ
| ้กน็ฎ | ็จ้ | ่ฎธๅฏ่ฏ |
|---|---|---|
| AgentScope | ๆ ธๅฟ Agent ๆกๆถใๆจกๅ่ทฏ็ฑใMCP ้ๆ | Apache-2.0 |
| AgentScope Runtime | ๅ็ซฏ UI ็ปไปถ (@agentscope-ai/chat, @agentscape-ai/design) | Apache-2.0 |
| FastAPI | ๅผๆญฅ Web ๆกๆถ | MIT |
| React | ๅ็ซฏ UI ๅบ | MIT |
| Ant Design | UI ็ปไปถๅบ | MIT |
| Playwright | ๆต่งๅจ่ชๅจๅ | Apache-2.0 |
| ChromaDB | ๅ้ๅญๅจ | Apache-2.0 |
| ReMe | ้ฟๆ่ฎฐๅฟ็ฎก็ | MIT |
| Uvicorn | ASGI ๆๅกๅจ | BSD-3-Clause |
| Electron | ๆก้ขๅบ็จๆกๆถ | MIT |
็นๅซๆ่ฐขๅผๆบ็คพๅบ็ๆฏไธไฝ่ดก็ฎ่ ๏ผๆฏไฝ ไปฌ่ฎฉ AI ๅๅพๆดๅ ๆฎๆ ใ
