Gluon AI编码智能体 是 AI Skill Hub 本期精选AI工具之一。综合评分 7.2 分,整体质量较高。我们推荐使用将其纳入你的 AI 工具库,帮助提升工作效率。
Gluon AI编码智能体 是一款基于 Python 开发的开源工具,专注于 AI编码、工作流编排、多任务并行 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
Gluon AI编码智能体 是一款基于 Python 开发的开源工具,专注于 AI编码、工作流编排、多任务并行 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
# 方式一: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('安装成功')"
# 命令行使用
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"
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.


See all screenshots in docs/SCREENSHOTS.md
gluon formula run feature myapp --var description="Add dark mode support"
project:myapp)--model opus in Discord/Telegram to specify modelsgluon formula run feature myapp --var description="Add user authentication"
gluon recover)gluon cleanup)~/.gluon disk usage (gluon stats)Run Gluon from a pre-built image — no clone or build required:
```bash
```bash
uv venv uv pip install -e .
sandbox-exec (macOS), restricting filesystem access to the git worktreepython:3.12-slim-bookworm base with non-root gluon user; no full host filesystem access~/.claude, ~/.gluon, ~/workspaces), with common credentials (~/.aws, ~/.config/gh) mounted read-onlyagent-browser session, preventing cross-task cookie/state leakageSelf-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:
admin (full control), operator (create runs, decide approvals), viewer (read-only).ExecutionRun, OrchestratorTask, and PendingApproval records who created or decided it, surfaced in the dashboard and the audit trail./admin/users screen (list / create / edit role / disable / reset password)./link <code> (Telegram) or link-account <code> (Discord) to the bot, done. Approvals from chat are then attributed to the right user.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.GLUON_AUTH_ENABLED=false, no login UI, no role checks, attribution columns stay NULL. Existing single-user installs see zero behaviour change.Seedocs/AUTH.mdfor the full architecture, login flow diagrams, RBAC model, attribution data model, transport linking flow, security properties, and migration story.docs/AUTH-OIDC.mdcovers OIDC-specific setup with provider-by-provider recipes.
| Variable | Description |
|---|---|
PUID | Host user UID — container runs as this user (default 1000, find with id -u) |
PGID | Host group GID — container runs as this group (default 1000, find with id -g) |
GH_TOKEN | GitHub token for HTTPS authentication (replaces SSH) |
GIT_USER_NAME | Git commit author name |
GIT_USER_EMAIL | Git commit author email |
VERCEL_TOKEN | Vercel API token (optional, used as fallback when not set in Settings UI) |
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
| Variable | Default | Description |
|---|---|---|
GLUON_AUTH_ENABLED | false | Master switch. When false, no login UI and no role checks — single-user install. |
GLUON_LOCAL_AUTH_ENABLED | true | Set false to disable the password endpoint (OIDC-only mode). |
GLUON_AUTH_SWEEP_INTERVAL_SECS | 3600 | How 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_NAME | OIDC | Display name on the login button. |
GLUON_OIDC_AUTO_PROVISION | false | Auto-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_ROLE | viewer | Role assigned to auto-provisioned users. |
See docs/AUTH-OIDC.md for provider-specific recipes (Auth0, Google Workspace, AWS Cognito, Microsoft Entra ID).
agent-browser screenshot are automatically stored as run attachmentscurl -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
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.
| Variable | Description |
|---|---|
GLUON_TELEGRAM_TOKEN | Telegram bot token |
GLUON_TELEGRAM_USERS | Allowed Telegram user IDs (comma-separated) |
GLUON_DISCORD_TOKEN | Discord bot token |
GLUON_DISCORD_GUILD | Discord guild (server) ID |
GLUON_DISCORD_USERS | Allowed Discord user IDs (comma-separated) |
doctor command for health checks and auto-fixcurl -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:
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.
```bash gluon web
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"
```bash
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:
| Formula | Steps | Description |
|---|---|---|
feature | Plan → Implement → Test → Review | Full feature development lifecycle |
bugfix | Diagnose → Fix → Test | Bug diagnosis and resolution |
```bash
| Gluon | Claude Deck | claudectl | KingCoding | |
|---|---|---|---|---|
| Self-hosted | ✅ | ✅ | ✅ | ❌ |
| Multi-cloud LLM backend (Bedrock + Vertex + Foundry + direct) | ✅ | ❌ | ❌ | ❌ |
| Multi-transport (CLI+TG+Discord+Web) | ✅ | Web only | CLI only | Mobile only |
| Session resume (fork_session) | ✅ | — | — | — |
| Git worktree isolation + GC | ✅ | — | Partial | — |
| 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.
创新的AI���码编排方案,Docker沙箱设计安全可靠。并行任务处理能力强,但项目早期阶段,文档和社区支持有限。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
经综合评估,Gluon AI编码智能体 在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 |
收录时间:2026-06-09 · 更新时间:2026-06-11 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。