惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

W
WeLiveSecurity
博客园 - 【当耐特】
Microsoft Azure Blog
Microsoft Azure Blog
WordPress大学
WordPress大学
Stack Overflow Blog
Stack Overflow Blog
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
IT之家
IT之家
Cloudbric
Cloudbric
The Register - Security
The Register - Security
小众软件
小众软件
PCI Perspectives
PCI Perspectives
G
Google Developers Blog
AI
AI
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Google DeepMind News
Google DeepMind News
Google DeepMind News
Google DeepMind News
宝玉的分享
宝玉的分享
Recent Commits to openclaw:main
Recent Commits to openclaw:main
量子位
TaoSecurity Blog
TaoSecurity Blog
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
F
Full Disclosure
N
Netflix TechBlog - Medium
博客园_首页
Last Week in AI
Last Week in AI
A
Arctic Wolf
B
Blog RSS Feed
J
Java Code Geeks
C
Cybersecurity and Infrastructure Security Agency CISA
I
InfoQ
aimingoo的专栏
aimingoo的专栏
云风的 BLOG
云风的 BLOG
NISL@THU
NISL@THU
MyScale Blog
MyScale Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Jina AI
Jina AI
有赞技术团队
有赞技术团队
S
Schneier on Security
L
Lohrmann on Cybersecurity
P
Privacy & Cybersecurity Law Blog
T
Threat Research - Cisco Blogs
P
Palo Alto Networks Blog
S
Security @ Cisco Blogs
Security Archives - TechRepublic
Security Archives - TechRepublic
Security Latest
Security Latest
Vercel News
Vercel News
博客园 - 司徒正美
Webroot Blog
Webroot Blog
Hacker News: Ask HN
Hacker News: Ask HN
A
About on SuperTechFans

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant Common SOC 2 Failures (Real World) Stop Vibe-Checking Your AI App: A Practical Guide to Evals How to Use SonarQube and SonarScanner Locally to Level Up Your Code Quality Your Next To-Do App Is Dead — I Replaced Mine with an OpenClaw AI Sign a Nostr event in 60 lines of Python using coincurve — no nostr-sdk, no nbxplorer, no rust toolchain ITGC Audit Explained Like You’re in Big 4 Patch Tuesday abril 2026: Microsoft parcha 163 vulnerabilidades y un zero-day en SharePoint Stop scraping everything: a better way to track competitor price changes Listing on MCPize + the Official MCP Registry while routing payments OUTSIDE the marketplace — how I kept 100% of my x402 revenue Building an AI-Powered Risk Intelligence System Using Serverless Architecture Why We Ripped Function Overloading Out of Our AI Toolchain Testing AI-Generated Code: How to Actually Know If It Works SaaS Churn Is Killing Your Business. Here Is What to Do About It (Without a Support Team) The Speed of AI Is No Longer Linear - And Self-Improving Models Are Why How to Implement RBAC for MCP Tools: A Practical Guide for Engineering Teams From Standard Quote to Persuasive Proposal: AI Automation for Arborists I built a CLI that scaffolds complete multi-tenant SaaS apps Axios CVE-2025–62718: The Silent SSRF Bug That Could Be Hiding in Your Node.js App Right Now The dashboard that ended our friendship Data Pipelines Explained Simply (and How to Build Them with Python) The Hidden Cost of AI Systems Nobody Talks About. undefined vs undeclared, and how typeof behaves Switching from file-based jobs to NATS/Kafka in Rust without changing code io_uring Adventures: Rust Servers That Love Syscalls Why Agentic AI is Killing the Traditional Database The POUR principles of web accessibility for developers and designers Quantum Neural Network 3D — A Deep Dive into Interactive WebGL Visualization How To Install Caveman In Codex On macOS And Windows Automation Pipeline Reliability: Why Your Workflow Breaks When Nobody Is Watching I Built an 'Open World' AI Coding Agent — It Works From ANY Folder From Freelancing to Product: A Tech Service Company's SaaS Transformation China's AI Giants: Adding Tencent Hunyuan & ByteDance Doubao to AI University (74 Providers) On the Vibe Coders and Their Lies clerk: Auto-Summarize Your Claude Code Sessions AI Weekly — 2026/04/10–04/17 | The Model Lockdown Is Here, but the Toolchain Is the Real Battleground AI 週報 — 2026/04/10–2026/04/17 模型封鎖潮來了,但工具鏈才是真戰場 Maybe this is how Open-Source apps are born... 🚀 Fine-Tune LLMs with LoRA and QLoRA: 2026 Guide tRPC v11 + Next.js App Router: End-to-End Type Safety Without the Boilerplate ShadCN UI in 2026: Why I Stopped Installing Component Libraries and Started Owning My Components SaaS Billing in React Server Components: Stripe + Supabase Without a Single `useEffect` Join our DEV Weekend Challenge — $1,000 in Prizes Across TEN winners! Submissions Due April 20 at 6:59 AM UTC. Implementing FSRS Spaced Repetition in Flutter + Supabase — Adding Memory Science to an AI Learning App "I Texted My Localhost From the Train — Claude Code Fixed the Bug Before I Got Home" I Built a Sales Prep AI and It Went Deeper Than Expected Design to Code #2: One JSON, Eleven Outputs Solving the 100M-Row Problem: A Summary Table Pattern for High-Volume Push Notification Logs Flutter Web With Wasm: What Actually Changes For Developers I Built 50 Royalty-Free Soundtracks for My Side Project in a Weekend Using AI Music Generation The Vibe Coding Security Checklist: 7 Things to Check Before You Ship Stop Letting Googlebot Guess Fix Your React App's SEO Right Desconstruindo o Streaming do LinkedIn: Como Criar um Engine de Extração de Vídeo de Alta Performance com HLS e FFmpeg (EDA Part-1) EDA (Exploratory Data Analysis) Explained With Real Life — Why Looking at Your Data Is the Most Important Step in Machine Learning Brand Relationship Management at Scale: Our 4-Touch Outreach System for 200+ Brands Why String.fromEnvironment() Might Return an Empty String in Dart JGuardrails 1.0.0 — Hardening Java LLM Apps Against Jailbreaks, Toxicity, and Prompt Injection Plan and Schedule a Full Week of Threads Content From One Claude Conversation Coding Cat Oran Ep3, Five Tables Changed Everything Updated: BFF Pattern I'm done watching freelancers get buried by 200 proposals. So I'm building the alternative. This is my first post BFS Algorithm in Java Step by Step Tutorial with Examples Tracking LLM Pricing Monthly: An Open Dataset for 22 AI Models How We Measure Content ROI on a Comparison Site: Revenue Attribution Without Perfect Data Introducing Nova AI Ops: The AI-Native Operating System for SRE Teams I built a free desktop video downloader for Windows — Grabbit How Talkie OCR Helps Vision-Impaired & Dyslexic Users Read the World Around Them VRCFaceTracking安装和iPhone面捕配置教程,有bug Even CrowdStrike Can't See Your Agents The Automation Gold Rush: What n8n Workflows and Claude Are Opening Up for Developers Right Now
Olumide: A self-hosted AI nurse for chronic disease, living in WhatsApp
Salim Ọlánre · 2026-04-27 · via DEV Community

This is a submission for the OpenClaw Challenge.

What I Built

It's a Tuesday morning in Abeokuta, Nigeria. Chief Bamidele Adeyemi is 62, retired, hypertensive, and type-2 diabetic. He's on amlodipine, metformin, and empagliflozin. He sees Dr. Chuks every three months for about four minutes. The other 3 months minus 4 minutes, he is on his own.

By 3pm he has eaten only tea and a biscuit since breakfast. He WhatsApps his AI: "I'm feeling small dizzy and shaky." Twenty seconds later, four things happen at once:

  • His chat replies with the mild-hypoglycemia protocol — "3 to 4 glucose tablets, half a glass of orange juice, or 3 biscuits, now. I'll wait. We'll re-test in 15."
  • The bedside Arduino on his nightstand goes solid red. The buzzer plays the alert pattern. The LCD reads LOW SUGAR / TAKE SUGAR NOW.
  • His daughter Funmi, a nurse in Manchester, gets a calm Telegram message: "FYI — your dad had a mild hypo (glucose 68, recovered). Second this month. I've drafted a note for Dr. Chuks. No action needed from you tonight."
  • Dr. Chuks's clinician dashboard gains a same-day note draft, ready to read at his next break.

That is Olumide.

Olumide is a self-hosted, multi-agent chronic-disease companion that lives in WhatsApp. It is built around real African use cases:

Use case 1 — Chief Bamidele in Abeokuta in SouthWest Nigeria. Hypertension affects ~46% of African adults and fewer than 7% are controlled. Most of the failure is not clinical, it is the silence between visits. Olumide fills that silence. It runs morning and evening check-ins, logs every BP reading and dose, recognises hypoglycemia in conversation, drives a bedside Arduino for adherence, escalates to family on the right channel with the right tone, and quietly builds the doctor's pre-visit pack so the next four minutes actually move things forward.

Use case 2 — Mama Aisha in Kano in the Northern part of Nigeria, and her daughter Halima in Toronto. Mama Aisha is 68, diabetic, lives alone since her husband passed. Halima sends money home and worries every day. With Olumide, Halima sets up the gateway on a small home server in the family's Kano house. Mama Aisha keeps using WhatsApp like she always has, voice notes in Hausa, photos of her glucometer. When her sugar spikes after a wedding meal, Olumide handles the coaching in Hausa. Halima gets a weekly summary on Sunday morning, in English, and a calm WhatsApp ping if something genuinely needs her. The diaspora has been sending money home for decades; Olumide is the first time they have been able to send actual care.

Both use cases run on the same code, the same gateway, the same Arduino. The only difference is the patient profile YAML.

Olumide is an open-source personal-health tool, not a medical device. It does not diagnose, does not prescribe, does not titrate. It tracks, reminds, surfaces patterns, and routes the patient back to their real doctor with three months of ground truth in their hand. The scope is in the system prompt, the refusal rules are in the skills, and the capability to "change a dose" simply does not exist in the toolset.

How I Used OpenClaw

OpenClaw is the entire runtime. I did not build a parallel platform — I composed Olumide out of OpenClaw primitives.

Code:

The multi-agent architecture

The core of the system is olumide/orchestrator/openclaw.py, which classifies the severity of every incoming signal with an LLM call, picks the right agent, and dispatches their JSON-emitted actions in parallel via asyncio.gather. Six agents are registered at startup:

Agent Role
PrimaryCareAgent Warm, patient-facing orchestrator. Greets, checks in, hands off.
ClinicalReasoningAgent Strict-JSON tier classifier (1–4) that emits actions[] for parallel dispatch. Triages symptoms, identifies red flags, calls protocols.
MedicationSafetyAgent Drug-interaction checks, refill timing, NAFDAC authenticity verification.
FamilyCircleAgent Composes consent-scoped updates per circle member and channel.
ClinicLiaisonAgent Builds pre-visit packs and drafts clinician notes for Dr. Chuks.
CrisisResponseAgent Tier-4 escalation: alerts, transport, family, on-call.

Each agent extends a thin OpenClaw base wrapper (olumide/agents/base.py) that handles the LLM call. The patient profile (config/patient_bamidele.yaml) is injected into every system prompt as ground truth being meds, conditions, doctor, circle, language, fasting status, so no agent ever has to "remember" who Bamidele is.

Tools the agents call

When the Clinical Reasoning Agent emits an action like {"type": "device_alert", "reason": "HYPO"}, the orchestrator dispatches it to the right tool:

  • olumide/tools/device.pyreminder / escalate / lcd / log_dose — talks to the Arduino bridge.
  • olumide/tools/clinician.pydraft_clinician_note writes to dashboard/clinician_notes.json, which Dr. Chuks's dashboard polls.
  • olumide/tools/circle.pynotify_circle_member formats the message per the recipient's consent scope and channel.
  • olumide/tools/communication.pysend_whatsapp for the live Meta Cloud API path.

All four fire in parallel. By the time Bamidele has finished reading his reply, the LED is already red, Funmi already has her message, and the dashboard already has the note.

Severity classification + override

The orchestrator's severity classifier is an LLM call, but I learned not to trust it for clinical numbers. So app.py has a small _vision_severity_override() that bypasses the LLM for unambiguous cases — glucose <70 or >250 forces URGENT, BP ≥180/120 forces CRISIS, and so on. This was one of the biggest reliability wins in the build: keeping the LLM for nuance and using deterministic rules for the things you cannot afford to be creative about.

The hardware as a tool node

The Arduino is a peripheral nerve, not the brain. The firmware (olumide-hardware/firmware/olumide_firmware.ino) speaks a small line-delimited JSON protocol over USB serial at 115200 baud:

// device → host
{"t":"EVT","e":"BTN_SHORT","ts":1745000000}
{"t":"EVT","e":"RFID","tag":"AMLO_5MG","ts":1745000100}
{"t":"TELE","temp":28.4,"hum":62,"lux":412,"ts":1745000060}

// host → device
{"t":"CMD","id":"c1","c":"REMIND","label":"Amlodipine 5mg","color":"GREEN","beep":"SHORT"}
{"t":"CMD","id":"c2","c":"ALERT","reason":"HYPO"}
{"t":"CMD","id":"c3","c":"AWAIT_ACK","timeout":60}

Enter fullscreen mode Exit fullscreen mode

The kit I had: Uno, 1602 LCD over I2C, RC522 RFID, RGB LED, active and passive buzzers, DHT11, DS1302 RTC, photoresistor, button, composes into a bedside device that:

  • Logs medication doses when an RFID-tagged pill bottle is tapped.
  • Surfaces reminders on the LCD with ambient colour-coded status on the RGB LED (green = on track, yellow = something due, red = attention).
  • Triggers a check-in (button short-press) or a panic event (long-press) that wakes the agent through POST /webhook/device.
  • Dims itself at night via the photoresistor — small touch, big quality-of-life difference for an elder.
  • Holds 24 hours of pre-loaded reminders in local cache so brief gateway/USB outages don't break adherence.

The host-side bridge for development is tests/fake_bridge.py — a Python simulator that renders the same JSON commands in colour in a terminal, so the demo can run with or without the physical board.

The wiring diagram, full pin map, protocol spec, and troubleshooting guide are all in the hardware repo.

The endpoints the demo touches

GET  /sim                     →  WhatsApp-style 3-panel demo console
POST /sim/message             →  send a message as Bamidele, get reply + agent trace
POST /sim/upload              →  send a photo (BP monitor, glucometer) for vision analysis
POST /sim/reset               →  wipe clinician notes + circle log between takes
GET  /dashboard/              →  Dr. Chuks's live clinician dashboard
GET  /webhook                 →  WhatsApp Cloud API verification
POST /webhook                 →  WhatsApp Cloud API messages (production path)
POST /webhook/device          →  Arduino RFID taps and button presses

Enter fullscreen mode Exit fullscreen mode

The /sim console is the heart of the demo. It shows three panels: Bamidele's chat (left), Funmi's family alerts (right), and the multi-agent log (bottom). Type a message, or use a quick-action button — and watch agent calls, device commands, family notifications, and clinician notes fan out in real time.

Image understanding for vitals

olumide/ingestion/vision.py analyses photos the patient sends; perhaps, a BP monitor reading, a glucometer screen and synthesises a structured patient message that the agents process as if Bamidele had typed the values. So when he photographs his Omron after morning measurement, the agent sees: "My BP just measured 138/86 with pulse 72." The _vision_to_message() function in app.py deliberately appends "This looks abnormal sir, what should I do?" when the values cross clinical thresholds, so the red-flag keyword matchers in the clinical agent fire reliably.

Demo

[Demo video — paste your YouTube/Loom link here]

Watch the video

The 4-minute flow:

  1. Morning routine. "Good morning Olumide" → warm greeting addressing him as "sir," anchored in his profile and yesterday's logbook entry.
  2. Vitals report. "BP 138/86, fasting glucose 122" → interpretation against his 14-day trend, with the small drift flagged but not alarmed.
  3. Symptom triage (the money shot). "I'm feeling small dizzy and shaky" → triage interview → "glucose 68" → Tier 3 hypoglycemia.

Within seconds, in parallel:

  • The chat replies with the mild_hypo_protocol.
  • The Arduino (or fake_bridge.py) prints CMD: ESCALATE, with red LED + alert buzzer + LCD lines LOW SUGAR / TAKE SUGAR NOW.
  • Funmi's panel gets a Tier 3 family alert.
  • The dashboard gains a same-day clinician note draft for Dr. Chuks.
  1. The reveal. Switch to the multi-agent log at the bottom of /sim. Show severity classification → agent selected → tier → actions dispatched → reasoning trace. Six agents, twelve tool calls, twenty seconds — all OpenClaw primitives, no custom orchestration runtime.

  2. The Mama Aisha use case. Swap config/patient_bamidele.yaml for a Mama Aisha profile. Same code, Hausa voice notes, daughter on Telegram instead of WhatsApp, weekly summary in English. Demonstrates the framework, not the persona.

Repos:

What I Learned

Right-sizing is harder than scaling up. The first version of this idea was a continental, HMO-funded chronic-disease platform. Compressing it down to one patient on one laptop with one Arduino on the bedside table was uncomfortable — and it turned out to be the version that actually demonstrates the OpenClaw thesis. The grand version is still possible later. The small one had to come first.

The skill prompts are where most of the engineering lives. I went in expecting to write clever code. I ended up writing careful prose. Getting clinical.md to gather the right symptom information, recognise the red flags, refuse to titrate doses, and emit clean JSON that the orchestrator can dispatch — that's a different muscle than coding, and it's the layer that determines whether the system is safe or dangerous.

Don't trust the LLM with numbers it can't argue with. The severity classifier is an LLM call, and it's right most of the time. But "most of the time" is not good enough when glucose 54 needs to be CRISIS and BP 178/118 needs to be URGENT every single time. _vision_severity_override() in app.py is twenty lines of if/else that prevents the most dangerous failure mode in the system. Some things should be deterministic.

Parallel action dispatch is the OpenClaw thesis in one mechanism. The moment I switched from sequential await calls to asyncio.gather() for the action list, the demo went from "feels like an app" to "feels alive." The buzzer beeps while the daughter's phone is buzzing while the dashboard is updating while the chat is replying. That simultaneity is what people remember.

Self-hosting is a feature, not a constraint. When the patient's data lives on their own laptop in plain files they can read with cat, an entire class of trust questions evaporates. The architecture itself becomes the privacy story. You can hand someone a tool that touches their health data because there's nowhere else for the data to go.

Hardware is a peripheral nerve, not the product. The Arduino sees opaque RFID UIDs and reports button presses. It doesn't know that 04A1B2C3D4 means "amlodipine 5mg" — the mapping lives in the gateway profile. That separation is what lets the firmware be MIT-licensed and forkable without inheriting any clinical-scope concerns.

Wire RC522 to 3.3V or it dies. Twice.

ClawCon Michigan

No.