r/OpenBot_ • • 3d ago

OpenBot on StreamDeck

UPDATE:

Hi everyone! A little update to my original post: I’ve decided to share OpenBot Deck v0.1.0 as a small seed that others can build on.

The source, setup instructions and documentation in English and Spanish are available here:

https://github.com/AlexUPV/openbot-deck

It’s released under the MIT license, so you’re welcome to fork it, improve it and take it in your own direction.

Please keep in mind that this is a very early, experimental community project. It currently targets macOS, may need adjustments for your setup, and isn’t an official OpenBot or Elgato plugin.

I’ve archived the original repository as a reference. I won’t be reviewing contributions or managing or maintaining other people’s forks; each continuation will be the responsibility of whoever chooses to maintain it.

I hope this gives someone a useful starting point. Thanks for the interest—I’d love to see what the community makes of it!
- - - - - -

If you ask politely, OpenBot can create the necessary plugin for StreamDeck. You’ll be able to toggle its connection (on/off), activate the dictation (mic), switch channels or select bot chat, check its status... and, of course, enjoy its adorable animated appearance.

Build an OpenBot companion for Stream Deck

Copy the prompt below into your programming agent running on the computer where OpenBot and Stream Deck are installed. This is a development request, not a ready-made plugin. It intentionally contains no account information, agent identities, machine-specific paths, or existing profile configuration.

Act as a senior software engineer. Build, install, and verify a small, maintainable local Stream Deck plugin that integrates with my own OpenBot installation. Discover my environment and available interfaces instead of assuming another person's setup. Use current official Elgato documentation and inspect the installed OpenBot version as needed. Do not stop at a proposal when implementation and installation are possible.

Discover before changing anything

  • Detect the operating system, Stream Deck software, device model, button layout, profiles, and available pages. Do not assume a particular button count or page number.
  • Discover my agents and open channels locally. Never hard-code another person's names, IDs, colors, paths, channels, device identifiers, or profile contents.
  • Ask which profile and pages I want to use if this is not already clear. Use one page for controls and channel shortcuts, and another for agents. Paginate if necessary; never silently omit agents.
  • Prefer supported APIs and an existing suitable plugin. If those cannot provide the requested behavior, implement the smallest reliable local integration. Do not claim that MCP can edit profiles or expose live states without verifying the actual tools available.
  • Save a restorable backup before modifying the profile. Preserve all unrelated pages, actions, navigation keys, hotkeys, and plugins. If editing profile files directly, close Stream Deck first, use a verified format, and reopen it afterward.

Features

Controls page

  1. Monitoring ON/OFF: an obvious switch that starts or stops state tracking. Save the choice across restarts. OFF must stop new status queries and animations, invalidate in-flight results, and mark agent states as paused. Do not continue polling invisibly. Chat-opening buttons and dictation should still work when monitoring is off.
  2. Channel shortcuts: one button for each selected OpenBot channel. Pressing it selects the existing channel in OpenBot without posting anything. Use the actual channel identity and current display name.
  3. Dictation in the active chat: use OpenBot's existing speech-to-text function. A press starts recording; another stops and transcribes into the active composer. Never press Send or discard an existing draft. Handle preparation, microphone permission, and transcription failures honestly. Do not substitute voice conversation or the operating system's dictation without explaining the difference.
  4. Preserve convenient navigation between the control and agent pages.

Agents page

  • One button per agent, using that agent's current name, color, and recognizable avatar silhouette.
  • Pressing a button opens that agent's existing chat. Verify the resulting selection, including agents inside collapsed sidebar sections. Do not send a message, create a chat, clear context, or change agent settings as part of navigation.
  • Show live states such as ready, working, queued, and waiting for input when the available data actually supports them. Never infer readiness from missing data or simply from elapsed time.
  • Use one thin colored status bar at the top. Do not add a redundant corner status dot. Keep names readable, but do not display READY, ACTIVE, or WORKING as text. Use a distinct warning or pause symbol for unavailable/offline or paused tracking, so failure cannot look like readiness.
  • Highlight the chat currently selected in OpenBot with a clearly thicker luminous border only, without an ACTIVE text label. Apply this to agents and channel buttons. Read the actual selection so that the highlight follows mouse navigation too, rather than only remembering the last Stream Deck button pressed.

Visual design

Make the buttons attractive and readable at the device's real key size:

  • Dark, restrained backgrounds, rounded frames, legible names, and a consistent layout.
  • Avatars should resemble OpenBot's plush/felt characters: soft fibers, volume, realistic shading, and textured eyes, preserving each agent's identity.
  • Prefer the same licensed avatar library and assets used by the installed application, when available. Preserve required license notices. Do not replace every avatar with the same generic mascot.
  • Add three small shaded bouncing balls below the agent's name while it is working, subtle eye movement, and a gentle blink while waiting. Ready avatars should stay still. Only animate visible active buttons; stop animation timers when unnecessary and when tracking is OFF.
  • Use green for ready, blue for working, amber for waiting for input, purple for queued work, gray for paused/offline, and red for unavailable data. Keep state colors separate from the active-chat border. Explain the legend in the plugin inspector or README; use the bouncing balls and warning/pause symbols as additional cues.
  • Use local, embedded assets at runtime; avoid network image requests and unnecessary image-generation services.

Reliable local implementation

  • Prefer a supported read-only source for agent state and the active UI selection. Discover it rather than inventing endpoints or reusing a credential from an unrelated integration.
  • If no supported source exposes the required state, a local read-only metadata adapter may be appropriate. Inspect the actual installed schema, query only identity/avatar and orchestration metadata, and document that this is version-dependent. Do not alter the OpenBot application, database, authentication configuration, or permissions to make the integration work.
  • If using SQLite, open it explicitly read-only, use bounded queries and existing indexes, and account for concurrent application writes. Do not scan message history every refresh. Never access message bodies, credentials, or account details when metadata is sufficient.
  • Include main chats and task/channel work when determining whether an agent is busy. Keep queued work separate from completed or failed deliveries. Match pending questions to their resolutions. Disclose any states that remain unavailable because OpenBot keeps them only in memory.
  • Use approximately a two-second refresh interval with no overlapping queries, bounded subprocess/network timeouts, and recovery after application restarts. Avoid stale results after OFF/ON transitions.
  • Use native accessibility or a supported app command for selecting chats and triggering dictation. Avoid fixed screen coordinates, clipboard replacement, or direct modifications to the composer. Support the actual interface language and verify actions. If accessibility or microphone permission is missing, identify the exact required permission and let me grant it; do not bypass operating-system protections.
  • Use the official Stream Deck SDK or its documented local WebSocket protocol. Register correctly, clean up invisible action instances, and send images only when needed. Validate the manifest and assets with Elgato's tools.
  • Keep runtime dependencies small. Build tools and image-processing dependencies should not be required by the running plugin unless necessary.
  • Let Stream Deck own the plugin process. Do not add a background login service, scheduled task, cron job, or remote server when a plugin-owned process is enough.
  • Keep logs bounded and free of secrets, chat text, and private payloads. Treat UI labels and database contents as untrusted data, escape SVG/HTML text, and never turn agent names into shell commands.

Verification

Perform proportional, meaningful checks before declaring completion:

  1. Validate the plugin manifest, image assets, and installation with official tools.
  2. Test independent states for multiple agents, queued work, task turns, pending/resolved input, completion, offline data, and read failures using an isolated fixture where possible.
  3. Test real plugin registration and events. Prove that OFF stops new queries and animations, survives restart, and resumes correctly on ON. Check that obsolete asynchronous results cannot re-enable tracking or overwrite newer state.
  4. Verify the control and agent pages in the actual Stream Deck application, with the original profile backed up and unrelated pages preserved.
  5. Test opening an agent and a channel, confirm the selected chat, and confirm that the active marker follows a selection made directly in OpenBot.
  6. Verify eye animation and plush rendering at real key size. Check readability, clipping, and malformed SVG values.
  7. Test the dictation control appropriately. Do not send any dictated message. State explicitly if actual microphone capture/transcription or a physical hardware press remains untested.

Do not treat a successful command exit, an accepted click, or a simulated test as proof that the physical device or application action worked. Distinguish built, installed, rendered, and verified behavior. If a necessary permission or unsupported interface genuinely blocks part of the task, complete the independent work, explain the exact remaining limitation, and avoid fake status indicators.

Deliverables

  • The installed plugin and configured pages, if the environment permits them.
  • Clean source, a reproducible build, dependency lockfile, required licenses, and useful tests.
  • A short README explaining architecture, supported operating systems and interface languages, the state source and its limitations, required permissions, ON/OFF behavior, update/recovery steps, and uninstall/restore instructions.
  • A concise completion report with what was verified and what remains unverified.
  • Keep reusable source separate from generated personal configuration. Any shareable package or documentation must exclude my names, IDs, avatars or screenshots tied to my account, device serials, local paths, profile backups, logs, database contents, credentials, and other private configuration. Use placeholders or a first-run discovery/configuration step instead.

Keep the solution simple and explicit. Add abstractions or dependencies only when they materially improve reliability or maintainability.

35 Upvotes

3 comments sorted by

1

u/Open_bot 2d ago

Broo, Love this setup, especially the live agent status on the keys. How’s it working day to day? Anything in OpenBot that would’ve made it easier to build or use?

1

u/Alex_RVillalobos 2d ago

Thank you. As you have seen, this development has been somewhat experimental. It would be great to have an official OpenBot add-on, complete with all features and updates. It would also be useful to include indicators for AI providers usage, live conversation (beyond just mic on/off), and other necessary shortcuts.

2

u/scizers 3d ago

Wow, very cool!