DEV Community

Cover image for Knowledge OS β€” Turning Any File into Instant, Cited Answers with Redis 8
Johnathan
Johnathan

Posted on β€’ Edited on

Knowledge OS β€” Turning Any File into Instant, Cited Answers with Redis 8

Redis AI Challenge: Real-Time AI Innovators

This is a submission for the Redis AI Challenge: Real-Time AI Innovators.

Knowledge OS β€” From Data to Decisions in Seconds
Submission for the Redis AI Challenge

πŸš€ Turn messy PDFs, Word files, spreadsheets, and URLs into instant, cited answers β€” powered by Redis 8 + AI agents.
No endless searching. No manual note-taking. Just drop, ask, and decide.

What I Built:
Knowledge OS is an AI-powered command center for documents.
Drop in PDFs, DOCX, XLSX, images, or even URLsβ€”our AI agent swarm ingests, cleans, summarizes, and indexes everything so you can ask natural questions and get cited answers in seconds.

Typical asks

β€œSummarize all invoices over $5,000.”

β€œWhat’s the refund policy in this contract?”

β€œKey points and conclusion from this article URL.”

Every answer links back to the exact source passage. ⚑️

Demo
πŸ”΄ Live: (Netlify): https://knowledgeosdemo.netlify.app/

πŸŽ₯ Video: https://youtu.be/Lys6WacZxTc

πŸ“· Screenshots: N/A

Dashboard & file drop

Agents in action (Ingest β†’ OCR β†’ Summarize β†’ Index)

Redis Cloud: Streams + Vector Search

Smart chat with citations

Why This Matters
Teams waste hours hunting through PDFs and tabs. Knowledge OS turns that into seconds with reliable, cited answersβ€”great for audits, ops, research, and finance workflows.

How I Used Redis 8
Redis Cloud v8 is the real-time backbone:

Streams – Orchestrates AI agents
ingest β†’ ocr β†’ embed β†’ index β†’ answer

Vector Search – Embedding-based retrieval across all pages and URLs

RedisJSON – Rich metadata (title, dates, vendor, totals, tags)

Semantic/summary caching – Sub-10ms repeat answers and table rollups

This combo gives me low-latency answers with source citations at interactive speeds.

Architecture (High-Level)
pgsql
Copy
Edit
Upload/URL
β”‚
β–Ό
Ingest Agent ──► OCR/Parser ──► Chunk & Embed ──► Indexer
β”‚ β”‚ β”‚ β”‚
└──► Redis Streams (task handoffs) β”‚ β”‚
β–Ό β–Ό
Redis Vector RedisJSON (metadata)
Index
β”‚
User Chat ──► Retriever ──► LLM (with citations) ──► Answer + Source links
β–² └─► Cache (Redis) for repeats
└─────────────► Metrics / Logs
Tech Stack
Frontend: React / Next.js (demo UI), CapCut for demo video

Agents/Backend: Node/Python, queues via Redis Streams

Search: Redis Vector Search (OpenAI/all-MiniLM embeddings)

Storage/Metadata: RedisJSON

Hosting: Netlify (demo), Redis Cloud (data layer)

How to Try It (Local)
1) Environment
bash
Copy
Edit
export REDIS_URL="rediss://:@:"
export OPENAI_API_KEY= # or your LLM provider
2) Install + run
bash
Copy
Edit
npm install
npm run dev
3) In the app
Drop a PDF/Doc/URL

Ask a question

Click citations to jump to source
What’s Next
Role-based redaction (PII hiding) before indexing

Multi-doc table extraction β†’ CSV export

Org spaces & SSO

Fine-tuned domain prompts


Q&A are most welcomed! Ask away!!


Team / Credits
Solo build by: Johnathan Jake @jjake486@gmail.com
Thanks, Redis team & judges!

Top comments (2)

Collapse
Β 
evidencebasednutrition profile image
Evidence-Based Nutrition β€’

Good for use!

Collapse
Β 
jcloud profile image
Johnathan β€’

I have a bigger vision than just this! A while shelf of tools for businesses wanting better management! At least that’s the vision! Thanks for liking! Most appreciated!