43 lines
2.0 KiB
Markdown
43 lines
2.0 KiB
Markdown
---
|
||
title: "Aider Integration"
|
||
type: source
|
||
tags: []
|
||
date: 2026-05-02
|
||
---
|
||
|
||
## Source File
|
||
- [[Agent/agency-agents/integrations/aider/README.md]]
|
||
|
||
## Summary(用中文描述)
|
||
- 核心主题:Aider 编辑器集成 The Agency Agent 资产的安装与使用指南
|
||
- 问题域:如何在 Aider 项目中激活并调用 The Agency 的多智能体 Agent 角色
|
||
- 方法/机制:通过 `install.sh --tool aider` 安装,将 Agent 配置注入 Aider 项目;Aider 自动读取项目根目录下的 `CONVENTIONS.md` 文件以激活 Agent 角色
|
||
- 结论/价值:The Agency 的 Agent 资产可通过 CONVENTIONS.md 机制无缝集成到 Aider 工作流中,实现项目级的多智能体编码辅助
|
||
|
||
## Key Claims(用中文描述)
|
||
- Aider 会自动检测并读取项目根目录中的 `CONVENTIONS.md` 文件
|
||
- 安装脚本 `install.sh --tool aider` 将 The Agency 的 Agent 配置转换为 Aider 可识别的格式
|
||
- 用户可通过 `convert.sh --tool aider` 重新生成配置文件
|
||
- 在 Aider 会话中直接通过名称引用 Agent(如 "Frontend Developer")
|
||
|
||
## Key Quotes
|
||
> "The full Agency roster is consolidated into a single `CONVENTIONS.md` file" — 所有 Agent 角色汇总在单一的 CONVENTIONS.md 文件中
|
||
> "Aider reads this file automatically when it's present in your project root" — Aider 自动读取项目根目录的 CONVENTIONS.md
|
||
> "Use the Frontend Developer agent to refactor this component" — Aider 会话中按名称调用 Agent
|
||
|
||
## Key Concepts
|
||
- [[CONVENTIONS.md]]:The Agency Agent 角色配置文件,Aider 自动读取
|
||
- [[Project-Scoped-Integration]]:项目级工具集成模式(需在项目根目录安装)
|
||
- [[Agent-Activation]]:Agent 激活机制,通过名称引用在对话中调用
|
||
|
||
## Key Entities
|
||
- [[Aider]]:Aider CLI 编码工具,AI 结对编程编辑器
|
||
- [[The-Agency]]:The Agency 多智能体编码框架(147+ Agent 角色)
|
||
|
||
## Connections
|
||
- [[The-Agency]] ← provides_agents_to ← [[Aider]]
|
||
- [[Aider]] ← reads ← [[CONVENTIONS.md]]
|
||
|
||
## Contradictions
|
||
- 无已知内容冲突
|