RA.Aid  by ai-christianson

Autonomous coding agent built on LangGraph for software development

Created 9 months ago
2,133 stars

Top 21.1% on SourcePulse

GitHubView on GitHub
Project Summary

RA.Aid is an autonomous software development agent designed to assist developers with multi-step coding tasks, research, and planning. It leverages LangGraph's agent framework and can optionally integrate with aider for enhanced code editing, aiming for near-complete automation of software development processes.

How It Works

RA.Aid employs a three-stage architecture: Research, Planning, and Implementation. Each stage is powered by dedicated AI agents and specialized tools. The agent breaks down complex tasks into discrete steps, executes shell commands autonomously, and can utilize advanced reasoning models for complex problem-solving. It also integrates web research via the Tavily API to gather real-world context.

Quick Start & Requirements

  • Installation: pip install ra-aid (or brew install ra-aid on macOS).
  • Prerequisites: API keys for AI services (Anthropic, OpenAI, OpenRouter, Gemini, DeepSeek) and Tavily are required. ripgrep is a system dependency for Windows.
  • Setup: Setting up API keys in a .env file is necessary.
  • Documentation: https://docs.ra-aid.ai

Highlighted Details

  • Supports multiple LLM providers including Anthropic (default), OpenAI, OpenRouter, Gemini, and DeepSeek.
  • Optional integration with aider via --use-aider flag for specialized code editing.
  • Features a human-in-the-loop mode (--hil) for interactive assistance and a --chat mode for collaborative development.
  • Includes an alpha web interface accessible via ra-aid --server.

Maintenance & Community

Licensing & Compatibility

  • License: Apache License 2.0.
  • Compatibility: Permissive license suitable for commercial use and integration with closed-source projects.

Limitations & Caveats

The tool executes shell commands autonomously and includes a --cowboy-mode that bypasses approval prompts, necessitating careful use within version-controlled repositories. No warranty is provided. The web interface is an alpha feature.

Health Check
Last Commit

6 days ago

Responsiveness

1 day

Pull Requests (30d)
2
Issues (30d)
3
Star History
15 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.