Rollback changes to db

is there a way to rollback a change to a database that the agent made if it was a mistake? similar to the way bolt or lovable can rollback a change.

Hi @jeremy_of_course
Thanks for reaching out and for using Agno! I’ve looped in the right engineers to help with your question. We usually respond within 48 hours, but if this is urgent, just let us know, and we’ll do our best to prioritize it.
Appreciate your patience—we’ll get back to you soon! :smile:

Hey @jeremy_of_course !

Do you need to rollback the Agent storage? Or are you making updates to a database using a tool with the Agent? Please also share your Agent config so that I can assist you better

its a database change. ie… user says, “add a new contact named Yash ABC.” but it instead deletes a contact named Yash. I need an undo button

Hi @jeremy_of_course, can you please share the agent config with us to better assist you

Why is that relevant? Im simply is there a prescribed way to do rollback with I’m assuming transactions

Hey @jeremy_of_course! I suppose you are using PostgresTool. This seems to be an addition to the tool functionality where we can have an undo functionality (I am not sure as of now how it will be implemented though) but let me know if my understanding is correct