<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Clatson</title>
    <description>The latest articles on DEV Community by Clatson (@clatson_ef1d15d037e707d80).</description>
    <link>https://dev.to/clatson_ef1d15d037e707d80</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4254408%2F1df38223-3454-46b2-9e33-d12fe28d34d3.png</url>
      <title>DEV Community: Clatson</title>
      <link>https://dev.to/clatson_ef1d15d037e707d80</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/clatson_ef1d15d037e707d80"/>
    <language>en</language>
    <item>
      <title>Attune: Your Claude Can't Tell How You Feel. Now It Can, Privately</title>
      <dc:creator>Clatson</dc:creator>
      <pubDate>Fri, 20 Nov 2026 20:10:50 +0000</pubDate>
      <link>https://dev.to/clatson_ef1d15d037e707d80/attune-your-claude-cant-tell-how-you-feel-now-it-can-privately-19oa</link>
      <guid>https://dev.to/clatson_ef1d15d037e707d80/attune-your-claude-cant-tell-how-you-feel-now-it-can-privately-19oa</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/presage-2026-11-04"&gt;Presage SmartSpectra SDK Challenge&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;AI assistants only get your words. They can't tell when you've gone quiet after a bad day or when your pulse is climbing during a tense conversation. People pick up on these cues all the time. AI assistants miss them.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Attune&lt;/strong&gt; gives an AI a sense of how you're doing, with your consent, using only a regular webcam. It runs Presage SmartSpectra on your own computer. It turns the live readings into short &lt;strong&gt;guidance for the AI&lt;/strong&gt;, never raw numbers. For example:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;"They seem a little tense. Slow down, check in tentatively and invite correction."&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;You can use Attune in two ways:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Built-in Companion.&lt;/strong&gt; A chat (and optional live voice) assistant inside the Attune Windows app. Its tone changes with how you seem to be doing.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A local MCP connector.&lt;/strong&gt; Claude Desktop, ChatGPT (through Secure MCP Tunnel) or any stdio MCP client can call &lt;code&gt;get_body_context&lt;/code&gt; before replying. Each app only gets the "lenses" you approve, such as companion, yoga/breathwork or casual chat.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fv8jfh8y7q4r88dq5f564.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fv8jfh8y7q4r88dq5f564.png" alt="Vital signs in, guidance out. All inside a private sandbox." width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The video covers:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Consent first:&lt;/strong&gt; camera sensing, AI sharing and memory are separate opt-ins.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Companion:&lt;/strong&gt; the user says they made a mistake at work. Attune picks up a quieter, lower-energy state and the reply becomes gentler. The panel above the chat shows the exact guidance the AI received for that turn.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Claude Desktop over MCP:&lt;/strong&gt; Claude asks Attune for body context, the user approves the purpose, and Claude reads the guidance before it answers.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Audit trail:&lt;/strong&gt; every read is logged with the app, lens, time and state, and never the numbers.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Code
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;GitHub Repository:&lt;/strong&gt; &lt;a href="https://github.com/clatsonhacks/attune" rel="noopener noreferrer"&gt;clatsonhacks/attune&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Setup (Windows, Node.js 26):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/clatsonhacks/attune.git
&lt;span class="nb"&gt;cd&lt;/span&gt; attune
npm ci
npm start
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;On first launch, &lt;strong&gt;API Keys&lt;/strong&gt; lets you add a Presage SmartSpectra key (camera sensing), a Groq key (built-in chat) and an OpenAI key (live voice). Every key is optional and stored encrypted for your Windows user.&lt;/p&gt;

&lt;p&gt;Want to try it without keys or a camera? Run:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npm run desktop:demo
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The README also covers the web-only service, the MCP connector and building the Windows installer.&lt;/p&gt;

&lt;h2&gt;
  
  
  How It Responds to Human Signals
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Signals used:&lt;/strong&gt; pulse rate, HRV, breathing rate, facial expression, talking detection and blinking, plus Presage &lt;strong&gt;Insights&lt;/strong&gt; check-ins.&lt;/p&gt;

&lt;h3&gt;
  
  
  Integration
&lt;/h3&gt;

&lt;p&gt;&lt;code&gt;@smartspectra/node-sdk&lt;/code&gt; runs in &lt;strong&gt;its own worker process&lt;/strong&gt; (&lt;code&gt;src/adapter/worker.js&lt;/code&gt;), so the camera and native runtime are isolated from the rest of the app.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;src/adapter/smartspectra.js&lt;/code&gt; creates a &lt;code&gt;SmartSpectraSDK&lt;/code&gt; on the default webcam with &lt;code&gt;enableTelemetry: false&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;It requests the cardio, breathing and face metric sets and maps each decoded &lt;code&gt;Metrics&lt;/code&gt; packet to a simple sample shape (&lt;code&gt;cardio.pulseRate&lt;/code&gt;, &lt;code&gt;cardio.hrv&lt;/code&gt;, &lt;code&gt;breathing.rate&lt;/code&gt;, &lt;code&gt;face.expression&lt;/code&gt;, &lt;code&gt;face.talking&lt;/code&gt;, with confidence normalized to 0–1).&lt;/p&gt;

&lt;p&gt;If your chest isn't in view for 20 seconds, it falls back to face-only metrics.&lt;/p&gt;

&lt;h3&gt;
  
  
  From Readings to Behavior
&lt;/h3&gt;

&lt;p&gt;The interpretation logic lives in &lt;code&gt;src/interpreter.js&lt;/code&gt;.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Personal baseline.&lt;/strong&gt; The first ~20 seconds calibrate &lt;em&gt;your&lt;/em&gt; calm baseline. Signals are judged against your own baseline, not population averages, which also handles webcam noise.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Sustained and hysteresis.&lt;/strong&gt; A rise of about 6 BPM over baseline has to last 8 seconds before Attune nudges the AI. It has to settle for 6 seconds before it clears, so the AI doesn't keep flip-flopping.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Confidence gating.&lt;/strong&gt; Below 0.4 confidence the state becomes &lt;code&gt;unclear&lt;/code&gt;, and the AI is told to say nothing about your body.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Corrections.&lt;/strong&gt; If you say "no, I'm fine", &lt;code&gt;record_correction&lt;/code&gt; raises your threshold, up to a cap. Attune learns how &lt;em&gt;you&lt;/em&gt; show stress.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Lenses.&lt;/strong&gt; The same reading becomes different guidance for different purposes. In yoga it's &lt;em&gt;"Gently invite a longer exhale"&lt;/em&gt;, and in casual chat it's &lt;em&gt;"Keep it light and follow their lead."&lt;/em&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Insights.&lt;/strong&gt; Presage check-ins arrive automatically, or on request with &lt;em&gt;Ask for a check-in&lt;/em&gt;, limited to once every 30 seconds. You see the full text. The AI gets a short note with numbers and medical wording removed.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  What the AI Receives
&lt;/h3&gt;

&lt;p&gt;The AI receives a structured context object:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"state"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"tense"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"say"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"directive"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Slow down and check in tentatively."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"suggestedUtterance"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Would you like to take a moment?"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"confidence"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mf"&gt;0.85&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This context is refreshed every turn and never blocks on the camera.&lt;/p&gt;

&lt;p&gt;In live voice (OpenAI Realtime over WebRTC), the current pacing cue goes over the call's data channel, so the spoken reply adjusts mid-conversation too.&lt;/p&gt;

&lt;h2&gt;
  
  
  Prize Categories
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Best Thoughtful Real-World Use&lt;/strong&gt;, and also &lt;strong&gt;Most Creative or Delightful Use&lt;/strong&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  Real-World Need
&lt;/h3&gt;

&lt;p&gt;More and more people talk to AI about stressful things: work mistakes, anxiety, loneliness. An assistant that can't notice when someone is overwhelmed answers everyone in the same upbeat tone.&lt;/p&gt;

&lt;p&gt;Attune is for anyone who uses an AI companion, and for developers who want their assistant to be more emotionally aware without building sensing themselves.&lt;/p&gt;

&lt;p&gt;It's designed to be usable:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;No wearable, just the webcam already on your laptop.&lt;/li&gt;
&lt;li&gt;Consent is asked once in plain language.&lt;/li&gt;
&lt;li&gt;A visible &lt;em&gt;Camera on&lt;/em&gt; badge shows when sensing runs.&lt;/li&gt;
&lt;li&gt;On-screen tips help with positioning.&lt;/li&gt;
&lt;li&gt;Pause/forget is one click away.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The AI is told to check in &lt;em&gt;tentatively&lt;/em&gt; and ask for correction, never to state conclusions about your body.&lt;/p&gt;

&lt;h3&gt;
  
  
  What's Original
&lt;/h3&gt;

&lt;p&gt;Attune isn't another vitals dashboard.&lt;/p&gt;

&lt;p&gt;It's a &lt;strong&gt;body-sense layer for any AI&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Because it's an MCP server, Claude, ChatGPT or your own agent can become more attentive without touching the camera, the SDK or a single heartbeat value.&lt;/p&gt;

&lt;h2&gt;
  
  
  Consent and Data Handling
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Explicit, Layered Opt-In
&lt;/h3&gt;

&lt;p&gt;Camera sensing (with the Presage disclosure), &lt;strong&gt;AI sharing&lt;/strong&gt; and &lt;strong&gt;memory&lt;/strong&gt; are three separate choices.&lt;/p&gt;

&lt;p&gt;Nothing starts until you agree.&lt;/p&gt;

&lt;p&gt;The camera starts only when you turn it on, start a chat, or when an app you approved asks.&lt;/p&gt;

&lt;p&gt;It turns off after 5 minutes idle.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Pause&lt;/em&gt; stays on until you resume.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Forget camera permission&lt;/em&gt; deletes the saved consent.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;No AI can grant a permission&lt;/strong&gt;, and the connector has no consent, approval or forget tools.&lt;/p&gt;

&lt;h3&gt;
  
  
  Per-App, Per-Purpose Approvals
&lt;/h3&gt;

&lt;p&gt;Each connected app reads only through the lenses you allow in &lt;strong&gt;Attune → Connectors&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;ChatGPT gets nothing until you approve it.&lt;/p&gt;

&lt;p&gt;Unapproved requests never start the camera.&lt;/p&gt;

&lt;h3&gt;
  
  
  What Leaves Your Device
&lt;/h3&gt;

&lt;p&gt;Camera frames go only to the SmartSpectra SDK in a local worker process.&lt;/p&gt;

&lt;p&gt;The SDK talks to Presage services for sign-in and Insights, which can include physiological measurements, and this is disclosed in the consent dialog.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;SDK telemetry is turned off.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;AI apps receive only predefined guidance and state.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Pulse, HRV, breathing values, raw Insight text and video never go to an AI.&lt;/strong&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Optional AI Services
&lt;/h3&gt;

&lt;p&gt;Built-in chat messages (last 20 turns, kept in memory only) go to Groq when you add a Groq key.&lt;/p&gt;

&lt;p&gt;Live voice streams microphone audio directly to OpenAI over WebRTC with your own key, only while a call is active.&lt;/p&gt;

&lt;p&gt;Claude and ChatGPT use their own accounts.&lt;/p&gt;

&lt;h3&gt;
  
  
  Storage and Retention
&lt;/h3&gt;

&lt;p&gt;Consent, approvals, an activity log (app, lens, time, state, never numbers) and optional number-free memory notes are stored locally in &lt;code&gt;%APPDATA%\Attune&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;You can clear the log and memory from the app.&lt;/p&gt;

&lt;p&gt;API keys are encrypted for your Windows user.&lt;/p&gt;

&lt;p&gt;The local API accepts only &lt;code&gt;127.0.0.1&lt;/code&gt; with a random token and rejects browser-origin requests.&lt;/p&gt;

&lt;h3&gt;
  
  
  Not Medical
&lt;/h3&gt;

&lt;p&gt;Attune makes no diagnosis or treatment claims and isn't for medical decisions.&lt;/p&gt;

&lt;p&gt;It only shapes conversational tone.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;No covert monitoring: sensing is always visible and in your control.&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>presagechallenge</category>
    </item>
  </channel>
</rss>
