A lightweight and elegant AI Agent framework
https://cymoo.github.io/lovia โ// momentum
// why it's here
- Active: last commit today
- Built almost entirely by one person
- Health 89/100 with only 19 stars
// how to help
// readme
lovia
English | ็ฎไฝไธญๆ
One agent loop, three ways to use it. lovia is a Python agent framework you
can import as a library, run as a ready-made assistant in your browser, or take
apart to build your own. Each layer is built on the one below, so going from a
script to a product never means switching frameworks. The core depends only on
httpx, pydantic and pyyaml; everything else is opt-in.
| Use lovia asโฆ | What you get | Start with |
|---|---|---|
| A library | An agent loop in ordinary Python: tools, streaming, sessions, approvals, context management | pip install lovia |
| A ready-made harness | A local assistant that works in your project folders, with files, shell, memory, skills and MCP | pip install "lovia[web]", then lovia web |
| The base for your own | That assistant as a toolkit: add tools, brand the page, add views, or keep only the API | lovia[web], then default_app() or create_app() |