lemmy  by badlogic

TypeScript toolkit for agentic AI workflows

Created 3 months ago
1,159 stars

Top 33.3% on SourcePulse

GitHubView on GitHub
Project Summary

Lemmy is a TypeScript monorepo designed for building AI applications, offering unified interfaces to multiple Large Language Models (LLMs) and a terminal UI framework. It targets developers building AI-powered applications who need a flexible, multi-provider LLM integration and interactive CLI experiences.

How It Works

The core of Lemmy is a unified LLM interface library that abstracts away differences between providers like Anthropic, OpenAI, and Google Gemini. It supports manual tool execution with interception, context serialization, conversation management, and streaming responses. The lemmy-tui package provides a performant terminal UI framework using differential rendering and composable components for building interactive CLI applications.

Quick Start & Requirements

  • Install: git clone https://github.com/mariozechner/lemmy && cd lemmy && npm install
  • Run: npm run dev (starts watch mode for all packages)
  • Prerequisites: Node.js, npm.
  • Resources: npm install may take a few minutes.

Highlighted Details

  • Unified interface for Anthropic Claude, OpenAI, and Google Gemini.
  • Type-safe tool definitions using Zod schemas.
  • Differential rendering for performant terminal UIs.
  • Includes example applications like claude-bridge and lemmy-chat.

Maintenance & Community

  • Developed by Mario Zechner.
  • No explicit community links (Discord/Slack) or roadmap provided in the README.

Licensing & Compatibility

  • License: Not specified in the README.
  • Compatibility: TypeScript-based, suitable for integration into Node.js applications.

Limitations & Caveats

The project is described as a "monorepo" and includes "work in progress" applications, suggesting it may still be under active development and subject to change. Licensing information is absent, which could impact commercial adoption.

Health Check
Last Commit

1 month ago

Responsiveness

1+ week

Pull Requests (30d)
2
Issues (30d)
2
Star History
104 stars in the last 30 days

Explore Similar Projects

Starred by Tobi Lutke Tobi Lutke(Cofounder of Shopify), Shizhe Diao Shizhe Diao(Author of LMFlow; Research Scientist at NVIDIA), and
20 more.

dify by langgenius

0.5%
114k
Open-source LLM app development platform
Created 2 years ago
Updated 14 hours ago
Feedback? Help us improve.