Skip to main content

AutoAI-AgentRAG

AutoAI-AgentRAG is an open-source PyPI library designed to enhance automation workflows by integrating AI Agents, Retrieval-Augmented Generation (RAG), and Machine Learning (ML). It empowers developers to build intelligent automation systems that efficiently manage complex tasks with minimal manual intervention.

PyPI version Python Version Documentation Status License: MIT

Features

  • AI Agent Framework: A modular system for designing and managing AI Agents that autonomously execute tasks and make context-informed decisions.
  • Retrieval-Augmented Generation (RAG) Integration: Connects to external knowledge bases (APIs, databases, web sources) for real-time data retrieval, enhancing contextual awareness.
  • Machine Learning Models: Offers pre-trained and customizable ML models compatible with TensorFlow, PyTorch, and other frameworks for predictive analytics and pattern recognition.
  • Command-Line Interface (CLI): A user-friendly CLI for initializing projects, training models, and deploying agents, facilitating ease of use for developers.
  • Extensible Plugin System: Enables users to add custom data sources, ML models, or agent behaviors to adapt the library to specific use cases.
  • Comprehensive Documentation: Detailed guides, API references, and tutorials hosted on ReadTheDocs to accelerate user onboarding and development.
  • Unit Testing and CI/CD: Built-in unit tests and GitHub Actions for continuous integration and deployment, ensuring code reliability and maintainability.
  • Cross-Platform Compatibility: Optimized for Windows, macOS, and Linux, with Docker support for flexible deployment across environments.
  • Real-Time Monitoring Dashboard: An optional web interface to track agent performance, task progress, and ML model metrics for better visibility and control.
  • Community Support: A Discord server and GitHub Issues page for collaboration, troubleshooting, and feature requests to foster an active user community.

Installation

pip install autoai-agentrag

Quick Start

from autoai_agentrag import Agent, RAGConnector, MLModel

# Initialize an AI agent
agent = Agent("my_agent")

# Connect to knowledge sources
rag = RAGConnector()
rag.add_source("web", url="https://example.com/api")
rag.add_source("database", connection_string="sqlite:///my_data.db")

# Attach RAG to the agent
agent.add_rag(rag)

# Add ML capabilities
model = MLModel.from_pretrained("text-classification")
agent.add_model(model)

# Define agent behavior
@agent.task
def analyze_data(input_text):
    # Retrieve relevant information
    context = agent.rag.query(input_text)
    
    # Process with ML model
    result = agent.model.predict(input_text, context=context)
    
    return result

# Run the agent
response = agent.run("Analyze the latest market trends")
print(response)

Command Line Interface

# Initialize a new project
autoai init my_project

# Create a new agent
autoai create agent my_agent

# Add RAG capabilities
autoai add rag --source web --url https://example.com/api

# Train or use a model
autoai add model --type text-classification

# Run your agent
autoai run my_agent --input "Analyze the latest market trends"

# Start monitoring dashboard
autoai dashboard

Documentation

For detailed documentation, visit https://autoai-agentrag.readthedocs.io

Contributing

We welcome contributions! Please see our Contributing Guide for more details.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Metadata

Release files for autoai-agentrag 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for autoai-agentrag 0.1.0
File Size Uploaded Provenance
autoai_agentrag-0.1.0.tar.gz 23.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for autoai-agentrag 0.1.0
File Interpreter ABI Platform
autoai_agentrag-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 45.2 kB

Release files / autoai_agentrag-0.1.0.tar.gz

Download URL autoai_agentrag-0.1.0.tar.gz
Size 23.4 kB
Tags Source
SHA-256 checksum
How to use checksums
d7f02a63226ce0a42623d313f61db12bafd7dfc2e25ddf075cda1a1310c79554
BLAKE2b-256 checksum
How to use checksums
1882c6854d23f6fe6ed8c450e2da76b3c54c8198a70a16ff760027ae23a98e3b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Release files / autoai_agentrag-0.1.0-py3-none-any.whl

Download URL autoai_agentrag-0.1.0-py3-none-any.whl
Size 21.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1006e868221ba849987139a9eb2c95c0177fb9cf2b5e15cb9f93ab8cbaafcdb6
BLAKE2b-256 checksum
How to use checksums
97dc2dd816e95017884413677f6b7896f428264fe26afc3b362dfa4738ae1541
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Security for autoai-agentrag 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page