DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to route speech, chat and TTS to different AI servers with Esp32 Thinks

Point each of the three endpoints at a different OpenAI-compatible server using the custom preset.

Short answer: Clone the SDK at the pinned commit: git clone https://github.com/facebookincubator/muse-gadget-sdk.git then git -C muse-gadget-sdk checkout 812c46f; then clone and enter this repo: git clone https://github.com/raullenchai/esp32-thinks.git then cd esp32-thinks; Apply the patch with the custom preset: ./apply.sh ../muse-gadget-sdk --preset custom. All steps.

Credentials. Each endpoint needs its own API key, and every key is stored in the generated device config.

Who it is forA developer who wants cheaper transcription, a stronger chat model, or a local server for one task and not the others.

The problemMost voice products tie all three tasks to one vendor, so you cannot pick the best or cheapest option for each step.

The outcomeYour gadget uses one provider for transcription, another for chat and a third for speech, all set in one config file and a rebuild.

What you need first

  • A Seeed SenseCAP Watcher W1-B or another board the SDK supports
  • A Linux or macOS build host with ESP-IDF v6.0.x for esp32s3
  • Git and USB access to the device serial port
  • Wi-Fi credentials for the config step
  • API keys for the chosen provider (OpenAI, QuickSilver, or your own OpenAI-compatible server)
  • Docker or Node.js and optionally Tailscale for the openmuse agent

Steps

  1. Clone the SDK at the pinned commit: git clone https://github.com/facebookincubator/muse-gadget-sdk.git then git -C muse-gadget-sdk checkout 812c46f
  2. Clone and enter this repo: git clone https://github.com/raullenchai/esp32-thinks.git then cd esp32-thinks
  3. Apply the patch with the custom preset: ./apply.sh ../muse-gadget-sdk --preset custom (inferred, check the README)
  4. Enter a separate base URL and key for the speech, chat and TTS endpoints when apply asks for them
  5. Build and flash: ./build-and-flash.sh ../muse-gadget-sdk /dev/ttyACM1

Prompt for your agent

In the esp32-thinks repo, apply the custom preset with separate STT, chat and TTS endpoints for <provider-list>, then confirm the generated provider config lists three different base URLs. Verify by running a typed probe with python3 scripts/tts_probe.py /dev/ttyACM1 "hello?" and checking that a reply is produced.

Caveat. The README says each endpoint pins its own root CA and session tickets never cross origins, so mixed providers do not share a TLS session and first replies can be slower.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for raullenchai/esp32-thinks and "Route speech, chat and TTS to different AI servers"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer