From the source
Supabase's guide explains how to build a personalized AI assistant using Postgres, combining an LLM-controlled database schema, scheduled tasks via pg_cron, web search, and Zapier MCP integrations for long-term memory and autonomous actions.
The system stores structured data in a dedicated memories schema with restricted permissions, uses three memory types (message history, semantic vector search, and structured SQL), and supports evolving user preferences through a self-evolving system prompt.





