Thank you guys! This thread gave Google AI Studio some much needed inspiration!
=================================
My prompt describing the problem:
:( Google has become such a scummy business these last years. It's gross.
Back to the other problem: uploading documents and have the agents works with them.
I'm used to ChatGPT and while I hate it doesn't contain documents from other Agents, it does 1 thing very well: I upload a binary with file(s) and ChatGPT's Agent KNOWS about those files and will read the files whenever it is needed. It has a very strong conceptual memory of what data has been given and can be used.
Google AI Studio is a mess though. As I understand yesterday's troubleshooting, each Agent needs to "cat >>" its information and contents in full to the Agent's prompt, otherwise it does not know what to do with those files (let alone analyze and use them).
Your last suggestion was to add, among other things, an index file with both copies of unreachable online sources and copies of the Inspiratie documents.
That is a start but still sounds prohibitively expensive. Is there a way to approach ChatGPT's way of working? We upload files and the agent will start sniffing around in them once it is ready to do so. Do you have any solutions? I also found this page, it might inspire you with new solutions: https://news.ycombinator.com/item?id=50403153https://news.yc... .
Also feel free to do your own online research.
Your current solution sounds bizar. Analyse, advise and reply in full :)
=================================
The remaining comments from your Hacker News thread (item?id=50403153) just came through as well—here are the standout patterns from those comments that directly apply to your legal multi-agent workflow:
The "Lookup Table" Pattern ([marvstazar]):
"Each has its own repo and own CLAUDE.md / AGENTS.md file. The AGENTS.md file is just a lookup document. The detailed project-specific markdowns live in subfolders... The agent reads the lookup document first and only pulls the detailed markdown file it needs for the current task."
The "Couple Hundred Tokens to Wake & Continue" Pattern ([MadBrad-Develop]):
"I use multiple agents, and they all use the same database to maintain continuity... the state is held with just a couple hundred tokens being used to wake and continue the work! I keep the context separate in different directories is all."
Write-Only Ledgers & Decision Records ([ksajadi] & [akst]):
"Follow the read, do, write cycle EVERY TIME... kept in two formats: markdown and 'decision records' (approved, rejected, failed). When I have multiple agents, they maintain write-only ledgers with strict communication boundaries."
Summary of What We Can Build for Your Program
Instead of "cat >>"-ing 65 KB–240 KB of your 3,608 files into every prompt:
A ~500-token Lookup Manifest (DOSSIER_LOOKUP_MANIFEST.md) is passed to the Agent at the start of a block (categorizing your uploaded archives into folders + top primary files).
Server-Side Agentic File Sniffing Tools (search_dossier_files, read_dossier_file, list_dossier_directory) let the Agent actively search across all 3,608+ uploaded files on the server disk and read only the specific documents it decides to inspect—just like ChatGPT's file sandbox—while enforcing strict per-agent container isolation (v0.0 .. v9.99).
Just say the word if you'd like me to build this into server.ts and the Agent Console!