anthropic

Pydantic AI Persistent Memory: Add It in 5 Lines of Code
Pydantic AI agents start from scratch on every run. hindsight-pydantic-ai adds long-term memory in five lines of Python.

I Gave 100+ LLMs a Permanent Memory With One Python Package
hindsight-litellm gives any model behind LiteLLM a long-term memory: past context goes into each call, and each conversation is saved for next time.