Muscle-Mem

AI

agent caching sdk

SHOW HN2025

226points
51comments
#273of 3,837 in 2025
Top 8%of 2025 by points

How HN took it

MixedNo clear lean

8 positive, 8 neutral or asking, 2 mixed, 3 critical, out of 21 comments about the project. Thread score +0.21.

Idea: 5 for, 2 againstExecution: 0 for, 1 againstDesign: 1 for, 0 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Interesting idea and promising direction for agent memory

    From 3 comments
    • Feels kinda like JIT compiling your agent prompts into code. Awesome concept, hope it pans out.
      lherron on HN
    • I've been thinking about this (funnily, also while building a browser use type agent [1]) and I think this is a solid direction to explore. My implementation stores tuples of…
      parsabg on HN
    • This is a neat idea and is similar to something I've been turning over in my head. LLMs are very powerful for taking a bunch of disparate tools/information/etc and generating…
      joshstrange on HN
  • Clean API design

    From 1 comment

Objections

  • Hard to define cache hits and validate environment state reliably

    From 3 comments
    • Not sure if this can work. We played around with something similar too for computer use, but comparing embeddings to cache validate the starting position is super gray, no clear…
      deepdarkforest on HN
    • I love the idea! I think the problem will be defining wether there is a cache-hit or not, since "agents" are loosely defined and the tasks include basically anything.
      huevosabio on HN
    • The tricky question is what env state do you compare in order to decide if its a cache hit or miss? just screen status, screen status + all open apps, that + all running…
      swairshah on HN
  • Could be replaced by a simple bash script or fixing the software

    From 2 comments
    • I love how we are back to “it could have just been a bash script” territory already
      zombiwoof on HN
    • > At Pig, we built computer-use agents for automating legacy Windows applications (healthcare, lending, manufacturing, etc). How do you justify this vs fixing the software to…
      allmathl on HN

Requests

  • TypeScript version

    From 2 comments
    • Hi, Erik, any plan to release a typescript library? I think you could reach more developers with a typescript version
      android521 on HN
    • Would love to see a TypeScript version too — feels like it could unlock some interesting use cases beyond backend agents.
      craftedid on HN
  • Support for partial trajectory cache hits

    From 1 comment
    • I love the minimal approach and general-use focus. If I understand correctly, the engine caches trajectories in the simplest way possible, so if you have a cached trajectory…
      dmos62 on HN

Questions

  • Whether trajectories could be used to fine-tune a model

    From 1 comment
    • Do you see these trajectories being used to fine tune a model automatically in some way rather then just replay, that way similar workflows might be improved too?
      dbish on HN

Alternatives named

  • Letta / MemGPT

    From 1 comment
    • check out Letta - the OSS codebase (https://github.com/letta-ai/letta) is basically focused on solving the memory/context problem in a generalized way (via "agentic context…
      pacjam on HN
  • Voyager

    From 1 comment
    • This is very similar to what Voyager did https://arxiv.org/abs/2305.16291 Their implementation uses actual code, JS scripts in their case, as the stored trajectories, which has…
      edunteman on HN
  • Prompt caching

    From 1 comment
    • you mean like https://www.anthropic.com/news/prompt-caching or just saving LLM chat message history? If the latter, saving chat history is useless without some snapshot of the…
      edunteman on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/43988381)