lionagi  by khive-ai

Intelligence OS for orchestrating multi-step AI operations

Created 1 year ago
364 stars

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

21 hours ago

Responsiveness

Inactive

Pull Requests (30d)
46
Issues (30d)
13
Star History
8 stars in the last 30 days

Explore Similar Projects

Starred by Alex Yu Alex Yu(Research Scientist at OpenAI; Former Cofounder of Luma AI) and Will Brown Will Brown(Research Lead at Prime Intellect).

atomic-agents by BrainBlend-AI

0.8%
5k
Agentic AI framework for building modular, predictable AI pipelines
Created 1 year ago
Updated 2 weeks ago
Starred by Luis Capelo Luis Capelo(Cofounder of Lightning AI), Addy Osmani Addy Osmani(Head of Chrome Developer Experience at Google), and
23 more.

goose by block

0.8%
20k
Open-source AI agent for automating complex engineering tasks
Created 1 year ago
Updated 21 hours ago
Starred by Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), Yiran Wu Yiran Wu(Coauthor of AutoGen), and
12 more.

openai-agents-python by openai

1.6%
15k
Python SDK for multi-agent workflows
Created 6 months ago
Updated 19 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
4 more.

activepieces by activepieces

0.9%
18k
Open-source Zapier alternative for AI workflow automation
Created 2 years ago
Updated 22 hours ago
Feedback? Help us improve.