# Platform · VideoDB

> A distributed data format that unlocks random access to video frames.

VideoDB built a distributed data format for machine understanding of the visual world. It sits as a logical layer on top of your existing files and spreads the work across as many machines as you give it. Every video primitive in your workflow, from transcoding to search, runs on top.

Canonical: https://videodb.io/platform · Paper: https://arxiv.org/abs/2608.08075 · Docs: https://docs.videodb.io

Behind the words, the page draws the 38-second homepage loop as a trail of its 24 frames, 1.575 seconds apart, from one corner of the hero to the other; moving a pointer along it lifts the frames under it. Any one frame can be pulled out of the trail, frame 14 at 0:20.5 by default, without reading the rest: seeking costs the same anywhere in the file.

## The pipeline: six stages around the distributed data format

Three distributed processing stages write into the format; three scalable serving stages read from it.

1. **Transcoding** (distributed, batch and realtime): MP4, archives, S3; RTSP, live cameras; screens and audio. Transcoded once, in parallel. Addressable by frame.
2. **Frames** (distributed extraction and sampling): sample at any rate, tile for models, across the whole archive at once.
3. **Annotation** (distributed pipelines, hosted and enterprise models): any model as an analyzer, with human checks. Built for massive scale.

**The distributed data format**: files stay in storage, VideoDB builds a logical layer on top. Episodes, metadata and indexes, persistent and timestamped to the frame. Scoped to a user, an agent or a workspace. Every stage above writes to it. Every stage below reads from it.

4. **Retrieval** (scalable engine, sub-second): semantic and metadata queries, filters and aggregations, frame access in milliseconds. Every result is an evidence stream: people watch it, agents process the frames.
5. **Streaming** (scalable engine, one stream per query): `ws://events/agent-42`, `sse://text/answer`, `frames://run-0412@30fps`, `hls://cdn/stream-x.m3u8`. One live stream per query, to a screen, a model or an agent.
6. **Runtime** (agents run on top): agent loops, tool calls and webhooks, harness and observability. Bring your agents or use ours.

One API. Runs in our cloud or yours. Start building: https://console.videodb.io/auth

- **Clips sized to the question**: the boundary of each retrieved clip follows the query, so the question decides the window.
- **About half a second** to get clips back, or direct access to the frames.
- **No re-encoding**, by design. Clips and frames are read from the stored video.

Runs on AWS, Google Cloud or Azure, or in your own cloud, in any region. SOC 2 Type II, GDPR with a DPA, and ISO 27001 (an information security management system that meets ISO/IEC 27001:2022).

## Quickstart

Get your API key at https://console.videodb.io, upload a file, index it, search it, play the evidence.

- `pip install videodb` or `npm install videodb` (Python and Node)
- `npx skills add video-db/skills` (coding agents)

```python
from videodb import connect

# 1. get your API key at console.videodb.io
conn = connect()
coll = conn.get_collection()

# 2. upload a file
video = coll.upload(url="s3://lab/run-0412.mp4")

# 3. understand it, then index what the model wrote
u = video.understand(analyzers=[{"type": "vlm", "name": "scene",
    "config": {"prompt": "What happens, and with what result?"}}])
u.wait_until_complete()
idx = video.index(name="scene", source=u.get_analyzer("scene"))

# 4. search
res = video.semantic_search(query="the gripper drops the bottle",
    index_ids=[idx.index_id], top_k=5)
for shot in res.get_shots():
    print(shot.start, shot.end, shot.metadata)

# 5. the evidence, as a playable stream
stream = res.compile()
```

Quickstart notebook: https://colab.research.google.com/github/video-db/videodb-cookbook/blob/main/quickstart/VideoDB%20Quickstart.ipynb · Docs: https://docs.videodb.io

## Use VideoDB in your agent

VideoDB lets an AI agent watch, search and clip video.

- **Claude**: [Add VideoDB from the plugin directory](https://videodb.io/claude)
- **ChatGPT**: [Add VideoDB from the plugin directory](https://chatgpt.com/plugins/videodb)
- **Claude Code**: `claude mcp add --transport http videodb https://mcp.videodb.io/mcp`
- **Cursor or any MCP client**: Add the remote MCP server and log in once: `https://mcp.videodb.io/mcp`

Free to start: $20 of credits, no credit card. [Steps for every client](https://docs.videodb.io/pages/mcp/connect).
