Skip to main content

ReXia.AI: An advanced AI framework for agentic processes

Project description

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

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:

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

Quick Start

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)

Documentation

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

Tools

ReXia.AI comes with several built-in tools:

License

This project is licensed under the Apache License 2.0. See the LICENSE file for details.

Contact

For any questions, issues, or suggestions, please open an issue on our GitHub repository.

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

rexia_ai-0.1.3.tar.gz (28.3 kB view details)

Uploaded Source

Built Distribution

rexia_ai-0.1.3-py3-none-any.whl (38.1 kB view details)

Uploaded Python 3

File details

Details for the file rexia_ai-0.1.3.tar.gz.

File metadata

  • Download URL: rexia_ai-0.1.3.tar.gz
  • Upload date:
  • Size: 28.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.9

File hashes

Hashes for rexia_ai-0.1.3.tar.gz
Algorithm Hash digest
SHA256 54ad1db6f031f19dece41c4ad97de92677f26010c2635e1d6ade1c9b94f05da8
MD5 3ab975285cb6fae824d0d4e1117e8f75
BLAKE2b-256 7653c0a9a3053fdfe993f36fd8e8b95be305f39c2f0c4695b866354dfabdce29

See more details on using hashes here.

File details

Details for the file rexia_ai-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: rexia_ai-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 38.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.9

File hashes

Hashes for rexia_ai-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 01d805d6aa03e9faaae053d196beadd41390bc313b32c3316a5f7a0fe9c3deba
MD5 677df2c07af5511e5dfbacfbf1682d39
BLAKE2b-256 ee5f6ffcb128b9209c305a69276f3c62e42fad50cfdcd36aa8bae8312dd456e0

See more details on using hashes here.

Supported by

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