Skip to content
Changelog

Store structured agent state in MySQL without serialization errors

Agno Team

March 6, 20261 min read

A json_serializer is now passed during MySQL engine creation, ensuring that JSON fields are correctly serialized when reading from and writing to MySQL-backed databases. This resolves silent data corruption and type errors that could occur when storing structured agent state or session data.

Details**:**

  • json_serializer is applied automatically at engine creation time
  • Fixes incorrect handling of JSON columns in MySQL storage backends
  • No application-level changes required

Shipped around the same time