Files
nexus/wiki/sources/aider-readme.md
2026-05-03 05:42:12 +08:00

45 lines
2.0 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: "Aider Integration"
type: source
tags: []
date: 2026-04-30
---
## Source File
- [[Agent/agency-agents/integrations/aider/README.md]]
## Summary用中文描述
- 核心主题Aider 编辑器与 The Agency Agent 规范系统的集成方式
- 问题域:如何在 Aider 编辑器中激活和使用基于 The Agency 规范的 AI Agent
- 方法/机制:通过 `install.sh` 脚本安装 + 在 Aider 会话中按名称引用 Agent或手动传递 `CONVENTIONS.md` 文件
- 结论/价值:实现 Aider 与 The Agency Agent 规范体系的无缝对接,简化 AI 辅助编程工作流
## Key Claims用中文描述
- The Agency 的完整 Agent 名册集中在一个 `CONVENTIONS.md` 文件中
- Aider 会在项目根目录自动读取 `CONVENTIONS.md`(当该文件存在时)
- 通过名称引用即可在 Aider 会话中激活对应的 Agent如 "Frontend Developer"、"Reality Checker"
- 也可通过 `aider --read CONVENTIONS.md` 手动指定约定文件
- 使用 `convert.sh --tool aider` 可重新生成最新的 CONVENTIONS.md
## Key Quotes
> "The full Agency roster is consolidated into a single `CONVENTIONS.md` file. Aider reads this file automatically when it's present in your project root." — 安装与自动读取机制
## Key Concepts
- [[CONVENTIONS.md]]The Agency 中 Aider 集成的核心文件,汇集所有 Agent 定义
- [[The Agency]]:多工具、多场景的 AI Agent 规范仓库
- [[Agent Integration]]:将统一 Agent 格式适配到各编码工具的适配层
- [[Aider]]:支持 AI 结对编程的终端编辑器
## Key Entities
- [[Aider]]:终端 AI 编程工具,支持通过约定文件调用 Agent
- [[Agency Agents]]The Agency 项目中的 Agent 定义集合
## Connections
- [[CONVENTIONS.md]] ← generated_by ← [[convert.sh]]
- [[CONVENTIONS.md]] ← read_by ← [[Aider]]
- [[install.sh]] ← installs ← [[Aider Integration]]
- [[The Agency]] ← provides ← [[Agency Agents]]
## Contradictions
- 暂无已知冲突