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
Earlier commentsNow I have them split things between "current" which should be kept clean, and "history", where they can give way to their graphomania. Sometimes the history is even useful.
local/ todo/ 01-xxx.md done/ 02-xxx.md
AGENTs.md there is a dir local, todo is ..., done is ...
CHANGELOG. all things happen in each version this repo. if ai slop is inevitable, just let them in one place.
omp session 1(worker): a work session. read the task md or just direct simple prompt. auto compact context. omp session 2(planner): a plan session. only write md to todo.
good code is the best doc for agent. why need planner: some idea is really not mature to assign to worker. but we can freely talk to planner. why no more sessions: the cost of communication > the benefit of it.
All comments shown.
Couldn't load more comments. Check your connection and try again.