AI Skill Hub 强烈推荐:aft Agent工作流 是一款优质的AI工具。AI 综合评分 8.2 分,在同类工具中表现稳健。如果你正在寻找可靠的AI工具解决方案,这是一个值得深入了解的选择。
基于Tree-sitter的开源AI工作流框架,专为AI编码agent设计。提供代码操纵和分析能力,支持多语言AST解析。适合构建智能代码助手、自动化重构工具和代码生成系统的开发者。
aft Agent工作流 是一款基于 Rust 开发的开源工具,专注于 代码分析、工作流框架、AI代理 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
基于Tree-sitter的开源AI工作流框架,专为AI编码agent设计。提供代码操纵和分析能力,支持多语言AST解析。适合构建智能代码助手、自动化重构工具和代码生成系统的开发者。
aft Agent工作流 是一款基于 Rust 开发的开源工具,专注于 代码分析、工作流框架、AI代理 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
# 方式一:cargo install(推荐) cargo install aft # 方式二:从源码编译 git clone https://github.com/cortexkit/aft cd aft cargo build --release # 二进制在 ./target/release/aft
# 查看帮助 aft --help # 基本运行 aft [options] <input> # 详细使用说明请查阅文档 # https://github.com/cortexkit/aft
# aft 配置说明 # 查看配置选项 aft --config-example > config.yml # 常见配置项 # output_dir: ./output # log_level: info # workers: 4 # 环境变量(覆盖配置文件) export AFT_CONFIG="/path/to/config.yml"
<p align="center"> <strong>Give your agent a proper IDE and OS.</strong><br> The sensorimotor cortex for coding agents. <br> </p>
<p align="center"> <img src="assets/aft_banner.jpg" alt="AFT, the sensorimotor cortex for coding agents" width="80%"> </p>
<p align="center"> <a href="https://crates.io/crates/agent-file-tools"><img src="https://img.shields.io/crates/v/agent-file-tools?label=crate&color=blue&style=flat-square" alt="crates.io"></a> <a href="https://www.npmjs.com/package/@cortexkit/aft"><img src="https://img.shields.io/npm/v/@cortexkit/aft?label=cli&color=blue&style=flat-square" alt="npm @cortexkit/aft"></a> <a href="https://www.npmjs.com/package/@cortexkit/aft-opencode"><img src="https://img.shields.io/npm/v/@cortexkit/aft-opencode?label=opencode&color=blue&style=flat-square" alt="npm @cortexkit/aft-opencode"></a> <a href="https://www.npmjs.com/package/@cortexkit/aft-pi"><img src="https://img.shields.io/npm/v/@cortexkit/aft-pi?label=pi&color=blue&style=flat-square" alt="npm @cortexkit/aft-pi"></a> <a href="https://discord.gg/DSa65w8wuf"><img src="https://img.shields.io/discord/1488852091056295957?style=flat-square&logo=discord&logoColor=white&label=Discord&color=5865F2" alt="Discord"></a> <a href="https://github.com/cortexkit/aft/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-MIT-green?style=flat-square" alt="MIT License"></a> </p>
<p align="center"> <a href="#what-is-aft">What is AFT?</a> · <a href="#quick-start">Quick Start</a> · <a href="#uninstall">Uninstall</a> · <a href="#part-of-cortexkit">CortexKit</a> · <a href="#-sensory-cortex-perceive">Sensory</a> · <a href="#-motor-cortex-act">Motor</a> · <a href="#-brainstem-keep-it-alive">Brainstem</a> · <a href="#architecture">Architecture</a> · <a href="https://discord.gg/DSa65w8wuf">💬 Discord</a> </p>
---
1. Stop or finish running AFT background tasks. If you want to review what removal leaves behind first, run npx @cortexkit/aft@latest doctor; it prints an If you remove AFT section with last-seven-day usage, running tasks that would orphan, and undo history that would become unreachable. 2. Remove the harness registration: - OpenCode: In ~/.config/opencode/opencode.jsonc (or opencode.json; OPENCODE_CONFIG_DIR can override the directory), remove "@cortexkit/aft-opencode@latest" from the top-level "plugin" array. If setup added the same entry to tui.jsonc or tui.json, remove it there too. - Pi: Run pi remove npm:@cortexkit/aft-pi (pi uninstall is an alias). This removes AFT from Pi's package list in ~/.pi/agent/settings.json (PI_CODING_AGENT_DIR can override the directory).
AFT has no uninstall CLI verb. npx @cortexkit/aft@latest doctor --clear only clears selected caches; it does not remove registration, config, or shared storage. 3. Delete the AFT config files and data directories described in Configuration — uninstall paths.
---
npx @cortexkit/aft@latest setup
Auto-detects which harnesses you have installed and configures each one. On the next session start, the aft binary downloads if needed and all tools come online. Target a specific harness with --harness opencode or --harness pi.
What setup does to each host:
read, write, edit, and apply_patch with AFT-backed versions, and adds the aft_ family on top.read, write, edit, and grep, and adds the aft_ family on top.@cortexkit/aft-pi). Registers tools top-level by default via pi.tool_presentation: "top_level" (loadMode: "essential"), folding per-tool guidance into descriptions; set pi.tool_presentation: "host_default" to opt into OMP's xd:// device mounting model. hoist_builtin_tools toggles replacing host built-ins vs. registering aft_ prefixed alternatives.See the CLI reference for doctor, doctor --fix, doctor lsp, and cache-management commands.
AFT works out of the box; everything below is optional. Configure it via aft.jsonc at the user or project level: tool surface, semantic-search backend, LSP servers, bash compression, and more.
Set top-level "enabled": false in ~/.config/cortexkit/aft.jsonc to disable AFT globally, or in <project>/.cortexkit/aft.jsonc to disable it only for that project; project config can set enabled: true to re-enable over a user-level default.
| Key | Purpose |
|---|---|
inspect.duplicates.expected_mirrors | Array of [globA, globB] pairs for intentional mirrored harnesses. Matching duplicate groups are suppressed but counted in aft_inspect output. |
See the configuration reference for the full schema, and the CLI reference for setup, doctor, and cache commands.
---
高质量Rust工具框架,Tree-sitter赋予强大的多语言分析能力。agent场景针对性强,社区关注度可继续提升。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
总体来看,aft Agent工作流 是一款质量优秀的AI工具,在同类工具中具备一定竞争力。AI Skill Hub 将持续追踪其更新动态,建议收藏备用,结合自身场景选择合适时机引入使用。
| 原始名称 | aft |
| 原始描述 | 开源AI工作流:Tree-sitter powered code manipulation and analysis tools for AI coding agents。⭐96 · Rust |
| Topics | 代码分析工作流框架AI代理Rust工具AST解析 |
| GitHub | https://github.com/cortexkit/aft |
| License | MIT |
| 语言 | Rust |
收录时间:2026-05-18 · 更新时间:2026-05-19 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。