Persistent structured memory for AI agent systems — pluggable SQLite or Postgres backend, LLM context bridge