An ai intelligent agent memory management method and device based on a postgresql database
CN122285707APending Publication Date: 2026-06-26HIGHGO SOFTWARE
View PDF 0 Cites 0 Cited by
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- HIGHGO SOFTWARE
- Filing Date
- 2026-06-01
- Publication Date
- 2026-06-26
Smart Images

Figure CN122285707A_ABST
Abstract
This application relates to the field of database technology and discloses an AI intelligent agent memory management method and device based on a PostgreSQL database. The method includes: upon receiving a memory change request, creating a new record in the memory table containing a current validity flag and version chain information through a database transaction; continuously capturing data changes in the memory table using logical replication slots to obtain change events; parsing the change events through an independent consumer service to generate structured information and persistently storing the structured information in an audit log table; exporting a specified transaction snapshot identifier from a relational database when the AI intelligent agent starts executing a specified task; importing the specified transaction snapshot identifier into a new database transaction whenever the AI intelligent agent needs to query the memory during the execution of the specified task; and performing backtracking and / or rollback operations on the memory state based on the version chain information in the audit log table and / or the memory table.
Need to check novelty before this filing date? Find Prior Art