lionagi  by khive-ai

Intelligence OS for orchestrating multi-step AI operations

created 1 year ago
354 stars

Top 79.9% on sourcepulse

GitHubView on GitHub
Project Summary

LionAGI is an open-source framework designed for orchestrating complex, multi-step AI operations. It targets developers and researchers building AI applications that require precise control over multiple language models, tool integrations, and advanced reasoning patterns like ReAct. The primary benefit is a structured, expandable, and transparent system for managing sophisticated AI workflows.

How It Works

LionAGI employs a pipeline-based architecture where interactions with Large Language Models (LLMs) are validated and typed using Pydantic. This approach ensures structured outputs and facilitates integration with various LLM providers (OpenAI, Anthropic, etc.) and custom tools. Its core strength lies in enabling advanced multi-step reasoning, such as ReAct, with built-in safety checks, concurrency strategies, and detailed logging for debugging.

Quick Start & Requirements

  • Install via pip: pip install lionagi
  • Dependencies: aiocache, aiohttp, jinja2, pandas, pillow, pydantic, tiktoken.
  • Optional dependencies for tools, LLMs, and Ollama are available via pip install "lionagi[tools]", pip install "lionagi[llms]", pip install "lionagi[ollama]".
  • Documentation: Documentation

Highlighted Details

  • Supports structured responses using Pydantic models for LLM outputs.
  • Integrates ReAct reasoning with external tool invocation (e.g., ReaderTool for PDF summarization).
  • Enables multi-model orchestration, allowing seamless switching between different LLMs within a single workflow.
  • Provides observability features like message introspection via Pandas DataFrames and verbose chain-of-thought logging.

Maintenance & Community

  • Community support is available via Discord.
  • Project roadmap is accessible.
  • Citation available for academic use.

Licensing & Compatibility

  • The repository does not explicitly state a license in the provided README. This requires further investigation for commercial use or closed-source linking.

Limitations & Caveats

The absence of a clearly stated license in the README is a significant caveat for adoption, especially for commercial applications. Further investigation into the project's licensing is necessary.

Health Check
Last commit

1 day ago

Responsiveness

Inactive

Pull Requests (30d)
44
Issues (30d)
8
Star History
35 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.