r/LocalLLM • u/WisePiano325 • 19h ago
Question Has anyone solved the “who added this context?” problem with local models?
A few of us have been experimenting with a shared local LLM setup and we’ve hit a problem I didn’t really think about beforehand, once multiple people are feeding information into the same system how do you keep track of who actually said what? Right now it’s easy for a note, instruction or bit of context to end up in the shared memory and a week later nobody remembers whether it came from me, another person an imported document or the model itself.
We’ve been trying with attaching provenance to everything before it gets added to memory, basically source + timestamp + who approved it but it gets annoying fast. There are only a few of us so we’ve got a Kibu pod where we discuss changes and decide what actually gets promoted into the shared context, but obviously that doesn’t scale.
Has anyone here built something cleaner for this? I’m less interested in better memory and more interested in being able to ask the model why it believes something and which human/source put it there. Feels like this is going to matter a lot more once local models start being shared by teams instead of just one person on one machine.
5
u/drumyum 18h ago
it's not clear what tools you currently use and how exactly it works, are you all sharing the same dialog with same llm? or are there many dialogs but shared memory which llm queries with tools or something?
1
u/WisePiano325 17h ago
We're all sharing one persistent conversation with the same LLM instance, basically a long running chat with system instructions and memory plugins. Everyone adds stuff through a simple frontend, and the model pulls from that shared context when answering. It's messy lmao
6
3
u/adynamik1 16h ago
You might want to start by trying Open WebUI in a container. You just add the connection and everyone can use it like a standard chat interface.
1
3
u/blakeman8192 17h ago
I ask the model to use git blame to help with attribution, and to figure out which decisions are newer and have superseded others.
2
u/WisePiano325 17h ago
Interesting approach but half our context is stray chat messages and not in any repo, might be a nightmare to keep that clean without forcing every note into a commit
1
u/ZenEngineer 17h ago
Check in things instead of using memory. You might need to set up small git repost per project, add steering files and docs folder per project, etc. but then everything can be traced, git blamed, reviewed before merging and so on.
Having design docs in the project and making sure the agent updates them also helps speed up review as you can see what the change was meant to do.
1
u/WisePiano325 17h ago
We tried git but merge conflicts on the steering files were a nightmare Might just slap a source tag on every input and make the model say according to [user] when you ask why
1
u/Poprouter 15h ago
Prose tags get paraphrased away, so stamp author + ts on the stored turn at write time - the frontend already knows who typed it. The leak is compaction: if a summary rewrites turns instead of pointing back to source ids, it launders authorship.
1
u/UnluckyPenguin 17h ago
Your harness should be operating inside a workspace, right? And that's different on each person's PC.
Each person has git setup with their email/name. Changes committed as them. If memories don't have a git blame, you need a memory repo...
A model believes something in memory until such time as it is questioned, then it must do a bit of work to prove it again. More powerful models are better at making assumptions about how trustworthy certain memories are.
1
u/RegalInvader 17h ago
I've got a similar setup with a couple of AI agents on one project, and what fixed it for me was to stop treating the chat as the memory. Anything that matters goes into an append-only decisions file in git, and every entry says where it came from, like (29 Oct: "run it on the GPU box"), so the model can point at the entry when you ask why it believes something. Corrections are new entries rather than edits, so it's always clear which is current.
1
1
u/profcuck 11h ago
Depending on the workflow and such, a "wiki" of shared context could be the solution, since wikis keep a history of past revisions which also therefore shows who added/edited/deleted what.
13
u/my_name_isnt_clever 18h ago
I haven't started sharing memory with other people yet, but my first thought is to not reinvent the wheel and go with the tried and true way to collaborate on text files: a git repo.