惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

TaoSecurity Blog
TaoSecurity Blog
博客园 - 司徒正美
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
博客园 - 【当耐特】
M
MIT News - Artificial intelligence
罗磊的独立博客
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Stack Overflow Blog
Stack Overflow Blog
The GitHub Blog
The GitHub Blog
Google DeepMind News
Google DeepMind News
Security Archives - TechRepublic
Security Archives - TechRepublic
宝玉的分享
宝玉的分享
N
News and Events Feed by Topic
The Hacker News
The Hacker News
Google DeepMind News
Google DeepMind News
C
CERT Recently Published Vulnerability Notes
F
Full Disclosure
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
S
Security @ Cisco Blogs
H
Hacker News: Front Page
L
LangChain Blog
Microsoft Security Blog
Microsoft Security Blog
Y
Y Combinator Blog
B
Blog RSS Feed
H
Heimdal Security Blog
Google Online Security Blog
Google Online Security Blog
Apple Machine Learning Research
Apple Machine Learning Research
博客园 - 三生石上(FineUI控件)
V2EX - 技术
V2EX - 技术
V
Vulnerabilities – Threatpost
Help Net Security
Help Net Security
Hacker News - Newest:
Hacker News - Newest: "LLM"
T
Tailwind CSS Blog
W
WeLiveSecurity
T
Tenable Blog
D
DataBreaches.Net
Martin Fowler
Martin Fowler
Cyberwarzone
Cyberwarzone
Cisco Talos Blog
Cisco Talos Blog
S
Secure Thoughts
O
OpenAI News
L
LINUX DO - 热门话题
Vercel News
Vercel News
阮一峰的网络日志
阮一峰的网络日志
Jina AI
Jina AI
J
Java Code Geeks
Know Your Adversary
Know Your Adversary
IT之家
IT之家
Latest news
Latest news
Cloudbric
Cloudbric

Hacker News: Show HN

PurrrrrFocus: Pomodoro Timer App - App Store Workflow Engine — Multi-Step Orchestration for Bun RapidPhoto: Pro Photo Editor App - App Store GitHub - DheerG/swarms: Achieve extraordinary results with claude code across a variety of tasks SPICE simulation → oscilloscope → verification with Claude Code — Lucas Gerads Show HN: VCoding – A 5 MB native Windows IDE with no dynamic dependencies Show HN: LLMs don't hallucinate because they're bad at math, it's the format GitHub - Agent-FM/agentfm-core: AgentFM is a peer-to-peer network that turns everyday computers into a decentralized AI supercomputer. AgentFM lets you run massive AI workloads directly across a global mesh of idle CPUs and GPUs. Show HN: Tracking Top US Science Olympiad Alumni over Last 25 Years GitHub - Potarix/agent-hub: One place to talk to all your agents Show HN: Runtime security for AI agents(injection,tool abuse, data exfiltration) GitHub - dubeyKartikay/lazyspotify: Terminal Spotify client for macOS and Linux GitHub - the-banana-tool/king-louie: Easy to use GUI Personal AI Assistant. Win/Linux/Mac. Show HN I made my vacation rental bookable by AI agents–no Airbnb, 0% commission GitHub - basteez/jsf-autoreload: maven plugin to enable hot reload on jsf projects uvm32/hosts/host-gdbstub at main · ringtailsoftware/uvm32 GitHub - labsai/EDDI: Config-driven engine that turns JSON into production-grade AI agents. Multi-agent orchestration, 12+ LLM providers, MCP/A2A protocols, RAG, persistent memory, and enterprise compliance (EU AI Act, GDPR, HIPAA). Built on Quarkus. GitHub - glitchnsec/fortyone-oss: AI Executive Assistant Platform Quickstart | Alien GitHub - muxshed/shed: One stream in, or many. Every destination, simultaneously. No cloud middleman, no per-channel fees, no limits. GitHub - ocrbase-hq/ocrbase: 📄 PDF/IMG ->.MD/JSON Document OCR API for PaddleOCR and GLMOCR. Self-hostable. GitHub - impactjo/home-memory: MCP server that lets your AI assistant remember everything about your home. GitHub - Sets88/dbcls: DbCls is a powerful terminal database client that supports various databases GitHub - neptun2000/heor-agent-mcp GitHub - SeanFDZ/macmind: Single-layer transformer in HyperTalk for the classic Macintosh RollQuation: Math Puzzles - Apps on Google Play GitHub - dropbox/witchcraft Show HN: Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis GitHub - opentalon/opentalon: OpenTalon is an open-source platform built from the ground up in Go as a robust alternative to OpenClaw LinkedIn™ 职位抓取工具 - Chrome 应用商店 GitHub - EdoardoBambini/Agent-Armor-Iaga: AI agents are getting tool access — shell, file system, databases, APIs, secrets. But **nobody is governing what they actually do with it**. Frameworks like LangChain, CrewAI, AutoGen, and Claude Code give agents the power to execute. Agent Armor gives you the power to control, audit, and approve every single action before it happens. HN Vibes — Week 15, Apr 7–13 2026 GitHub - chojs23/ec: Easy terminal-native 3-way git mergetool vim-like workflow GitHub - SethPyle376/hiraeth: Local AWS emulator focused on fast integration testing, with SQS support, SQLite-backed state, and a debug-friendly web UI. GitHub - JakOb-dotcom/cloud-sandbox-security-analysis: Technical analysis and Proof of Concept (PoC) regarding environment variable exfiltration in containerized cloud sandboxes via side-channel data leaks. Springboards - Flint Alpha Show HN: A simpler coding agent harness GitHub - audiodude/sudomake-friends GitHub - 256thFission/mini-mythos: OSS clone of Anthropic’s Mythos harness to locate C/C++ memory vulnerabilities Show HN: OpenParallax: OS-level privilege separation for AI agent execution Hacker News Sorted - Chrome 应用商店 Show HN: How to Install Docker on Ubuntu 24.04 LTS: Complete 2026 Guide GitHub - himanshudongre/smriti GitHub - sverrirsig/claude-control: macOS desktop dashboard for monitoring and managing multiple Claude Code sessions GitHub - ory/dockertest: Write better integration tests! Dockertest helps you boot up ephermal docker images for your Go tests with minimal work. Chiral - Chrome 应用商店 Show HN: Two Claudes collaborating through shared memory on a $100 mini-PC GitHub - pmichaillat/latex-cv: Minimalist LaTeX template for academic CVs GitHub - oguzbilgic/posse: A web UI for Anthropic Managed Agents. GitHub - sshiraz/depsly: Dependency risk analysis tool for npm packages ABI Add safari/agent-harness — Safari browser automation via safari-mcp by achiya-automation · Pull Request #212 · HKUDS/CLI-Anything GitHub - Halfblood-Prince/trustcheck: Verify PyPI package attestations and improve Python supply-chain security GitHub - oguzbilgic/kern-ai: Agents that do the work and show it. GitHub - bruits/satteri: High-performance Markdown and MDX processing for the JavaScript ecosystem GitHub - tylergibbs1/feedstock: High-performance web crawler and scraper for TypeScript, powered by Bun and Playwright GitHub - Grimm67123/grimmbot: The self-improving sandboxed and open-source AI agent. With persistent memory and scheduling. GitHub - whitevanillaskies/whitebloom: Local whiteboard that blooms. GitHub - hwdsl2/docker-whisper: Docker image for a self-hosted Whisper speech-to-text server with speaker diarization and OpenAI-compatible transcription and translation APIs. Powered by faster-whisper. Supports all Whisper models, NVIDIA GPU (CUDA) acceleration, JSON/SRT/VTT output, SSE streaming, offline mode, and multi-arch (amd64, arm64). GitHub - yisding/reviewwiggum GitHub - MarwanAlsoltany/serrors: Structured errors for Go: sentinel hierarchies, typed data, custom formatting, and slog integration. GitHub - soatok/age-php GitHub - Luthiraa/markitme GitHub - stagas/rtdiff: realtime git diff gui and AI-assisted commits GitHub - tombedor/excalicharts GitHub - wh1le/excalidraw-edit: Open and edit .excalidraw files from the terminal. Offline, auto-saves to disk. MalExt Sentry - Malicious Extension Scanner - Chrome 应用商店 GitHub - syi0808/asciianimesvg: Generate animated ASCII art SVGs from text. CLI, Rust library, WASM, and web editor. GitHub - zaina-ml/ml_forge: A visual-based graph node editor for training computer vision models. GitHub - anakin87/llm-rl-environments-lil-course: 🌱 A little course on Reinforcement Learning Environments for evaluating and training Language Models GitHub - takaakit/superpowers-uml: Superpowers-UML modifies Superpowers to ensure a software development workflow in which AI agents design through UML modeling. AdriByte Studio - Sviluppo Web e Soluzioni Digitali GitHub - chouligi/angel-copilot: Your personalized Angel Investment Advisor Show HN: MoodSense AI (ML and FastAPI and Gradio, Deployed on Hugging Face) Moodsense Ai - a Hugging Face Space by aman179102 GitHub - agenteractai/lodmem: Level Of Detail Context Management for Agents GitHub - ostefani/subnetlens: A fast, concurrent network scanner with a TUI and plain-text CLI, built in Go. It discovers live hosts on your network, scans their open ports, resolves hostnames, and fingerprints operating systems—delivered. Cyber Pulse: Agentic Intel - Apps on Google Play Whisper API: Self-Hostable Speech to Text Transcription The Agent-Web Protocol Stack: A Research Thesis GitHub - msmarkgu/RelayFreeLLM: A restful API designed to route user prompts to various AI model providers. Show HN: Provepy – A Python decorator that proves your code using Lean and LLMs Show HN: Pardonned.com – A searchable database of US Pardons GitHub - patrickdappollonio/dux: Dux is a terminal UI that lets you run multiple AI coding agents side by side, each in its own git worktree, with full companion terminals, macros, commit generation, and a command palette that knows more tricks than you do. kMC Crystal Simulator Show HN: HyperFlow – A self-improving agent framework built on LangGraph GitHub - stef41/vibescore: 🎵 Grade your vibe-coded project. One command, instant letter grade across security, quality, dependencies, and testing. GitHub - stef41/lmscan: 🔍 Detect AI-generated text and fingerprint which LLM wrote it. Open-source GPTZero alternative. Zero dependencies, works offline. imgur.com GitHub - visionscaper/collabmem: Enabling long-term collaboration with Agentic AI - building up episodic and world model memory over time with in-context awareness 在 Steam 上购买 FriedrichAI: Offline AI 立省 10% GitHub - atripati/ark: AI Runtime Kernel — a context operating system for AI agents. Eliminates tool bloat, loads only what’s needed, and gives LLMs their reasoning space back. GitHub - nowork-studio/toprank: Open-source Claude Code skills for SEO, SEM, Google Ads GitHub - tacomanator/sash: Lightweight macOS menu bar app for reliably cycling through windows of the current application. Appents | Social Media Management for Product-First Teams GitHub - pnhoang/youtube-spam-blocker: Automatically detects and hides spam messages in YouTube Live chat. Set rate limits, keyword filters, and block repeat offenders. GitHub - decisionnode/DecisionNode: CLI + Local MCP - A shared structured memory store across Claude Code, Cursor, Windsurf, Antigravity, and every MCP client. Semantically queryable. GitHub - AvaCodeSolutions/django-email-learning: An open source Django app for creating email-based learning platforms with IMAP integration and React frontend components. The $100K Gap in Kubernetes Security Tooling Function Calling Harness: From 6.75% to 100%
Autolectures
lapurita · 2026-06-21 · via Hacker News: Show HN
Back to blog

Examples

Overview

The goal of this project is simple: given a prompt like "what is a leveraged buyout?", get back a lecture video. More specifically, a narrated, animated explainer video, with slides, a voiceover, and elements that appear in time with the narration.

You could try to do this with a video-generation model that produces the pixels directly, but we take a different approach based on the idea that an LLM (today) is (in my opinion) better at writing code than what a SOTA diffusion model is at generating pixels directly. Instead of generating a video, the model writes the source code of one: a sequence of Remotion scene components (React that renders to video frames) along with a narration script for each. We then render that code ourselves.

Working in code rather than pixels also changes what we can do with the result. A scene is something we can read and edit, so fixing a wrong label or color is a one-line change and a re-render, not a re-roll of the whole video in the hope that the next sample comes out better. Text and diagrams come out exactly as written, which still isn't a given with diffusion models on dense, labelled content. And the part that matters most for what follows is that a scene renders to a DOM we can inspect and measure headlessly, which is exactly what lets us check each scene's layout in Step 2.

The pipeline has five steps. The model writes the scenes in an agent loop, we check and repair their layout, we turn each script into narration with word-level timestamps, we time the reveals so each element appears as it is mentioned, and we finally render everything into a single MP4.

Pipeline diagram: a prompt flows through five steps (write scenes, check and repair layout, narration and timestamps, time reveals, render) to produce a video, with a feedback loop from the layout check back to scene writing.
The pipeline end to end: a prompt goes in and an MP4 comes out. Step 2 is a loop rather than a strict stage, since it renders each scene, measures it, and sends anything that overflows back to be repaired and re-measured. Reveal timing is optional.

Step 1 - Writing the scenes

The first step is a single agent loop. We hand the model the prompt and a small set of tools, and it writes the video one file at a time until it decides it is done.

The unit it produces is a scene, which is a self-contained React component, sized to the 1920x1080 frame and styled with Tailwind, paired with a plain-text narration script. It is up to the model how many scenes the topic needs, what each one shows, and how the narration carries from one to the next.

The tools are deliberately minimal. write_file saves a scene component or a narration file, web_search lets the model ground facts it is unsure about, and search_image pulls real photos through Brave when a topic has a real-world subject like a person, a place, or a product, so the scene can use an actual image instead of a drawn approximation. Importantly we want to steer the models as little as possible, and nothing about the shape of the video is fixed in advance.

One convention does the heavy lifting later. As it writes a scene, the model tags the elements that should appear one at a time with data-animate="reveal-1", data-animate="reveal-2", and so on, in the order it wants them to land, and it writes the narration to describe them in that same order. Turning those tags into real timings is the job of Step 4; here the model is only declaring intent.

export function Scene() {
  return (
    <div className="w-[1920px] h-[1080px] bg-slate-950 text-slate-100 flex flex-col px-28 py-20">
      <div data-animate="reveal-1">
        <div className="text-emerald-400 tracking-[0.35em] ...">THE BUSINESS MODEL</div>
        <h2 className="text-7xl font-extrabold">A bank doesn't keep your money in a vault</h2>
      </div>

      <p data-animate="reveal-2" className="text-3xl text-slate-300 ...">
        When you deposit $100, the bank keeps only a small fraction on hand.
      </p>

      {/* Flow diagram */}
      <div className="flex items-center justify-between ...">
        <div data-animate="reveal-3" className="...">
          <div>DEPOSITORS</div>
          <div className="text-6xl font-extrabold">$100</div>
        </div>

        <div data-animate="reveal-4" className="text-6xl text-emerald-400">→</div>

        <div data-animate="reveal-4" className="...">
          <div>THE BANK</div>
          {/* $10 kept as reserves, $90 lent out */}
        </div>

        <div data-animate="reveal-5" className="text-6xl text-amber-400">→</div>

        <div data-animate="reveal-5" className="...">
          <div>BORROWERS</div>
          <div className="text-6xl font-extrabold">$90</div>
        </div>
      </div>

      <div data-animate="reveal-6" className="...">
        The bank profits on the gap. This is called <span>fractional reserve banking</span>.
      </div>
    </div>
  );
}
The rendered scene: a bold headline reading 'A bank doesn't keep your money in a vault', above a depositors to bank to borrowers flow diagram showing $100 split into $10 of reserves and $90 lent out.
The trimmed source for one scene from the banks-fail video, and the 1920x1080 frame it renders to. The reveals run down the page in the order the narration introduces them: the headline and the one-line setup, then the depositors, the bank, and the borrowers, and finally the term for it, fractional reserve banking.

One more thing happens on every write. When the model saves a .tsx file, we parse it before accepting it and hand any syntax error straight back as the tool result, so it gets fixed on the next turn. That is the first and cheapest check we run on generated code. The more interesting one is Step 2: whether the scene actually fits on screen.

Step 2 - Checking and repairing layout

Every model we tried shares one failure mode: it writes scenes that overflow the frame. Because the model never sees what its code renders to, it tends to pack in one card too many or size the text a little too large, and the bottom of the scene ends up past the 1080-pixel edge, where it gets cut off in the video. This is the most common problem by far, and it is also the easiest to catch, because a scene is something we can render and measure.

After the writing agent finishes, we render every scene to a still frame in a headless browser and measure it. A small hook injected into each component walks the DOM once the fonts and images have loaded, takes the bounding box of every element a few levels deep, and compares each one against the bottom edge of the 1920×1080 container. Anything that extends past it is reported, with the element, its classes, and how far it overflows in pixels, together with a screenshot of the frame.

{
  "hasOverflow": true,
  "overflowBy": 142,
  "overflowingElements": 2,
  "elements": [
    { "tagName": "DIV", "className": "rounded-2xl bg-emerald-500/10 ...", "overflowBy": 142 },
    { "tagName": "P",   "className": "text-3xl text-slate-300 ...",        "overflowBy": 88 }
  ]
}

Before: overflowing

The scene rendered with too much content, so the bottom card is clipped at the frame edge.

After: repaired

The same scene after spacing and sizing were tightened, with everything inside the frame.

Left: the kind of overflow the check catches, where the content runs past the 1080-pixel frame and the bottom card is clipped. Right: the same scene after the spacing and sizing were tightened to fit.

When a scene overflows, we hand it to a smaller model along with the overflow report, the current code, and the screenshot, and we restrict it to a narrow and simple job (that a small model can handle): adjust only spacing and sizing (padding, margins, gaps, font sizes, heights) and change nothing about the content, structure, or design. After the scene is rewritten, we measure again, and we repeat this a few times if needed. Empirically this works really well, and essentially all layout issues can be resolved.

Step 3 - Narration and timestamps

With the scenes settled, each one already has its narration script from Step 1. We send each script to OpenAI's tts-1 to produce the voiceover, one audio file per scene, and measure its duration so the render knows how long to hold the scene on screen.

The voiceover on its own is not quite enough, because to animate a scene in time with the speech we need to know when each word is actually spoken, and that is not something you can read off the script. So we round-trip: the generated audio goes straight back through a speech-to-text model, whisper-1, which returns the transcript aligned to the audio, with a start and end time for every word and for every sentence-level segment. Obviously we could use an endpoint that returns timestamps directly along with the speech (ElevenLabs supports this), but this works well enough and is a lot cheaper than e.g. the ElevenLabs endpoint.

[
  { "word": "Here's",   "start": 0.00, "end": 0.22 },
  { "word": "the",      "start": 0.22, "end": 0.38 },
  { "word": "first",    "start": 0.38, "end": 0.64 },
  { "word": "surprise", "start": 0.64, "end": 1.14 },
  { "word": "a",        "start": 1.64, "end": 1.78 },
  { "word": "bank",     "start": 1.78, "end": 1.90 }
]

Those timings are what the rest of the pipeline runs on. The per-word times let Step 4 line up each reveal with the moment it is mentioned, the per-segment times become the subtitle track, and the per-scene durations decide how many frames each scene occupies in the final video. Audio is the one part of the pipeline that always uses OpenAI, whatever model wrote the scenes. If you want to, you can obviously add support for other providers as well.

Step 4 - Timing the reveals

This is the step that gives the videos their presentation feel, where each piece of a scene appears as the narration reaches it rather than all at once (imitating the way a human would present a powerpoint!).

It has two inputs that already exist. From Step 1, every element meant to appear in sequence is tagged with data-animate="reveal-1", reveal-2, and so on, and the narration was written to introduce them in that order. From Step 3, we know the exact time each word is spoken. The one thing that is missing is the link between them: at which word should each reveal appear?

We let a small model decide. It gets the scene and the transcript with every word numbered, and returns, for each reveal marker, the index of the word it should appear on, keeping them in order. This is a judgment about meaning rather than arithmetic: reveal-3 is the depositors card, so it should land when the narration actually reaches the depositor, not at some evenly spaced interval. For the banks scene it comes back like this:

[
  { "reveal": "reveal-1", "wordIndex": 0 },
  { "reveal": "reveal-2", "wordIndex": 15 },
  { "reveal": "reveal-3", "wordIndex": 39 },
  { "reveal": "reveal-4", "wordIndex": 56 },
  { "reveal": "reveal-5", "wordIndex": 69 },
  { "reveal": "reveal-6", "wordIndex": 79 }
]

Read through the Step 3 timestamps, those indices put the six pieces of the scene at roughly 0s, 4.7s, 13.9s, 19.4s, 23.7s, and 28.3s, each appearing as the narration gets to it. At render time every reveal element starts hidden and fades in over about half a second when its word begins. As with overflow repair, this is a narrow task handed to a cheap model, and it works very well empirically.

6 / 6

The banks scene with its six reveals. Step through them or press play to watch each element fade in, the same way it does in the final video as the narration reaches it.

Step 5 - Rendering

By this point everything the video needs exists: the scene components, an audio file and duration for each, and the reveal mappings. Rendering is where they are composed into a single timeline and turned into pixels.

Each scene becomes one segment of the video, and its length is simply the length of its narration, so the pacing follows the voiceover rather than any fixed per-scene duration. The scene's audio is attached to its segment, and the reveal mappings and word timings drive the per-frame opacity, so each tagged element fades in exactly when Step 4 said it should. No model is involved here; it is a plain render of the pieces we already have.

Remotion bundles the scene components and renders the composition to an MP4 locally, frame by frame. Alongside the video we write a WebVTT subtitle track from the segment timings and a metadata file with the full transcript, the per-scene start times and durations, and the config the run used.

Model comparison

All three providers produce working videos, but what they produce differs in some ways. In our testing Claude Opus is the strongest by a clear margin, both in the visual design of the scenes and in the narration. Its layouts are cleaner and more consistent, and its scripts are more coherent and carry better from one scene to the next. Judge it yourself by comparing the outputs at the top of this post!

Cost and speed tells the following story, averaged over the twelve examples above:

Provider$/videoVideo length$/minWall-clock
Anthropic (Opus 4.8)$0.726.9 min$0.117.5 min
OpenAI (GPT-5.5)$1.406.1 min$0.2315.0 min
Google (Gemini 3.1 Pro)$0.253.4 min$0.074.8 min

Google is the cheapest and fastest, but it also writes the shortest videos, so the per-minute figure is the fairer comparison. OpenAI costs the most, roughly twice Anthropic, mostly because its run uses more tokens. Anthropic, the model we think produces the best videos, lands in the middle.

Closing thoughts

Being honest about the output, I think these videos are decent but I would still call them slop. They are watchable, the facts are almost always correct, and the presentation is clean, but I still wouldn't say they have the spark that makes you actually want to watch a bunch of them for their own sake.

That points to a broader issue which is that AI-generated content meant to be consumed by humans, as opposed to AI output that is just an input to some other system, feels like its own distinct problem. There seems to be an almost reflexive pull away from content once people realize it was generated, even when it is perfectly competent. I do not know whether that reaction is only because the content is still subpar, or whether there is something else going on, where we place some value on a human having made the thing that is being consumed.

Obviously he quality will keep climbing. A year or two from now the output might be good enough that these go from being a demo to something people actually want to watch!