Build an offline AI character that runs on a Raspberry Pi 5
With no hardware background, he built Hans, a local AI beaver: you type on a keyboard and Hans answers on a screen, powered by Google's Gemma 4 running on a Raspberry Pi 5. Claude Code wrote it.
Source
@vlady_nyz on X · 2026-10-20
Written in our own words. Credit to the original author. Link checked 2026-10-20.
What they did
With no hardware background, he built Hans, a local AI beaver: you type on a keyboard and Hans answers on a screen, powered by Google's Gemma 4 running on a Raspberry Pi 5. Claude Code wrote it.
Result (as claimed)
MVP working with no internet connection needed.
Tools they used
Cost: Claude Code: from $17/mo.
Set it up
Define the job
Say exactly what you want done and what the agent may and may not do on your behalf.
Share only what is needed
Give Claude Code the minimum files or access required. Avoid sharing passwords in chat when a safer login flow exists.
Review the plan
Ask the agent to show its plan or draft before it acts, and approve each step that has real consequences.
Check the result
Confirm the outcome yourself (order placed, request sent, document understood) and keep a record.
Copy the full setup prompt
Paste into your agent and it will walk you through the setup, asking before anything that sends, posts or spends.
You are helping me set up this AI use case end to end in Claude Code. Goal: Build an offline AI character that runs on a Raspberry Pi 5 What the original author did: With no hardware background, he built Hans, a local AI beaver: you type on a keyboard and Hans answers on a screen, powered by Google's Gemma 4 running on a Raspberry Pi 5. Claude Code wrote it. Reported result (as claimed by the author): MVP working with no internet connection needed. Source: https://x.com/vlady_nyz/status/2112615641702408508 Tools they used: Claude Code, Raspberry Pi, Gemma Category: Personal & life Please: 1. Ask me 3 short questions about my situation (accounts I have, budget, what I want the output to look like). 2. Propose a step-by-step plan using these tools or cheaper alternatives, with the time and cost of each step. Use official pricing pages; say "check pricing" if unsure. 3. Then do the setup with me one step at a time, waiting for my OK before anything that sends messages, posts publicly, spends money or deletes data. 4. Finish with a checklist to run it again next time.
You are helping me set up this AI use case end to end in Codex. Goal: Build an offline AI character that runs on a Raspberry Pi 5 What the original author did: With no hardware background, he built Hans, a local AI beaver: you type on a keyboard and Hans answers on a screen, powered by Google's Gemma 4 running on a Raspberry Pi 5. Claude Code wrote it. Reported result (as claimed by the author): MVP working with no internet connection needed. Source: https://x.com/vlady_nyz/status/2112615641702408508 Tools they used: Claude Code, Raspberry Pi, Gemma Category: Personal & life Please: 1. Ask me 3 short questions about my situation (accounts I have, budget, what I want the output to look like). 2. Propose a step-by-step plan using these tools or cheaper alternatives, with the time and cost of each step. Use official pricing pages; say "check pricing" if unsure. 3. Then do the setup with me one step at a time, waiting for my OK before anything that sends messages, posts publicly, spends money or deletes data. 4. Finish with a checklist to run it again next time.
You are helping me set up this AI use case end to end in Grok Bot. Goal: Build an offline AI character that runs on a Raspberry Pi 5 What the original author did: With no hardware background, he built Hans, a local AI beaver: you type on a keyboard and Hans answers on a screen, powered by Google's Gemma 4 running on a Raspberry Pi 5. Claude Code wrote it. Reported result (as claimed by the author): MVP working with no internet connection needed. Source: https://x.com/vlady_nyz/status/2112615641702408508 Tools they used: Claude Code, Raspberry Pi, Gemma Category: Personal & life Please: 1. Ask me 3 short questions about my situation (accounts I have, budget, what I want the output to look like). 2. Propose a step-by-step plan using these tools or cheaper alternatives, with the time and cost of each step. Use official pricing pages; say "check pricing" if unsure. 3. Then do the setup with me one step at a time, waiting for my OK before anything that sends messages, posts publicly, spends money or deletes data. 4. Finish with a checklist to run it again next time.
The Daily 5
Get five new use cases tomorrow morning
Free. Real sources. Unsubscribe any time.
Guides for this use case
How to vibe code an app with Claude Code · How to self-host AI agents on a Raspberry Pi, Mac mini or homelab · How to use AI agents for Linux, servers and homelabs · How to build hardware projects with AI agents
Related use cases
Turn an old CRT TV into your own cable network with a Raspberry Pi and Claude
A retro fan plugged a Raspberry Pi into an old TV and pointed Claude at it. It now runs his own cable network with internet streaming, live weather and movies from his NAS, plus a phone remote he built.
Run a local AI for your car on a Raspberry Pi
Ran a 35B Qwen model on a Pi with connectors to the car's OBD port and the maker's cloud service.
Do 30-second desk exercises while Claude Code works
A builder tired of staring at the spinner made Exercise Moose, a free Mac menu bar app where your own avatar walks you through short desk exercises during a Claude Code run, then tells you when the agent is done.
Replace your TV's ad-filled home screen with Claude Code in 15 minutes
He used Claude Code and the open TV cleanup scripts to back up his package list, disable ad and telemetry apps with pm disable-user and install a small launcher made for TVs with 1 GB of RAM. Nothing is rooted or uninstalled.