Comment

Comment by _jayhack_

Letting a model manage its own context is very bitter lesson-pilled

Biggest challenge is you will get a much lower cache hit rate if you frequently edit the agent's context/prefix, so this can not be implemented efficiently via e.g. the Anthropic API.

This ^ can be solved in principle but likely requires modifications to the transformer architecture and definitely to serving infrastructure

See related: "KV Cache Rules Everything Around Me": https://www.completeskeptic.com/p/kv-cache-rules-everything-...

parent _jayhack_ 1 month ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton