Levelbrook — senior software consulting across Rails, Python & Node · US-based · Pacific Time Booking new engagements · levelbrookteam@gmail.com
Open source · MIT

The fastest way to judge an engineer is to read what they shipped.

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.

hey-claude · macOS 3 Ruby gems · zero deps All MIT-licensed Tested · deep-dives
config/routes-ish — ai_stream in a Rails controller
# 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
Featured

Say it, and a coding agent goes to work.

hey-claude is an on-device voice wake word for macOS that dispatches background coding agents — fully local until the moment of dispatch.

macOS · Apple Silicon · MIT

hey-claude

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.

  • Fully local pipeline: openWakeWord → VAD → MLX Whisper → dispatch
  • Drives Claude Code or any agent CLI in the background
  • Five character voice soundpacks, configurable working directory, one-command custom packs
pipx install git+https://github.com/tachyurgy/hey-claude@v0.3.0
hey-claude — on-device until dispatch
# 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)
The gems

Three things Ruby was missing.

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.

AI

ai_stream

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.

  • Text, reasoning, tool calls, sources & data parts
  • Lazy, Rack-compatible streaming body
  • Provider-agnostic · zero dependencies · 31 tests
gem install ai_stream
{ }

picoglob

Compiles 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.

  • Globstar, brace ranges, extglobs, leading-dot rules
  • Compile once, match many
  • Pure Ruby · no dependencies · 42 tests
gem install picoglob
>_

fzy_score

A 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.

  • Score + match positions in one call
  • Same ranking as fzy / fzf · stable sort
  • Pure Ruby · no dependencies · 27 tests
gem install fzy_score
Why it matters

Small libraries, full standards.

A 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.

Available now

Need senior Ruby, Python, or Node help? Let's talk.

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.