upvote
We actually account for this already! We allow developers to use alter to partition context memory based on end user + agent identity so the context leaks like the one you described can be fully prevented!

Feel free to go through the docs here if you have more questions: https://docs.alterauth.com/guides/propagate-identity-to-memo...

reply
Seems like this could be very useful for more than just security !
reply
Thank you! Yes the goal is to allow developers to build multi-tenanted agents that can actually act on behalf of end users. We are in the process of abstracting away every building block needed to build that so developers can focus on what they do best
reply
Amazing! Great to hear you've already thought about this
reply
Thank you!
reply
You can add a tag to each memory indicating who wrote it, and then at read time filter the memories instead of putting them in the prompt.

I am the founder of Substrate, a project that lets you inspect what is in the memory and select what each agent sees.

Do you separate memory per user with your harness?

reply
Yes we do. We separate based on both the end user identity and agent identity. Would love to see how your product could potentially work with alter
reply
deleted
reply