Skip to content
AI Agent not rememb...
 
Notifications
Clear all

AI Agent not remembering tool calls in history

7 Posts
3 Users
0 Reactions
4 Views
Veniamin_Veselovsky
(@veniamin_veselovsky)
Posts: 3
Active Member
Topic starter
 

Hi everyone,

I'm currently using an AI agent node within callin.io that utilizes a Postgres database for its memory. This agent has the capability to use tools, such as a "contact buyer" node, which facilitates sending messages to users (like buyers) throughout the workflow.

Problem:
The "contact buyer" node action, which is an intermediate step, is not being logged in the Postgres memory. Consequently, the agent is unable to recall previously sent messages.

Inquiry:
Is there a suggested method for storing these intermediate tool usages (e.g., messages sent to users) in the agent's memory (Postgres database)? This would enable the agent to refer back to them later in the workflow.

Has anyone else set up a similar system or have advice on best practices for logging tool usage in agent memory within callin.io?

Thanks!

 
Posted : 11/07/2025 2:15 am
moosa
(@moosa)
Posts: 7
Active Member
 

Hey there,

Could you please share your workflow? This will help us provide more effective suggestions on what to add and where.

 
Posted : 11/07/2025 8:38 pm
cutecatcode
(@cutecatcode)
Posts: 24
Eminent Member
 

You can utilize Langsmith for tracking the AI processes within callin.io.

Refer to this link for detailed instructions on integrating callin.io with Langsmith. You'll find step-by-step guidance on how to implement Langsmith into your callin.io workflows.

 
Posted : 12/07/2025 5:39 am
Veniamin_Veselovsky
(@veniamin_veselovsky)
Posts: 3
Active Member
Topic starter
 

Here is the workflow. Essentially, the model utilizes the think tool and the respond to user tool. However, at the end, none of the tool calls are recorded in the memory. (Refer to the image below, where the prompt was: “what’s the meaning of life, use the think tool and then send the user a message”)

 
Posted : 14/07/2025 11:20 pm
moosa
(@moosa)
Posts: 7
Active Member
 

you can refer to this youtube video did awesome job explaining this

 
Posted : 14/07/2025 11:44 pm
Veniamin_Veselovsky
(@veniamin_veselovsky)
Posts: 3
Active Member
Topic starter
 

Thanks. However, even in Nate’s video, the tool calls are not being saved in Supabase. In fact, the tool_calls key is empty (at 9:40) when he utilized the Supabase tool.

 
Posted : 14/07/2025 11:51 pm
moosa
(@moosa)
Posts: 7
Active Member
 

If you want to see all the steps the model is performing, enable Return Intermediate Steps docs

 
Posted : 15/07/2025 12:27 am
Share: