能力标签
Gluon AI编码智能体
🛠
AI工具

Gluon AI编码智能体

基于 Python · 开源 AI 工具,GitHub 社区精选
英文名:gluon-agent
⭐ 9 Stars 💻 Python 📄 MIT 🏷 AI 7.2分
7.2AI 综合评分
AI编码工作流编排多任务并行Claude集成Docker沙箱
✦ AI Skill Hub 推荐

Gluon AI编码智能体 是 AI Skill Hub 本期精选AI工具之一。综合评分 7.2 分,整体质量较高。我们推荐使用将其纳入你的 AI 工具库,帮助提升工作效率。

📚 深度解析

Gluon AI编码智能体 是一款基于 Python 的开源工具,在 GitHub 上收获 0k+ Star,是AI编码、工作流编排、多任务并行、Claude集成领域中的优质开源项目。开源工具的最大优势在于代码完全透明,你可以审计每一行代码的安全性,也可以根据自身需求进行二次开发和定制。

**为什么要使用开源工具而非商业 SaaS?**
对于个人开发者和有隐私需求的用户,本地部署的开源工具意味着数据不离本机,不受第三方服务商的数据政策约束。同时,开源工具通常没有使用次数限制和月度费用,一次安装即可长期使用,对于高频使用场景的总拥有成本(TCO)远低于订阅制商业工具。

**安装与环境准备**
Gluon AI编码智能体 依赖 Python 运行环境。建议通过 pyenv(Python)或 nvm(Node.js)管理 Python 版本,避免全局环境污染。对于新手用户,推荐先创建虚拟环境(python -m venv venv && source venv/bin/activate),再安装依赖,这样即使出现问题也可以随时删除虚拟环境重新开始,不影响系统稳定性。

**社区与维护**
GitHub Issue 和 Discussion 是获取帮助的最快渠道。在提问前建议先检查 Closed Issues(已关闭的问题),大多数常见问题都已有解答。遇到 Bug 时,提供 pip list 的输出、完整错误堆栈和最小可复现示例,能显著提高开发者响应速度。AI Skill Hub 将持续追踪 Gluon AI编码智能体 的版本更新,及时通知重要功能变化。

📋 工具概览

Gluon AI编码智能体 是一款基于 Python 开发的开源工具,专注于 AI编码、工作流编排、多任务并行 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。

GitHub Stars
⭐ 9
开发语言
Python
支持平台
Windows / macOS / Linux
维护状态
轻量级项目,按需更新
开源协议
MIT
AI 综合评分
7.2 分
工具类型
AI工具
Forks

📖 中文文档

以下内容由 AI Skill Hub 根据项目信息自动整理,如需查看完整原始文档请访问底部「原始来源」。

Gluon AI编码智能体 是一款基于 Python 开发的开源工具,专注于 AI编码、工作流编排、多任务并行 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。

📌 核心特色
  • 开源免费,支持本地部署,数据完全自主可控
  • 活跃的 GitHub 开源社区,持续迭代更新
  • 提供详细文档和使用示例,新手友好
  • 支持自定义配置,灵活适配不同使用环境
  • 可作为基础组件集成进现有技术栈或进行二次开发
🎯 主要使用场景
  • 本地部署运行,保护数据隐私,满足合规要求
  • 自定义集成到现有系统,扩展技术栈能力
  • 作为开源基础组件进行商业化二次开发
以下安装命令基于项目开发语言和类型自动生成,实际以官方 README 为准。
安装命令
# 方式一:pip 安装(推荐)
pip install gluon-agent

# 方式二:虚拟环境安装(推荐生产环境)
python -m venv .venv
source .venv/bin/activate  # Windows: .venv\Scripts\activate
pip install gluon-agent

# 方式三:从源码安装(获取最新功能)
git clone https://github.com/carrotly-ai/gluon-agent
cd gluon-agent
pip install -e .

# 验证安装
python -c "import gluon_agent; print('安装成功')"
📋 安装步骤说明
  1. 访问 GitHub 仓库页面
  2. 按照 README 文档完成依赖安装
  3. 根据系统环境完成初始化配置
  4. 参考官方示例或文档开始使用
  5. 遇到问题可在 GitHub Issues 中查找解答
以下用法示例由 AI Skill Hub 整理,涵盖最常见的使用场景。
常用命令 / 代码示例
# 命令行使用
gluon-agent --help

# 基本用法
gluon-agent input_file -o output_file

# Python 代码中调用
import gluon_agent

# 示例
result = gluon_agent.process("input")
print(result)
以下配置示例基于典型使用场景生成,具体参数请参照官方文档调整。
配置示例
# gluon-agent 配置文件示例(config.yml)
app:
  name: "gluon-agent"
  debug: false
  log_level: "INFO"

# 运行时指定配置文件
gluon-agent --config config.yml

# 或通过环境变量配置
export GLUON_AGENT_API_KEY="your-key"
export GLUON_AGENT_OUTPUT_DIR="./output"
📑 README 深度解析 真实文档 完整度 92/100 含工作流图 查看 GitHub 原文 →
以下内容由系统直接从 GitHub README 解析整理,保留代码块、表格与列表结构。

Gluon Agent

License: MIT Python 3.12+

Self-hosted orchestrator for Claude Code. Run fleets of AI coding agents from your own infrastructure — with session persistence, git worktree isolation, and remote control from CLI, web dashboard, Telegram, or Discord. Agents run in a containerized Docker environment with bubblewrap sandboxing.

Bring your own backend — Gluon routes inference through whichever Claude backend your organisation already pays for: AWS Bedrock, Google Vertex AI, Microsoft Foundry (Azure AI Foundry), or the direct Anthropic API / Claude CLI subscription. Switch between them with one command (gluon provider <name>) or from the Settings page. See docs/LLM-PROVIDER.md for the full provider guide.

Kanban board

Task review

See all screenshots in docs/SCREENSHOTS.md

Full feature lifecycle: Plan → Implement → Test → Review

gluon formula run feature myapp --var description="Add dark mode support"

Features

Chat Bot Features ([Telegram](docs/TELEGRAM-BOT.md) · [Discord](docs/DISCORD-BOT.md))

  • Natural Language Interface - Chat with Gluon using natural language commands
  • 40+ MCP Tools - Comprehensive tools for project, git, branch, and conflict management
  • Discord DM Support - Run tasks via direct messages with project specifiers (project:myapp)
  • Model Selection via Flags - Use --model opus in Discord/Telegram to specify models
  • Channel Topic Config - Configure default project and model via Discord channel topics
  • Tool Call Visualization - See agent tool calls in real-time during execution

Run a feature formula

gluon formula run feature myapp --var description="Add user authentication"

Additional Features

  • Image Attachments - Paste screenshots/diagrams for AI context (Cmd+V in resume prompt)
  • Usage Tracking - Monitor costs, tokens, and usage per project
  • Docker Deployment - Full containerized deployment with docker-compose
  • CI/CD Workflows - GitHub Actions for CI and Docker image publishing
  • Log Persistence - Stdout, stderr, and structured message logs for every run
  • Mobile Optimized - iOS Safari zoom prevention, touch-friendly interactions
  • Context Overflow Recovery - Automatic recovery when agent exceeds context window (gluon recover)
  • Log Cleanup - Retention-based cleanup of old log files (gluon cleanup)
  • Disk Stats - Monitor ~/.gluon disk usage (gluon stats)

Required (all backends): PUID, PGID, GH_TOKEN, GIT_USER_NAME, GIT_USER_EMAIL

Docker Quickstart

Run Gluon from a pre-built image — no clone or build required:

```bash

Installation (from source)

```bash

Create virtual environment and install

uv venv uv pip install -e .

Security & Isolation ([Docker](docs/DOCKER.md))

  • OS-Level Sandboxing - Each agent runs inside a bubblewrap sandbox (Linux) or sandbox-exec (macOS), restricting filesystem access to the git worktree
  • Git Worktree Isolation - Every task operates in its own worktree so agents never touch your main branch or other tasks' files
  • Minimal Docker Runtime - python:3.12-slim-bookworm base with non-root gluon user; no full host filesystem access
  • Scoped Volume Mounts - Only specific directories are mounted into the container (~/.claude, ~/.gluon, ~/workspaces), with common credentials (~/.aws, ~/.config/gh) mounted read-only
  • Browser Session Isolation - Each agent run gets its own agent-browser session, preventing cross-task cookie/state leakage
  • Sandbox-Aware Tool Approval - When sandboxed, bash commands are auto-approved (the sandbox enforces boundaries), while git is excluded from the sandbox to allow commits and pushes
  • Resource Limits - Docker Compose enforces CPU and memory caps (default 8 CPU / 12 GB) to prevent runaway agents from starving the host

Multi-User Authentication (Optional · [full guide](docs/AUTH.md) · [OIDC setup](docs/AUTH-OIDC.md))

Self-hosted Gluon defaults to single-user mode — no login screen, every action runs as the implicit SYSTEM_USER. Flip GLUON_AUTH_ENABLED=true and Gluon becomes a true multi-user system:

  • Local password auth - argon2id-hashed credentials in SQLite, DB-backed sessions (not JWT) with rolling TTL and httpOnly cookies.
  • OIDC / SSO - Plug in Auth0, Google Workspace, AWS Cognito, Microsoft Entra ID, Okta, or any spec-compliant IdP. Auto-provision is opt-in with a required email-domain allowlist. Coexists with local — typical setup is OIDC for humans + a few local accounts for automation.
  • Three roles - admin (full control), operator (create runs, decide approvals), viewer (read-only).
  • Per-row attribution - every ExecutionRun, OrchestratorTask, and PendingApproval records who created or decided it, surfaced in the dashboard and the audit trail.
  • Web dashboard - login page (auto-detects available providers and shows password form, "Sign in with X" button, or both), header user-menu with avatar + role badge + change-password, admin-only /admin/users screen (list / create / edit role / disable / reset password).
  • Self-serve chat linking - users bind their Telegram or Discord identity to their Gluon account from the dashboard. Generate a one-time code, send /link <code> (Telegram) or link-account <code> (Discord) to the bot, done. Approvals from chat are then attributed to the right user.
  • CLI bootstrap - seed the first admin without a chicken-and-egg login: gluon user add alice --role admin (local) or gluon user add alice --auth-provider oidc --email alice@org.example --role admin (OIDC). Other commands: gluon user list / show / disable / enable / set-role / set-password.
  • Backwards-compatible - when GLUON_AUTH_ENABLED=false, no login UI, no role checks, attribution columns stay NULL. Existing single-user installs see zero behaviour change.
See docs/AUTH.md for the full architecture, login flow diagrams, RBAC model, attribution data model, transport linking flow, security properties, and migration story. docs/AUTH-OIDC.md covers OIDC-specific setup with provider-by-provider recipes.

Docker-Specific

VariableDescription
PUIDHost user UID — container runs as this user (default 1000, find with id -u)
PGIDHost group GID — container runs as this group (default 1000, find with id -g)
GH_TOKENGitHub token for HTTPS authentication (replaces SSH)
GIT_USER_NAMEGit commit author name
GIT_USER_EMAILGit commit author email
VERCEL_TOKENVercel API token (optional, used as fallback when not set in Settings UI)

Quick Start ([CLI Reference](docs/CLI-REFERENCE.md))

Choosing Your LLM Backend ([detailed guide](docs/LLM-PROVIDER.md))

Gluon talks to Claude through a pluggable provider abstraction. Pick whichever backend your organisation already uses — every feature (cost tracking, witness, approvals, budgets, session resume) works identically across all four.

```bash

Multi-User Auth (Optional · default off · [full guide](docs/AUTH.md))

VariableDefaultDescription
GLUON_AUTH_ENABLEDfalseMaster switch. When false, no login UI and no role checks — single-user install.
GLUON_LOCAL_AUTH_ENABLEDtrueSet false to disable the password endpoint (OIDC-only mode).
GLUON_AUTH_SWEEP_INTERVAL_SECS3600How often the periodic task sweeps expired sessions and unconsumed link codes.
GLUON_OIDC_ISSUER(unset)OIDC discovery URL, e.g. https://accounts.google.com. Setting this + the next 3 vars enables OIDC.
GLUON_OIDC_CLIENT_ID(unset)Client ID from your IdP's app registration.
GLUON_OIDC_CLIENT_SECRET(unset)Client secret. Never commit.
GLUON_OIDC_REDIRECT_URI(unset)Must match what's registered with the IdP, e.g. https://gluon.example.com/api/auth/oidc/callback.
GLUON_OIDC_PROVIDER_NAMEOIDCDisplay name on the login button.
GLUON_OIDC_AUTO_PROVISIONfalseAuto-create new users on first login. **Requires** GLUON_OIDC_DOMAIN_ALLOWLIST.
GLUON_OIDC_DOMAIN_ALLOWLIST(unset)Comma-separated email-domain allowlist. Required when auto-provision is on.
GLUON_OIDC_DEFAULT_ROLEviewerRole assigned to auto-provisioned users.

See docs/AUTH-OIDC.md for provider-specific recipes (Auth0, Google Workspace, AWS Cognito, Microsoft Entra ID).

Web Dashboard ([docs](docs/WEB-DASHBOARD.md) · [screenshots](docs/SCREENSHOTS.md))

  • Kanban Board - Drag-and-drop task management with Queue, Running, Review, and Done columns
  • Real-Time Log Streaming - WebSocket-powered live log output with collapsible tool call visualization
  • Run Details Modal - View messages, tool calls, commits, file diffs, and attachments
  • Notification Center - Bell icon with unread count, persistent notification history, mark read/unread
  • Global Question Modal - AskUserQuestion prompts appear as modal overlays from any page with run context (project, branch, task prompt), countdown timer, and multi-select/single-select support
  • Full-Screen Mode - Expanded view for detailed run analysis
  • Message Filtering - Filter by tools, text, or errors with counts
  • Toast Notifications - Instant feedback for merge and PR actions
  • Browser Notifications - Desktop push notifications for completed/failed runs and pending questions when tab is unfocused
  • Recovery UI - Visual indicator when recovering interrupted runs with progress tracking
  • Activity Feed - Cross-agent event stream showing run completions, PR actions, and system events
  • Work Queue Panel - Queue and schedule tasks across projects from the dashboard
  • Merge Queue Panel - Monitor and manage sequential PR merges with conflict status
  • Formula Step Progress - Violet progress bar on run cards showing current step in multi-step workflows
  • Witness Health Indicators - Real-time health classification dots on running tasks (healthy, slow, looping, stuck)
  • Input Required Badges - Visual indicators on run cards when agents are waiting for user input

Browser Automation & Screenshots

  • agent-browser - Pre-installed Chromium for headless browser automation (open, click, type, screenshot)
  • Screenshot Interception - Screenshots captured via agent-browser screenshot are automatically stored as run attachments
  • Inline Screenshot Messages - Screenshots appear as clickable thumbnails in both the Messages and Images tabs
  • System Fonts - Docker image includes Liberation, Noto CJK, DejaVu, and FreeFonts for high-quality screenshot rendering

1. Download the compose file and env template

curl -fsSL https://raw.githubusercontent.com/carrotly-ai/gluon-agent/main/docker-compose.yml -o docker-compose.yml curl -fsSL https://raw.githubusercontent.com/carrotly-ai/gluon-agent/main/.env.example -o .env

2. Edit .env with your credentials

Optional extras:

uv pip install -e '.[discord]' # Discord bot uv pip install -e '.[web]' # Web dashboard uv pip install -e '.[all]' # All optional features ```

Requirements: Python 3.12+, Claude Code CLI installed and authenticated, uv package manager, credentials for your chosen LLM backend (AWS / GCP / Azure / Anthropic API key), Git, GitHub CLI (gh) optional.

Environment Variables

Bot Configuration

VariableDescription
GLUON_TELEGRAM_TOKENTelegram bot token
GLUON_TELEGRAM_USERSAllowed Telegram user IDs (comma-separated)
GLUON_DISCORD_TOKENDiscord bot token
GLUON_DISCORD_GUILDDiscord guild (server) ID
GLUON_DISCORD_USERSAllowed Discord user IDs (comma-separated)

Anthropic → ANTHROPIC_API_KEY (or `claude login` session at ~/.claude)

Foundry → ANTHROPIC_FOUNDRY_RESOURCE + (API key or Entra ID via `az login`)

Core Capabilities ([CLI Reference](docs/CLI-REFERENCE.md))

  • Multi-Project Management - Register projects and workspaces, run tasks across your entire codebase
  • Session Resume - Continue Claude sessions with follow-up prompts, keeping full context
  • Unified Task Tracking - All tasks visible across all interfaces (CLI, Web, Telegram, Discord)
  • Model Selection - Choose between Haiku (fast), Sonnet (balanced), or Opus (complex tasks)
  • Formula Workflows - YAML-defined multi-step pipelines (Plan → Implement → Test → Review) that execute as a single unified run
  • Blueprint Validation - Automatic lint auto-fix, lint loop, and test gates after agent completion
  • Work Queue - Shared task queue for batching and scheduling work items across projects
  • Merge Queue - Sequential PR merge processing with conflict detection and retry
  • System Diagnostics - Built-in doctor command for health checks and auto-fix

Per-task via API

curl -X POST http://localhost:45866/api/runs \ -H 'Content-Type: application/json' \ -d '{"project_id": "myapp", "prompt": "...", "agent_teams": true}'


**Prompt structure for best results:**

Agent teams work best when the prompt clearly decomposes into parallel subtasks. Structure prompts with explicit deliverables that subagents can own independently:
Refactor the authentication module:

  1. API layer — Update route handlers in src/api/auth.py to use the new token format
  2. Database layer — Migrate the sessions table schema and update the ORM models
  3. Tests — Add integration tests covering the new token flow and session expiry

Each area can be worked on independently. Coordinate at the end to ensure consistency. ```

Tips: - List 2-5 distinct subtasks that can run concurrently without blocking each other - Mention shared files or interfaces that subagents should be aware of - End with a synthesis instruction so the lead agent knows to reconcile the work - Pair with --model opus for the lead agent to get better task decomposition

See the Claude Code Agent Teams documentation for full details on how the underlying SDK orchestrates subagents.

Web Dashboard ([docs](docs/WEB-DASHBOARD.md) · [API](docs/API.md))

```bash gluon web

Natural Language Interface

Chat with Gluon using natural language:

"Run a task on myapp to fix the login bug" "What's the status of my running tasks?" "Show me the logs for the last task"

3. Run a Formula (Multi-Step Workflow)

```bash

Git Integration ([docs](docs/GIT-OPERATIONS.md))

  • Worktree Isolation - Each task runs in its own git branch without affecting main
  • PR Integration - Create PRs directly from the dashboard with one click
  • Conflict Detection - Automatic detection of merge conflicts with file-level details
  • AI Conflict Resolution - One-click to have Claude rebase and resolve merge conflicts
  • Local & Remote Support - Works with both GitHub repos and local-only repositories

Formula Workflows

YAML-defined multi-step pipelines that execute as a single unified run. Each step gets its own Claude session but shares the same git worktree, run ID, and cost tracking.

Built-in formulas:

FormulaStepsDescription
featurePlan → Implement → Test → ReviewFull feature development lifecycle
bugfixDiagnose → Fix → TestBug diagnosis and resolution

```bash

Gluon vs other Claude Code orchestrators

GluonClaude DeckclaudectlKingCoding
Self-hosted
Multi-cloud LLM backend (Bedrock + Vertex + Foundry + direct)
Multi-transport (CLI+TG+Discord+Web)Web onlyCLI onlyMobile only
Session resume (fork_session)
Git worktree isolation + GCPartial
Witness auto-recovery
Background execution
Docker one-liner
Work queue (self-propelling)Partial

Table reflects published features as of 2026-04. See each project's README for current state; this is not a sponsored comparison.

🎯 aiskill88 AI 点评 B 级 2026-06-09

创新的AI���码编排方案,Docker沙箱设计安全可靠。并行任务处理能力强,但项目早期阶段,文档和社区支持有限。

📚 实用指南(长尾问题)
适合谁
  • 需要 gluon-agent 解决具体问题的开发者与运营人员
最佳实践
  • 生产部署优先使用 Docker Compose 隔离依赖,并挂载 volume 持久化数据
常见错误
  • API key 直接提交到 git 仓库(请用 .env 并加入 .gitignore)
  • 容器内无法访问宿主机 localhost — 使用 host.docker.internal
  • Python 依赖冲突:建议用 venv / uv 隔离环境
部署方案
  • Docker:gluon-agent 提供官方镜像,docker compose up 一键启动
  • 云端托管:可放在 Vercel / Railway / Fly.io 等 PaaS 平台
相关搜索
gluon-agent 中文教程gluon-agent 安装报错怎么办gluon-agent Docker 部署gluon-agent 与同类工具对比gluon-agent 最佳实践gluon-agent 适合谁用

⚡ 核心功能

👥 适合谁
  • 需要 gluon-agent 解决具体问题的开发者与运营人员
⭐ 最佳实践
  • 生产部署优先使用 Docker Compose 隔离依赖,并挂载 volume 持久化数据
⚠️ 常见错误
  • API key 直接提交到 git 仓库(请用 .env 并加入 .gitignore)
  • 容器内无法访问宿主机 localhost — 使用 host.docker.internal
  • Python 依赖冲突:建议用 venv / uv 隔离环境

👥 适合人群

AI 技术爱好者研究人员和学生开发者和工程师技术创业者

🎯 使用场景

  • 本地部署运行,保护数据隐私,满足合规要求
  • 自定义集成到现有系统,扩展技术栈能力
  • 作为开源基础组件进行商业化二次开发

⚖️ 优点与不足

✅ 优点
  • +MIT 协议,可免费商用
  • +完全开源免费,无授权费用
  • +本地部署,数据完全自主可控
  • +开发者社区支持,遇问题可查可问
⚠️ 不足
  • 安装和初始配置可能需要一定技术基础
  • 功能完整性通常不如成熟商业产品
  • 技术支持主要依赖开源社区,响应速度不稳定
⚠️ 使用须知

AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。

建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。

📄 License 说明

✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。

🔗 相关工具推荐

🧩 你可能还需要
基于当前 Skill 的能力图谱,自动补全的工具组合

❓ 常见问题 FAQ

采用Docker沙箱隔离,所有代码在容器内执行,防止对主机系统的影响。
💡 AI Skill Hub 点评

经综合评估,Gluon AI编码智能体 在AI工具赛道中表现稳健,质量良好。如果你已有明确的使用需求,可以直接上手体验;如果还在评估阶段,建议对比同类工具后再做决策。

📚 深入学习 Gluon AI编码智能体
查看分步骤安装教程和完整使用指南,快速上手这款工具
🌐 原始信息
原始名称 gluon-agent
原始描述 开源AI工作流:AI coding agent orchestrator — run parallel Claude Code tasks in sandboxed Docke。⭐9 · Python
Topics AI编码工作流编排多任务并行Claude集成Docker沙箱
GitHub https://github.com/carrotly-ai/gluon-agent
License MIT
语言 Python
🔗 原始来源
🐙 GitHub 仓库  https://github.com/carrotly-ai/gluon-agent

收录时间:2026-06-09 · 更新时间:2026-06-11 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。