for memories (still not shown in this tutorial) I have created a pantry [0]
and a servlet for it [1] and I modified the prompt so that it would first check if a conversation existed with the given chat id, and store the result there.
The cool thing is that you can add any servlets on the registry and make your bot as capable as you want.
we also recently published our approach on MCP security for mcp.run. Our "servlets" run in a sandboxed environment; this should mitigate a lot of the concerns that have been recently raised.
The main concern I have is that there's not a well defined security context in any agentic system. They are assumed to be "good" but that's not good enough.
I've been wondering if there is an equivalent in the Rust ecosystem. I think https://github.com/facet-rs/facet is going in the right direction
reply