Home Par Baked Entry

AI Coding Agents Are Surprisingly Good for Stream Deck Assistants

We built a tiny Windows helper for Stream Deck buttons using C++, Win32 API calls, registry tweaks, and Codex/GPT-5.5 to switch recording setups fast, with fewer clicks and less faff.

Posted:

Idea

We are not streamers, which is exactly the sort of sentence people say shortly before admitting they have built a surprisingly streamer-shaped workflow.

At Holeaf, we use Stream Decks for quick machine configuration changes. They are useful little panels for switching audio devices, opening tools, changing environments, and generally reducing the number of tiny repeated actions that slowly eat your afternoon.

While planning how our product demos and short videos should look, we noticed a simple mismatch. Our day-to-day setup is built for work. Our recording setup needs to look cleaner on camera.

The main difference was the desktop background. Most of the time, we prefer a black background because we work across a mix of HDR and OLED screens. It is comfortable, low-distraction, and less likely to turn a monitor into a desk lamp. For videos, though, we wanted something more on brand.

We also wanted to hide the taskbar and desktop icons while recording, then put everything back afterwards. Nothing fancy. No production control room. No grand software platform. Just two buttons:

  • one to switch into recording mode
  • one to switch back into work mode

That made it a good fit for a tiny Windows utility controlled by Stream Deck. Press a button, change the desktop state, record the thing, press another button, return to normal.

Useful for small teams, solo makers, streamers, and developers who want quick setup automation without turning a five-minute task into a new internal product.

Status

The finished version is small: 212 lines of C++ across two files, plus a 55-line batch file that compiles two executables.

One executable switches the machine into recording mode by:

  • setting the branded desktop background
  • hiding the taskbar
  • hiding desktop icons
  • closing immediately after the changes are applied

The other executable reverses those changes by:

  • restoring the usual background state
  • showing the taskbar again
  • showing desktop icons again
  • closing after the reset is complete

Those two executables are now attached to two Stream Deck buttons. There is no interface, no settings screen, and no ceremony. The button is the interface.

The whole project took around five minutes once we knew which Windows APIs and registry values were involved. That is not because every automation task is this easy. It is because the problem was narrow, the desired behaviour was clear, and we did the small amount of research before asking the coding agent to write anything.

Tiny tools are underrated. They do one job, stay out of the way, and rarely ask you to create an account.

Problems Faced

None, which is unusual enough to feel suspicious.

The lack of drama mostly came from keeping the scope deliberately boring. We did not ask the tool to design a full recording workflow, manage profiles, detect monitor layouts, or become a miniature OBS competitor with opinions.

We wanted two state changes:

  • recording mode on
  • recording mode off

That meant the technical problem stayed easy to describe and easy to check. The code either changed the background, taskbar, and desktop icon visibility correctly, or it did not.

There is still a useful warning here. "No problems faced" does not mean "no thinking required". Small Windows automation tasks can go sideways if you guess at registry keys, rely on stale forum posts, or let an AI coding agent invent APIs with the confidence of a man explaining printer settings at a family gathering.

The smooth result came from giving the agent a well-researched target, not from asking it to magically understand our machine setup.

Techniques That Helped

We first looked up the specific Windows API calls and registry values needed for the behaviour we wanted. That gave us enough grounding to ask for a focused implementation rather than a vague "make my desktop video-ready" request.

For this kind of task, a good prompt is less about beautiful wording and more about clear boundaries. We gave Codex/GPT-5.5 the job in practical terms:

  • build a small Windows utility in C++
  • set or unset the desktop wallpaper
  • hide or show the taskbar
  • hide or show desktop icons
  • exit cleanly after applying the changes
  • include a simple batch file to compile the executables

That is the sort of request coding agents handle well. It has a small surface area, visible output, and a clear finish line.

Our previous experience also helped us avoid wasting time. We knew which answers online looked plausible, which Windows details needed checking, and which parts of the implementation should stay simple: judgement matters. AI can move quickly, but it still benefits from someone in the room who knows where the floor is.

The best use of the agent here was not "replace the developer". It was "turn a known, small technical approach into working code quickly". That distinction is important, especially for small businesses and solo operators who are trying to decide where AI tools genuinely save time.

Lessons Learned

Research first, prompt second.

That has been the pattern across most of our useful AI-assisted builds. The coding agent performs much better when we already understand the shape of the answer. We do not need every line of code planned in advance, but we do need enough context to spot nonsense, correct course, and verify the result.

This little Stream Deck project also reinforced a broader point: AI coding agents are excellent for small workflow tools when the job is specific and the success criteria are visible.

Good candidates look like this:

  • repetitive setup tasks
  • local utilities with limited scope
  • scripts that glue existing tools together
  • configuration switches
  • internal helpers where speed matters more than polish

We would be more cautious with anything that touches customer data, payments, permissions, or long-term maintainability. Those jobs can still benefit from AI, but they need more review, testing, and engineering discipline than a two-button desktop helper.

For this build, the win was simple: five minutes of work removed a recurring bit of friction from every future recording session. That is exactly where AI-assisted development can feel like magic.

If you are trying to work out where AI can sensibly help with your own website, tools, automations, or internal workflows, get in touch with Holeaf and we can help you shape the idea into something practical.