<?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: Divya</title>
    <description>The latest articles on DEV Community by Divya (@dverse).</description>
    <link>https://dev.to/dverse</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%2F3252328%2F3380392a-c0b4-43db-b441-ec051db8c603.jpg</url>
      <title>DEV Community: Divya</title>
      <link>https://dev.to/dverse</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/dverse"/>
    <language>en</language>
    <item>
      <title>wae : local-first, AI Flight Recorder &amp; Context Summarizer That Helps You Step Away</title>
      <dc:creator>Divya</dc:creator>
      <pubDate>Mon, 12 Oct 2026 06:51:42 +0000</pubDate>
      <link>https://dev.to/dverse/wae-human-agent-session-anchor-29oh</link>
      <guid>https://dev.to/dverse/wae-human-agent-session-anchor-29oh</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-week1-2026-10-05"&gt;Hacktoberfest Open-Source AI Challenge Week 1: Touch Grass&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Build locally. Capture automatically. Step away.&lt;/p&gt;

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

&lt;p&gt;&lt;em&gt;wae&lt;/em&gt;* [work attention equilibrium] is a zero-config, lightweight, port-free, human-agent session anchor. &lt;br&gt;
Securely captures the terminal footprints so you can stop watching the screen and trust the background execution.&lt;/p&gt;

&lt;p&gt;You run your agent through it (&lt;code&gt;wae claude&lt;/code&gt;, &lt;code&gt;wae bash&lt;/code&gt;, any command), and wae quietly records a session, strips ANSI noise and secrets, then a detached worker asks a &lt;strong&gt;local&lt;/strong&gt; Ollama AI model for a 3-bullet note and drops it into your vault/folder as &lt;strong&gt;3-bullet note&lt;/strong&gt;: what was done, what broke, and where things stand. The note lands as a plain Markdown file in any folder you choose.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How it gets you off the screen:&lt;/strong&gt; &lt;br&gt;
With the rise of dense, autonomous development agents like &lt;em&gt;Claude Code&lt;/em&gt;, &lt;em&gt;Aider&lt;/em&gt;, and custom multi-agent loops, developers are trapped watching walls of raw console noise, looping build spinners, and scrolling progress text streams, agent sessions pull you into babysitting a terminal because you're afraid you'll lose track of what happened. &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;em&gt;wae&lt;/em&gt; removes that reason. Start the session, go for a walk/touch grass or if got away from desk, and come back to three bullets instead of a thousand lines of scrollback. Everything runs on your machine, so there's nothing to keep checking. It let you trust, preserved context, and freedom to step away.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Who it's for:&lt;/strong&gt; developers who run coding agents and automated shell loops and want a record they can trust without a cloud service watching their terminal.&lt;/p&gt;
&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;Demo : &lt;a href="https://drive.google.com/drive/folders/1n4CGs5A6A-NNa1FV_FCunqp3oCL_VNWY?usp=drive_link" rel="noopener noreferrer"&gt;https://drive.google.com/drive/folders/1n4CGs5A6A-NNa1FV_FCunqp3oCL_VNWY?usp=drive_link&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;wae &lt;span class="nt"&gt;--set-output&lt;/span&gt; ~/notes     &lt;span class="c"&gt;# choose where summaries go (any folder)&lt;/span&gt;
wae bash                     &lt;span class="c"&gt;# record a session&lt;/span&gt;
&lt;span class="c"&gt;# ...work, then exit: the prompt returns instantly&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A few seconds later the note appears:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;&lt;span class="gh"&gt;# 🌿 wae session: `bash`&lt;/span&gt;
&lt;span class="gu"&gt;## Summary&lt;/span&gt;
&lt;span class="p"&gt;-&lt;/span&gt;  ACTIONS: ...
&lt;span class="p"&gt;-&lt;/span&gt;  ERRORS: ...
&lt;span class="p"&gt;-&lt;/span&gt;  STATE: ...
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



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

&lt;p&gt;GitHub: &lt;a href="https://github.com/divya-o/wae" rel="noopener noreferrer"&gt;https://github.com/divya-o/wae&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How I Built It
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Open-source AI at the core:&lt;/strong&gt; local inference through &lt;strong&gt;Ollama&lt;/strong&gt; with an open-weight model (Gemma by default, switchable with &lt;code&gt;WAE_MODEL&lt;/code&gt;). The model only ever talks to &lt;code&gt;127.0.0.1&lt;/code&gt;.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Capture:&lt;/strong&gt; &lt;code&gt;node-pty&lt;/code&gt; mirrors the session to your screen first, then buffers it. Keystrokes go straight to the pseudo-terminal with no middleware.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Sanitizing:&lt;/strong&gt; a regex filter removes ANSI graphics and redacts API keys and &lt;code&gt;password=&lt;/code&gt; strings before anything touches disk.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Storage:&lt;/strong&gt; SQLite in WAL mode, so a crash or hard kill doesn't lose what was captured.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Context protection:&lt;/strong&gt; raw logs never go to the model. A line-by-line scanner keeps only installs, file changes, git actions and errors (max 50 lines), so small local models don't choke.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Zero-lag handoff:&lt;/strong&gt; the summary runs in a detached &lt;code&gt;child_process.fork&lt;/code&gt; with &lt;code&gt;.unref()&lt;/code&gt;, so the terminal returns instantly.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Hygiene:&lt;/strong&gt; raw logs are deleted only after the note is safely written.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Optional durable mode (&lt;code&gt;wae --durable&lt;/code&gt;):&lt;/strong&gt; an open-source &lt;strong&gt;Temporal&lt;/strong&gt; workflow keyed by the session ID retries the summary if Ollama is unavailable, and never writes the same note twice. If Temporal isn't installed or running, wae falls back to the standard summarizer.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;MCP server (&lt;code&gt;wae --mcp&lt;/code&gt;):&lt;/strong&gt; talks over stdio only (no ports), so an agent can read its own recent summaries.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The default mode opens no ports and makes no network calls beyond localhost. Durable mode uses Temporal's local connection on &lt;code&gt;localhost:7233&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Pure JavaScript (ES Modules)&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Does Open Innovation Matter?
&lt;/h2&gt;

&lt;p&gt;Open innovation is the absolute foundation of wae[work attention equilibrium]. If we were trapped using closed, commercial cloud APIs, &lt;strong&gt;this product could not exist.&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Absolute Data Sovereignty:&lt;/strong&gt; High-stakes developers working on proprietary, sensitive codebases will immediately uninstall a tool if it streams their console logs, variables, and code states to an external corporate network. Open innovation allows us to bundle &lt;strong&gt;Gemma&lt;/strong&gt; locally, ensuring all intelligence happens entirely on the user's own silicon.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Protocol Interoperability:&lt;/strong&gt; Building on top of Anthropic's open-source &lt;strong&gt;Model Context Protocol (MCP)&lt;/strong&gt; standard via the official JavaScript SDK allowed us to build an out-of-process, stdio-bound JSON-RPC server. Advanced agents can programmatically query our tool over standard pipes natively without messy, brittle prompt-injection hacks.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

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

&lt;p&gt;We are officially entering [wae] into the following partner tracks based on our native architectural design integrations:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Best Use of Temporal:&lt;/strong&gt; Our plug-and-play &lt;strong&gt;Durable Mode (&lt;code&gt;wae --durable&lt;/code&gt;)&lt;/strong&gt; uses an offline Temporal server to wrap heavy local AI operations in fault-tolerant execution workflows, making the background summary generation completely immune to machine deep sleep cycles.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Best Use of Gemma:&lt;/strong&gt; Gemma 3, run locally through Ollama, is wae's default and only summarizer. &lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>devchallenge</category>
      <category>hf26challenge</category>
      <category>opensource</category>
      <category>tooling</category>
    </item>
  </channel>
</rss>
