Report Abuse

Basic Information

Lemmy is a TypeScript monorepo and ecosystem for building AI applications with unified LLM interfaces and terminal user interfaces. It provides a core TypeScript library for working with multiple LLM providers including Anthropic Claude, OpenAI, and Google, plus tooling for manual tool handling, conversation management, context serialization and streaming. The repository also ships a terminal UI framework for building interactive CLI apps and several example applications that demonstrate bridging providers, chat, red-teaming, screenshot capture, and tracing of Claude Code conversations. The monorepo is organized with packages and apps, unified scripts, TypeScript project references, and standard npm commands for development, building, testing, and cleaning. The README describes package-level features, example applications, and basic development setup steps including cloning, installing, and running in watch mode.

Links

App Details

Features
Multi-provider LLM support for Anthropic, OpenAI, and Google with a unified interface. Manual tool execution and interception so tool calls can be handled or transformed by the host application. Conversation management and context serialization to preserve dialogue state. Streaming support with thinking/reasoning indicators. Type-safe tool definitions using Zod schemas for validation. A terminal UI framework with differential rendering, text editing, autocomplete, selection components, Markdown rendering and syntax highlighting, and a composable component architecture. Example applications include claude-bridge for intercepting requests, lemmy-chat for interactive chat, red-teaming, snap-happy for screenshot capture, and claude-trace for visualizing conversations. Monorepo scripts support build, dev, clean, test, and typecheck workflows.
Use Cases
For developers building agentic AI applications, Lemmy provides a ready-made TypeScript foundation that unifies access to multiple LLM providers and standardizes conversation and tool handling. The library’s interception and manual tool execution features let projects transform or route provider API requests and implement custom tool workflows. Type-safe tool schemas reduce runtime errors when invoking tools. The lemmy-tui package makes it easier to create performant interactive CLI apps with editing, autocompletion, and rich Markdown display. Included example apps demonstrate common tasks like bridging providers, chat interfaces, red-teaming scenarios, screenshot capture, and tracing conversations, which shorten the ramp-up time. The monorepo layout, scripts, and TypeScript project references simplify development, building, testing, and incremental compilation across packages and applications.

Please fill the required fields*