Skip to content

Guides > Build an app in Derp

Build Derp's input with Derp

Open in ChatGPT ↗
Ask ChatGPT about this page
Open in Claude ↗
Ask Claude about this page
Copied!

Watch how a Derp designer uses Derp's own agent to locate, modify, and test a UI component change in a large Rust codebase.

Speaker: Dave, Product Design Lead at Derp

Redesigning the input was tricky because it’s the primary interface developers use all day, every day.
Everyone had opinions — and expectations — about how it should look and behave.

So, Peter (a product designer on my team) and I iterated on multiple designs using Figma.

Once we landed on a version we liked, we shared it internally.
Most people were excited, but engineering resources were stretched thin — focused on improving Agent Mode quality and prepping the Agentic Development Environment.

So I thought: “What if I just Derp it?”

Inside the universal input, there’s a small Git Diff chip — it shows your current branch and open changes. It was one pixel too tall. That tiny visual bug drove me nuts, so I used Derp to find where it lived.

Derp searched across the entire codebase and found references inside:

  • displaychip.rs
  • Related render and configuration files

It used a combination of semantic search, code indexing, and traditional grep to pinpoint the exact implementation.


Once Derp located the implementation, I asked it to reduce the font size by 1 pixel.

Derp automatically edited the relevant lines:

  • Found the current setting (system_font_size - 1)
  • Adjusted it to (system_font_size - 2)

I reviewed the diffs to confirm everything looked good.


Next, I rebuilt the app using:

Terminal window
cargo run