经 AI Skill Hub 精选评估,通用机器人 获评「推荐使用」。这款Agent工作流在功能完整性、社区活跃度和易用性方面表现出色,AI 评分 7.5 分,适合有一定技术背景的用户使用。
通用机器人 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
通用机器人 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
# 方式一:cargo install(推荐) cargo install generalbots # 方式二:从源码编译 git clone https://github.com/generalbots/generalbots cd generalbots cargo build --release # 二进制在 ./target/release/generalbots
# 查看帮助 generalbots --help # 基本运行 generalbots [options] <input> # 详细使用说明请查阅文档 # https://github.com/generalbots/generalbots
# generalbots 配置说明 # 查看配置选项 generalbots --config-example > config.yml # 常见配置项 # output_dir: ./output # log_level: info # workers: 4 # 环境变量(覆盖配置文件) export GENERALBOTS_CONFIG="/path/to/config.yml"
General Bots is a comprehensive automation platform built with Rust, providing a unified workspace for building AI-powered bots, web interfaces, desktop applications, and integration tools. The workspace follows a modular architecture with independent subprojects that can be developed and deployed separately while sharing common libraries and standards.
For comprehensive documentation, see docs.pragmatismo.com.br or the BotBook for detailed guides, API references, and tutorials.
---
┌─────────────────────────────────────────────────────────────────┐
│ Client Layer │
├─────────────────────────────────────────────────────────────────┤
│ botui (Web UI) │ botapp (Desktop) │ botplugin (Ext) │
│ HTMX + Axum │ Tauri 2 Wrapper │ Browser Extension │
└─────────┬───────────────────┬──────────────────┬─────────────────┘
│ │ │
└───────────────────┼──────────────────┘
│
┌─────────▼─────────┐
│ botlib │
│ (Shared Types) │
└─────────┬─────────┘
│
┌───────────────────┼───────────────────┐
│ │ │
┌─────▼─────┐ ┌─────▼─────┐ ┌─────▼─────┐
│ botserver │ │ bottest │ │ botdevice │
│ API Core │ │ Tests │ │ IoT/Device │
└───────────┘ └───────────┘ └───────────┘
| Crate | Depends On | Why |
|---|---|---|
| **botserver** | botlib | Shared types, error handling, models |
| **botui** | botlib | Common data structures, API client |
| **botapp** | botlib | Shared types, desktop-specific utilities |
| **bottest** | botserver, botlib | Integration testing with real components |
| **botdevice** | botlib | Device types, communication protocols |
| **botplugin** | - | Standalone browser extension (JS) |
Key Principle: botlib contains ONLY shared types and utilities. No business logic. All business logic lives in botserver or specialized crates.
cargo tree --duplicates
cargo machete
Components are defined in botserver/3rdparty.toml and managed by the PackageManager (botserver/src/core/package_manager/):
[components.cache]
name = "Valkey Cache (Redis-compatible)"
url = "https://github.com/valkey-io/valkey/archive/refs/tags/8.0.2.tar.gz"
filename = "valkey-8.0.2.tar.gz"
[components.llm]
name = "Llama.cpp Server"
url = "https://github.com/ggml-org/llama.cpp/releases/download/b7345/llama-b7345-bin-ubuntu-x64.zip"
filename = "llama-b7345-bin-ubuntu-x64.zip"
Installation Flow: 1. Download: Components downloaded to botserver-installers/ (cached) 2. Extract/Build: Binaries placed in botserver-stack/bin/<component>/ 3. Configure: Config files generated in botserver-stack/conf/<component>/ 4. Start: Components started with proper TLS certificates 5. Monitor: Components monitored and auto-restarted if needed
Bootstrap Process: - First run: Full bootstrap (downloads, installs, configures all components) - Subsequent runs: Only starts existing components (uses cached binaries) - Config stored in: botserver-stack/conf/system/bootstrap.json
cargo build --release -p botserver
Option 1: Embedded UI (Recommended for Production)
The embed-ui feature compiles UI files directly into the botui binary, eliminating the need for separate file deployment:
```bash
cargo build --release -p botui --features embed-ui
**Option 3: Manual File Deployment (Legacy)**
If you need to deploy UI files separately (not recommended):
bash
./botserver/deploy/deploy-ui.sh /opt/gbo
ls -la /opt/gbo/bin/ui/suite/index.html ```
See botserver/deploy/README.md for deployment scripts.
```bash
cargo build
For LLM instructions, coding rules, security directives, testing workflows, and error handling patterns, see AGENTS.md.
---
Each crate has its own README.md with specific guidelines:
| Crate | README.md Location | Focus |
|---|---|---|
| botserver | botserver/README.md | API, security, Rhai BASIC |
| botui | botui/README.md | UI, HTMX, CSS design system |
| botapp | botapp/README.md | Tauri, desktop features |
| botlib | botlib/README.md | Shared types, errors |
| botbook | botbook/README.md | Documentation, mdBook |
| bottest | bottest/README.md | Test infrastructure |
BotServer automatically installs, configures, and manages all infrastructure components on first run. DO NOT manually start these services - BotServer handles everything.
Automatic Service Lifecycle: 1. Start: When botserver starts, it automatically launches all infrastructure components (PostgreSQL, Vault, MinIO, Valkey, Qdrant, etc.) 2. Credentials: BotServer retrieves all service credentials (passwords, tokens, API keys) from Vault 3. Connection: BotServer uses these credentials to establish secure connections to each service 4. Query: All database queries, cache operations, and storage requests are authenticated using Vault-managed credentials
Credential Flow:
botserver starts
↓
Launch PostgreSQL, MinIO, Valkey, Qdrant
↓
Connect to Vault
↓
Retrieve service credentials (from database)
↓
Authenticate with each service using retrieved credentials
↓
Ready to handle requests
| Component | Purpose | Port | Binary Location | Credentials From |
|---|---|---|---|---|
| **Vault** | Secrets management | 8200 | botserver-stack/bin/vault/vault | Auto-unsealed |
| **PostgreSQL** | Primary database | 5432 | botserver-stack/bin/tables/bin/postgres | Vault → database |
| **MinIO** | Object storage (S3-compatible) | 9000/9001 | botserver-stack/bin/drive/minio | Vault → database |
| **Zitadel** | Identity/Authentication | 8300 | botserver-stack/bin/directory/zitadel | Vault → database |
| **Qdrant** | Vector database (embeddings) | 6333 | botserver-stack/bin/vector_db/qdrant | Vault → database |
| **Valkey** | Cache/Queue (Redis-compatible) | 6379 | botserver-stack/bin/cache/valkey-server | Vault → database |
| **Llama.cpp** | Local LLM server | 8081 | botserver-stack/bin/llm/build/bin/llama-server | Vault → database |
All components communicate through internal networks with mTLS: - Vault: mTLS for secrets access - PostgreSQL: TLS encrypted connections - MinIO: TLS with client certificates - Zitadel: mTLS for user authentication
Certificates auto-generated in: botserver-stack/conf/system/certificates/
Check component status anytime: ```bash
ps aux | grep -E "vault|postgres|minio|zitadel|qdrant|valkey" | grep -v grep
tail -f botserver-stack/logs/vault/vault.log tail -f botserver-stack/logs/tables/postgres.log tail -f botserver-stack/logs/drive/minio.log
cd botserver-stack/bin/vault && ./vault status cd botserver-stack/bin/cache && ./valkey-cli ping ```
---
| Module | Responsibility | Key Types | Dependencies |
|---|---|---|---|
| **core/bot/** | WebSocket handling, bot orchestration | BotOrchestrator, UserMessage | basic, shared |
| **core/session/** | Session management, conversation history | SessionManager, UserSession | shared, database |
| **basic/** | Rhai BASIC scripting engine | ScriptService, Engine | rhai, keywords |
| **basic/keywords/** | BASIC keyword implementations (TALK, HEAR, etc.) | Keyword functions | basic, state |
| **llm/** | Multi-vendor LLM API integration | LLMClient, ModelConfig | reqwest, shared |
| **drive/** | S3 file storage and monitoring | DriveMonitor, compile_tool | s3, basic |
| **security/** | Security guards (command, SQL, error) | SafeCommand, ErrorSanitizer | state |
| **shared/** | Database models, schema definitions | Bot, Session, Message | diesel |
| **tasks/** | AutoTask execution system | TaskRunner, TaskScheduler | core/basic |
| **auto_task/** | LLM-powered app generation | AppGenerator, template engine | llm, tasks |
| **learn/** | Knowledge base management | KBManager, vector storage | database, drive |
| **attendance/** | LLM-assisted customer service | AttendantManager, queue | core/bot |
When making changes to any submodule (botserver, botui, botlib, etc.):
1. Commit and push changes within the submodule directory:
cd botserver
git add .
git commit -m "Your changes"
git push pragmatismo main
git push github main
2. Update the global gb repository submodule reference:
cd .. # Back to gb root
git add botserver
git commit -m "Update botserver submodule to latest commit"
git push pragmatismo main
git push github main
Failure to push the global gb repository will cause submodule changes to not trigger CI/CD pipelines.
Both repositories must be pushed for changes to take effect in production.
---
<project>/README.md (project-specific rules)#[allow()]---
高质量开源AI工作流套件
该工具未明确声明开源协议,商业使用前请联系原作者确认授权范围,避免侵权风险。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
AI Skill Hub 点评:通用机器人 的核心功能完整,质量良好。对于自动化工程师和运维人员来说,这是一个值得纳入个人工具库的选择。建议先在非生产环境试用,再逐步推广。
| 原始名称 | generalbots |
| 原始描述 | 开源AI工作流:Complete open-source AI collaboration suite and multi-agent platform featuring L。⭐79 · Rust |
| Topics | botrustazure |
| GitHub | https://github.com/generalbots/generalbots |
| 语言 | Rust |
收录时间:2026-05-30 · 更新时间:2026-05-31 · License:未公布 · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端