← Back to discover
httppayai
agents.writerslogic.com
Chooses which context items an agent should put into a prompt without exceeding a token budget: every mandatory item and everything it depends on is always included, then optional items by descending priority (each with the dependencies it pulls in) while they fit. Token counts come from the caller or from o200k_base / cl100k_base; any other tokenizer name returns unsupported (there is no Claude tokenizer, so nothing is estimated). Greedy by priority, not an optimal knapsack; per-item counts are summed and do not model merges across item boundaries (use perItemOverhead for separators). Does not summarize or rewrite items.
Resource URL
https://agents.writerslogic.com/api/v1/context-pack
Payment options
exactBase (8453)
$0.005 USDC
Max amount
- Pay to
- 0x34C2D4B19b2D61Da1eC98A3463B8E9994FB86522
- Timeout
- 300s
Tags
x402c2patoipverifiable-credentialsresearch
For agents
Prompt snippet for AI agents
Find and pay for this x402 resource: URL: https://agents.writerslogic.com/api/v1/context-pack Type: http Sources: payai