AgentSidekick

code2prompt vs LLMLingua

code2prompt is a developer tool from code2prompt (MIT licence, 7.8k GitHub stars, last push 2026-11-06); LLMLingua is a library from microsoft (MIT licence, 6.8k GitHub stars, last push 2026-11-09). They share 1 of 3 capabilities and integrations identified for either (overlap 0.60); only code2prompt covers Prompt Optimization; only LLMLingua covers Context Compression. Figures as of 2026-11-21. DER

code2prompt profileLLMLingua profileOpen in the compare tool

Side-by-side facts

6 of 16 rows differ (marked). Unknown means no source we track states it.

Fieldcode2promptLLMLingua
Type · differsDeveloper tool · hosted CURLibrary · library CUR
Publisher · differscode2prompt CURmicrosoft CUR
LicenceMIT CURMIT CUR
Open sourceYes CURYes CUR
Pricing modelopen-source CURopen-source CUR
HostingUnknownUnknown
Latest versionUnknownUnknown
Languages · differsrust CURpython CUR
GitHub stars · differs7.8k (7,771) SRC6.8k (6,846) SRC
Forks · differs459 SRC456 SRC
Last push · differs2026-11-06 SRC2026-11-09 SRC
ArchivedNo SRCNo SRC
First publishedUnknownUnknown
Versions recordedUnknownUnknown
VerificationChecked by AgentSidekick against official sources CURChecked by AgentSidekick against official sources CUR
Last verified2026-11-21 CUR2026-11-21 CUR

Shared and unique capabilitiesDER

Capabilities are assigned by keyword rules from each description unless a researcher set them; integrations are services named in the description or package metadata.

Both (1)

Only code2prompt (1)

Only LLMLingua (1)

Platform compatibility

Status per platform from the evidence we hold. No pairing has been tested by AgentSidekick.

No compatibility evidence

For all 47 platforms on record the status is Unknown or Platform discontinued for both: neither product type implements a standard we can check (MCP, Agent Skills, Claude plugins) and neither publisher names a platform.

Maintenance

Repository activity read from the GitHub API. Activity is not quality.

Measurecode2promptLLMLingua
StatusActive DERActive DER
Days since last push15 DER12 DER
Open issues6 SRC101 SRC
Latest GitHub releasev4.2.0 · 2025-12-11 SRCv0.2.2 · 2024-04-09 SRC
Newest registry versionUnknownUnknown

Evaluation dimensions

Separate signals with their evidence; there is no overall score. Hover or focus a status for its evidence.

Dimensioncode2promptLLMLingua
Source authorityChecked against official sourcesChecked against official sources
Publisher verificationOrganisation accountOrganisation account
Maintenance activityActiveActive
Licence clarityMITMIT
Installation clarityUnknownUnknown
DocumentationRepository / website onlyRepository / website only
Compatibility evidenceUnknownUnknown
Security reviewNot reviewedNot reviewed

Which fits which requirementDER

Derived from the differences above, one rule per line. Nothing here says either product is better; check the requirement against your own needs.

Choose code2prompt if…

  • you need Prompt Optimization (classified for code2prompt only)

Choose LLMLingua if…

  • you need Context Compression (classified for LLMLingua only)

Sources

Report incorrect information

Page data last updated .