Skip to main content
Beads integrates with Aider to provide AI-assisted coding with structured issue tracking. Unlike autonomous agents, Aider follows a human-in-the-loop design where the AI suggests commands and you confirm them.

Overview

Aider is an AI pair programming tool that works in your terminal. The beads integration:
  • Creates .aider.conf.yml with bd workflow instructions
  • Provides .aider/README.md with quick reference
  • Instructs the AI to suggest bd commands (not run them automatically)
  • Respects aider’s human-in-the-loop philosophy
Aider requires explicit user confirmation to run commands via the /run command. This gives you full control over what gets executed.

Installation

1

Install Beads

Install the Beads CLI:
Initialize in your project:
2

Setup Aider integration

Install aider integration files:
This creates:
  • .aider.conf.yml - Instructions for the AI about bd workflow
  • .aider/README.md - Quick reference guide
Verify installation:
3

Install Aider

Install aider via pip:

Usage Workflow

Starting a Session

1

Start aider

2

Ask about available work

3

Run the suggested command

Aider displays ready issues with no blockers.
4

Claim an issue

During Development

The AI suggests appropriate bd commands as you work:

Completing Work

When you’re done:

Configuration

.aider.conf.yml

The config file contains instructions for the AI:
You can customize this file to add project-specific instructions.

Aider Commands vs bd Commands

Aider commands start with / and control aider itself:
  • /run <command> - Run a shell command
  • /add <file> - Add file to context
  • /help - Show aider help
bd commands are run via /run:
  • /run bd ready - Check available work
  • /run bd create "..." - Create an issue
  • /run bd show bd-42 - View issue details

Common Patterns

Starting Work

Discovering Work

Completing Work

Checking Status

Comparison: Aider vs Claude Code

Aider

Human-in-the-Loop
  • User must confirm all commands via /run
  • Full control over execution
  • AI suggests bd commands
  • More manual interaction

Claude Code

Autonomous
  • AI directly executes bd commands
  • Faster workflow
  • Hooks auto-inject bd context
  • Less user control
Both approaches work well with beads! Choose based on your preference for automation vs. control.

Tips for Aider Users

1. Ask for Suggestions

Instead of running commands yourself, ask the AI:

2. Let the AI Track Work

The AI knows the bd workflow and will suggest appropriate commands:

3. Use bd prime for Context

Get the full workflow guide:
The AI will read this and have complete context about bd commands.

4. Create Aliases

Add to your shell config for faster commands:
Then in aider:

Troubleshooting

  1. Check that .aider.conf.yml exists:
  2. Reload aider to pick up the config:
  3. Explicitly ask about bd:
Make sure you’re in a beads-initialized directory:
If not initialized:
This removes .aider.conf.yml and .aider/README.md.

Advanced Usage

Multi-File Context

Aider can track multiple files. Combine with bd:

Batch Operations

Run multiple bd commands in sequence:

Integration with Git

Aider handles git commits. bd tracks issues. They work together:
  1. Claim issue: /run bd update bd-42 --claim
  2. Make changes with aider
  3. Aider commits changes
  4. Complete issue: /run bd close bd-42
  5. Sync issues: /run bd sync

Example Session

See Also

Aider Documentation

Official Aider documentation

Beads Quick Start

Learn Beads basics

Claude Code

Autonomous AI agent integration

Copilot Integration

Use Beads with GitHub Copilot