The duct taping comes in when two different people share an agent, when having a shared context is useful.
The shared context use case is less common. You have to have hit that wall yourself to feel the problem. Does that track?
The times I've shared contexts in such ways, then you want to share a read-only view, still with the other user not being able to add more messages, I guess you're really talking about group chats here?
Nope. If you give access to the same agent instance to multiple people, then one user can get access to someone else's data. I'm working right now for a startup facing this issue. The easiest solution is to have a separate agent instance per user, but this increases resource consumption vs having a single agent instance with proper separation between multiple users.
Alright, so already here you have permissions, per user, it sounds like, as you both have different chat sessions, I'm assuming?
Associated with those chat sessions, is the user, and what tools (via MCP or passed manually to the model, or whatever) it has access to at that moment.
Already here you have what's needed 100%? Why would you give/remove access via the prompt, I don't think anyone use LLMs like that in the first place?
Adding tool calls/responses is already doing something more, but instead of doing less, you suggest piling something on top of that?
Sorry if I seem slow, I'm just trying to understand what problem you're actually trying to solve here, as it sounds to me you're trying to solve something you could have just not done to begin with, then you don't have that problem anymore at all?