← Open Source
badlogic

lemmy

Wrapper around tool using LLMs for agentic workflows

AI EngineeringAccess modelsBuild agent workflow (SDK)TypeScript
Open on GitHub
Momentum
+0stars in 24 hours0.0%
1.64k
Stars
299
Forks
+2
This week
8
Contributors
Created 2025-05-23 · Updated 2026-10-02 · #8185 today
Top developers
README

Lemmy Monorepo

A TypeScript ecosystem for building AI applications with unified LLM interfaces, terminal UIs, and practical tools.

Core Packages

@mariozechner/lemmy

TypeScript library for building AI applications with multiple LLM providers. Unified interface, manual tool handling, and conversation management across Anthropic Claude, OpenAI, and Google Gemini.

Key Features:

  • Multi-provider support (Anthropic, OpenAI, Google)
  • Manual tool execution with interception capabilities
  • Context serialization and conversation management
  • Streaming with thinking/reasoning support
  • Type-safe tool definitions with Zod schemas

@mariozechner/lemmy-tui

Terminal UI framework with differential rendering for building interactive CLI applications.

Key Features:

  • Differential rendering for performance
  • Text editing, autocomplete, and selection components
  • Markdown rendering and syntax highlighting
  • Composable component architecture

Applications

claude-bridge

Use OpenAI, Google, and other LLM providers with Claude Code by intercepting and transforming API requests.

lemmy-chat

Interactive chat application demonstrating lemmy and lemmy-tui integration. Work in progress.

red-teaming

Red teaming example. See BlueSky Thread

snap-happy

Screenshot capture MCP server.

claude-trace

Trace and analyze Claude Code conversations with rich visualization. See Twitter Thread, Simon Willison Blog Post

Development

Setup:

git clone https://github.com/mariozechner/lemmy
cd lemmy && npm install
npm run dev  # Starts compilation in watch mode for all packages

Commands:

npm run build     # Build all packages and apps
npm run clean     # Clean all dist folders
npm run typecheck # Type check all projects
npm run test      # Run all tests

See README.md of respective package or app you want to hack on for more infos.

Monorepo Structure:

  • Dependencies build in correct order (packages before apps)
  • Unified scripts run across all workspaces
  • TypeScript project references for incremental compilation