#sdk
6 posts
-
Some of Your Agent's Tasks Don't Need an Agent
Parts of your agent run the same deterministic tool-call sequence on every run, and you pay model tokens each time to reproduce what a plain script would do for free.
-
Stop Paying to Re-Plan Work Your Agent Already Solved
Agents re-derive the same plan skeleton on every run. TokenJam clusters your runs by plan shape, isolates the planning tokens, and exports the repeated plans as templates you can feed back in.
-
Stop Paying Frontier-Model Prices for Work a Cheaper Model Handles
Find the agent calls where a cheaper model would likely hold, priced in dollars against your own trace history, so you stop paying frontier rates for mechanical work.
-
Instrument Your AI Agent, Then Find Where the Money Goes
Patch your provider client in one line so the TokenJam SDK captures every LLM call to a local, on-disk trace, then run local analyzers that turn those traces into priced savings across your self-built agent.
-
Half Your System Prompt Isn't Doing Any Work
System prompts quietly accumulate dead-weight tokens you re-pay on every call, and TokenJam's Trim lever scores which tokens carry little significance so you can see what to cut.
-
The Prompt-Caching Discount Most Agents Leave on the Table
Prompt caching gives roughly 30-60% off the repeated prefix tokens your agent re-sends every call, and TokenJam measures your current cache usage and recommends where to place cache_control.