Unlike locomotion, which produces stable movement, navigation must be used to continuously localize the robot, interpret changing surroundings, select a route, and avoid obstacles to reach a goal safely.
Moving this capability to a new robot or scene can require new data, simulation assets, robot interfaces, training, diagnosis, and evaluation. Repeating that work for every robot-scene pair is expensive and difficult to reproduce.
COMPASS (Cross-Embodiment Mobility Policy via Residual RL and Skill Synthesis) is a unified framework that enables scalable cross-embodiment mobility using expert demonstrations from a single embodiment. It reuses navigation behavior from the pretrained NVIDIA X-Mobility policy. It trains a residual specialist, a reinforcement learning (RL) policy that corrects the base action for a selected robot and environment instead of relearning navigation from the beginning. Data from multiple specialists can later be distilled into a shared cross-embodiment policy.
Subagents are specialized assistants to delegate tasks to in Claude Code
Example is using a specialized agent to find which service runs refunds
Important strength of subagents is that they manage context window usage. Each runs in its own context window that keeps your main context window clean
Claude code has built-in subagents: general purpose, explore (fast search), plan (for research and analysis of code base before presenting a plan), but you can create your own with system prompts and tool access
Until recently, models capable of multi-step reasoning were too large to run locally on edge hardware. Developers building agents have had to route inference through a data center, adding network dependency, increasing costs, and exposing data that may need to stay on device.
This new generation of compact open models now delivers reasoning and agentic capabilities that required large data center systems only a few months ago, and NVIDIA Jetson can run them today.
This could power in-cab assistants, real-time anomaly detection, and robots working in harsh or remote environments. On-site experts could spend less time troubleshooting, and critical systems could keep running when connectivity is limited or unavailable.
These differences become especially important for long-running agents. For example, an agent can monitor a system using live sensor data and device logs, take approved corrective actions, verify the results against predefined tests, and escalate to an expert only when needed. All of this runs locally at the edge without an internet connection, keeping latency low.
Recognizes the likely bias in what GPT-4 and other LLMs have been trained on. To advance medicine, advocating with de-identification and patient consent to train on medical notes, etc. to build bigger samples
There needs to be regulatory body governing AI in medicine, eg. book names specific scenario what if bias or bad incentives caused AI to recommend a cheaper treatment vs more effective one
Making sure data trained on is representative of populations
Current FDA framework for SaMD is not applicable and needs new frameworks and certifications
AI Assistants for large elderly populations important use case in the future given population and demographic changes
Examples from Maine and lack of resources canary in coal mine for aging population low income with inadequate healthcare
Half of humanity doesn’t have access to adequate healthcare
Completed Welcome to AI Fluency for nonprofits for my volunteer work at as a Board Member and Alumni Engagement Committee Lead for the UC Davis Alumni Association Board of Directors
Delegation-Description-Discernment-Diligence loop in taking responsibility for AI outcomes – AI can’t be blamed like a consultant or employee
Taking Welcome to AI Fluency for nonprofits for my volunteer work at as a Board Member and Alumni Engagement Committee Lead for the UC Davis Alumni Association Board of Directors
Balancing efficiency with human touch -> human in the loop
Human is making decision + ensuring AI serves the mission + solutions align with values
Maintain relationships and real world impact
Need to be able to clearly explain what AI is used for and policies
Low-batch LLM decoding on edge platforms is known to be heavily bounded by DRAM bandwidth. Reducing the size of both weights and activations reduces the memory footprint of the kernels and therefore boosts decoding performance.
TensorRT Edge-LLM identifies reusable prompt prefixes and restores their cached attention KV pages. Qwen3.6 uses a hybrid model architecture, so the runtime also restores the recurrent state and partial KV-page state required to continue execution correctly. It then prefills only the new suffix of the conversation.
Instead of keeping only one predicted continuation, the runtime organizes high-probability candidates into a tree. The target model verifies the candidates in one forward pass, and the runtime accepts the matching path. If multiple candidates are accepted, the system advances generation by several tokens.
KV cache and recurrent-state reuse served approximately 96% of prompt tokens from hot cache, reducing repeated prefill computation across the full agent trajectory.
Taking Welcome to AI Fluency for nonprofits for my volunteer work at as a Board Member and Alumni Engagement Committee Lead for the UC Davis Alumni Association Board of Directors
Task Delegation – should AI do this?
Eg. e-mail monitoring system to draft replies or certain tasks like customer service needs human review and always address question directly
Content Messaging Analysis
Went through exercise in lesson with Claude on looking at alumni news content and identified content gaps on career advancement
Also had Claude built ideal press release outcomes the same way Amazon does to align teams for a mission
Did Mock Donor Analysis with Claude to identify potential segments not tapped for recurring gifts
Taking Welcome to AI Fluency for nonprofits for my volunteer work at as a Board Member and Alumni Engagement Committee Lead for the UC Davis Alumni Association Board of Directors
Figure out what tasks you can delegate by using an analysis with known results and trying it with AI. If AI can reproduce results, that use case can be done by AI
Sometimes you need to provide additional description
An area that could actually good for GPT-4 is replacing paperwork and summarization and adding in assists to doctors for more personalization per patient
Taking Welcome to AI Fluency for nonprofits for my volunteer work at as a Board Member and Alumni Engagement Committee Lead for the UC Davis Alumni Association Board of Directors
Look at T&Cs to see if AI companies train using your user data – different tools, different use
Safest AI doesn’t train on user data and has very short retention windows
You need ZDR for sensitive data
Don’t share what you can’t afford to use
You can delete conversations or request data deletion
Electrification and technology made work safer and less dangerous in the industrial revolution, but there were a lot of machine accidents and labor abuses in the transition -> parallels AI situation today
Central problem that GPT-4’s domain of expertise cannot be fully evaluated even though it can find diagnosis or solve problems that are rare -> best to treat it like a consultant
Hello World AI on the Edge. Ever since I left Taiwan, I’ve wanted to get my hands back on physical hardware. I did it by building a voice-controlled breathing coach on a Raspberry Pi that listens to how you are feeling, picks a breathing technique, and guides you through it with light and spoken coaching. It runs online with Gemini or fully offline with nothing leaving the device.
Here is why I built it and what I learned:
I worked in an office like this at a TV data company in Taiwan:
It changed my mind on how I look at software and actually see and touch the connection to actual hardware. I also had the opportunity to visit one of the biggest electronics manufacturing facilities in Europe and saw how most of the work is done by robotics and physical AI. Each warehouse was so huge it had two lanes, one for robots delivering equipment, and one for human supervisors of robots on bicycles. It rocked my world.
Now that I’m back in the US, I want to leverage that mindset and learn hands-on for what’s next. I’m looking to make a career pivot to working in digital health/sports/medtech or a “deeptech” area where my skills would be useful.
As part of that exploration, I wanted to build something end-to-end using health and wellness as a use case to accompany the learning I’ve been doing, such as reading books like Deep Medicine and The AI Revolution in Medicine: GPT-4 and Beyond.
Part of my purpose outside of my own curiosity and builder’s whimsy is to also show future collaborators that I’m not some MBA here to make slides. I’m willing to do the hard things I don’t know how to do, get humbled, and always maintain a beginner’s mindset.
I bought a Raspberry Pi 4 and the Sunfounder AI Fusion Lab Kit, an expansion board that sits on top of the Raspberry Pi to augment a general-purpose system into something that can sense, move, listen, speak, and interact with the physical world, in other words physical AI. I wanted to connect it to an LLM in the wild as well to see how that interaction works between local hardware and an external model. I created two paths, one that called Gemini and one that stayed local.
I first started by watching a few videos while I unboxed. There were definitely moments where I just stared at this and the schematic on the website and procrastinated because of mental intimidation and fear of failure.
I used AI tools to teach me what things were, in addition to reading tutorials. For example, asking Claude to ELI5: what is a potentiometer? What are resistors and what do they do?
I also wanted to explore TTS interactions and use the LEDs I was able to light up for a more real-world use case rather than classwork
I’ve become interested in digital health and medtech from recent life experiences:
I moved back to the US unexpectedly to deal with a family illness and saw firsthand how empowering patients to see their own medical imagery and diagnostics live on large monitors during exams and log into a patient portal that showed clinical notes, bloodwork readings, and other detailed information could convince reluctant patients to feel ready to make medical decisions.
Seeing my recovery score metrics on WHOOP from readings by a relatively simple PPG sensor combined with an LLM fitness prompter allowed me to be more compassionate toward myself, especially when healing from a bad back injury. I made more progress than I would have otherwise.
Another digital wellness tool I’ve been using is the Calm app for daily meditation. What I feel like I’m missing from that app experience is some sort of response to the meditation practice. It also felt like yet more screentime.
I thought I could build a simple breathwork pacer that called an LLM that would recommend a meditation based on what a user asked via voice, and then guided the user via voice and LED light that adjusted brightness to match their breathing.
From a privacy and safety guardrails perspective, I also provided two options for interaction with a tradeoff for robustness: one utilized Gemini for voice interaction and the other a local business rules interaction so no information left the hardware device for privacy. I also iterated the user flow a few times to manage the edge case of users being in distress, as a wellness meditation shouldn’t be used for cases of a panic attack, for example.
Ideally I’d run a local model for interaction, but I was concerned about straining the Raspberry Pi 4 hardware so I went with a rules-based approach for local-only, and Gemini externally for better interaction functionality. I also wanted to interact with an external API as part of the learning process.
I consider this first phase an almost happy path. As of this writing, I’m in my New York City home. I built this project in my home in LA (split my time). Given my busy work schedule over the next few weeks and the fact that bringing a lot of metal boards with wires in my carry-on would not result in the best time at the airport, I didn’t bring it with me.
When I revisit this project, I’d probably try to take a shot at making it a fully local model since the AI Fusion Board does come with local LLM models. I’d also eliminate the keyboard inputs needed at startup by having the user make selections through voice alone, since my goal was to reduce screen interaction.
Overall, a really enjoyable project that got me out of my comfort zone by interacting with hardware software layers while keeping user experience in mind.
The How I Built This below was developed with Claude:
I Built a Voice-Controlled Breathing Coach on a Raspberry Pi to Teach Me about Edge AI and Experiment with Digital Wellness
I went from not knowing what a breadboard was to a working voice-AI wellness device in a few focused sessions. The device listens to how you are feeling, picks a breathing technique, and coaches you through it with light and voice. In offline mode, nothing leaves the device. Building it taught me more about what “AI on the edge” actually means than any slide deck ever could.
What It Does
You tell the Breathwork Pacer how you’re feeling, for example, “Help me relax.” A language model figures out what you need and picks one of five breathing techniques: diaphragmatic, box, 4-7-8, lion’s breath, or breath counting. An LED turns the technique’s color and breathes on the exact timing while a speaker coaches each phase. The techniques are adapted from Calm’s guide to breathing exercises.
At startup you choose offline or online modes.
Offline runs entirely on the Raspberry Pi. Keyword matching picks the technique, Piper speaks the coaching, Vosk transcribes your voice, all local. Your words about your stress or anxiety never leave the device.
Online sends your words to Google’s Gemini, which understands natural language and writes coaching that responds to what you actually said. For example,”I need to relax” gets diaphragmatic breathing.
Iterations for Crisis Mode
If someone says something that signals genuine distress (panic, chest pain, thoughts of self-harm), the device stops. No breathing session. It points toward real human support.
During testing, I found the language model ignored the crisis instruction in its prompt and tried to start a session anyway. So I moved the check before the model call entirely, a hard-coded gate that fires regardless of what any AI decides to do.
Takeaways
Build bottom-up. I tested the LED alone, then voice alone, then the classifier alone, then the full system. When something broke, I knew which layer. The same discipline that found a backwards LED on a breadboard scaled to debugging a five-file voice-AI system.
The hardest part was not the AI. It was audio configuration on a Linux single-board computer. Getting the speaker and microphone routed correctly took more debugging than the language model, the prompt engineering, and the breathing animations combined. Anyone telling you edge AI is “just deploy a model” has never been hands on hardware.
Scope the AI to what it is actually good at. The model does one thing: interpret a natural-language request into one of five known options. It does not generate breathing patterns, give health advice, or free-associate. Everything downstream (the timing, the colors, the coaching words) is fixed in code, correct by construction. Using AI for what it is good at and not trusting it with what it is not is the most important design decision in this whole project.
Privacy is an architecture, not a policy page. Offline mode is not “we promise not to look at your data.” It is “the data physically cannot leave the device because there is no network call.” That is a different and much stronger statement, and it is the real argument for edge computing in health and wellness.
Five Python files on a Raspberry Pi 4 with a SunFounder Fusion HAT+.
Piper for text-to-speech
Vosk for speech-to-text
Google Gemini (free tier) for online language understanding
An RGB LED on three PWM (pulse-width modulation) channels for the breathing light pacer
Hardware Stack
The SunFounder Fusion HAT+ is an expansion board that sits on top of a Raspberry Pi and turns it into something that can sense, move, listen, speak, and interact with the physical world.
A bare Pi has no analog inputs, almost no hardware PWM, no microphone, and no speaker. The HAT adds all of those: Four 12-bit analog channels for reading sensors and knobs. Twelve PWM channels for controlling LED brightness and motor speed. Four motor driver ports. A built-in MEMS microphone and speaker over I2S digital audio.
Two processors work together. The Pi handles the heavy computing: Python, language models, speech recognition. A separate microcontroller on the HAT handles the real-time physical I/O that the Pi is not built for. They talk over I2C. When you write Pin(17), you are talking to the Pi directly. When you write PWM(5) or ADC(0), you are talking to the HAT’s microcontroller. Two chips, two numbering systems, one board.
The “fusion” in the name is the combination of AI computing with physical actuation in one platform. This breathing coach is a concrete example. The Pi runs voice recognition and a language model. The HAT’s PWM channels drive the LED. The HAT’s mic and speaker handle voice.
Built as a companion project to the AI on the Edge Course at toptechboy.com
Architecture flow
Spoken request, then microphone, then speech-to-text (Vosk, local), then crisis pre-check (hard-coded, before any model), then classifier (Gemini online or keyword offline), then the device announces the technique, then the LED breathes in the technique’s color on exact timing while the speaker coaches each phase, then asks if the user wants another session, then ends gracefully.
The crisis pre-check runs before the model is called, so safety holds regardless of mode, model behavior, or network state. After a session completes, the device asks whether the user wants another round. On a crisis detection, the device stops entirely.
The five files
File
Job
config.py
Every setting you might change
techniques.py
Five techniques as data, LED animation with cosine-eased breathing
speech.py
Voice in (Vosk) and voice out (Piper), via fusion_hat library
classify.py
Gemini online or keyword offline, crisis guardrail, fallback chain
Online: single anonymous sentence to Gemini, spoken disclosure at startup, nothing stored.
No logging: no session history, no transcripts, no user profile.
Crisis guardrail: does not log or report the event.
Build summary
mkdir -p ~/breathe && cd ~/breathe
python3 -m venv --system-site-packages venv
source venv/bin/activate
pip install requests
Put the five Python files into ~/breathe/. Test bottom-up:
python techniques.py # light cycles five colors
python speech.py # speaks, then captures your voice
python classify.py # prints keyword matches
python main.py # the whole thing, choose offline first
Online mode: get a free key at aistudio.google.com (do not enable billing), then export GEMINI_API_KEY="..." in ~/.bashrc
If audio does not work: sudo /opt/setup_fusion_hat_audio.sh then reboot. If colors are wrong: edit channel numbers in config.py
Troubleshooting
Symptom
Fix
fusion_hat import error
Recreate venv with –system-site-packages
Wrong LED colors
Edit RED_CH/GREEN_CH/BLUE_CH in config.py
No sound
sudo /opt/setup_fusion_hat_audio.sh then reboot
Mic captures nothing
Check SunFounder audio setup
Classifier always asks
Check GEMINI_API_KEY; try offline
Full Code
All files go in ~/breathe/.
config.py
"""Central settings for the breathing coach."""
RED_CH = 5; GREEN_CH = 6; BLUE_CH = 7; PWM_FREQ = 200
TTS_MODEL = "en_US-amy-low"; STT_LANGUAGE = "en-us"
GEMINI_MODEL = "gemini-2.5-flash"
CRISIS_FALLBACK = (
"This sounds like more than a breathing exercise can help with. "
"Please reach out to someone you trust, or a crisis line. "
"In the U S you can call or text 9 8 8.")
techniques.py
"""The breathing techniques as data, plus the RGB LED animation."""
from time import sleep
import math
from fusion_hat.pwm import PWM
from config import RED_CH, GREEN_CH, BLUE_CH, PWM_FREQ