Skip to main content

FlexiAI: A dynamic and modular AI framework leveraging Multi-Agent Systems and Retrieval Augmented Generation (RAG) for seamless integration with OpenAI and Azure OpenAI services.

Project description

FlexiAI

PyPI version License: MIT

FlexiAI is a dynamic and modular AI framework designed to leverage the power of Multi-Agent Systems and Retrieval Augmented Generation (RAG). This framework is ideal for developers seeking to integrate AI capabilities into their applications with ease and flexibility. With FlexiAI, you can harness the power of both OpenAI and Azure OpenAI services to create intelligent agents that can manage tasks, process data, and provide advanced AI-driven solutions.

Introduction Video

Learn more about FlexiAI by watching the following introductory video:

Watch the video

Table of Contents

Features

  • Flexible AI Management: Central hub for managing AI operations including:

    • Thread Management: Handle and organize multiple threads of conversation.
    • Message Management: Manage messages within threads.
    • Run Management: Create and monitor runs for processing tasks.
    • Session Management: Maintain user sessions for continuity.
    • Vector Store Management: Manage vector stores, including local and external stores, for embedding and retrieval tasks.
    • Image Generation: Create and manipulate images using AI models.
    • Audio Management: Advanced audio handling including:
      • Speech-to-Text
      • Text-to-Speech
      • Audio Transcription
      • Audio Translation
    • Embedding Management: Handle text embeddings for various NLP tasks.
    • Multi-Agent System: Manage multiple AI agents concurrently to handle various tasks efficiently.
    • Completions Management: Interact with the OpenAI API to handle chat completions, structured completions, and function-calling completions.
    • Assistant Management: Manage AI assistants, including creating, updating, retrieving, and integrating them into threads using the OpenAI Assistants API.
  • Retrieval Augmented Generation (RAG): Enhance the AI's capabilities by integrating retrieval mechanisms to provide enriched and contextually relevant responses.

    • Comprehensive Task Management: Organize, execute, and manage a variety of tasks with the integrated TaskManager, enabling AI assistants to take actions and retrieve real-time data from your personal computer or cloud services.
  • Flexible Credential Management: Seamlessly switch between OpenAI and Azure OpenAI credentials.

  • Extensible Architecture: Easily extend and customize the framework with user-defined functions and tasks.

  • Robust Logging: Comprehensive logging for effective debugging and monitoring.

  • Secure and Scalable: Suitable for both small projects and large enterprise applications.

  • Actively Maintained: Continuously improved and supported by the project's developer.

  • Parallel Execution: Execute tasks and tool calls in parallel for improved performance.

Installation

For setting up starter files and detailed installation instructions, please refer to the Installation.

Documentation

The FlexiAI framework comes with comprehensive documentation to help you get started and make the most out of its capabilities:

Quick Start Examples

FlexiAI provides ready-to-use applications to help you quickly get started with integrating AI into your projects. These examples are designed to be flexible and modifiable, so you can adapt them to your specific needs:

  • FlexiAI Flask Application: A web-based application built using Flask that demonstrates how to integrate the FlexiAI framework with a web server. This application includes endpoints for managing threads, messages, sessions, and more. It offers a great foundation for developers looking to build and customize AI-driven web applications quickly.

  • CLI Chat Application: A command-line interface (CLI) based chat application that leverages FlexiAI to facilitate simple text-based interactions with AI agents. This example showcases how to set up a lightweight and efficient chat system using the FlexiAI framework.

These starter applications are designed to be easily extended and customized. Whether you're building a complex web application or a simple chatbot, these examples provide a solid foundation to help you jumpstart your AI-powered project.

Contributing

We welcome contributions from the community. If you want to contribute to FlexiAI, please read our Contributing Guide to get started.

License

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

Contact

For any inquiries or support, please contact Savin Ionut Razvan at razvan.i.savin@gmail.com.

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

flexiai-1.2.241.tar.gz (52.2 kB view hashes)

Uploaded Source

Built Distribution

flexiai-1.2.241-py3-none-any.whl (60.2 kB view hashes)

Uploaded Python 3

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