Ask HN: How do you manage your AI agents' context across clients and projects?
103 pointsHi Guys,
like many of you I work with AI agents every day and across several clients.
The major time cost for me is to re-explaining context and past decisions, client rules, that we already do. To finish every tools as its own memory.
So I’m curious how you actually handle this:
1. When you start a new session, how do you give context to the agent (context came from chat, mail, ticket ...) ?
2. Do you use more than one agent type (claude, codex ...) ? And if yes, how do you carry context between agents ?
3. If you work for several clients, how do you keep their context separate ?
4. The last time something went wrong ( an agent used a rejected approach, forgot a decision ...), what happened, and how much time did it cost to you ?
5. Did you paid or built a tool that helped you with these problems ? Do you still use it ?
I’m exploring whether to build something, so I’m trying to learn how other people really work.
Thanks for your return.
Comments (75) 97 threads
Show all comments
Showing thread 13 of 97
5) To solve this problem I wrote Varda (https://github.com/nillebco/varda). I use it all the time. 1) the context is supplied per policy - a certain directory tree or folder has a certain context 2) yes. But I use a certain agent for a certain customer - their rules. It's interesting as a use case, but requires some work because the agents don't have the same formats. If I had to do this I would leverage omnisess - https://GitHub.com/psacc/omnisess 3) each customer has different policies right? So this is a policy in Varda : a certain directory tree is allowed to use only a certain agent. 4) the last time something went wrong it costed me a container with a sample database. Since last Friday we have firecracker escape vulnerabilities so this might be way worse
(Varda was born to track work across projects and enforce agents selection and orchestrate tasks then evolved to include sandboxing leveraging msb and docker)
I hope this helps! And any feedback or pull request about Varda IS very welcome!