pydantic-ai
Guide: Type-Safe, Async Agent Memory with Pydantic AI
Add async-native, type-safe long-term memory to Pydantic AI agents with Hindsight — retain, recall, and reflect tools that fit the event loop with no thread-pool hacks.

Guide: Add Pydantic AI Persistent Memory with Hindsight
Add Pydantic AI persistent memory with Hindsight using async memory tools and auto injected instructions so agents remember users and workflow context.