Building a Voice Interface for OpenClaw Agents Using iPhone Shortcuts

A developer on r/openclaw shared their setup for creating a voice interface similar to Siri for OpenClaw agents. The system combines a local Python server with iPhone Shortcuts to enable voice interaction with OpenClaw agents.
System Architecture
The setup requires enabling OpenAI HTTP mode on the OpenClaw gateway and LAN. The core components are:
- Python Server: Originally a script that listened for keywords via microphone, performed speech-to-text, sent text to OpenClaw API, received responses, and performed text-to-speech using the user's voice. This was adapted into a basic server with an endpoint that can receive text from anywhere, send it to OpenClaw, and return the response.
- iPhone Shortcut: Handles speech-to-text and text-to-speech locally on the iPhone. The shortcut workflow includes:
- Dictate text (records voice to text)
- Get contents of URL: url/ask with dictated text in body (sends text to be routed to OpenClaw agent for response)
- Dictionary: Get value for reply in contents of URL (store response text)
- Speak: dictionary value (text-to-speech output)
Implementation Details
The developer runs this through WireGuard and operates entirely on LAN or through VPN when outside the local network. They emphasize a critical security consideration: "Be careful opening an endpoint for your OpenClaw agent to respond through. It can allow anyone to access your agent (computer). Use auth token."
The approach offloads speech processing to the iPhone while keeping the OpenClaw agent interaction centralized through the Python server endpoint. This allows for voice interaction with OpenClaw agents from anywhere while maintaining security through VPN and authentication tokens.
📖 Read the full source: r/openclaw
👀 See Also

Used OpenClaw to Fix Expense Tracking Script – Caught Subscription Logic I Missed
A developer used OpenClaw to fix their Python expense tracking script – it reclassified subscriptions by fixed amounts and billing intervals, and added amount tolerance for phone bills.

Fine-tuning llama3.2 3B for personalized health coaching using Apple Watch data and MLX
A developer fine-tuned llama3.2 3B on a Mac using MLX in 15 minutes to create a health coach LLM that analyzes personal Apple Health and Whoop data. The model provides specific health insights instead of generic advice, running locally with a 2GB memory footprint.

Building a Discord Cat Monitoring Bot with ESP32-S3, MiniClaw, and Multimodal AI
A developer built a Discord bot using an ESP32-S3 Sense with MiniClaw that captures images or audio of their cat, sends them to Zhipu AI's VLM-4V model, and returns natural language descriptions instead of generic motion alerts.

Building a Kid-Safe Coloring Book App with Claude as Pair Programmer
A developer used Claude as a pair programmer to build a SwiftUI coloring-book app with local image generation, parent locks, and no ads.