Postgres Chat Memory

Keeps the conversation of the AI Agent in a Postgres table.

v1.3.0Source

Install

Run SQL queries on a Postgres database, or insert, update, select, and delete rows. Start a workflow when a new row appears or when Postgres sends a notification. Keep AI Agent memory, and store and search vectors with pgvector.

Postgres@zerodot/postgresInstall
  1. Open System, then Nodes.
  2. Find Postgres and click Install.
  3. Use the new nodes at once. You do not restart.

How it works

Postgres Chat Memory (postgres.memory) is an action node in the Postgres package (@zerodot/postgres): Keeps the conversation of the AI Agent in a Postgres table.

Keeps the conversation of an AI Agent (@zerodot/ai-agent) in a table. Connect it to the Memory port of the agent. Each run of the agent adds one row, and the agent reads the last turns of the session. The node makes the table (default public.zerodot_chat_memory) when it is not there. It can delete the turns that are older than the turns to remember. The Chat Memory Manager can read, add, and delete its messages.

Logins it can use

Postgres (postgres): host, port, database, user, password, ssl (allow, disable, or require), allowUnauthorizedCerts. The password is secret.

Guides and related hubs