Bu

Butter – A Behavior Cache for LLMs

Hacker News

Butter – A Behavior Cache for LLMs

Hi HN! I'm Erik. We built Butter, an LLM proxy that makes agent systems deterministic by caching and replaying responses, so automations behave consistently across runs. - It’s a chat completions compatible endpoint, making it easy to drop into existing agents with a custom base_url - The cache is template-aware, meaning lookups can treat dynamic content (names, addresses, etc.) as variables You can see it in action in this demo where it memorizes tic-tac-toe games: https://www.youtube.com/watch?v=PWbyeZwPjuY Why we built this: before Butter, we were Pig.dev (YC W25), where we built computer-use agents to automate legacy Windows applications. The goal was to replace RPA. But in practice, these agents were slow, expensive, and unpredictable - a major downgrade from deterministic RPA, and unacceptable in the worlds of healthcare, lending, and government. We realized users don't want to replace RPA with AI, they just want AI to handle the edge cases. We set out to build a system for "muscle memory" for AI automations (general purpose, not just computer-use), where agent trajectories get baked into reusable code. You may recall our first iteration of this in May, a library called Muscle Mem: https://news.ycombinator.com/item?id=43988381 Today we're relaunching it as a chat completions proxy. It emulates scripted automations by storing observed message histories in a tree structure, where each fork in the tree represents some conditional branch in the workflow's "code". We replay behaviors by walking the agent down the tree, falling back to AI to add new branches if the next step is not yet known. The proxy is live and free to use while we work through making the template-aware engine more flexible and accurate. Please try it out and share how it went, where it breaks, and if it’s helpful.

Share card

Actual performance

50points
22comments
Made the leaderboard

Launch Intel predictions

Analyze your own launch →
Indie HackersFits the IH revenue-focused audience · Strong signals: compatible · Missing: supports, reddit linkedin, podcasting
86%86% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Product HuntOn track for Day 1 leaderboard · Strong signals: agents, agent, user · Missing: mac, macos, cursor
84%84% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
Hacker NewsStrong engagement from HN community · Strong signals: exist, existing, io · Missing: https docs, excited, just released
52%52% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
AppSumoMay struggle as an AppSumo deal · Strong signals: users · Missing: plus, platform, intuitive
48%48% predicted probability of success on AppSumo, based on ML models trained on real launch data.
TrustMRRLess likely to generate early MRR · Strong signals: users · Missing: mobile apps, ios, personal
38%38% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
20%20% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Strong signals: chat · Missing: web3, crypto, cryptocurrency
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

GP
GPTCache – Redis for LLMs69%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

GPTCache – Redis for LLMs

Hacker News7
pr
prompttest – pytest for LLMs34%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

prompttest – pytest for LLMs

Hacker News2
Fi
Find what code is responsible for a browser behavior63%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Find what code is responsible for a browser behavior

Hacker News2
Ch
Chaos_to_the_rescue – Ruby gem for runtime-defined behavior44%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Chaos_to_the_rescue – Ruby gem for runtime-defined behavior

Hacker News1
SafeTea - Diamond
SafeTea - Diamond60%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Good behavior pays. Bad behavior costs.

Indie Hackers1$100/mocommunity
De
Debugging conflicting U.S. sexual behavior surveys47%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Debugging conflicting U.S. sexual behavior surveys

Hacker News2
Spyglass360
Spyglass36035%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Behavior analytics, heatmaps, feedback, and CRO — in one pla

Indie Hackerscommitment-full-time
Karma.Email
Karma.Email77%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Email, filtered by behavior.

Product Hunt+6
AI
AI Clusters on User Behavior on Your Pages42%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

AI Clusters on User Behavior on Your Pages

Hacker News1
Ch
Chaotic Life – deterministic behavior from unsynchronized threads43%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Chaotic Life – deterministic behavior from unsynchronized threads

Hacker News58