HR / OSPORTFOLIO WORKSPACE
hritikraj.dev/projects/ai-open-studio
All projectsImplemented with partial modules

AI Open Studio

AI Open Studio mark

A collaborative learning and research workspace combining a Mistral prompt engine, structured document AI, shared Yjs state, and native peer media.

72 curriculum topics
Next.jsMistralYjsWebRTCBlockNote
01 / Case note

The operating problem

Learning and research tools needed shared state, safe document changes, and live media without disguising single model calls as agents.

02 / Case note

My contribution

Built 30 prompts across 10 categories, constrained BlockNote operations, research rooms, a custom Yjs transport with 50 ms batching, reactions, drawings, and native WebRTC signalling.

03 / Architecture

System shape

Next.js + browser state
Mistral prompt engine
Realtime broadcast + presence
Custom Yjs transport
Native WebRTC peer mesh
04 / Case note

The key decision

Document edits are restricted to append, prepend, or rewrite; destructive rewrites require confirmation and preserve undo history.

05 / Case note

Reliability by design

Yjs updates are batched and merged before broadcast, full state reaches joiners, and awareness is relayed separately.

06 / Evidence

What the source proves

30 prompts across 10 categories
50 ms Yjs batching
Camera, microphone + screen share
Safe structured document edits
07 / Case note

Honest limits

Normal documents remain last-writer-wins. The peer media system has no TURN or SFU claim and is not presented as large-room infrastructure.

08 / Live

Have a hard problem?

Let’s build something
worth trusting.