Pydantic AI chat history in a database or Redis: store result.conversation per user and threadKeep Pydantic AI chats across restarts: one Conversation per user and thread in SQLite, Postgres or Redis, plus an append-only option for long chats.13 min read·memorysync.hashnode.devNov 15
AutoGen chat history per user: save_state and load_state for multi-user apps (and why pickling agents fails)Agents won't serialize, and a global agent mixes users. Rebuild agents per request and store save_state() per user and session. Tested offline on 0.7.5.12 min read·memorysync.hashnode.devNov 15
OpenAI Agents SDK SQLAlchemySession on MySQL: fixing 'VARCHAR requires a length on dialect mysql'Point the Agents SDK's SQLAlchemy session at MySQL or MariaDB with create_tables=True and the first write fails before any table exists. Here's why, and a small schema script that works around it.14 min read·memorysync.hashnode.devNov 14
LangGraph durability='sync' without a checkpointer: fixing 'SyncPregelLoop' object has no attribute '_put_checkpoint_fut'Pass durability='sync' to a LangGraph graph compiled without a checkpointer and the run crashes after the first step. Here's why, and three small workarounds until a fix ships.12 min read·memorysync.hashnode.devNov 14
Mastra working memory: fixing 'propertyNames' is not permitted (OpenAI 400) with Observational MemoryWith a working-memory schema and manageWorkingMemory on an OpenAI model, every extraction hits a 400 and falls back. Here's the version that fixes it, what to do if you can't upgrade, and how to check.13 min read·memorysync.hashnode.devNov 14