Metadata-Version: 2.1
Name: rexia_ai
Version: 0.1.3
Summary: ReXia.AI: An advanced AI framework for agentic processes
Home-page: https://github.com/RexiaAI/rexia_ai/tree/master
Author: Robyn Le Sueur
Author-email: robyn.lesueur@googlemail.com
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: langchain_community==0.2.5
Requires-Dist: langchain_google_community==1.0.5
Requires-Dist: langchain_openai==0.1.9
Requires-Dist: llmware==0.3.0
Requires-Dist: moviepy==1.0.3
Requires-Dist: openai==1.35.3
Requires-Dist: opencv_python==4.10.0.82
Requires-Dist: opencv_python_headless==4.10.0.82
Requires-Dist: pydantic==2.7.4
Requires-Dist: pytube==15.0.0
Requires-Dist: Requests==2.32.3
Requires-Dist: setuptools==69.5.1
Requires-Dist: transformers==4.41.2

# ReXia.AI

ReXia.AI is an advanced AI framework designed to integrate various language models, tools, and workflows for complex task solving and analysis. It provides a flexible and extensible platform for building AI-powered applications and agents.

## Table of Contents

- [Features](#features)
- [Installation](#installation)
- [Quick Start](#quick-start)
- [Documentation](#documentation)
- [Tools](#tools)
- [License](#license)
- [Contact](#contact)

## Update v0.1.3

- Improved handling of JSON responses
- Removed LLMWare and Huggingface LLM types, they're still useable, just provide an OpenAI compatibile endpoint for them.
- Added 'PerplexityLite' example.
- resolved a minor bug with working memory in that messages added more recently to the list were being passed further down in the prompt. This was causing the LLM to think the oldest message was the most recent.

## Features

- Support for multiple language models
- Extensible workflow system
- Built-in memory management
- Integration with various external tools and APIs
- Customizable agents for specific tasks

## Installation

To install ReXia.AI, you can use pip:

```bash
pip install rexia-ai
```

Additionally, you need to install either PyTorch or TensorFlow, depending on your preference:

For PyTorch:

```bash
pip install torch
```

For TensorFlow:

```bash
pip install tensorflow
```

## Quick Start

Here's a simple example to get you started with ReXia.AI:

```python
from rexia_ai.agent import Agent
from rexia_ai.workflows import SimpleToolWorkflow
from rexia_ai.memory import WorkingMemory
from rexia_ai.llm import RexiaAIOpenAI

# Initialize the language model
llm = RexiaAIOpenAI(
    base_url="https://api.openai.com/v1",
    model="gpt-3.5-turbo",
    temperature=0.7,
    api_key="your-openai-api-key"
)

# Create an Agent instance
agent = Agent(
    llm=llm,
    task="Summarize the latest news on AI advancements",
    workflow=SimpleToolWorkflow,
    memory=WorkingMemory(),
    verbose=True
)

# Run the agent
result = agent.invoke()
print(result)
```

## Documentation

Detailed documentation for each component can be found in the `docs` folder:

- [Agent](docs/agents/agent.md)
- [Workflows](docs/workflows)
- [Language Models](docs/llms)
- [Memory](docs/memory)
- [Tools](docs/tools)

## Tools

ReXia.AI comes with several built-in tools:

- [YouTube Video Analysis](docs/tools/youtube_video_analysis.md)
- [Google Search](docs/tools/google_search.md)
- [Image Analysis](docs/tools/image_analysis.md)
- [Alpha Vantage Financial Data](docs/tools/alpha_vantage.md)

## License

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

## Contact

For any questions, issues, or suggestions, please open an issue on our [GitHub repository](https://github.com/yourusername/rexia-ai/issues).
