lionagi  by khive-ai

Intelligence OS for orchestrating multi-step AI operations

Created 2 years ago
380 stars

Top 75.1% 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

3 weeks ago

Responsiveness

Inactive

Pull Requests (30d)
1
Issues (30d)
0
Star History
3 stars in the last 30 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), Yiran Wu Yiran Wu(Coauthor of AutoGen), and
13 more.

openai-agents-python by openai

0.7%
18k
Python SDK for multi-agent workflows
Created 10 months ago
Updated 15 hours ago
Starred by Elvis Saravia Elvis Saravia(Founder of DAIR.AI), Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), and
5 more.

activepieces by activepieces

0.5%
20k
Open-source Zapier alternative for AI workflow automation
Created 3 years ago
Updated 14 hours ago
Feedback? Help us improve.