Skip to content

Commit 0be4693

Browse files
alabulei1claude
andcommitted
Add blog: My Coding Assistant Lives in a Box Now
Story-driven blog post about using EchoKit as a voice remote control for Claude Code through echokit_pty. Key highlights: - Personal narrative: 2 AM coding session sparked the idea - echokit_pty explained as "the missing piece" that makes it possible - Day-in-the-life examples showing real usage - Story-focused tone, not technical documentation - Emphasizes remote control over voice typing - Open source and extensible platform 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 3d3cced commit 0be4693

1 file changed

Lines changed: 199 additions & 0 deletions

File tree

Lines changed: 199 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,199 @@
1+
---
2+
slug: echokit-remote-control-claude-code
3+
title: "My Coding Assistant Lives in a Box Now | EchoKit"
4+
tags: [echokit, claude-code, remote-control, voice-ai]
5+
---
6+
7+
It was 2 AM. I was deep in a coding session, fingers flying across the keyboard, completely in the zone. Then I hit a bug. I needed to run the tests.
8+
9+
Which meant breaking my flow. Switching windows. Typing the command. Waiting. Switching back.
10+
11+
I thought: *What if I could just say it?*
12+
13+
## A Small Device, Big Idea
14+
15+
That moment sparked an experiment. What if my AI coding assistant wasn't trapped in a terminal window, but lived in a small device on my desk? What if I could speak to it like a pair programmer sitting next to me?
16+
17+
Not voice typing—I hate that. But voice *commands*. Like having a junior developer who actually does things, not just suggests them.
18+
19+
So I built it.
20+
21+
Today, I'm excited to share how EchoKit became a voice remote control for Claude Code. And why this changes everything about how I work.
22+
23+
## It Started with a Problem
24+
25+
Claude Code is amazing. It writes code, fixes bugs, runs tests, explains errors. But it lives in my terminal. To use it, I have to:
26+
- Stop typing
27+
- Switch to the terminal window
28+
- Type my question or command
29+
- Wait for the response
30+
- Switch back to my code
31+
32+
Every time, it breaks my flow. It's a small friction, but multiplied by hundreds of times a day, it adds up.
33+
34+
I wanted something different. Something that felt like... magic.
35+
36+
## The Missing Piece
37+
38+
I had EchoKit—my open-source voice AI device sitting on my desk. It can hear me, think, and respond. But it couldn't control my code editor.
39+
40+
I needed a bridge.
41+
42+
That bridge is called [echokit_pty](https://github.com/second-state/echokit_pty).
43+
44+
**What is echokit_pty?** It's the web version of Claude Code, but with a superpower: a WebSocket interface.
45+
46+
See, Claude Code was designed as a CLI tool. You run it in your terminal, type commands, get responses. That's great for terminal workflows. But for voice control? For remote access? For building *anything* on top of Claude Code?
47+
48+
You need something more.
49+
50+
echokit_pty is that "more."
51+
52+
## How echokit_pty Changed Everything
53+
54+
Here's what echokit_pty does: it takes Claude Code and exposes it through a WebSocket server. Suddenly, Claude Code isn't just a terminal app—it's a service that *anything* can talk to.
55+
56+
My EchoKit device can send commands. A web app could send commands. A mobile app. A game controller. Anything that speaks WebSocket.
57+
58+
But here's the beautiful part: it's still Claude Code. All the capabilities, all the intelligence, everything that makes Claude Code amazing—just accessible through a clean, simple interface.
59+
60+
## The Setup: Three Pieces, One Experience
61+
62+
Now my coding setup looks like this:
63+
64+
**1. echokit_pty runs on my machine** — Starts a WebSocket server (ws://localhost:3000/ws)
65+
66+
**2. EchoKit Server connects to it** — Handles speech recognition and text-to-speech
67+
68+
**3. EchoKit Device sits on my desk** — Listens for my voice, speaks back responses
69+
70+
```
71+
My Voice: "Run the tests"
72+
73+
EchoKit Device (hears me)
74+
75+
EchoKit Server (transcribes speech)
76+
77+
echokit_pty (WebSocket connection)
78+
79+
Claude Code (executes the command)
80+
81+
Tests run, results stream back
82+
83+
EchoKit speaks: "142 tests passed, 3 failed"
84+
```
85+
86+
All while I keep typing. No window switching. No flow breaking.
87+
88+
## A Day in the Life
89+
90+
Let me show you what this actually feels like.
91+
92+
**Morning:**
93+
I sit down with coffee. "EchoKit, run the full test suite." I start reading emails while tests run in the background. Five minutes later: "Tests complete. Two failures in the auth module."
94+
95+
**Afternoon:**
96+
I'm stuck on a bug. "EchoKit, why is the login failing?" It explains the issue while I'm looking at the code. "Can you fix it?" "Done. Want me to run the tests?" "Yes."
97+
98+
**Evening:**
99+
I'm tired, don't want to type. "EchoKit, create a new feature branch called dark-mode." "Deploy staging." "Check if the build passed." Each command happens while I'm leaning back in my chair.
100+
101+
It feels like having a coding companion. Not a tool—a teammate.
102+
103+
## Why This Matters
104+
105+
I know what you're thinking: *Voice control for coding? Sounds weird.*
106+
107+
And you're right—it *is* weird at first. But here's what I discovered:
108+
109+
**It's not about voice typing.** I'm not dictating code. That would be terrible.
110+
111+
**It's about remote control.** Think of it like a TV remote. You don't dictate to your TV—you press buttons to make things happen. EchoKit is the same, but with voice commands instead of buttons.
112+
113+
**The magic is in the physical device.** Having something on my desk that's always there, always listening. No app to open. No window to find. Just speak.
114+
115+
**It keeps me in the flow.** That's the biggest one. I can stay focused on coding while EchoKit handles tasks in the background. It's like having a second pair of hands.
116+
117+
## The Tech Behind the Magic
118+
119+
If you're curious how echokit_pty works technically, here's the short version:
120+
121+
**PTY** stands for "pseudo-terminal"—a Unix concept that lets a program control a terminal as if a user were typing. echokit_pty uses this to create a bridge between:
122+
- **WebSocket clients** → send JSON commands
123+
- **Claude Code CLI** → executes the commands
124+
- **Response streaming** → sends results back
125+
126+
It's built with Rust, runs locally, and is completely open source. No cloud required. Your code never leaves your machine.
127+
128+
But here's what I care about: it just works.
129+
130+
## What You Can Do
131+
132+
So what does this actually look like in practice?
133+
134+
**"Create a web page for me"**
135+
→ Claude Code generates the HTML, EchoKit confirms when done
136+
137+
**"Run the tests"**
138+
→ Tests execute, EchoKit tells me the results
139+
140+
**"Explain this error"**
141+
→ Claude Code analyzes, EchoKit reads the explanation
142+
143+
**"Deploy to staging"**
144+
→ Deployment triggers, EchoKit confirms when complete
145+
146+
**"Create a new branch"**
147+
→ Git command executes, no typing required
148+
149+
I can speak from across the room. Keep my hands on the keyboard while EchoKit works in the background. Get voice feedback without breaking my flow.
150+
151+
## Building Your Own
152+
153+
This is the part I'm most excited about: everything here is open source.
154+
155+
- **EchoKit** — Open hardware, Rust firmware, fully customizable
156+
- **echokit_pty** — Open source WebSocket interface for Claude Code
157+
- **EchoKit Server** — Rust-based voice AI server
158+
159+
You can build this yourself. Or modify it. Or extend it.
160+
161+
Want to add custom voice commands? Go ahead.
162+
Want to integrate with other tools? echokit_pty makes it possible.
163+
Want to build a completely different interface? The WebSocket is waiting.
164+
165+
## The Future
166+
167+
This experiment showed me something: AI coding assistants shouldn't be trapped in chat windows.
168+
169+
They should be everywhere we need them. In physical devices. In web apps. In tools we build ourselves.
170+
171+
echokit_pty is the bridge that makes this possible. And EchoKit is just the beginning.
172+
173+
Imagine what else we could build:
174+
- Voice-controlled debugging from your phone
175+
- A web app that lets you pair program with Claude from anywhere
176+
- Mobile apps that control your coding environment
177+
- Games that teach you to code
178+
179+
All built on top of echokit_pty.
180+
181+
## Try It Yourself
182+
183+
Ready to turn your AI assistant into a physical device?
184+
185+
**Full Documentation:** [Remote Control Claude Code with Your Voice](https://echokit.dev/docs/use-cases/claude-code)
186+
187+
**EchoKit Hardware:**
188+
- [EchoKit Box](https://echokit.dev/echokit_box.html) — Pre-assembled device
189+
- [EchoKit DIY Kit](https://echokit.dev/echokit_diy.html) — Build it yourself
190+
191+
**echokit_pty Repository:** [github.com/second-state/echokit_pty](https://github.com/second-state/echokit_pty)
192+
193+
**Join the Community:** [EchoKit Discord](https://discord.gg/Fwe3zsT5g3)
194+
195+
Build something cool. Then tell me about it.
196+
197+
---
198+
199+
*PS: The first time I heard EchoKit say "Tests passed" while I was making coffee? That's when I knew this wasn't just a cool experiment. This was how I wanted to work from now on.*

0 commit comments

Comments
 (0)