Skip to main content

AutoAI-AgentRAG: An open-source library integrating AI Agents, RAG, and ML for intelligent automation

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

autoai_agentrag-0.1.0.tar.gz (23.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

autoai_agentrag-0.1.0-py3-none-any.whl (21.8 kB view details)

Uploaded Python 3

File details

Details for the file autoai_agentrag-0.1.0.tar.gz.

File metadata

  • Download URL: autoai_agentrag-0.1.0.tar.gz
  • Upload date:
  • Size: 23.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for autoai_agentrag-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d7f02a63226ce0a42623d313f61db12bafd7dfc2e25ddf075cda1a1310c79554
MD5 a9355fd09fb99d5e86ffb796ee7c70cc
BLAKE2b-256 1882c6854d23f6fe6ed8c450e2da76b3c54c8198a70a16ff760027ae23a98e3b

See more details on using hashes here.

File details

Details for the file autoai_agentrag-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for autoai_agentrag-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1006e868221ba849987139a9eb2c95c0177fb9cf2b5e15cb9f93ab8cbaafcdb6
MD5 6de73850b8584ed3f6ac934cbd75e473
BLAKE2b-256 97dc2dd816e95017884413677f6b7896f428264fe26afc3b362dfa4738ae1541

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page