Inspiration

While watching movies, documentaries, or technical videos, there is a common problem: sometimes you want context or clarification, but searching online or asking a general-purpose AI can easily reveal information you have not reached yet.

That creates an awkward choice for the viewer — either stay confused, or risk getting spoiled.

That led to the core question behind NarraView:

What if an AI could know exactly as much as the viewer does — no more, no less?

NarraView was built around that idea.

Instead of treating a video as one complete piece of knowledge, NarraView treats understanding as something that evolves with playback. The AI’s knowledge boundary moves with the viewer’s timestamp.

This became the foundation of what I call Playback-Aware Intelligence.


What NarraView Does

NarraView is an AI-enhanced viewing companion built for Amazon Fire TV on Vega OS.

It allows viewers to interact with what they are watching without exposing future information.

The core experience includes:

  • Ask NarraView — will ask contextual questions directly from the video player.
  • SpoilerShield — will be blocking answers that depend on information that has not yet been revealed.
  • Previously On — will generate personalized recaps based on the sections the viewer actually watched.
  • Viewer Memory — will be remebering playback position, watched intervals, return state, and Continue Watching progress.
  • Explain Simply — for rewriting complex explanations in simpler language without changing the underlying evidence.
  • Learn Mode — helps viewers understand technical or educational content.
  • Adaptive Explanation Preferences — lets viewers choose Standard, Simple, or Very Simple explanations, along with controls for verbosity, jargon help, entity reminders, concept reminders, step-by-step explanations, and reduced cognitive load.
  • NarraView Cloud — dynamically organizes uploaded titles into categories such as Tutorials, Demos, Stories, Documentaries, Educational, and More to Explore.
  • NarraView Studio — a web-based control plane for uploading content, inspecting transcripts and temporal intelligence, categorizing titles, editing metadata, and safely deleting content.

The most important behavior is demonstrated by asking the same question at different points in a video.

For example, NarraView may refuse to answer a question at 02:14 because the required information has not been revealed yet. After the viewer seeks forward to 03:00, the same question can be answered because that information is now inside the safe knowledge boundary.

If the viewer seeks backward again, the available knowledge contracts accordingly.


How I Built It

NarraView is designed as a complete Fire TV experience rather than a chatbot placed next to a video.

Fire TV / Vega OS

The client is built with:

  • React Native
  • TypeScript
  • Amazon Vega OS
  • Vega W3C Media Player
  • D-pad and TV focus navigation

The player supports playback, pause, resume, seeking, progress tracking, and in-player NarraView interactions.

The UI is designed specifically for television viewing distance and remote navigation.

Content Intelligence Pipeline

Content uploaded through NarraView Studio moves through a multi-stage AWS pipeline:

NarraView Studio
      ↓
Amazon S3
      ↓
Amazon Transcribe
      ↓
Transcript Correction
      ↓
Temporal Segmentation
      ↓
Knowledge Extraction
      ↓
Versioned Temporal Intelligence
      ↓
Playback-Aware Temporal RAG
      ↓
Amazon Fire TV / Vega OS

The main AWS services used are:

  • Amazon S3 for media, transcripts, knowledge artifacts, and versioned intelligence packages.
  • Amazon Transcribe for timestamped speech-to-text.
  • AWS Lambda for processing, orchestration, runtime APIs, intelligence compilation and Temporal RAG.
  • Amazon API Gateway for communication between the Fire TV app, Narraview Studio and backend.
  • Amazon DynamoDB for content metadata, viewer progress, watched intervals, sessions, and accessibility preferences.
  • Amazon Bedrock / Bedrock Mantle for grounded reasoning, transcript correction, knowledge extraction, and response generation.
  • AWS CDK for infrastructure as code.

Playback-Aware Temporal RAG

The core of NarraView is the temporal safety model.

At playback time T, NarraView builds a safe snapshot containing only information where:

revealTime <= viewerTimestamp

Only this safe information is eligible for retrieval.

The runtime then performs:

Viewer Timestamp
      ↓
Safe Temporal Snapshot
      ↓
Relevant Evidence Retrieval
      ↓
Premise Validation
      ↓
SpoilerShield
      ↓
Grounded AI Response

This means future information is removed structurally before generation instead of relying only on a prompt asking the model not to spoil anything.

That distinction is one of the most important parts of NarraView.

Personalized Viewer Memory

NarraView also stores what each viewer has actually watched.

Watched intervals are used to create personalized return recaps instead of generic summaries.

The system combines viewer memory with the current temporal safety boundary so that previous viewing history can never expose information that is no longer safe after seeking backward.

NarraView Studio

The Studio is built with Next.js and acts as the content-management and inspection layer.

It supports:

  • content ingestion
  • content categories
  • processing status
  • transcript inspection
  • temporal segment inspection
  • knowledge inspection
  • intelligence inspection
  • viewer session inspection
  • accessibility testing
  • metadata editing
  • safe content deletion

Challenges I Faced

One of the biggest challenges was making the system truly spoiler-safe.

A simple prompt such as “do not reveal spoilers” was not enough. The architecture had to guarantee that future information never reached the model context in the first place.

That led to the Safe Snapshot model and strict timestamp-based filtering.

Another challenge was handling seeking correctly.

Seeking forward should expand the knowledge boundary, while seeking backward must remove information that is no longer safe. This also had to interact correctly with persistent viewer memory.

Fire TV development introduced a different set of challenges.

The TV applications will be needing careful focus handling, predictable D-pad navigation feature, player lifecycle management and reliable Back button behavior. The interaction model must be made in such a way it feels natural without relying on touch or mouse input.

Media playback will also be requiring careful handling through the Vega W3C Media Player, especially around remote HTTPS media, buffering, lifecycle cleanup and making sure that the playback did not continue after leaving the player.

Also on the AWS side, integrating multiple asynchronous processing stages required a very strong validation between each of the stages so that the bad output from one stage could not silently corrupt the later intelligence features.

I also encountered a rare Bedrock model-access and availability limitations while experimenting with additional visual-understanding capabilities (tried using Amazon Nova Pro / Nova Lite) but even after approaching AWS support but they said that my account required some more usage validation and they will gradually be providing me with that access. Rather than shipping an unverified feature, I removed that experimental path from the final submission and kept the stable text-based temporal intelligence system using Amazon Bedrock Mantle.

That decision helped keep the final product reliable and demo-ready.


What I Learned

The biggest lesson from NarraView is that AI safety can be implemented as an architectural constraint instead of only as a prompt instruction.

Spoiler protection became much more reliable when future information was physically excluded from the retrieval context.

I also learned that time is an important dimension of retrieval.

Traditional RAG asks:

“What information is relevant?

NarraView adds another question:

“What information is allowed to exist at this moment?”

This changes how retrieval, viewer state, and generation work together.

I also learned how different television UX is from web and mobile UX. Focus state, remote navigation, readable spacing, playback transitions, and limited interaction surfaces matter much more on a TV.

Finally, building the full pipeline showed how useful it is to separate content intelligence from viewer state.

The title has its own temporal knowledge.

The viewer has their own progress and memory.

NarraView combines those two only at runtime.

That separation makes the system safer, more reusable, and more scalable.


What I’m Proud Of

The moment that best represents NarraView is simple:

A viewer asks a question.

NarraView refuses because the answer has not been revealed.

The viewer watches a little further.

They ask the exact same question again.

Now NarraView answers.

Nothing about the question changed.

Only the viewer’s knowledge boundary changed.

That is the core idea behind NarraView:

AI that understands exactly what you have seen — and nothing beyond it.

Built With

  • amazonapigateway
  • amazonbedrock
  • amazondynamodb
  • amazonfiretv
  • amazons3
  • amazontranscribe
  • awscdk
  • awslambda
  • generativeai
  • nextjs
  • reactnative
  • serverless
  • temporalrag
  • typescript
  • vegaos
Share this project:

Updates

Submission history