Levelbrook ships in the open — hey-claude, an on-device macOS voice wake word that dispatches background coding agents, plus small, dependency-free, fully-tested Ruby gems. No framework wrappers, no toy code: a clean public API, a real test suite, and a written engineering deep-dive behind every one. The same standard goes into client code.
# Drive a Vercel AI SDK useChat frontend from Rails.
include ActionController::Live
def chat
AiStream::HEADERS.each { |k, v| response.headers[k] = v }
AiStream::Stream.new do |w|
w.start
w.text("Streaming straight from Ruby.")
w.finish
end.each { |frame| response.stream.write(frame) }
ensure
response.stream.close
end
hey-claude is an on-device voice wake word for macOS that dispatches background coding agents — fully local until the moment of dispatch.
Say "Hey Claude, <task>" and it spins up a Claude Code background agent (claude --bg) to do the work — and it drives any agent CLI, not just Claude. Everything up to dispatch runs on-device: openWakeWord listens always-on at ~0.1% CPU, an energy VAD catches the utterance, and MLX Whisper transcribes it on the Apple-Silicon GPU in under a second. Nothing leaves the machine until an agent is actually dispatched.
pipx install git+https://github.com/tachyurgy/hey-claude@v0.3.0# always-on, on-device — nothing leaves the Mac
# until an agent is actually dispatched.
wake = openWakeWord.listen() # ~0.1% CPU
speech = vad.capture(wake) # energy VAD
task = mlx_whisper.transcribe(speech) # Apple GPU, <1s
# "Hey Claude, <task>" -> background coding agent
dispatch("claude --bg", task)
Each gem started as a real need on real work, found nothing good in the ecosystem, and got extracted, tested, and published. Pure Ruby, no dependencies, MIT-licensed.
A pure-Ruby encoder for the Vercel AI SDK Data Stream Protocol — the Server-Sent-Events wire format behind useChat / useObject / useCompletion. The protocol is language-agnostic, with official backends for JavaScript and Python — but none for Ruby. Now a Rails or Rack app can drive an AI SDK frontend directly.
gem install ai_streamCompiles bash-style glob patterns — *, **, ?, […], {a,b}, {1..3}, and extglobs like @(a|b) — into reusable Ruby Regexps. The missing Ruby counterpart to JavaScript's picomatch / minimatch: match arbitrary strings — S3 keys, routes, log lines, branch names — not just files on disk.
gem install picoglobA faithful Ruby port of the fzy / fzf fuzzy-matching algorithm — returns both a relevance score and the matched character positions for highlighting. Exactly what a command palette, quick-open, autocomplete, or CLI picker needs, where Ruby's record-linkage fuzzy gems fall short.
gem install fzy_scoreA gem is a tiny artifact, but the discipline shows: a clean public API, edge cases handled (and tested), no dependency you have to vet, CI proving it across five Ruby versions, and a written explanation of the design decisions. That's the bar for a dependency — and it's the bar we hold client code to. If you want to see how Levelbrook thinks before you hire, the source and the test suites are right there.
The engineer who wrote these is the one who answers your brief. Staff augmentation and C2C contract work — recruiters, staffing partners, and direct clients welcome.