Skip to content
MIT licensed · open sourceWorking preview

Give text-only AI agents eyes and ears.

OpenContext converts videos, audio recordings, screen recordings, and visual references into structured context that text-only LLMs and coding agents can understand.

Every extracted fact keeps its source time and certainty. The demo shows the output format without an account or API key.

How visual media becomes context

  1. 1

    Media

    A recording, audio file, still image, ordered image set, or PDF is the input.

  2. 2

    Audio + Frames

    Audio is extracted for transcription; representative frames are sampled for vision.

  3. 3

    Transcription + Vision

    Speech is transcribed with timestamps. Frames are described by a vision model and visible text is captured.

  4. 4

    Structured Context

    Everything is aligned by timestamp and aggregated into one chronological document.

  5. 5

    Text-only AI

    Copy the context into OpenCode, Claude Code, Cursor, or any local LLM.

The demo replays the same output format with pre-authored data; authenticated uploads run through the job API and Python worker.

Developer example — illustrative

[00:00–00:08]
A mobile application dashboard is visible.
VISUAL: Light interface with rounded cards; a greeting,
        a balance card, and a recent-transactions list. [E0001 · 00:02 · Observed]
UI: Header · Account balance · Transaction list · Bottom navigation
TRANSCRIPT: "This is the home dashboard. You can see the greeting,
            the checking account balance, and recent transactions." [E0002 · 00:04 · Observed]

---

[00:09–00:21]
USER ACTION: The user selects Send Money. [E0003 · 00:12 · Inferred]
VISUAL: The application navigates to a transfer form.
UI: Recipient field · Amount field · Continue button
OCR: "Send Money" · "$45.00" · "Continue"

Items that are not directly visible in the recording are marked Inferred or Uncertain — never asserted as fact.

Why OpenContext?

Visual information, translated for text-only models

Developers increasingly run local and text-only models. When the reference material is a video, an image, a recording of a UI, or a demo someone sent you, those models cannot see it. OpenContext bridges that gap.

Text-only agents can't watch

Most local and inexpensive models only read text. Videos, audio recordings, UI demos, and screen recordings are invisible to them — OpenContext translates those into something they can read.

Every claim has a source

Transcript, UI, OCR, and design findings carry evidence IDs, source timestamps, and certainty labels. Jump to a referenced moment, confirm or flag a claim, and keep reviewer notes with the handoff.

One handoff, two useful formats

Copy or download a readable Markdown brief, or use structured JSON with the same evidence ledger and review notes. Interactions stay clearly marked as inferred.

Built in the open

OpenContext is open source under the MIT License. The pipeline, the output format, and the roadmap are all visible in the repository.

How it works

From recording to copy-pasteable context

Nine structured steps turn media into a document a coding agent can act on. Each pipeline stage reports its own status, so a job is never a black box.

  1. 1Upload a video, audio file, image set, or PDF
  2. 2Prepare audio, video frames, images, or PDF pages
  3. 3Transcribe speech with timestamps
  4. 4Analyze frames with a vision model
  5. 5Capture visible text (OCR)
  6. 6Align every observation to the timeline
  7. 7Aggregate into a chronological context document
  8. 8Generate developer context for coding agents
  9. 9Copy it into your agent and go

Developer Mode

The deliverable is developer context

Every analysis produces a verifiable handoff: copy or download Markdown, or export the structured evidence ledger as JSON.

Copy Context

One click puts the complete document on your clipboard, ready to paste into a coding agent. Clipboard blocked? A fallback dialog selects the text for manual copy.

Download Markdown

Save the document as opencontext-<job-id>.md — viewable in any Markdown editor and identical to the copied text.

Download JSON

The full structured result — timestamps, transcript segments, observations, OCR, and metadata — for your own integrations.

Try the output in the demo, or use it with your uploaded jobs.

Local AI

Your models, your machine

Provider adapters implemented

OpenContext is designed around a provider abstraction, so analysis can run on local models with no data leaving your machine.

Transcription

Local speech-to-text via faster-whisper, or any OpenAI-compatible transcription endpoint.

Vision + OCR

Frame analysis through local vision models (Ollama) or an OpenAI-compatible vision API, with text extraction included.

Configuration

Providers are chosen with environment variables — VISION_PROVIDER, TRANSCRIPTION_PROVIDER, TEXT_PROVIDER — not hard-coded to any vendor.

Open Source

MIT licensed, built in the open

Every stage of the pipeline and every decision is visible in the repository. Roadmaps are honest about what exists and what is coming.

Repository

Source, issue tracker, and contribution guide live at github.com/kylosonic/opencontext.

Roadmap status

Working now
Video, audio, image, PDF, and image-set uploads · Evidence-linked Markdown and JSON exports · Local CLI, replay, briefs, and MCP agent tools
Next
Persistent worker host verification · Operations alert token delivery · Broader evaluation fixtures

Architecture

A small, separable pipeline

Pipeline architecture

The web app, a queue, a Python worker, and durable storage stay independent — so heavy media processing never runs inside the web tier.

  1. Browser
  2. Next.js · web + API
  3. Queue
  4. Python worker · FFmpeg · Whisper · Vision · OCR
  5. PostgreSQL + object storage
  6. Results
  7. UI

The web app, queue, worker, and storage run in production on Vercel, Neon Postgres, and S3. The hosted preview currently drains the queue from a scheduled GitHub Actions job, with a container image ready for persistent workers.

MCP integration

Give coding agents direct access

Implemented

The local MCP server analyzes media, builds repository-aware briefs, and looks up evidence without uploading repository contents.

Install opencontext-video[agent] and launch opencontext-mcp from an MCP-capable coding client. Tools include local media analysis, repository-aware implementation briefs, and bounded evidence lookup. Read the integration guide.