Videos bUJgirn4_yc
When Agents Meet Physical Data: The Other Physics of Agent Harnesses - Dmitry Petrov, DataChain
Scene timeline
90 shot(s).
keyframes kept every frame deduplicated
What was stored
- cues
- 209
- whisperx 209
- chunks
- 48
- from 209 cues
- keyframes
- 86
- kept of 90 captured
- frames with text
- 86
- 2,413 lines read
- chapters
- 0
- from the source metadata
- keyframe bytes
- 10.8 MB
- word timings on 209 cues
Provenance
| stage | state | model | started | took |
|---|---|---|---|---|
fetch |
done | — | 2026-08-10 04:15 | 2m 45s |
stt |
done | — | 2026-08-10 04:17 | 25s |
chunk |
done | — | 2026-08-10 04:18 | 0s |
text_embed |
done | — | 2026-08-10 19:47 | 0s |
keyframe |
done | — | 2026-08-10 04:18 | 1m 30s |
ocr |
done | — | 2026-08-10 04:19 | 1m 07s |
frame_embed |
done | — | 2026-08-10 19:47 | 15s |
Frames, and what the machine read
-
- 吧0.79
- AI ENGINEER WORLD'S FAIR 20260.99
- When Agents Meet Physical Data1.00
- The Other Physics of Agent Harnesses1.00
- Dmitry Petrov1.00
- Co-Founder,DataChain1.00
- [email protected]1.00
- @FullStackML1.00
-
- 吧0.83
- Coding agents are great at code. Not data.1.00
- VANILLA HARNESS0.99
- DATA HARNESS0.98
- 21%1.00
- 95%0.89
- Same Claude model. Answer accuracy on data questions.1.00
- OpenAI1.00
- Anthropic1.00
- In-house data agent·0.99
- Data analytics with Clay0.98
- Jan 20260.96
- June 20260.98
-
- Layers of data context (OpenAI)0.97
- Data agent's layers of context1.00
- S0.93
- RUNTIME CONTEXT0.99
- MEMORY1.00
- 41.00
- INSTITUTIONAL KNOWLEDGE0.98
- 31.00
- CODEX ENRICHMENT0.99
- 21.00
- HUMAN ANNOTATIONS0.99
- 11.00
- TABLE USAGE1.00
- OpenAI1.00
- In-house data agent·0.99
- Jan 20260.99
-
- THE EXTREME END OF DATA0.98
- Physical Al:1.00
- cross into a black hole - the laws change0.99
- THE FORGIVING VERSION0.99
- Structured warehouse0.99
- Schemas, indexes, a query engine1.00
- MY WORLD0.97
- Petabytes of files in S3/GCS1.00
- Video·sensor data·robot telemetry1.00
-
- 吧0.84
- 10 years making Al work on messy data1.00
- Data Scientist at Microsoft1.00
- DC Built DVC — git for data0.92
- Co-Founder at DataChain0.99
- Dmitry Petrov0.99
- @FullStackML1.00
-
- 已0.64
- ONEDATAHARNESS1.00
- The body, rebuilt0.98
- The model is the brain. In this world, every part of the body gets rebuilt.0.99
- W0.89
- EYES1.00
- LEGS1.00
- HANDS1.00
- MEMORY1.00
- SEE1.00
- RUN1.00
- VERIFY1.00
- REMEMPER0.94
- Dataset1.00
- Engine1.00
- The built slice1.00
- Knowle1.00
- See data you can't hold1.00
- Run what won't fit0.97
- Check what youan't0.97
- Never1.00
- eyeballL0.92
-
- 吧0.63
- PART 1 OF 4· THE EYES0.96
- SEE1.00
- Give the agent eyes.1.00
- SEE1.00
- RUN1.00
- VERIFY1.00
- REMEMBER1.00
-
- PART 1·SEE– PROBLEM0.94
- 吧0.62
- 2,000 files is a neutron star.1.00
- RADIUS = FILES0.97
- MASS = OBJECTS0.97
- 2,0001.00
- 100M1.00
- size of a city1.00
- outweighs the sun1.00
- 100M objects never fit a context window.1.00
- The agent is blind.0.99
-
- PART 1·SEE– PROBLEM0.93
- 2,000 files is a neutron star.0.99
- RADIUS = FILES0.97
- MASS = OBJECTS0.96
- 2,0001.00
- 100M1.00
- size of a city1.00
- outweighs the sun1.00
- 100M objects never fit a context window.1.00
- The agent is blind.0.99
-
- LIVE · PART 1 - THE TRAP0.94
- 吧0.66
- JSON sprawl, then two languages.0.99
- OPTION A·A PILE OF JSON0.97
- OPTION B·A DATABASE0.98
- Millions of tiny files0.99
- Python + islands of SQL1.00
- Slow·no versioning1.00
- Two languages to maintain1.00
- Still not a dataset1.00
- Worse for agents1.00
- Two escapes from messy files — both break.0.98
-
- LIVE · PART 1 - THE TRAP0.95
- JSON sprawl, then two languages.0.99
- OPTION A·A PILE OF JSON0.96
- OPTION B·A DATABASE0.97
- Millions of tiny files0.99
- Python + islands of SQL0.99
- Slow·no versioning1.00
- Two languages to maintain1.00
- Still not a dataset1.00
- Worse for agents1.00
- Two escapes from messy files — both break.0.98
-
- LIVE· PART 1 - SOLUTION0.96
- One language. One schema: Pydantic.1.00
- Type the rows with Pydantic — one queryable, versioned table.0.99
- class File(BaseModel):1.00
- path: str0.97
- size: int = 01.00
- last_modified: datetime0.99
- etag: str = ""0.97
- typed rows1.00
- schema1.00
- version: str = ""0.99
- class BBox(BaseModel):1.00
- x: int y: int w: int h: int0.98
- versions1.00
- lineage1.00
- class Detection(BaseModel):0.99
- file: File0.96
- Rows point to S3 – bytes sten0.95
- the bucket.0.95
- frame: int label: str0.99
- bbox:BBox0.96
- confidence: float0.99
- velocity: float | None0.96
- No such thing as unstructured data — only a schema you hayen'0.97
-
- LIVE · PART 1 - SOLUTION0.96
- 吧0.63
- Now the agent can see.1.00
- time1.00
- class1.00
- speed1.00
- > objects.filter(1.00
- label=="pedestrian",0.99
- 00:14:21 pedestrian 1.4 m/s1.00
- velocity > 0) 非 moving0.95
- 00:51:07 pedestrian 0.9 m/s1.00
- scanning 100M objects..0.95
- 01:32:55 pedestrian 1.8 m/s0.99
- done in 12 ms · 0 bytes in0.97
- RAM1.00
- Milliseconds. Nothir0.99
-
- ~/src/demo0.99
- demo/ $ claude --dangerously-skip-permissions0.99
- bck-i-search: ski_0.98
-
- ~/src/demo0.96
- demo/ $ datachain skill install --local --target claude0.99
- Installed skills (local, target=claude):0.98
- core → /Users/dmitry/src/demo/.claude/skills/core1.00
- knowledge → /Users/dmitry/src/demo/.claude/skills/knowledge1.00
- jobs → /Users/dmitry/src/demo/.claude/skills/jobs0.99
- demo/$1.00
- demo/ $ claude --dangerously-skip-permissions0.99
-
- *Claude Code0.92
- demo/ $ datachain skill install --local --target claude0.99
- Installed skills (local, target=claude):0.99
- core → /Users/dmitry/src/demo/.claude/skills/core1.00
- knowledge → /Users/dmitry/src/demo/.claude/skills/knowledge1.00
- jobs → /Users/dmitry/src/demo/.claude/skills/jobs0.99
- demo/$1.00
- demo/ $ claude --dangerously-skip-permissions1.00
- Claude Code v2.1.1911.00
- Opus 4.8 (1M context) · Claude Team0.95
- ~/src/demo1.00
- "fix lint errors"1.00
- demo/ 0pus 4.8 (1M context)0.97
- high·/effort1.00
- bypass permissions on (shift+tab to cycle). ← for agents0.98
-
- *Claude Code0.96
- demo/ $ datachain skill install --local --target claude1.00
- Installed skills (local, target=claude):0.99
- core → /Users/dmitry/src/demo/.claude/skills/core1.00
- knowledge → /Users/dmitry/src/demo/.claude/skills/knowledge1.00
- jobs → /Users/dmitry/src/demo/.claude/skills/jobs0.99
- demo/$1.00
- demo/ $ claude --dangerously-skip-permissions0.99
- Claude Code v2.1.1911.00
- Opus 4.8 (1M context) · Claude Team0.96
- ~/src/demo1.00
- Build fleet detections from the dashcam clips in s3://dc-readme/fleet-cameras/2026-01/front/1.00
- Detected objects with velocity. Save is as dashcam-jan dataset.1.00
- demo/ Opus 4.8 (1M context)0.98
- ctrl+g to edit in Vim1.00
- bypass permissions on (shift+tab to cycle)1.00
-
- ·Build fleet detections from dashcam clips0.99
- demo/ $ datachain skill install --local --target claude0.99
- Installed skills (local, target=claude):0.99
- core → /Users/dmitry/src/demo/.claude/skills/core1.00
- knowledge → /Users/dmitry/src/demo/.claude/skills/knowledge1.00
- jobs → /Users/dmitry/src/demo/.claude/skills/jobs0.99
- demo/$1.00
- demo/ $ claude --dangerously-skip-permissions0.99
- Claude Code v2.1.1910.98
- Opus 4.8 (1M context) · Claude Team0.96
- ~/src/demo1.00
- Build fleet detections from the dashcam clips in s3://dc-readme/fleet-cameras/2026-01/front/1.00
- Detected objects with velocity. Save is as dashcam-jan dataset.0.99
- Pollinating...0.98
- demo/ Opus 4.8 (1M context)0.98
- high·/effort1.00
- bypass permissions on (shift+tab to cycle)· ← for agents0.97
-
- Build fleet detections from dashcam clips1.00
- knowledge → /Users/dmitry/src/demo/.claude/skills/knowledge1.00
- jobs → /Users/dmitry/src/demo/.claude/skills/jobs1.00
- demo/$1.00
- demo/ $ claude --dangerously-skip-permissions1.00
- Claude Code v2.1.1911.00
- Opus 4.8 (1M context)· Claude Team0.97
- ~/src/demo1.00
- Build fleet detections from the dashcam clips in s3://dc-readme/fleet-cameras/2026-01/front/1.00
- Detected objects with velocity. Save is as dashcam-jan dataset.0.99
- I'll start by loading the datachain-knowledge skill since this involves creating a dataset from1.00
- an S3 bucket.1.00
- Pollinating… (4s · ↓ 146 tokens · thought for 1s)0.97
- demo/ Opus 4.8 (1M context) 2% ctx0.97
- high·/effort1.00
- bypass permissions on (shift+tab to cycle)· ← for agents0.97
-
- Build fleet detections from dashcam clips0.99
- demo/$1.00
- demo/ $ claude --dangerously-skip-permissions0.99
- Claude Code v2.1.1911.00
- Opus 4.8 (1M context) · Claude Team0.98
- ~/src/demo1.00
- Build fleet detections from the dashcam clips in s3://dc-readme/fleet-cameras/2026-01/front/0.99
- Detected objects with velocity. Save is as dashcam-jan dataset.0.99
- I'll start by loading the datachain-knowledge skill since this involves creating a dataset from0.99
- an S3 bucket.1.00
- Skill(/datachain-knowledge)1.00
- Successfully loaded skill1.00
- *0.90
- Pollinating… (5s · ↑ 207 tokens · thought for 1s)0.97
- demo/ 0pus 4.8 (1M context) 2% ctx0.98
- high·/effort1.00
- bypass permissions on (shift+tab to cycle). ← for agents0.97
-
- Build fleet detections from dashcam clips0.99
- demo/$1.00
- demo/ $ claude --dangerously-skip-permissions0.99
- Claude Code v2.1.1911.00
- Opus 4.8 (1M context)· Claude Team0.99
- ~/src/demo1.00
- Build fleet detections from the dashcam clips in s3://dc-readme/fleet-cameras/2026-01/front/1.00
- Detected objects with velocity. Save is as dashcam-jan dataset.1.00
- I'll start by loading the datachain-knowledge skill since this involves creating a dataset from0.99
- an S3 bucket.0.99
- Skill(/datachain-knowledge)1.00
- Successfully loaded skill1.00
- This is Mode B (Dataset Creation). Let me start with the required precondition reads.0.99
- * Pollinating.… (7s · ↓ 358 tokens · thinking)0.95
-
- Build fleet detections from dashcam clips0.99
- demo/$1.00
- demo/ $ claude --dangerously-skip-permissions0.99
- Claude Code v2.1.1911.00
- Opus 4.8 (1M context)· Claude Team0.99
- ~/src/demo1.00
- Build fleet detections from the dashcam clips in s3://dc-readme/fleet-cameras/2026-01/front/1.00
- Detected objects with velocity. Save is as dashcam-jan dataset.1.00
- I'll start by loading the datachain-knowledge skill since this involves creating a dataset from1.00
- an S3 bucket.1.00
- Skill(/datachain-knowledge)1.00
- Successfully loaded skill0.98
- This is Mode B (Dataset Creation). Let me start with the required precondition reads.0.99
- Reading 2 files… (ctrl+o to expand)0.98
- L $ cat /Users/dmitry/src/demo/dc-knowledge/index.md 2>/dev/null Il echo "INDEX_NOT_FOUND"0.98
- Pollinating.… (9s · ↓ 423 tokens · thought for 1s)0.97
-
- ·Build fleet detections from dashcam clips0.98
- knowledge → /Users/dmitry/src/demo/.claude/skills/knowledge1.00
- jobs → /Users/dmitry/src/demo/.claude/skills/jobs0.99
- demo/$1.00
- demo/ $ claude --dangerously-skip-permissions0.98
- Claude Code v2.1.1911.00
- Opus 4.8 (1M context)· Claude Team0.98
- ~/src/demo1.00
- Build fleet detections from the dashcam clips in s3://dc-readme/fleet-cameras/2026-01/front/1.00
- Detected objects with velocity. Save is as dashcam-jan dataset.0.99
- I'll start by loading the datachain-knowledge skill since this involves creating a dataset from1.00
- an S3 bucket.0.99
- Skill(/datachain-knowledge)1.00
- Successfully loaded skill1.00
- This is Mode B (Dataset Creation). Let me start with the required precondition reads.0.99
- Read 2 files (ctrl+o to expand)0.98
- Methodology loaded. This is a Sense (L3) build - object detection + velocity on dashcam video.0.98
-
- * Build fleet detections from dashcam clips0.98
- Model1.00
- Velocity Granularity □ Scope √ Submit →0.94
- Which detection model? (method is ultralytics YOLO + ByteTrack tracker - the one sensible CPU0.98
- option here at 28.6 ms/frame; this picks the weight class within it. Confidence threshold defaults0.99
- to 0.25, overridable.)0.97
- )1. yolov8n(~8 min)✓0.89
- Nano. Fastest, ~28.6 ms/frame measured. ~8 min for 91 clips. Lower accuracy on small/distant1.00
- objects. Good default for a first fleet pass. $0 (local CPU).0.99
- 2. yolov8s (~12 min)0.99
- Small. ~3x inference cost, better recall on small objects. ~12 min for 91 clips. $0 (local1.00
- CPU).0.97
- 3. yolov8m (~20 min)1.00
- Medium. ~7x inference cost, best accuracy of the three on CPU. ~20 min for 91 clips. $00.99
- (local CPU).0.97
- 4. Type something.0.95
- 5. Chat about this0.97
- Enter to select · Tab/Arrow keys to navigate · Esc to cancel0.98
Transcript
209 cues· 3,197 words· 17,536 chars
- 0:02 How coding agent work with physical data?
- 0:06 Video recordings, sensor data, robot's telemetry, and sometimes all of those combine in a single multi-model project.
- 0:15 If you try this, you probably have seen how badly it fails.
- 0:18 And today we'll discuss the reasons and all the physics laws behind the problems and how to fix it.
- 0:30 This year, two frontier labs published very interesting results and surprising results that agents in general are not good at data.
- 0:43 Anthropic published that accuracy for data projects on their agents is only 21% until you add specific data harnesses to them and provide context.
- 0:57 OpenAI published a whole layers of context, six layers of context in order to make the data agent work.
- 1:07 And all of those are unstructured data, which lives in a very houses with tables, execution engine, and all this like luxury.
- 1:20 In my life, I don't have this luxury, unfortunately, because I live in a very extreme side of the data universe, messy, unstructured data.
- 1:32 I worked with data for about 10 years.
- 1:35 I built a data version control project, Git for Data, and now work on data chain.
- 1:45 In order to make
- 1:47 agent work for unstructured data, for physical data, we need to build not only the brain, which
- 1:57 we already have, right?
- 1:58 It's LLM.
- 2:00 But we need to make data harness for agents to understand this physical world.
- 2:08 It should see the data properly.
- 2:10 It should be able to run, kind of giving him a leg.
- 2:15 It should be able to touch data, verify the result, run tests, and also remember
- 2:21 the crucial important data sets important result so this information could be reused in the future project and the first we start from the how you see data what does it take to understand all these complicated binary file that you have in your object storages
- 2:48 In reality, how it usually looks, there are just several files, sometimes several thousand of files, right?
- 2:55 It doesn't seem like a big deal, right?
- 2:57 But what usually happens, those files are very complex inside.
- 3:04 That's what makes unstructured multimodal data complicated.
- 3:10 Because video recordings might have
- 3:13 Clips inside.
- 3:14 Clips might have frames, frames, objects, objects, confident, type, class, label.
- 3:23 There's connection between those pieces together.
- 3:27 It makes kind of like explosion.
- 3:29 It looks like a neutron star.
- 3:34 It's small size on the surface, right?
- 3:37 It's just a size of one city.
- 3:40 But the mass of this object is tremendous.
- 3:43 It's more than the mass of our sun.
- 3:46 And 2,000 objects, 2,000 files of videos could easily generate you millions of objects inside the videos.
- 3:56 And how people usually do deal with these problems?
- 3:59 They usually go through like two major steps.
- 4:02 First step.
- 4:03 Let's put this meta information to JSON files and put it on S3 next to the images, right?
- 4:09 And they end up with millions of Jasons.
- 4:13 Crazy latency, not efficiency, not consistency.
- 4:18 And the next idea, why don't we use database?
- 4:23 Brilliant.
- 4:23 And the most advanced team do exactly this.
- 4:26 Let's put a centralized database when all the metadata is in there.
- 4:33 great but this way you end up with a two system with a two programming languages and all the mess around two different stacks and this text useless for most of the researchers because they don't want to deal with this complexity
- 4:51 We found that the easiest way for researchers and developers to deal with the schema is Pydentic.
- 4:58 So you use the same language for the data, for the schemas, as well as code.
- 5:04 There are no SQL islands in your code base.
- 5:07 So in that way, you kind of transition from the massive world of unstructured data to the structure.
loading