web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Copilot Studio - Autonomous Agents
Unanswered

Copilot Agent slow to respond even though Tool process completed quickly

(1) ShareShare
ReportReport
Posted on by 4
I have a Copilot Studio Agent that is set up to receive questions from users and respond with references to documents. The flow uses a Tool that is tied to a Pinecone Assistant API of files. My instructions tell the Agent to use the Tool and provide a response. During testing, the Analytics show that the Tool is called and a response is provided by the tool in about 9 seconds. However, the user doesn't receive the response to their actual message for another 10-15 seconds afterwards --- so the process for the user is taking anywhere from 20-30 seconds when it seems like it should take less than 10. How can I optimize my Agent flow to have it only use the Tool and immediately provide the response from the tool to the user, without other delays? 
I have the same question (0)
  • Michael E. Gernaey Profile Picture
    52,569 Super User 2025 Season 2 on at
    Copilot Agent slow to respond even though Tool process completed quickly
     
    To truly answer, I would need to see your agent, what the output is from the data source (knowledge source even from a tool), as depending on its size and structure the post processing can take a while, the instructions you have, if this is in a topic or not etc etc.
     
    To generic to answer with the above.
  • kyleheney Profile Picture
    4 on at
    Copilot Agent slow to respond even though Tool process completed quickly
    @Michael E. Gernaey appreciate the response, and I totally understand how you'd need more info to be able to provide an appropriate response. 
     
    This is my first Agent I've built, so I'm not sure the best way to translate its details in a chat like this. I'll give it a shot:
     
    - My agent's instructions include: When a question is received, check for a relevant answer using the "Ask Pinecone Flow" first. Use the Answer (String) from the "Ask Pinecone Tool" as the response to the user. Do not change or rework it before sending to the user. If a response that contains citations is not found, proceed to checking other knowledge areas or doing a web search. The priority is to use the Tools over the Knowledge. <--- I added this highlighted portion and am getting quicker results. 
     
    - My agent has one knowledge source, which is a link to the organization's website. This is designed as a fallback for questions that are not about topics covered in the repository of Pinecone documents (stuff like "when are we open" for example). 
     
    - I added the Agent Flow that I built (called "Ask Pinecone Flow") as a Tool in the agent's configuration. This didn't seem to trigger it though, so some research led me to add a Topic to trigger the tool. 
     
    - I added a topic that uses the trigger "when a message is received". The only action within this topic is to send the "LastMessage.text" as the Question for my Ask Pinecone Flow, and output the answer that the tool comes back with. 
     
     
    I suppose my question (now that my response seems to be coming quicker from my tool to my chat response) is this --- is there a hierarchy of how an agent processes their response. That is, does it start with instructions, then move to knowledge, then move to tools, etc.... or can my instructions for the agent actually have an impact on how it responds? My instructions contain more detail that may actually be better-suited as a knowledge piece, but my concern is that if I add more to the knowledge area, my Tool will be called/used less. I'm also not sure how my "Topic" works, since it seems like it should get triggered for any message it receives --- does this mean that my other sources (knowledge, etc.) are never used at all? This doesn't seem to be the case though, as there are instances where the knowledge source is used, but I'm not sure how or what triggers the difference between it using a knowledge source or the Tool/Pinecone flow. 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Coming soon: forum hierarchy changes

In our never-ending quest to improve we are simplifying the forum hierarchy…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Copilot Studio

#1
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 304 Super User 2025 Season 2

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 224 Super User 2025 Season 2

#3
Sam_Fawzi Profile Picture

Sam_Fawzi 78 Super User 2025 Season 2

Last 30 days Overall leaderboard