ra-aid


Namera-aid JSON
Version 0.6.2 PyPI version JSON
download
home_pageNone
SummaryRA.Aid - ReAct Aid
upload_time2024-12-17 20:14:20
maintainerNone
docs_urlNone
authorNone
requires_python>=3.8
licenseApache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and (b) You must cause any modified files to carry prominent notices stating that You changed the files; and (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS APPENDIX: How to apply the Apache License to your work. To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. Copyright [2024] [AI Christianson] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
keywords agent ai development langchain tools
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
              ```ascii

  ██▀███   ▄▄▄            ▄▄▄       ██▓▓█████▄ 
 ▓██ ▒ ██▒▒████▄         ▒████▄    ▓██▒▒██▀ ██▌
 ▓██ ░▄█ ▒▒██  ▀█▄       ▒██  ▀█▄  ▒██▒░██   █▌
 ▒██▀▀█▄  ░██▄▄▄▄██      ░██▄▄▄▄██ ░██░░▓█▄   ▌
 ░██▓ ▒██▒ ▓█   ▓██▒ ██▓  ▓█   ▓██▒░██░░▒████▓ 
 ░ ▒▓ ░▒▓░ ▒▒   ▓▒█░ ▒▓▒  ▒▒   ▓▒█░░▓   ▒▒▓  ▒ 
   ░▒ ░ ▒░  ▒   ▒▒ ░ ░▒    ▒   ▒▒ ░ ▒ ░ ░ ▒  ▒ 
   ░░   ░   ░   ▒    ░     ░   ▒    ▒ ░ ░ ░  ░ 
    ░           ░  ░  ░        ░  ░ ░     ░    
                      ░                 ░      
```

[![Python Versions](https://img.shields.io/badge/python-3.8%2B-blue)](https://www.python.org)
[![License](https://img.shields.io/badge/license-Apache%202.0-blue)](LICENSE)
[![Status](https://img.shields.io/badge/status-Beta-yellow)]()

Here's a video of RA.Aid adding a feature to itself:

<img src="assets/demo-ra-aid-task-1.gif" alt="RA.Aid Demo" autoplay loop style="width: 100%; max-width: 800px;">

> 👋 **Pull requests are very welcome!** As a technical founder with limited time (who uses RA.Aid to save time), I greatly appreciate any contributions to this repository. Don't be shy - your help makes a real difference!
>
> 💬 **Join our Discord community:** [Click here to join](https://discord.gg/f6wYbzHYxV)

# RA.Aid

RA.Aid (ReAct Aid) is a powerful AI-driven command-line tool that integrates `aider` (https://aider.chat/) within a LangChain ReAct agent loop. This unique combination allows developers to leverage aider's code editing capabilities while benefiting from LangChain's agent-based task execution framework. The tool provides an intelligent assistant that can help with research, planning, and implementation of development tasks.

⚠️ **IMPORTANT: USE AT YOUR OWN RISK** ⚠️
- This tool **can and will** automatically execute shell commands and make code changes
- The --cowboy-mode flag can be enabled to skip shell command approval prompts
- No warranty is provided, either express or implied
- Always use in version-controlled repositories
- Review proposed changes in your git diff before committing

## Key Features

- **Multi-Step Task Planning**: The agent breaks down complex tasks into discrete, manageable steps and executes them sequentially. This systematic approach ensures thorough implementation and reduces errors.

- **Automated Command Execution**: The agent can run shell commands automatically to accomplish tasks. While this makes it powerful, it also means you should carefully review its actions.

- **Three-Stage Architecture**:
  1. **Research**: Analyzes codebases and gathers context
  2. **Planning**: Breaks down tasks into specific, actionable steps
  3. **Implementation**: Executes each planned step sequentially

What sets RA.Aid apart is its ability to handle complex programming tasks that extend beyond single-shot code edits. By combining research, strategic planning, and implementation into a cohesive workflow, RA.Aid can:

- Break down and execute multi-step programming tasks
- Research and analyze complex codebases to answer architectural questions
- Plan and implement significant code changes across multiple files
- Provide detailed explanations of existing code structure and functionality
- Execute sophisticated refactoring operations with proper planning

## Table of Contents

- [Features](#features)
- [Installation](#installation)
- [Usage](#usage)
- [Architecture](#architecture)
- [Dependencies](#dependencies)
- [Development Setup](#development-setup)
- [Contributing](#contributing)
- [License](#license)
- [Contact](#contact)

## Features

- **Three-Stage Architecture**: The workflow consists of three powerful stages:
  1. **Research** 🔍 - Gather and analyze information
  2. **Planning** 📋 - Develop execution strategy
  3. **Implementation** ⚡ - Execute the plan with AI assistance
  
  Each stage is powered by dedicated AI agents and specialized toolsets.
- **Advanced AI Integration**: Built on LangChain and leverages the latest LLMs for natural language understanding and generation.
- **Comprehensive Toolset**:
  - Shell command execution
  - Expert querying system
  - File operations and management
  - Memory management
  - Research and planning tools
  - Code analysis capabilities
- **Interactive CLI Interface**: Simple yet powerful command-line interface for seamless interaction
- **Modular Design**: Structured as a Python package with specialized modules for console output, processing, text utilities, and tools
- **Git Integration**: Built-in support for Git operations and repository management

## Installation

RA.Aid can be installed directly using pip:

```bash
pip install ra-aid
```

### Prerequisites

Before using RA.Aid, you'll need:

1. Python package `aider` installed and available in your PATH:
```bash
pip install aider-chat
```

2. API keys for the required AI services:

```bash
# Set up API keys based on your preferred provider:

# For Anthropic Claude models (recommended)
export ANTHROPIC_API_KEY=your_api_key_here

# For OpenAI models
export OPENAI_API_KEY=your_api_key_here

# For OpenRouter provider (optional)
export OPENROUTER_API_KEY=your_api_key_here

# For OpenAI-compatible providers (optional)
export OPENAI_API_BASE=your_api_base_url
```

Note: The programmer tool (aider) will automatically select its model based on your available API keys:
- If ANTHROPIC_API_KEY is set, it will use Claude models
- If only OPENAI_API_KEY is set, it will use OpenAI models
- You can set multiple API keys to enable different features

You can get your API keys from:
- Anthropic API key: https://console.anthropic.com/
- OpenAI API key: https://platform.openai.com/api-keys
- OpenRouter API key: https://openrouter.ai/keys

## Usage

RA.Aid is designed to be simple yet powerful. Here's how to use it:

```bash
# Basic usage
ra-aid -m "Your task or query here"

# Research-only mode (no implementation)
ra-aid -m "Explain the authentication flow" --research-only
```

### Command Line Options

- `-m, --message`: The task or query to be executed (required)
- `--research-only`: Only perform research without implementation
- `--cowboy-mode`: Skip interactive approval for shell commands
- `--provider`: Specify the model provider (See Model Configuration section)
- `--model`: Specify the model name (See Model Configuration section)
- `--expert-provider`: Specify the provider for the expert tool (defaults to OpenAI)
- `--expert-model`: Specify the model name for the expert tool (defaults to o1-preview for OpenAI)

### Model Configuration

RA.Aid supports multiple AI providers and models. The default model is Anthropic's Claude 3 Sonnet (`claude-3-5-sonnet-20241022`).

The programmer tool (aider) automatically selects its model based on your available API keys. It will use Claude models if ANTHROPIC_API_KEY is set, or fall back to OpenAI models if only OPENAI_API_KEY is available.

Note: The expert tool can be configured to use different providers (OpenAI, Anthropic, OpenRouter) using the --expert-provider flag along with the corresponding EXPERT_*API_KEY environment variables. Each provider requires its own API key set through the appropriate environment variable.

#### Environment Variables

RA.Aid supports multiple providers through environment variables:

- `ANTHROPIC_API_KEY`: Required for the default Anthropic provider
- `OPENAI_API_KEY`: Required for OpenAI provider
- `OPENROUTER_API_KEY`: Required for OpenRouter provider
- `OPENAI_API_BASE`: Required for OpenAI-compatible providers along with `OPENAI_API_KEY`

Expert Tool Environment Variables:
- `EXPERT_OPENAI_API_KEY`: API key for expert tool using OpenAI provider
- `EXPERT_ANTHROPIC_API_KEY`: API key for expert tool using Anthropic provider
- `EXPERT_OPENROUTER_API_KEY`: API key for expert tool using OpenRouter provider  
- `EXPERT_OPENAI_API_BASE`: Base URL for expert tool using OpenAI-compatible provider

You can set these permanently in your shell's configuration file (e.g., `~/.bashrc` or `~/.zshrc`):

```bash
# Default provider (Anthropic)
export ANTHROPIC_API_KEY=your_api_key_here

# For OpenAI features and expert tool
export OPENAI_API_KEY=your_api_key_here

# For OpenRouter provider
export OPENROUTER_API_KEY=your_api_key_here

# For OpenAI-compatible providers
export OPENAI_API_BASE=your_api_base_url
```

Note: The expert tool defaults to OpenAI's o1-preview model with the OpenAI provider, but this can be configured using the --expert-provider flag along with the corresponding EXPERT_*_KEY environment variables.

#### Examples

1. **Using Anthropic (Default)**
   ```bash
   # Uses default model (claude-3-5-sonnet-20241022)
   ra-aid -m "Your task"

   # Or explicitly specify:
   ra-aid -m "Your task" --provider anthropic --model claude-3-5-sonnet-20241022
   ```

2. **Using OpenAI**
   ```bash
   ra-aid -m "Your task" --provider openai --model gpt-4o
   ```

3. **Using OpenRouter**
   ```bash
   ra-aid -m "Your task" --provider openrouter --model mistralai/mistral-large-2411
   ```

4. **Configuring Expert Provider**

   The expert tool is used by the agent for complex logic and debugging tasks. It can be configured to use different providers (OpenAI, Anthropic, OpenRouter) using the --expert-provider flag along with the corresponding EXPERT_*API_KEY environment variables.

   ```bash
   # Use Anthropic for expert tool
   export EXPERT_ANTHROPIC_API_KEY=your_anthropic_api_key
   ra-aid -m "Your task" --expert-provider anthropic --expert-model claude-3-5-sonnet-20241022

   # Use OpenRouter for expert tool
   export OPENROUTER_API_KEY=your_openrouter_api_key
   ra-aid -m "Your task" --expert-provider openrouter --expert-model mistralai/mistral-large-2411

   # Use default OpenAI for expert tool
   export EXPERT_OPENAI_API_KEY=your_openai_api_key
   ra-aid -m "Your task" --expert-provider openai --expert-model o1-preview
   ```

**Important Notes:**
- Performance varies between models. The default Claude 3 Sonnet model currently provides the best and most reliable results.
- Model configuration is done via command line arguments: `--provider` and `--model`
- The `--model` argument is required for all providers except Anthropic (which defaults to `claude-3-5-sonnet-20241022`)

### Example Tasks

1. Code Analysis:
   ```bash
   ra-aid -m "Explain how the authentication middleware works" --research-only
   ```

2. Complex Changes:
   ```bash
   ra-aid -m "Refactor the database connection code to use connection pooling" --cowboy-mode
   ```

3. Automated Updates:
   ```bash
   ra-aid -m "Update deprecated API calls across the entire codebase" --cowboy-mode
   ```

4. Code Research:
   ```bash
   ra-aid -m "Analyze the current error handling patterns" --research-only
   ```

2. Code Research:
   ```bash
   ra-aid -m "Explain how the authentication middleware works" --research-only
   ```

3. Refactoring:
   ```bash
   ra-aid -m "Refactor the database connection code to use connection pooling" --cowboy-mode
   ```

### Shell Command Automation with Cowboy Mode 🏇

The `--cowboy-mode` flag enables automated shell command execution without confirmation prompts. This is useful for:

- CI/CD pipelines
- Automated testing environments
- Batch processing operations
- Scripted workflows

```bash
ra-aid -m "Update all deprecated API calls" --cowboy-mode
```

**⚠️ Important Safety Notes:**
- Cowboy mode skips confirmation prompts for shell commands
- Always use in version-controlled repositories
- Ensure you have a clean working tree before running
- Review changes in git diff before committing

### Environment Variables

See the [Model Configuration](#model-configuration) section for details on provider-specific environment variables.

## Architecture


RA.Aid implements a three-stage architecture for handling development and research tasks:

1. **Research Stage**: 
   - Gathers information and context
   - Analyzes requirements
   - Identifies key components and dependencies

2. **Planning Stage**:
   - Develops detailed implementation plans
   - Breaks down tasks into manageable steps
   - Identifies potential challenges and solutions

3. **Implementation Stage**:
   - Executes planned tasks
   - Generates code or documentation
   - Performs necessary system operations

### Core Components

- **Console Module** (`console/`): Handles console output formatting and user interaction
- **Processing Module** (`proc/`): Manages interactive processing and workflow control
- **Text Module** (`text/`): Provides text processing and manipulation utilities
- **Tools Module** (`tools/`): Contains various utility tools for file operations, search, and more

## Dependencies

### Core Dependencies
- `langchain-anthropic`: LangChain integration with Anthropic's Claude
- `langgraph`: Graph-based workflow management
- `rich>=13.0.0`: Terminal formatting and output
- `GitPython==3.1.41`: Git repository management
- `fuzzywuzzy==0.18.0`: Fuzzy string matching
- `python-Levenshtein==0.23.0`: Fast string matching
- `pathspec>=0.11.0`: Path specification utilities

### Development Dependencies
- `pytest>=7.0.0`: Testing framework
- `pytest-timeout>=2.2.0`: Test timeout management

## Development Setup

1. Clone the repository:
```bash
git clone https://github.com/ai-christianson/ra-aid.git
cd ra-aid
```

2. Create and activate a virtual environment:
```bash
python -m venv venv
source venv/bin/activate  # On Windows use `venv\Scripts\activate`
```

3. Install development dependencies:
```bash
pip install -r requirements-dev.txt
```

4. Run tests:
```bash
python -m pytest
```

## Contributing

Contributions are welcome! Please follow these steps:

1. Fork the repository
2. Create a feature branch:
```bash
git checkout -b feature/your-feature-name
```

3. Make your changes and commit:
```bash
git commit -m 'Add some feature'
```

4. Push to your fork:
```bash
git push origin feature/your-feature-name
```

5. Open a Pull Request

### Guidelines

- Follow PEP 8 style guidelines
- Add tests for new features
- Update documentation as needed
- Keep commits focused and message clear
- Ensure all tests pass before submitting PR

## License

This project is licensed under the Apache License 2.0 - see the [LICENSE](LICENSE) file for details.

Copyright (c) 2024 AI Christianson

## Contact

- **Issues**: Please report bugs and feature requests on our [Issue Tracker](https://github.com/ai-christianson/ra-aid/issues)
- **Repository**: [https://github.com/ai-christianson/ra-aid](https://github.com/ai-christianson/ra-aid)
- **Documentation**: [https://github.com/ai-christianson/ra-aid#readme](https://github.com/ai-christianson/ra-aid#readme)

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "ra-aid",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "agent, ai, development, langchain, tools",
    "author": null,
    "author_email": "AI Christianson <ai.christianson@christianson.ai>",
    "download_url": "https://files.pythonhosted.org/packages/53/c2/52a330b99e0d3c59cd3503a34b04965150992900f52712492b5ee63ee7d1/ra_aid-0.6.2.tar.gz",
    "platform": null,
    "description": "  ```ascii\n\n  \u2588\u2588\u2580\u2588\u2588\u2588   \u2584\u2584\u2584            \u2584\u2584\u2584       \u2588\u2588\u2593\u2593\u2588\u2588\u2588\u2588\u2588\u2584 \n \u2593\u2588\u2588 \u2592 \u2588\u2588\u2592\u2592\u2588\u2588\u2588\u2588\u2584         \u2592\u2588\u2588\u2588\u2588\u2584    \u2593\u2588\u2588\u2592\u2592\u2588\u2588\u2580 \u2588\u2588\u258c\n \u2593\u2588\u2588 \u2591\u2584\u2588 \u2592\u2592\u2588\u2588  \u2580\u2588\u2584       \u2592\u2588\u2588  \u2580\u2588\u2584  \u2592\u2588\u2588\u2592\u2591\u2588\u2588   \u2588\u258c\n \u2592\u2588\u2588\u2580\u2580\u2588\u2584  \u2591\u2588\u2588\u2584\u2584\u2584\u2584\u2588\u2588      \u2591\u2588\u2588\u2584\u2584\u2584\u2584\u2588\u2588 \u2591\u2588\u2588\u2591\u2591\u2593\u2588\u2584   \u258c\n \u2591\u2588\u2588\u2593 \u2592\u2588\u2588\u2592 \u2593\u2588   \u2593\u2588\u2588\u2592 \u2588\u2588\u2593  \u2593\u2588   \u2593\u2588\u2588\u2592\u2591\u2588\u2588\u2591\u2591\u2592\u2588\u2588\u2588\u2588\u2593 \n \u2591 \u2592\u2593 \u2591\u2592\u2593\u2591 \u2592\u2592   \u2593\u2592\u2588\u2591 \u2592\u2593\u2592  \u2592\u2592   \u2593\u2592\u2588\u2591\u2591\u2593   \u2592\u2592\u2593  \u2592 \n   \u2591\u2592 \u2591 \u2592\u2591  \u2592   \u2592\u2592 \u2591 \u2591\u2592    \u2592   \u2592\u2592 \u2591 \u2592 \u2591 \u2591 \u2592  \u2592 \n   \u2591\u2591   \u2591   \u2591   \u2592    \u2591     \u2591   \u2592    \u2592 \u2591 \u2591 \u2591  \u2591 \n    \u2591           \u2591  \u2591  \u2591        \u2591  \u2591 \u2591     \u2591    \n                      \u2591                 \u2591      \n```\n\n[![Python Versions](https://img.shields.io/badge/python-3.8%2B-blue)](https://www.python.org)\n[![License](https://img.shields.io/badge/license-Apache%202.0-blue)](LICENSE)\n[![Status](https://img.shields.io/badge/status-Beta-yellow)]()\n\nHere's a video of RA.Aid adding a feature to itself:\n\n<img src=\"assets/demo-ra-aid-task-1.gif\" alt=\"RA.Aid Demo\" autoplay loop style=\"width: 100%; max-width: 800px;\">\n\n> \ud83d\udc4b **Pull requests are very welcome!** As a technical founder with limited time (who uses RA.Aid to save time), I greatly appreciate any contributions to this repository. Don't be shy - your help makes a real difference!\n>\n> \ud83d\udcac **Join our Discord community:** [Click here to join](https://discord.gg/f6wYbzHYxV)\n\n# RA.Aid\n\nRA.Aid (ReAct Aid) is a powerful AI-driven command-line tool that integrates `aider` (https://aider.chat/) within a LangChain ReAct agent loop. This unique combination allows developers to leverage aider's code editing capabilities while benefiting from LangChain's agent-based task execution framework. The tool provides an intelligent assistant that can help with research, planning, and implementation of development tasks.\n\n\u26a0\ufe0f **IMPORTANT: USE AT YOUR OWN RISK** \u26a0\ufe0f\n- This tool **can and will** automatically execute shell commands and make code changes\n- The --cowboy-mode flag can be enabled to skip shell command approval prompts\n- No warranty is provided, either express or implied\n- Always use in version-controlled repositories\n- Review proposed changes in your git diff before committing\n\n## Key Features\n\n- **Multi-Step Task Planning**: The agent breaks down complex tasks into discrete, manageable steps and executes them sequentially. This systematic approach ensures thorough implementation and reduces errors.\n\n- **Automated Command Execution**: The agent can run shell commands automatically to accomplish tasks. While this makes it powerful, it also means you should carefully review its actions.\n\n- **Three-Stage Architecture**:\n  1. **Research**: Analyzes codebases and gathers context\n  2. **Planning**: Breaks down tasks into specific, actionable steps\n  3. **Implementation**: Executes each planned step sequentially\n\nWhat sets RA.Aid apart is its ability to handle complex programming tasks that extend beyond single-shot code edits. By combining research, strategic planning, and implementation into a cohesive workflow, RA.Aid can:\n\n- Break down and execute multi-step programming tasks\n- Research and analyze complex codebases to answer architectural questions\n- Plan and implement significant code changes across multiple files\n- Provide detailed explanations of existing code structure and functionality\n- Execute sophisticated refactoring operations with proper planning\n\n## Table of Contents\n\n- [Features](#features)\n- [Installation](#installation)\n- [Usage](#usage)\n- [Architecture](#architecture)\n- [Dependencies](#dependencies)\n- [Development Setup](#development-setup)\n- [Contributing](#contributing)\n- [License](#license)\n- [Contact](#contact)\n\n## Features\n\n- **Three-Stage Architecture**: The workflow consists of three powerful stages:\n  1. **Research** \ud83d\udd0d - Gather and analyze information\n  2. **Planning** \ud83d\udccb - Develop execution strategy\n  3. **Implementation** \u26a1 - Execute the plan with AI assistance\n  \n  Each stage is powered by dedicated AI agents and specialized toolsets.\n- **Advanced AI Integration**: Built on LangChain and leverages the latest LLMs for natural language understanding and generation.\n- **Comprehensive Toolset**:\n  - Shell command execution\n  - Expert querying system\n  - File operations and management\n  - Memory management\n  - Research and planning tools\n  - Code analysis capabilities\n- **Interactive CLI Interface**: Simple yet powerful command-line interface for seamless interaction\n- **Modular Design**: Structured as a Python package with specialized modules for console output, processing, text utilities, and tools\n- **Git Integration**: Built-in support for Git operations and repository management\n\n## Installation\n\nRA.Aid can be installed directly using pip:\n\n```bash\npip install ra-aid\n```\n\n### Prerequisites\n\nBefore using RA.Aid, you'll need:\n\n1. Python package `aider` installed and available in your PATH:\n```bash\npip install aider-chat\n```\n\n2. API keys for the required AI services:\n\n```bash\n# Set up API keys based on your preferred provider:\n\n# For Anthropic Claude models (recommended)\nexport ANTHROPIC_API_KEY=your_api_key_here\n\n# For OpenAI models\nexport OPENAI_API_KEY=your_api_key_here\n\n# For OpenRouter provider (optional)\nexport OPENROUTER_API_KEY=your_api_key_here\n\n# For OpenAI-compatible providers (optional)\nexport OPENAI_API_BASE=your_api_base_url\n```\n\nNote: The programmer tool (aider) will automatically select its model based on your available API keys:\n- If ANTHROPIC_API_KEY is set, it will use Claude models\n- If only OPENAI_API_KEY is set, it will use OpenAI models\n- You can set multiple API keys to enable different features\n\nYou can get your API keys from:\n- Anthropic API key: https://console.anthropic.com/\n- OpenAI API key: https://platform.openai.com/api-keys\n- OpenRouter API key: https://openrouter.ai/keys\n\n## Usage\n\nRA.Aid is designed to be simple yet powerful. Here's how to use it:\n\n```bash\n# Basic usage\nra-aid -m \"Your task or query here\"\n\n# Research-only mode (no implementation)\nra-aid -m \"Explain the authentication flow\" --research-only\n```\n\n### Command Line Options\n\n- `-m, --message`: The task or query to be executed (required)\n- `--research-only`: Only perform research without implementation\n- `--cowboy-mode`: Skip interactive approval for shell commands\n- `--provider`: Specify the model provider (See Model Configuration section)\n- `--model`: Specify the model name (See Model Configuration section)\n- `--expert-provider`: Specify the provider for the expert tool (defaults to OpenAI)\n- `--expert-model`: Specify the model name for the expert tool (defaults to o1-preview for OpenAI)\n\n### Model Configuration\n\nRA.Aid supports multiple AI providers and models. The default model is Anthropic's Claude 3 Sonnet (`claude-3-5-sonnet-20241022`).\n\nThe programmer tool (aider) automatically selects its model based on your available API keys. It will use Claude models if ANTHROPIC_API_KEY is set, or fall back to OpenAI models if only OPENAI_API_KEY is available.\n\nNote: The expert tool can be configured to use different providers (OpenAI, Anthropic, OpenRouter) using the --expert-provider flag along with the corresponding EXPERT_*API_KEY environment variables. Each provider requires its own API key set through the appropriate environment variable.\n\n#### Environment Variables\n\nRA.Aid supports multiple providers through environment variables:\n\n- `ANTHROPIC_API_KEY`: Required for the default Anthropic provider\n- `OPENAI_API_KEY`: Required for OpenAI provider\n- `OPENROUTER_API_KEY`: Required for OpenRouter provider\n- `OPENAI_API_BASE`: Required for OpenAI-compatible providers along with `OPENAI_API_KEY`\n\nExpert Tool Environment Variables:\n- `EXPERT_OPENAI_API_KEY`: API key for expert tool using OpenAI provider\n- `EXPERT_ANTHROPIC_API_KEY`: API key for expert tool using Anthropic provider\n- `EXPERT_OPENROUTER_API_KEY`: API key for expert tool using OpenRouter provider  \n- `EXPERT_OPENAI_API_BASE`: Base URL for expert tool using OpenAI-compatible provider\n\nYou can set these permanently in your shell's configuration file (e.g., `~/.bashrc` or `~/.zshrc`):\n\n```bash\n# Default provider (Anthropic)\nexport ANTHROPIC_API_KEY=your_api_key_here\n\n# For OpenAI features and expert tool\nexport OPENAI_API_KEY=your_api_key_here\n\n# For OpenRouter provider\nexport OPENROUTER_API_KEY=your_api_key_here\n\n# For OpenAI-compatible providers\nexport OPENAI_API_BASE=your_api_base_url\n```\n\nNote: The expert tool defaults to OpenAI's o1-preview model with the OpenAI provider, but this can be configured using the --expert-provider flag along with the corresponding EXPERT_*_KEY environment variables.\n\n#### Examples\n\n1. **Using Anthropic (Default)**\n   ```bash\n   # Uses default model (claude-3-5-sonnet-20241022)\n   ra-aid -m \"Your task\"\n\n   # Or explicitly specify:\n   ra-aid -m \"Your task\" --provider anthropic --model claude-3-5-sonnet-20241022\n   ```\n\n2. **Using OpenAI**\n   ```bash\n   ra-aid -m \"Your task\" --provider openai --model gpt-4o\n   ```\n\n3. **Using OpenRouter**\n   ```bash\n   ra-aid -m \"Your task\" --provider openrouter --model mistralai/mistral-large-2411\n   ```\n\n4. **Configuring Expert Provider**\n\n   The expert tool is used by the agent for complex logic and debugging tasks. It can be configured to use different providers (OpenAI, Anthropic, OpenRouter) using the --expert-provider flag along with the corresponding EXPERT_*API_KEY environment variables.\n\n   ```bash\n   # Use Anthropic for expert tool\n   export EXPERT_ANTHROPIC_API_KEY=your_anthropic_api_key\n   ra-aid -m \"Your task\" --expert-provider anthropic --expert-model claude-3-5-sonnet-20241022\n\n   # Use OpenRouter for expert tool\n   export OPENROUTER_API_KEY=your_openrouter_api_key\n   ra-aid -m \"Your task\" --expert-provider openrouter --expert-model mistralai/mistral-large-2411\n\n   # Use default OpenAI for expert tool\n   export EXPERT_OPENAI_API_KEY=your_openai_api_key\n   ra-aid -m \"Your task\" --expert-provider openai --expert-model o1-preview\n   ```\n\n**Important Notes:**\n- Performance varies between models. The default Claude 3 Sonnet model currently provides the best and most reliable results.\n- Model configuration is done via command line arguments: `--provider` and `--model`\n- The `--model` argument is required for all providers except Anthropic (which defaults to `claude-3-5-sonnet-20241022`)\n\n### Example Tasks\n\n1. Code Analysis:\n   ```bash\n   ra-aid -m \"Explain how the authentication middleware works\" --research-only\n   ```\n\n2. Complex Changes:\n   ```bash\n   ra-aid -m \"Refactor the database connection code to use connection pooling\" --cowboy-mode\n   ```\n\n3. Automated Updates:\n   ```bash\n   ra-aid -m \"Update deprecated API calls across the entire codebase\" --cowboy-mode\n   ```\n\n4. Code Research:\n   ```bash\n   ra-aid -m \"Analyze the current error handling patterns\" --research-only\n   ```\n\n2. Code Research:\n   ```bash\n   ra-aid -m \"Explain how the authentication middleware works\" --research-only\n   ```\n\n3. Refactoring:\n   ```bash\n   ra-aid -m \"Refactor the database connection code to use connection pooling\" --cowboy-mode\n   ```\n\n### Shell Command Automation with Cowboy Mode \ud83c\udfc7\n\nThe `--cowboy-mode` flag enables automated shell command execution without confirmation prompts. This is useful for:\n\n- CI/CD pipelines\n- Automated testing environments\n- Batch processing operations\n- Scripted workflows\n\n```bash\nra-aid -m \"Update all deprecated API calls\" --cowboy-mode\n```\n\n**\u26a0\ufe0f Important Safety Notes:**\n- Cowboy mode skips confirmation prompts for shell commands\n- Always use in version-controlled repositories\n- Ensure you have a clean working tree before running\n- Review changes in git diff before committing\n\n### Environment Variables\n\nSee the [Model Configuration](#model-configuration) section for details on provider-specific environment variables.\n\n## Architecture\n\n\nRA.Aid implements a three-stage architecture for handling development and research tasks:\n\n1. **Research Stage**: \n   - Gathers information and context\n   - Analyzes requirements\n   - Identifies key components and dependencies\n\n2. **Planning Stage**:\n   - Develops detailed implementation plans\n   - Breaks down tasks into manageable steps\n   - Identifies potential challenges and solutions\n\n3. **Implementation Stage**:\n   - Executes planned tasks\n   - Generates code or documentation\n   - Performs necessary system operations\n\n### Core Components\n\n- **Console Module** (`console/`): Handles console output formatting and user interaction\n- **Processing Module** (`proc/`): Manages interactive processing and workflow control\n- **Text Module** (`text/`): Provides text processing and manipulation utilities\n- **Tools Module** (`tools/`): Contains various utility tools for file operations, search, and more\n\n## Dependencies\n\n### Core Dependencies\n- `langchain-anthropic`: LangChain integration with Anthropic's Claude\n- `langgraph`: Graph-based workflow management\n- `rich>=13.0.0`: Terminal formatting and output\n- `GitPython==3.1.41`: Git repository management\n- `fuzzywuzzy==0.18.0`: Fuzzy string matching\n- `python-Levenshtein==0.23.0`: Fast string matching\n- `pathspec>=0.11.0`: Path specification utilities\n\n### Development Dependencies\n- `pytest>=7.0.0`: Testing framework\n- `pytest-timeout>=2.2.0`: Test timeout management\n\n## Development Setup\n\n1. Clone the repository:\n```bash\ngit clone https://github.com/ai-christianson/ra-aid.git\ncd ra-aid\n```\n\n2. Create and activate a virtual environment:\n```bash\npython -m venv venv\nsource venv/bin/activate  # On Windows use `venv\\Scripts\\activate`\n```\n\n3. Install development dependencies:\n```bash\npip install -r requirements-dev.txt\n```\n\n4. Run tests:\n```bash\npython -m pytest\n```\n\n## Contributing\n\nContributions are welcome! Please follow these steps:\n\n1. Fork the repository\n2. Create a feature branch:\n```bash\ngit checkout -b feature/your-feature-name\n```\n\n3. Make your changes and commit:\n```bash\ngit commit -m 'Add some feature'\n```\n\n4. Push to your fork:\n```bash\ngit push origin feature/your-feature-name\n```\n\n5. Open a Pull Request\n\n### Guidelines\n\n- Follow PEP 8 style guidelines\n- Add tests for new features\n- Update documentation as needed\n- Keep commits focused and message clear\n- Ensure all tests pass before submitting PR\n\n## License\n\nThis project is licensed under the Apache License 2.0 - see the [LICENSE](LICENSE) file for details.\n\nCopyright (c) 2024 AI Christianson\n\n## Contact\n\n- **Issues**: Please report bugs and feature requests on our [Issue Tracker](https://github.com/ai-christianson/ra-aid/issues)\n- **Repository**: [https://github.com/ai-christianson/ra-aid](https://github.com/ai-christianson/ra-aid)\n- **Documentation**: [https://github.com/ai-christianson/ra-aid#readme](https://github.com/ai-christianson/ra-aid#readme)\n",
    "bugtrack_url": null,
    "license": "Apache License Version 2.0, January 2004 http://www.apache.org/licenses/  TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION  1. Definitions.  \"License\" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.  \"Licensor\" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.  \"Legal Entity\" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, \"control\" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.  \"You\" (or \"Your\") shall mean an individual or Legal Entity exercising permissions granted by this License.  \"Source\" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.  \"Object\" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.  \"Work\" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).  \"Derivative Works\" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.  \"Contribution\" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, \"submitted\" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as \"Not a Contribution.\"  \"Contributor\" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.  2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.  3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.  4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:  (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and  (b) You must cause any modified files to carry prominent notices stating that You changed the files; and  (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and  (d) If the Work includes a \"NOTICE\" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.  You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.  5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.  6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.  7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.  8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.  9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.  END OF TERMS AND CONDITIONS  APPENDIX: How to apply the Apache License to your work.  To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets \"[]\" replaced with your own identifying information. (Don't include the brackets!)  The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same \"printed page\" as the copyright notice for easier identification within third-party archives.  Copyright [2024] [AI Christianson]  Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at  http://www.apache.org/licenses/LICENSE-2.0  Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.",
    "summary": "RA.Aid - ReAct Aid",
    "version": "0.6.2",
    "project_urls": {
        "Documentation": "https://github.com/ai-christianson/ra-aid#readme",
        "Homepage": "https://github.com/ai-christianson/ra-aid",
        "Issues": "https://github.com/ai-christianson/ra-aid/issues",
        "Repository": "https://github.com/ai-christianson/ra-aid.git"
    },
    "split_keywords": [
        "agent",
        " ai",
        " development",
        " langchain",
        " tools"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a6ecb819eaad050a5195e102e94b0c5065f8d7252786faac22341a9b791dc11e",
                "md5": "bc040036ac874b5a8187da3e42399c80",
                "sha256": "55ff86a8046ebbd1e8cfb0c0776b6f3af666dfb7d265721b4a63bc13ef77aa16"
            },
            "downloads": -1,
            "filename": "ra_aid-0.6.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "bc040036ac874b5a8187da3e42399c80",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 49404,
            "upload_time": "2024-12-17T20:14:19",
            "upload_time_iso_8601": "2024-12-17T20:14:19.238673Z",
            "url": "https://files.pythonhosted.org/packages/a6/ec/b819eaad050a5195e102e94b0c5065f8d7252786faac22341a9b791dc11e/ra_aid-0.6.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "53c252a330b99e0d3c59cd3503a34b04965150992900f52712492b5ee63ee7d1",
                "md5": "a9603bbc20684f590b3ba75a929c336c",
                "sha256": "63ef999fe82aa041bad254fbf63778ba97ccdbd0044543876890960a5579e177"
            },
            "downloads": -1,
            "filename": "ra_aid-0.6.2.tar.gz",
            "has_sig": false,
            "md5_digest": "a9603bbc20684f590b3ba75a929c336c",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 8984317,
            "upload_time": "2024-12-17T20:14:20",
            "upload_time_iso_8601": "2024-12-17T20:14:20.896642Z",
            "url": "https://files.pythonhosted.org/packages/53/c2/52a330b99e0d3c59cd3503a34b04965150992900f52712492b5ee63ee7d1/ra_aid-0.6.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-17 20:14:20",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "ai-christianson",
    "github_project": "ra-aid#readme",
    "github_not_found": true,
    "lcname": "ra-aid"
}
        
Elapsed time: 0.41863s