R_REDDYX.XYZ
AIPython★ 308

jia-gao/leanctx

COMPRESS PROMPTS BY 60%

leanctx — drop-in prompt compression for LLM applications. Reduces tokens by 40-60% without changing code.

// KEY FEATURES

  • Drop-in integration, no code changes
  • Token compression 40-60%
  • Python SDK based on LLMLingua-2
  • MIT license, 308 stars on GitHub
#anthropic#cost-optimization#gemini#langchain#langgraph#llm#llm-inference#llmlingua#openai#prompt-compression#python#rag
Open on GitHub →

New repositories every 30 minutes

REDDYX AI scans GitHub 24/7 and ships the best AI/ML/Web3 projects to Telegram.

Join on Telegram
← Full catalog·Full index

// SIMILAR REPOSITORIES

DEBUG GYM INTERACTIVE CODE DEBUGGING★ 308AGENT-DESK: AI SUPPORT★ 308SAGETHUMBS-2K: THUMBNAILS FOR 331 FILES★ 308RED-RUN: OFFENSIVE TOOLKIT CLAUDE★ 308QA SKILLS FOR AI AGENTS★ 308WONDERFUL SECOND BRAIN★ 309

← FULL CATALOG

jia-gao/leanctx — Compress Prompts BY 60% | REDDYX AI