lanarky  by ajndkr

LLM microservice web framework (maintenance mode)

created 2 years ago
994 stars

Top 38.1% on sourcepulse

GitHubView on GitHub
Project Summary

Lanarky is a Python web framework designed for building LLM-powered microservices, targeting developers who need to integrate large language models into their applications. It offers an LLM-first, unopinionated approach with built-in streaming support, aiming to simplify the creation of real-time LLM applications without vendor lock-in.

How It Works

Built on FastAPI, Lanarky leverages its speed and modern features. Its core advantage lies in its specialized abstractions for LLM interactions, providing adapters for services like OpenAI's ChatCompletion. This design allows developers to define LLM microservices with minimal code, abstracting away much of the boilerplate associated with API calls and streaming responses over HTTP and WebSockets.

Quick Start & Requirements

  • Primary install: pip install lanarky
  • Prerequisites: Python 3.9+
  • Documentation: lanarky.ajndkr.com

Highlighted Details

  • Built on FastAPI for performance and features.
  • Supports streaming responses over HTTP and WebSockets.
  • Unopinionated design, avoiding vendor lock-in.
  • Provides adapters for common LLM providers like OpenAI.

Maintenance & Community

The project is currently in maintenance mode, with no new features planned. Critical bugs and security issues may be addressed, but active development has ceased. The author encourages community contributions.

Licensing & Compatibility

  • License: MIT
  • Compatibility: Permissive for commercial use and integration with closed-source applications.

Limitations & Caveats

The project is in maintenance mode, meaning active development has stopped, and new features will not be added. While critical bugs may be addressed, users should not expect ongoing feature enhancements or active maintenance.

Health Check
Last commit

1 year ago

Responsiveness

1 day

Pull Requests (30d)
0
Issues (30d)
0
Star History
5 stars in the last 90 days

Explore Similar Projects

Starred by Tobi Lutke Tobi Lutke(Cofounder of Shopify), Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems), and
15 more.

litellm by BerriAI

1.7%
27k
SDK/proxy for calling 100+ LLM APIs using the OpenAI format
created 2 years ago
updated 9 hours ago
Feedback? Help us improve.