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.
- Support for multiple language models
- Extensible workflow system
- Built-in memory management
- Integration with various external tools and APIs
- Customizable agents for specific tasks
To install ReXia.AI, you can use pip:
pip install rexia-ai
Additionally, you need to install either PyTorch or TensorFlow, depending on your preference:
For PyTorch:
pip install torch
For TensorFlow:
pip install tensorflow
Here's a simple example to get you started with ReXia.AI:
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)
Detailed documentation for each component can be found in the docs
folder:
ReXia.AI comes with several built-in tools:
- YouTube Video Analysis
- Google Search
- Image Analysis
- Alpha Vantage Financial Data
- Query Knowledge Base
This project is licensed under the Apache License 2.0. See the LICENSE file for details.
For any questions, issues, or suggestions, please open an issue on our GitHub repository.