Caching for Tool API Calls #113
Unanswered
darielnoel
asked this question in
Roadmap
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Implement a caching mechanism for tools used by agents in AgenticJS, especially those making API calls, such as the TavilySearchResults tool. This will help prevent unnecessary repeated queries to external APIs, reducing latency and saving on API call costs.
#32
Problem to Solve:
Agents using tools like TavilySearchResults can make frequent and repetitive API requests, leading to increased costs and slower response times. A caching layer would allow agents to reuse previously fetched data, minimizing these issues.
Beta Was this translation helpful? Give feedback.
All reactions