What is Lasagna AI?
Lasagna AI is a production-minded agent-building library. Build powerful layered agents (multi-agent systems) from simple components. πͺ
Getting Started
Start with:
Features
π₯ Layered agents!
- Agents for your agents!
- Tool-use, structured output (βextractionβ), and layering FTW πͺ
- Ever wanted a recursive agent? Now you can have one! π€―
- Parallel tool-calling by default.
- Fully asyncio.
- 100% Python type hints.
- Functional-style π
- (optional) Easy & pluggable caching! π¦
π£ Streamable!
- Event streams for everything.
- Asyncio generators are awesome.
ποΈ Easy database integration!
- Donβt rage when trying to store raw messages and token counts. π‘ π€¬
- Yes, you can have both streaming and easy database storage.
βοΈοΈ Provider/model agnostic and interoperable!
- Core support for OpenAI, Anthropic, and AWS Bedrock.
- Experimental support for Ollama and NVIDIA NIM/NGC.
- 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.