Case 02 / 03
Full-Stack / AI / Speech
Chakra Reader
A reading assistant with AI-powered reading interaction, real-time voice and text responses, and speech recognition.
Role
Full-Stack Engineer
Type
AI-powered reading assistant
Context
Chakra Reader is an AI reading assistant. It follows the reader through a document, answers questions about the text, and can respond by voice as well as in writing.
The interface has to hold a conversation and a document at the same time: the reader's position in the text is part of the context for every answer.
Problem
Reading assistants tend to treat the reader as a passive consumer. They present content without adapting to the reader's pace, or they demand manual input that breaks the flow of reading.
Real-time voice raises the bar again: the UI has to show partial answers, tolerate interruptions, and stay responsive while audio is still being transcribed.
Approach
The work was as much interaction design as integration: deciding what the assistant does while it waits, and what the reader keeps control of.
- 01
Design for interruption
Responses stream into the page as they arrive instead of landing as a finished block, so the reader can stop the assistant, re-ask, or keep reading without losing their place.
- 02
Keep one conversation state
Voice input and typed input feed the same conversation state, so an answer does not depend on which input the reader happened to use.
- 03
Wire the real-time path
WebSockets and streaming responses carry the interaction end to end, with Amazon Transcribe handling speech recognition and server-sent events pushing incremental updates to the UI.
My Contribution
I built the assistant's interface and the path between it and the model: interaction design, real-time transport, speech recognition, and API integration.
- Developed the Next.js application and its interaction workflows for an AI-powered reading assistant.
- Integrated OpenAI generative and real-time AI capabilities using the Vercel AI SDK.
- Integrated Amazon Transcribe to support speech recognition and voice-based user input.
- Implemented streaming conversation interactions and coordinated voice and text input within a shared conversation workflow.
Results
- Enabled users to interact with the reading assistant through both voice and text while maintaining shared conversation context.
- Implemented real-time voice interaction with streaming responses and interruption handling.
- Integrated speech recognition to convert spoken input into the assistant's conversation workflow.
Stack
- Next.js
- TypeScript
- OpenAI
- Vercel AI SDK
- Amazon Transcribe