Metadata-Version: 2.3
Name: lasagna-ai
Version: 0.2.1
Summary: Layered agents!
Project-URL: Documentation, https://github.com/Rhobota/lasagna-ai#readme
Project-URL: Issues, https://github.com/Rhobota/lasagna-ai/issues
Project-URL: Source, https://github.com/Rhobota/lasagna-ai
Author-email: Ryan Henning <ryan@rhobota.com>
License-Expression: MIT
License-File: LICENSE.txt
Keywords: agent,agents,ai,hierarchical,layered,layers,llm
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Requires-Python: >=3.8
Provides-Extra: anthropic
Requires-Dist: anthropic>=0.26.1; extra == 'anthropic'
Provides-Extra: dev
Requires-Dist: mypy>=1.10.0; extra == 'dev'
Requires-Dist: pytest-asyncio>=0.23.6; extra == 'dev'
Requires-Dist: pytest>=8.1.1; extra == 'dev'
Provides-Extra: openai
Requires-Dist: openai>=1.30.3; extra == 'openai'
Description-Content-Type: text/markdown

![Lasagna AI Logo](https://raw.githubusercontent.com/Rhobota/lasagna-ai/main/logos/lasagna-ai.png)

# Lasagna AI

[![PyPI - Version](https://img.shields.io/pypi/v/lasagna-ai.svg)](https://pypi.org/project/lasagna-ai)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/lasagna-ai.svg)](https://pypi.org/project/lasagna-ai)
![Test Status](https://github.com/Rhobota/lasagna-ai/actions/workflows/test.yml/badge.svg?branch=main)

- 🥞  **Layered agents!**
  - Agents for your agents!
  - Tool-use and layering FTW 💪
  - Built-in parallel tool-calling.
  - Fully asyncio.
  - Ever wanted a recursive agent? 🤯
  - Strongly typed (if you're into that).

- 🚣  **Streamable!**
  - Event streams for everything.

- 🗃️ **Easy database integration!**
  - Don't rage when trying to store raw messages and token counts. 😡 🤬

- ↔️ **Provider/model agnostic and interoperable!**
  - Native support for OpenAI, Anthropic, MistralAI (+ more to come).
  - Message representations are canonized. 😇
  - Supports vision!
  - Easily build committees!
  - Swap providers or models mid-conversation.
  - Delegate tasks among model providers or model sizes.
  - Parallelize all the things.

-----

## Table of Contents

- [Installation](#installation)
- [License](#license)

## Installation

```console
pip install -U lasagna-ai[openai,anthropic]
```

## License

`lasagna-ai` is distributed under the terms of the [MIT](https://spdx.org/licenses/MIT.html) license.
