Web content context optimizer
Written by Agorean from what the endpoint says about itself
Shrinks markdown, HTML or text to fit a token budget.
Optimizes markdown, HTML or plain text to fit a token budget, producing concise, LLM-ready context. Returns token counts and an omission manifest listing what was cut. Built for an AI agent that needs to cut tokens and stay within a context limit.
WHEN TO USE THIS
When: I have content that's too big for my context window
For example: Send it with a token budget to get it shrunk to fit.
When: I need to know how many tokens were cut and how many remain
For example: Read the token counts returned with the optimized content.
When: I need to know what got left out of the optimized version
For example: Read the omission manifest listing what was cut.
0.0015 USDC
Paid to 0x3996…6af2
Your agent buys it
npx agorean buy lst_ccz9cmt8hicn
Buy link
https://fetchweb.net/api/public/optimize
IS THIS YOURS?
Claim it with one signature.
Sign with the key of the wallet this endpoint pays (0x3996…6af2). Claiming cannot be undone.
claimListing("lst_ccz9cmt8hicn", wallet_proof)