Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Agent's Personality Tax: Stop Re‑Buying Your Agent's Context (tanishq.xyz)
3 points by tanishqxyz 3 days ago | hide | past | favorite | 1 comment
 help



How I cut my agent’s inference bill by 85% with two cache breakpoints.

Every part of the prompt has a stability horizon, how long it stays true. Sort the prompt by it, and give each part a cache that lives about as long: cache each part of the prompt for no longer than it stays true.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: