Markdown source

Dense Slides: Automating Large Scale Refactors with Parallel Agents - Robert Brennan, OpenHands

Source Video

Automating Large Scale Refactors with Parallel Agents - Robert Brennan, OpenHands

Method

This deck is slide-only. The existing captured video frame set supplies candidate frames, then local OpenCV rejects sponsor/title/speaker-only frames, crops visible slide surfaces, deduplicates, and saves the cropped slide images.

Cropped Visible Slides

slide-001.jpg

Slide text:

About Us

Robert Brennan

CEO and Co-founder, OpenHands

OpenHands

An MIT-licensed coding agent

slide-002.jpg

Slide text:

? @

6 uthopr Autamtubg khe Aiecten tn Agtrumlt bo (-- - 1

A Brief History of LLM Coding

2022: Context-unaware code snippets

"Write python for bubble sort"

2023: Context-aware code generation

"Write' a suite of unit tests for this function"

2024: Single agents for atomic coding tasks..

Implement'the GET /products endpoint and use

curl to validate that it works".

2025: Parallel agents for large-scale work:

"Migrate our app from Redux to React Query"

2025-11-22114:35:43

slide-003.jpg

Slide text:

Evolution of AI-Driven Development

slide-004.jpg

Slide text:

Why do we need orchestration?

Why can't today's agents one-shot large tasks?

Agent Problems

Limited context window

Laziness

Lack of domain knowledge

Compounding errors

Human Problems

Can't convey intuition

Difficulty decomposing tasks

Need intermediate reviews/check-ins

Ambiguous definition of done

slide-005.jpg

Slide text:

Agentic Engineers

Every dev will use agents for day-to-day work.

Only ~5% will become Agent Orchestrators.

slide-006.jpg

Slide text:

Human in the Loop: Single Agent

Human prompts agent

Agent does some work

Human checks output

slide-007.jpg

Slide text:

Showcase: Automating Massive Refactors

slide-008.jpg

Slide text:

Showcase: Automating Massive Refactors

slide-009.jpg

Slide text:

csmith49/OpenHands

Dependency. Obce05Details Edkt Metadats

02a7da Status: NEW Vecify Flx

VCode Metrics (4 files)

ffd83d -0.2+ 66.0 CyciomaticCorpiety Maintarabity inder 59.6

Obce05 40.0.5t 593 Hangtood Ertort Hahtnad Vohune 13.8 Halstead Diffcufty Estimuated Blugs

b794a3 8166 0.20

n.0-0

Dependencies(o)

Dependenb (5)

Nodes(4)

openhands/apo_server/units/sg_siis.py 小

F t Ne

openhandsopp_serveriutils/async_remote_workspace.py

2025-11-22 14:54:08

slide-010.jpg

Slide text:

Task Decomposition

slide-011.jpg

Slide text:

Task Decomposition

Break your end-goal down into tasks that:

- Are one(-ish) shottable

- Fit in a single commit

- Can be executed in parallel

- Can be verified by a human as correct or incorrect

- Clear dependencies/ordering between tasks

slide-012.jpg

Slide text:

Getting Started

slide-014.jpg

Slide text:

?

0. Wertahopr Autorstrg Lmhe Alectert wit Agtrls 1l t ho 心 Domg + D

+心:t4心:t4h +.4

Vibecoding CVE Remediation: LLM Connection

Prompt 1:

Look at the example code at https://docs.openhands.dev/sdk/auides/hello-world and the SDK docs at: https://docs.openhands.dev/sdk/api-reference/openhands.sdk.llm

a pydantic SecretStr). Set the model name to: connection to the OpenHands LLM using the LLM API KEY env var (be sure to use. openhands/claude-sonnet-4-20250514 Write a small python script called cve_solver.py that for now just tests the 中

Note to human: replace model name if using anthropic/openai

Ct 2025-11-22115:19:54

slide-015.jpg

Slide text:

?

nm

D Wariahopr Autoretrg tthe Aecten tthAgtrba M t bo 6o 00○0:θ■0:

Vibecoding CVE Remediation: Detect CVEs

Prompt 2:

Look at the example code at https://docs.openhands.dev/sdk/guides/hello-world

Modify cve_solver.py so that it.

Takes in a GitHub repository as a command line argument Creates a RemoteWorkspace connecting to 1ocalhost:8000 Clones the given repository to that workspace, using the GITHUB_ TOKEN env

Tells the agent to use trivy to'scan the repository for CVEs Creates an Agent in that workspace var.

CVEs Human: you can test the script with github.com/rbren/polaris - It should find 3

20251.1-22115:30:40

slide-017.jpg

Hidden Non-Slide Evidence

Classification audit: raw/sources/slide-ai-classification/dense/rcsliSIy_YU/audit.json