能力标签
代码编织代理
⚙️
Agent工作流

代码编织代理

基于 Rust · 无代码搭建完整 AI 自动化流程
英文名:codetether-agent
⭐ 7 Stars 🍴 1 Forks 💻 Rust 📄 未公布协议 🏷 AI 7.5分
7.5AI 综合评分
AIRust工作流
✦ AI Skill Hub 推荐

AI Skill Hub 推荐使用:代码编织代理 是一款优质的Agent工作流。AI 综合评分 7.5 分,在同类工具中表现稳健。如果你正在寻找可靠的Agent工作流解决方案,这是一个值得深入了解的选择。

📚 深度解析

代码编织代理 是一套完整的 AI Agent 自动化工作流方案。随着 AI 能力的不断提升,基于 Agent 的自动化工作流正在成为提升个人和团队效率的核心方式。区别于传统的 RPA 自动化(模拟鼠标键盘操作),AI Agent 工作流通过理解任务意图、动态规划执行路径,能够处理更复杂的非结构化任务。

代码编织代理 工作流的设计遵循"最小配置,最大复用"原则:核心逻辑已经封装好,用户只需配置自己的 API Key 和业务参数即可快速上手。工作流内置错误处理和重试机制,在网络波动或 API 限速等情况下仍能稳定运行,适合作为生产环境的自动化基础设施。

在实际部署时,建议先在测试环境中运行 3-5 次,验证各个环节的输出结果符合预期,再部署到生产环境。AI Skill Hub 评分 7.5 分,是同类 Agent 工作流中的精选推荐。

📋 工具概览

代码编织代理 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。

GitHub Stars
⭐ 7
开发语言
Rust
支持平台
Windows / macOS / Linux
维护状态
轻量级项目,按需更新
开源协议
未公布
AI 综合评分
7.5 分
工具类型
Agent工作流
Forks
1

📖 中文文档

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

代码编织代理 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。

📌 核心特色
  • 可视化 Agent 工作流编排,无需编写复杂代码
  • 支持多步骤自动化任务链,实现全流程无人值守
  • 与外部 API、数据库和第三方服务无缝集成
  • 内置错误处理与自动重试机制,保障稳定运行
  • 提供可复用的自动化模板,快速在同类场景部署
🎯 主要使用场景
  • 自动化日常重复性工作,将精力集中于创造性任务
  • 构建数据采集 → 处理 → 输出的完整自动化管线
  • 实现跨平台、跨系统的数据流转和业务协同
以下安装命令基于项目开发语言和类型自动生成,实际以官方 README 为准。
安装命令
# 方式一:cargo install(推荐)
cargo install codetether-agent

# 方式二:从源码编译
git clone https://github.com/rileyseaburg/codetether-agent
cd codetether-agent
cargo build --release
# 二进制在 ./target/release/codetether-agent
📋 安装步骤说明
  1. 访问 GitHub 仓库获取工作流文件
  2. 在对应平台(Dify / Flowise / Make 等)中找到「导入工作流」功能
  3. 上传工作流文件
  4. 按照提示配置必要的环境变量和 API Key
  5. 运行测试确认流程正常后投入使用
以下用法示例由 AI Skill Hub 整理,涵盖最常见的使用场景。
常用命令 / 代码示例
# 查看帮助
codetether-agent --help

# 基本运行
codetether-agent [options] <input>

# 详细使用说明请查阅文档
# https://github.com/rileyseaburg/codetether-agent
以下配置示例基于典型使用场景生成,具体参数请参照官方文档调整。
配置示例
# codetether-agent 配置说明
# 查看配置选项
codetether-agent --config-example > config.yml

# 常见配置项
# output_dir: ./output
# log_level: info
# workers: 4

# 环境变量(覆盖配置文件)
export CODETETHER_AGENT_CONFIG="/path/to/config.yml"
📑 README 深度解析 真实文档 完整度 87/100 查看 GitHub 原文 →
以下内容由系统直接从 GitHub README 解析整理,保留代码块、表格与列表结构。

CodeTether Agent

Crates.io npm License: MIT GitHub Release

A high-performance AI coding agent written in Rust. A2A (Agent-to-Agent) protocol support with dual JSON-RPC + gRPC transports, in-process agent message bus, rich terminal UI, parallel swarm execution, autonomous PRD-driven development, local FunctionGemma tool-call router, derived context per turn, and a TetherScript plugin platform — extend the agent with zero Rust and zero rebuilds by dropping a .tether script file.

Features

Production / hardened mode: require Vault-configured providers only.

export CODETETHER_DISABLE_ENV_FALLBACK=1 ```

Install

Also install the FunctionGemma model (~292 MB)

curl -fsSL https://raw.githubusercontent.com/rileyseaburg/codetether-agent/main/install.sh | sh -s -- --functiongemma ```

To also install FunctionGemma, run the script with -FunctionGemma

iwr https://raw.githubusercontent.com/rileyseaburg/codetether-agent/main/install.ps1 -OutFile install.ps1 .\install.ps1 -FunctionGemma ```

Quick Start

1. Configure Provider Credentials

Provider API keys are loaded from HashiCorp Vault first. For local development, CodeTether also detects common env vars and local AWS credentials unless CODETETHER_DISABLE_ENV_FALLBACK=1 is set.

```bash export VAULT_ADDR="https://vault.example.com:8200" export VAULT_TOKEN="hvs.your-token"

Environment variables for history persistence (optional)

export CODETETHER_HISTORY_S3_ENDPOINT="http://localhost:9000" export CODETETHER_HISTORY_S3_BUCKET="codetether-history" export CODETETHER_HISTORY_S3_ACCESS_KEY="minioadmin" export CODETETHER_HISTORY_S3_SECRET_KEY="minioadmin" ```

Configuration

~/.config/codetether-agent/config.toml:

```toml [default] provider = "anthropic" model = "claude-sonnet-4-20250514"

[ui] theme = "marketing" # marketing, dark, light, solarized-dark, solarized-light

[session] auto_save = true

[lsp] [lsp.servers]

Environment Variables

VariableDefaultDescription
VAULT_ADDRVault server address
VAULT_TOKENAuthentication token
VAULT_MOUNTsecretKV mount path
VAULT_SECRETS_PATHcodetether/providersProvider secrets prefix
CODETETHER_AUTH_TOKEN(auto-generated)Bearer token for API auth
CODETETHER_DATA_DIR.codetether-agentRuntime data directory
CODETETHER_GRPC_PORT50051gRPC server port
CODETETHER_A2A_PEERSComma-separated peer seed URLs

Cognition APIs

When running codetether serve, perpetual persona swarms with SSE event stream:

MethodEndpointDescription
POST/v1/cognition/startStart perpetual cognition loop
POST/v1/cognition/stopStop cognition loop
GET/v1/cognition/statusRuntime status and metrics
GET/v1/cognition/streamSSE stream of thought events
POST/v1/swarm/personasCreate a root persona
POST/v1/swarm/personas/{id}/spawnSpawn child persona
POST/v1/swarm/personas/{id}/reapReap a persona
GET/v1/swarm/lineagePersona lineage graph

Auth workflows

codetether auth login --server https://api.codetether.run codetether auth register --server https://api.codetether.run codetether auth cookies --provider gemini-web --file cookies.txt

TetherScript: Zero-Rust Plugin Platform

TetherScript is CodeTether's scriptable extension layer. Third parties can add new providers, enforce custom policies, and build automation workflows without writing Rust, without recompiling, and without restarting the agent. Drop a .tether file anywhere, call it through the tetherscript_plugin tool, and the running agent executes it immediately.

Why it's different

ApproachRequires Rust?Requires rebuild?Hot-reloadable?
Built-in Rust toolYesYesNo
MCP external serverNoNoYes
**TetherScript plugin****No****No****Yes**

TetherScript plugins run inside the agent process with access to the full built-in surface: HTTP, filesystem, JSON, JavaScript evaluation, and live browser rendering — no sandbox limitations by default.

Quick example — call a local LM Studio model without touching Rust

{
  "path": "examples/tetherscript/lmstudio_gemma.tether",
  "hook": "chat",
  "args": ["explain this codebase", "gemma"]
}

The plugin (lmstudio_gemma.tether) uses http_request to call http://localhost:1234/v1/chat/completions — wiring an entirely new LLM backend with ~55 lines of script.

Inline scripts — the agent can write and run its own tools dynamically

{
  "source": "fn validate(x) { return Ok(x > 0) }",
  "hook": "validate",
  "args": [42]
}

The source field lets the LLM generate and execute logic in-band — a self-extending agent pattern.

Built-in plugins

FileHooksPurpose
guardrails.tetherallow_path, scan_textCustom security policies
task_score.tetherscore, classifyTask prioritization
test_output.tethercargo_status, next_actionTest result routing
pr_summary.tethertitle, checklistPR description helpers
release_note.tethersummarizeRelease note generation
deepseek_repair.tetherrepair_msgFix null reasoning content
cerebras_chat.tethercomplete, modelsCerebras LLM provider
lmstudio_gemma.tetherchat, chat_at, complete, modelsLM Studio / Gemma provider
browser_render.tetherrender, snapshot, layoutHTML/CSS rendering
browser_dom.tethertext, query, extract_linksDOM querying
browser_js.tethereval_js, run_scripts, compatBrowser JS runtime
js_eval.tethereval, eval_jsonJavaScript evaluation

Built-in TetherScript functions

  • HTTP: http_get, http_post, http_request
  • Filesystem: fs_read, fs_write, fs_exists, fs_list
  • JSON: json_parse, json_encode, json_encode_pretty
  • JS / Browser: js_eval, browser_render, browser_eval_js, browser_snapshot, browser_query_selector
  • Strings: .contains(), .split(), .replace(), .upper(), .lower()

See docs/plugin_pattern.md for the full contract, return value conventions, and testing patterns.

---

my-ruby-lsp = { command = "ruby-lsp", args = ["--stdio"], file_extensions = ["rb"] }

[lsp.linters] eslint = { enabled = true } ruff = { enabled = true } biome = { enabled = false } stylelint = { enabled = true } ```

Project-local codetether.toml policy fields are sanitized until the current workspace is trusted. Use codetether config project status to inspect the current workspace, codetether config project trust to allow project-local sandbox/approval/permission policy, and codetether config project untrust to remove that trust. Trust records are stored outside the repository and keyed by the canonical workspace path hash.

VS Code (Workspace-Level)

Add .vscode/mcp.json to your workspace:

{
  "servers": {
    "codetether": {
      "command": "/home/riley/.cargo/bin/codetether",
      "args": ["mcp", "serve"],
      "env": {
        "RUST_LOG": "error"
      }
    }
  }
}
🎯 aiskill88 AI 点评 A 级 2026-06-12

高质量的AI工作流代理,值得关注

⚡ 核心功能

👥 适合人群

自动化工程师和运维人员项目经理和业务分析师希望减少重复性工作的专业人士数字化转型团队

🎯 使用场景

  • 自动化日常重复性工作,将精力集中于创造性任务
  • 构建数据采集 → 处理 → 输出的完整自动化管线
  • 实现跨平台、跨系统的数据流转和业务协同

⚖️ 优点与不足

✅ 优点
  • +大幅减少重复性人工操作
  • +可视化流程,清晰直观
  • +可扩展性强,支持复杂场景
⚠️ 不足
  • 未明确开源协议,商用场景需谨慎评估
  • 初始配置和调试需投入一定时间
  • 强依赖外部服务的稳定性
  • 复杂场景需具备一定技术基础
⚠️ 使用须知

该工具未明确声明开源协议,商业使用前请联系原作者确认授权范围,避免侵权风险。

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

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

🔗 相关工具推荐

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

❓ 常见问题 FAQ

CodeTether是一个开源的AI工作流平台
💡 AI Skill Hub 点评

总体来看,代码编织代理 是一款质量良好的Agent工作流,在同类工具中具备一定竞争力。AI Skill Hub 将持续追踪其更新动态,建议收藏备用,结合自身场景选择合适时机引入使用。

⬇️ 获取与下载
⚠️ 该工具未声明开源协议,不提供直接下载。请访问原项目了解使用条款。
📚 深入学习 代码编织代理
查看分步骤安装教程和完整使用指南,快速上手这款工具
🌐 原始信息
原始名称 codetether-agent
原始描述 开源AI工作流:A2A-native AI coding agent in Rust for the CodeTether platform。⭐7 · Rust
Topics AIRust工作流
GitHub https://github.com/rileyseaburg/codetether-agent
语言 Rust
🔗 原始来源
🐙 GitHub 仓库  https://github.com/rileyseaburg/codetether-agent

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