https://discord.gg/botpress logo
Knowledge Agent not triggered inside Autonomous no...
# 🤝help
h
Hi everyone! 👋 I’m trying building an AI support assistant in Botpress that should use the Knowledge Agent to answer from our internal base However, the agent never queries the Knowledge Base during conversations - I always see this line in logs: [ Skipping KB: disabled for the current turn ] I tried forcing the KnowledgeAgent through a Before LLMz Execution hook, but the log still shows that the KB is skipped, and the agent doesn’t use the knowledge even though the hook executes successfully. How can I make the Knowledge Agent work inside Autonomous nodes? Is there a proper way to pass the KB context manually (via hooks or instructions) so the autonomous nodes actually use the knowledge base? Thanks a lot in advance! 🙏 https://cdn.discordapp.com/attachments/1428042905414668461/1428042905838419978/2025-10-15_18.28.44.png?ex=68f11018&is=68efbe98&hm=c6531f0af023781dd42bcd14687f00e0e9d15d258923926458a95a173b0f5457&
l
Hey @high-library-54723 😄 Have you tried using the search knowledge base card inside the initial Autonomous node?
h
Hey @loud-crowd-60573 👋 Yes, of course - you can actually see the Search Knowledge Base card in my initial Autonomous node on the screenshot 🙂 But for some reason, the KB never triggers. The model just keeps hallucinating instead of pulling the real info from the knowledge base 🤷‍♂️
I actually dont see it in this node @high-library-54723
h
Ok, I’ll try adding the Search Knowledge Base card there too 👍 My first autonomous node currently just greets the user and classifies the intent, so I thought it didn’t need access to the KB - since the following specialized nodes already have it connected. Thanks for the tip! 🙏
l
No worries, see if that makes a difference and get back to me 😄
h
@loud-crowd-60573 I’ve tried adding the Search Knowledge Base card to the first Autonomous node as you suggested, but unfortunately it didn’t help - the Knowledge Agent still isn’t being triggered. You can probably see the overall flow logic from the screenshot - I think it’s fairly clear. My goal is to keep multiple Autonomous nodes (not just one) because I want to separate the logic by topics: for example, different agents have their own knowledge bases and flow rules. Maybe I’m doing something wrong at the logical level - like how the context or variable passing works between nodes. I’ve been testing this setup all day and keep running into the same issue 😅 If you have any ideas or examples of a proper setup for multi-agent workflows, I’d really appreciate your guidance 🙏
l
Could you drop screenshots of your instructions inside the ANs? Also one option could be using standard nodes + Query knowledge base cards and then feed those into the ANs! Well keep trouble shooting until something works!
4 Views