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

OpenClaw Agent Architecture Patterns: Multi-Agent Delegation, 5-Layer Memory, and Watchdog Systems
A developer shares practical OpenClaw architecture patterns after 7 weeks of use, including multi-agent delegation with specialized models, a 5-layer memory system with decay, and a watchdog system with three monitoring layers.

Porting Linux to FPGA Soft Cores Using Claude Code
A developer ported and booted a nommu Linux kernel (v6.6.83) on the NEORV32 soft core using an FPGA setup with specific hardware configurations and open-source patches.

OpenClaw Agent Automates Full Video Content Pipeline Using Remotion and Hyperframes
A user built an agent on OpenClaw that manages filesystems, generates images, animates them, researches stories, and produces complete videos using Remotion and Hyperframes — all automated and repeatable.

Developer builds complex system in 20 hours using Claude AI without writing code
A developer with 28 years of experience used Claude AI to build a nearly complete product in one week and 20 hours without writing any code, describing the AI as a "wingman" that helps identify hazards and blind spots during development.