Ok so, ive been trying something. i have my normal agent. That ones got all of my context. all of my access to my infrastructure. everything. so that one i dont want people to talk to. i talk to it in telegram. thats all working fine and dandy. I had the main agent setup two other agents which i gave their own discord account. I added them both to a discord server and the people in there can communicate with them fine. Ive been going in circles with opus for like 6 hours troubleshooting this issue. But, i would like people to be able to dm both of those secondary agents. People i explicitly authorize. Importantly, the entire point is so that i can experiment with isolation. Not letting people have access to my infrastructure but only like certain file paths (the agents are lead generation/enrichment and marketing material creation respectively)
So the issue is that no matter what i do, when people i allow dm the bots on discord, they should be able to talk to them in dm. with their own sessions, their own context, with NONE of my personal context. Just a memory path that goes to basically this read only file about the company and what we're doing
Currently no bots respond to any dms on the server but work totally fine in the server. If you have any clarifying questions please ask. and i know this is a lot