Skip to main content

The kernel layer for production AI agents - protocol-based, type-safe, zero framework lock-in

Project description

lionpride

PyPI version Python License CI codecov Code style: ruff

Production-ready multi-agent workflow orchestration framework.

Alpha Release - API may change. Originated from lionagi v0, elevated and hardened for production use.

Features

  • Model Agnostic - Built-in providers for OpenAI-compatible APIs, Anthropic, Gemini, Claude Code
  • LNDL - Domain-specific language for LLM structured output and enhanced reasoning (JSON fallback supported)
  • 75% Token Reduction - Efficient instruction representation for complex agentic workflows (e.g., 20+ tools)
  • Async Native - Operation graph building, dependency-aware execution, auto-extensions
  • Modular Architecture - Protocol-based composition, zero framework lock-in

Installation

pip install lionpride

Quick Start

from lionpride import Session
from lionpride.services import iModel

# Create session with model
session = Session()
model = iModel(provider="openai", model="gpt-4o-mini")
session.register_service(model)

# Create branch and operate
branch = session.create_branch()
result = await branch.operate(
    instruction="Analyze this data",
    imodel=model,
)

Roadmap

  • Formal mathematical framework
  • Rust core for performance-critical paths

License

Apache-2.0

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

lionpride-1.0.0a0.tar.gz (782.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lionpride-1.0.0a0-py3-none-any.whl (256.3 kB view details)

Uploaded Python 3

File details

Details for the file lionpride-1.0.0a0.tar.gz.

File metadata

  • Download URL: lionpride-1.0.0a0.tar.gz
  • Upload date:
  • Size: 782.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for lionpride-1.0.0a0.tar.gz
Algorithm Hash digest
SHA256 3277606bdd0d44ab70bc2f9d5a559f97bcb9b38f167145573a1c45d456c5b6b4
MD5 ff1d7364be32413a3a584d038fb2d9d3
BLAKE2b-256 c249811610087a099155484bd44e1384365509ebe4c6dd1995260a2f7b984aac

See more details on using hashes here.

File details

Details for the file lionpride-1.0.0a0-py3-none-any.whl.

File metadata

  • Download URL: lionpride-1.0.0a0-py3-none-any.whl
  • Upload date:
  • Size: 256.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for lionpride-1.0.0a0-py3-none-any.whl
Algorithm Hash digest
SHA256 146c35e0ec33a5d72e1e0ca837ab167a3365090c80528ed8aaf19bff932105fd
MD5 73834b876b0a6877124667e6c5de008e
BLAKE2b-256 af1f6f8cc4d73ba288d268f3a48bac6fe0be76804e0cfaa4071ad6add516651d

See more details on using hashes here.

Supported by

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