Skip to main content

to better use of llm

Project description

Luann

luann logo

Luann (fka TypeAgent) allows you to create many LLM based agent(Various types of agent,scale up),which has complete memory module (long-term memory, short-term memory),Tool Use module,RAG module etc.

Luann makes user easy to build and deploy LLM agents with support for:

  • Long term memory/state managemet,short term memory
  • Basic RAG workflow for knowledge base which created by external data sources (e.g. PDF files)
  • Defining and calling custom tools,then help you do something(take action)
  • Changing personas settings and role-playing
  • Create various types of agent(memgpt,swe,langchain agent,etc..)

You can also use Luann to deploy agents as a service. You can use a Luann server to run a multi-user, multi-agent application on top of supported LLM providers.

Quickstart

From pypi

  1. Run pip install luann
  2. Run luann server
  3. Go to localhost:8283 in the browser to view the developer portal
  4. then you can use restful api and client to develop your app

From source

  1. Clone the repo
  2. Run python main.py configure
  3. Run python main.py server
  4. Go to localhost:8283 in the browser to view the developer portal
  5. then you can use restful api and client to develop your app

The pip install of Luann defaults to using SQLite. If you have a PostgreSQL instance running on your own computer, you can still connect Luann (installed via pip) to PostgreSQL by setting the environment variable LUANN_PG_URI.

Supported Type of Agents

Luann is designed to Create various types of agent. The following type of agent are supported:

Type supported
Memgpt
openhands

Supported Endpoints & Backends

Luann is designed to be model and provider agnostic. The following LLM and embedding endpoints are supported:

Provider LLM Endpoint Embedding Endpoint
OpenAI
Azure OpenAI
Google AI (Gemini)
Anthropic (Claude)
vLLM
Ollama

When using Luann with open LLMs (such as ollma and vllm ), the performance of Luann will be highly dependent on the LLM's function calling ability ,Language understanding and reasoning skills.

Docs

Coming

TODO LIST

  • add other type agent( more complex agent like openhand, or simple functional agent)
  • add other vectordb and other llms
  • add baichuan/qianwen etc LLM
  • add voice clone (tortoise-tts)
  • add Agent Evaluation
  • add Production RAG Evaluation(Ragas https://github.com/explodinggradients/ragas and part from crewai)
  • add openai swarm
  • add LLM reranker subsystem(GPT4o reranker)
  • add automation workflow(not only chat but also do something)
  • add session timeline (from phidata)
  • add Other modulus models, such as OCR models, BLIP etc.
  • add trained SLM or SMM or fine-tune SLM by using Self-developed deep learning training framework PyFlame ,which aimed to use specific usecase,because Special small models act as lubricants for modules in the agent framework
  • add usage recording

Comments

  • This project is a Leisure time hobby.
  • Our codebase for the Luann builds heavily on MemGPT codebase,Thanks for open-sourcing!
  • The difference of between MemGPT(letta) and Luann is that Luann optimizes the entire original memgpt code structure and propose new ,Small, lightweight, Agent Development Framework,which is Easy to scale up of creating agents.Each has its own advantages
  • New ideas and new features will be added continuously,make everyone use very well
  • new version is coding ,please wait..

Roadmap

goal:EQ and IQ AGENT ,TOOL agent ,Scale up to create agent more easier

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

luann-0.2.1.tar.gz (286.7 kB view details)

Uploaded Source

Built Distribution

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

luann-0.2.1-py3-none-any.whl (372.8 kB view details)

Uploaded Python 3

File details

Details for the file luann-0.2.1.tar.gz.

File metadata

  • Download URL: luann-0.2.1.tar.gz
  • Upload date:
  • Size: 286.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.10.16 Windows/10

File hashes

Hashes for luann-0.2.1.tar.gz
Algorithm Hash digest
SHA256 5dde60126921b91643676f6b01ba8c1350bf90d4375161969895b6cb44b60d2b
MD5 731f0c8c3446d4d1ed55a3d98873ec88
BLAKE2b-256 5783749ad68b26ec372a8a22d027bd6c5cfe052c8eb8a0b3578368481e7a18f6

See more details on using hashes here.

File details

Details for the file luann-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: luann-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 372.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.10.16 Windows/10

File hashes

Hashes for luann-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9a51101f33683825c5459557e95d2407ef0bc11313463a2c095c0e5b4f9e8733
MD5 c483afb735d70042709a88fd0b0f7edd
BLAKE2b-256 66516d8b266a7ace4b51775c793eba3cc8a85e010bc07405f618aaf088d0dee7

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