Integrate Beads with Aider for AI-assisted coding with human-in-the-loop issue tracking
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.
The AI suggests appropriate bd commands as you work:
You: I found a bug in the auth codeAider: Let's track that. Run:/run bd create "Fix auth bug in login handler" \ --description="Login fails with 500 when password contains quotes" \ -t bug -p 1
You: This issue is completeAider: Great! Mark it complete by running:/run bd close bd-42 --reason "Implemented login fix and added tests"Then sync to git:/run bd sync
# Core workflow rules:# 1. Track ALL work in bd (never use markdown TODOs)# 2. Suggest 'bd ready' to find available work# 3. Suggest 'bd create' for new issues/tasks/bugs# 4. Suggest 'bd sync' at end of session# 5. ALWAYS suggest commands - user will run them via /run
You can customize this file to add project-specific instructions.
# Create a new issue/run bd create "Refactor auth module" \ --description="Current auth code has tight coupling" \ -t task -p 2# Link it to current work/run bd dep add bd-new --type discovered-from --target bd-abc
$ aiderYou: What issues are ready to work on?Aider: Let me check. Run:/run bd ready📋 Ready work (3 issues with no blockers):1. [P1] bd-42: Fix login bug2. [P2] bd-99: Add password reset3. [P3] bd-17: Refactor auth testsYou: Let's work on bd-42Aider: Great! First claim it:/run bd update bd-42 --claimYou: Can you show me the details?Aider: Run:/run bd show bd-42[Shows issue details]You: Ok, add the auth files to contextAider: Added src/auth/login.py and src/auth/utils.pyYou: Fix the bug described in the issue[Aider makes the changes]You: Looks good! Mark it completeAider: Run:/run bd close bd-42 --reason "Fixed login bug - added input validation"Then sync:/run bd sync