Pydantic-AI + Hindsight

https://hindsight.vectorize.io/blog/2026/03/09/pydantic-ai-persistent-memory

Pydantic-AI ships no native persistent memory; agents start fresh each run. Long-term memory typically added via third-party integration (e.g. Hindsight) using tools + auto-injected memory instructions.

Active · Verified 2026-10-22 · fresh as of 2026-10-22 · 57 cited facts, 2 with a third-party source · 2 recorded changes · Suggest a correction

At a glance

Tier
T2
Created
2024-06 vendor fix
License
MIT repo fix
Pricing
OSS vendor fix
Freshness
2026-10-22 fix
Layer
agent-infra repo fix
Licensing
open-source repo fix
Deployment locus
hybrid vendor fix
Platform vs product
platform vendor fix
SDK languages
python repo fix

Memory taxonomy

storage
vector
retrieval
similarity
persistence
long-term
update
consolidation
unit
episode
governance
opaque
conflict
none

When to use

Optimised for: type-safe Pydantic-AI agents (memory bolted on)

Anti-fit: not for stateful agent flows out-of-the-box

Pros & cons

Pros

Type-safe agents with explicit memory backend — strongest TypeScript-style typing in Python AI.

Cons

Pydantic-AI is newer; ecosystem of pre-built integrations is smaller than LangChain's.

Claims & capabilities

Hindsight extracts entities and relationships, builds knowledge graph, and provides multi-strategy retrieval (semantic + BM25 + graph traversal + temporal ranking) — exposed to Pydantic-AI as retain/recall/reflect tools, model-agnostic; cleanest pattern uses memory_instructions() to inject relevant memories before each agent run

Technical surface

API surface
searched not found
Backend storage
searched not found
Deployment
Both
Embedding model
searched not found
Multi-tenancy
searched not found
MCP
native (first-party) — Pydantic-AI MCP server/client
A2A
supported — Pydantic-AI A2A
OpenTelemetry
first-class — Logfire OTel

Similar systems

Other framework-embedded memory in the catalog, ranked by inbound references.

  • Spring AI ChatMemory T3

    Wraps conversation memory behind an Advisor abstraction. MessageWindowChatMemory default 20-msg sliding window (preserves system messages); pluggable ChatMemoryRepository backends (in-memory, JDBC, Cassandra, Neo4j). Memory injected as cross-cutting concern at the ChatClient level.

  • Flowise Memory T1

    Discontinued: Flowise (acquired by Workday, Aug 2025) was sunset in 2026 — code freeze 2026-07-29, GitHub repo archived 2026-08-13, end of life 2026-08-31. Was a visual LangChain canvas with LangChain-native memory nodes (Buffer, Buffer Window, Conversation Summary Buffer) backed by an internal chat_message DB table; Buffer Window kept the last K interactions, Summary Buffer compressed older turns while keeping recent ones verbatim.

  • LangGraph Persistence T2

    Distinct from LangMem. Built-in checkpointer saves graph state per super-step (short-term, thread-scoped). Store System adds long-term hierarchical key-value memory across threads with optional vector search + TTL. Postgres / Mongo / Redis stores for production.

  • AutoGen Memory T2

    AutoGen's memory layer: ListMemory chronological context plus teachable agents that vectorise corrections; integrates with Mem0/Zep rather than building deep memory natively. Microsoft AutoGen is in maintenance mode (community managed, bug and security fixes only), and Microsoft points new projects to Microsoft Agent Framework.

  • CrewAI Memory T2

    Memory subsystem inside the CrewAI orchestration framework; integrates with Mem0 for the long-term tier.

  • Hermes Agent memory (Nous Research) T3

    Nous Research's open-source self-improving agent keeps an agent-curated MEMORY.md/USER.md notebook injected at session start, full-text (FTS5) search over past sessions that returns raw messages without LLM summarisation, and optional Honcho user modelling. one of the most-starred agent projects of 2026.

Sources (56 cited facts, 2 third-party)

Each fact links to the page it came from; the badge says who published it (how to read sources).

What changed

Changes to this record's lifecycle, licence, release, pricing and hosting facts, from the catalog's git history. Subscribe (Atom)

  1. 2026-10-23
    • Funding / ownership “Pydantic (company) raised $17.2M total; Series A $12.5M Oct 2024; investors include Sequoia Capital and Partech Par…” → “Pydantic (company) raised $17.2M total; Series A $12.5M Oct 2024” source
    • Compliance “Pydantic Logfire (observability product): SOC 2 Type II, HIPAA, GDPR / EU Data Region; pydantic-ai OSS library itse…” → “Pydantic Logfire (observability product): SOC 2 Type II, HIPAA, GDPR / EU Data Region” source
    #223
  2. 2026-10-22
    • Latest release “v1.90.0 2026-05-05” → “hindsight-pydantic-ai v0.4.20 (2026-04-15); pydantic-ai v2.59.0 (2026-10-21)” source
    #195

Related systems

References (1)

  • Hindsight (Vectorize) builds on — Long-term memory typically added via third-party integration (e.g. Hindsight)