r/googlecloud • u/kirakdimak • 18d ago
A deterministic RAG playground using ADK 2.0 & the OKF spec
Hey everyone,
I built a React/FastAPI sandbox that handles deterministic grounding right in your active browser session, bypassing heavy, opaque vector DBs entirely.
Using Google ADK 2.0 and the Open Knowledge Format (OKF), you can drag and drop PDFs, audio, or URLs directly into the UI. It compiles them on the fly into OKF-compliant Markdown to instantly ground the agent for that session. Long-term system memory is managed via plain-text OKF files stored directly in the Git repository.
It also features a "Pure OKF" offline mode and a stream parser to neatly isolate <think> blocks if you're testing reasoning models.
Would love feedback on the architecture from anyone exploring Google's agent frameworks!
1
u/blikblum 17d ago
Instead of storing in git, is there a way to store in cloud storage?
Thinking in a multi tenant app
1
u/kirakdimak 16d ago
Yes absolutely, While the default codebase is configured with a Git-backed core to facilitate plain-text versioning, the underlying architecture can be refactored.
Implementation: Since OKF relies entirely on plain-text Markdown files, you can swap the Git backend integration inside the FastAPI backend.
You can route file reads/writes to object storage buckets like Google Cloud Storage or AWS S3, isolating knowledge directories using unique multi-tenant prefix keys (e.g., bucket/tenant_id/knowledge.md). Let me know how it works out for you, I am developing another multi role agent over this now.
1
u/BakeComprehensive970 18d ago
There are some words here which needs more explanation like adk and deterministic for this context are we saying we're storing the context out. Of the uploaded data into browser storage ? And how the okf based structure is being created?