leanctx — LLM Plugin by jia-gao

by jia-gao · LLM Plugin · ★ 312

Last updated: · Indexed by AgentSkillsHub · Auto-synced every 8h

About leanctx

leanctx Drop-in prompt compression for production LLM applications. Cut your input-token bill by 40–60% — without changing your code. On the public LongBench v2 leaderboard's short subset, leanctx-Lingua doubles accuracy versus naive head+tail truncation (40 % vs 20 %) while removing 57 % of tokens. Open-source models, runs locally, MIT-licensed. Your prompts and user data never leave your infrastructure by default. Quickstart (60 seconds) First Lingua call loads 1.2 GB of model weigh

anthropiccost-optimizationgeminilangchainlanggraphllmllm-inferencellmlinguaopenaiprompt-compression

Quick Facts

Stars312
Forks2
LanguagePython
CategoryLLM Plugin
LicenseMIT
Quality Score64.4367355470561/100
Open Issues1
Last Updated2026-06-28
Created2026-04-18
Platformsgemini, python
Est. Tokens~16k

leanctx alternative? Top 6 similar tools

Looking for a leanctx alternative? If you're comparing leanctx with other llm plugin tools, these 6 projects are the closest alternatives on Agent Skills Hub — ranked by topic overlap, star count, and community traction.

  • context-compressor by Huzaifa785 · ⭐ 80

    AI-powered text compression library for RAG systems and API calls. Reduce token usage by up to 50-60% while pr

  • open-extract by velocitybolt · ⭐ 184

    Structured Data Extractor for AI Agents. Search your documents or the web for specific data and get it back in

  • flock by Onelevenvy · ⭐ 1.1k

    Flock is a workflow-based low-code platform for rapidly building chatbots, RAG, and coordinating multi-agent t

  • SearChat by sear-chat · ⭐ 1.0k

    Search + Chat = SearChat(AI Chat with Search), Support OpenAI/Anthropic/VertexAI/Gemini, DeepResearch, SearXNG

  • full-stack-ai-agent-template by vstorm-co · ⭐ 1.0k

    Full-stack AI app generator — FastAPI + Next.js with agents, RAG, streaming, auth, and 20+ integrations out of

  • vllora by vllora · ⭐ 790

    Debug your AI agents

More LLM Plugin Tools

Explore other popular llm plugin tools:

View all LLM Plugin tools →

Popular Python Agent Tools

Frequently Asked Questions

What is leanctx?

leanctx is Drop-in prompt compression for production LLM apps. Cut your token bill 40-60% without changing your code. Python SDK, LLMLingua-2, MIT.. It is categorized as a LLM Plugin with 312 GitHub stars.

What programming language is leanctx written in?

leanctx is primarily written in Python. It covers topics such as anthropic, cost-optimization, gemini.

How do I install or use leanctx?

You can find installation instructions and usage details in the leanctx GitHub repository at github.com/jia-gao/leanctx. The project has 312 stars and 2 forks, indicating an active community.

What license does leanctx use?

leanctx is released under the MIT license, making it free to use and modify according to the license terms.

What are the best alternatives to leanctx?

The top alternatives to leanctx on Agent Skills Hub include context-compressor, open-extract, flock. Each offers a different approach to the same problem space — compare them side-by-side by stars, quality score, and community activity.

View on GitHub → Browse LLM Plugin tools