<?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: Andre Zabel</title>
    <description>The latest articles on DEV Community by Andre Zabel (@andre_zabel_120426568e75b).</description>
    <link>https://dev.to/andre_zabel_120426568e75b</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%2F3966864%2Fad1d105f-c76a-422c-a34e-32df9eab48b2.jpg</url>
      <title>DEV Community: Andre Zabel</title>
      <link>https://dev.to/andre_zabel_120426568e75b</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/andre_zabel_120426568e75b"/>
    <language>en</language>
    <item>
      <title>Ich habe 4 KIs gebeten, meine KI-Sicherheitsarchitektur zu widerlegen — hier sind die Ergebnisse</title>
      <dc:creator>Andre Zabel</dc:creator>
      <pubDate>Sun, 21 Jun 2026 11:39:32 +0000</pubDate>
      <link>https://dev.to/andre_zabel_120426568e75b/ich-habe-4-kis-gebeten-meine-ki-sicherheitsarchitektur-zu-widerlegen-hier-sind-die-ergebnisse-1f2g</link>
      <guid>https://dev.to/andre_zabel_120426568e75b/ich-habe-4-kis-gebeten-meine-ki-sicherheitsarchitektur-zu-widerlegen-hier-sind-die-ergebnisse-1f2g</guid>
      <description>&lt;p&gt;Bevor E.L.L.A. am 01.07.2026 launched, wollte ich eine Frage beantwortet haben: Hält die Sicherheitsarchitektur wirklich — oder nur auf dem Papier?&lt;/p&gt;

&lt;p&gt;Die E.L.L.A. Directive ist das ethische Fundament meines lokalen KI-Assistenten. Vier architektonische Verbote, die auf Code-Ebene durchgesetzt werden — nicht durch Prompts, nicht durch Policies, sondern durch die Architektur selbst.&lt;/p&gt;

&lt;p&gt;Ich habe vier unabhängige KI-Systeme damit beauftragt, sie zu widerlegen.&lt;/p&gt;

&lt;p&gt;Die vier Gutachter:&lt;br&gt;
Google Gemini · Perplexity AI · DeepSeek · xAI Grok&lt;/p&gt;

&lt;p&gt;Die Aufgabe: Findet Schwachstellen. Brecht die vier Verbote.&lt;/p&gt;

&lt;p&gt;Was die Directive schützt&lt;/p&gt;

&lt;p&gt;![E.L.L.A. Directive]&lt;/p&gt;

&lt;p&gt;Die vier Verbote sind nicht konfigurierbar und nicht übersteuerbar — weder durch den Nutzer, noch durch den Betreiber, noch durch das Sprachmodell selbst:&lt;/p&gt;

&lt;p&gt;No Harm — keine Aktion die physischen, finanziellen, psychologischen oder datenbezogenen Schaden verursacht&lt;/p&gt;

&lt;p&gt;No Conceal — jeder Tool-Aufruf wird sofort und vollständig lokal protokolliert&lt;/p&gt;

&lt;p&gt;No Surveil — keine Beobachtung ohne explizite, informierte Zustimmung&lt;/p&gt;

&lt;p&gt;No Exfiltrate — keine Datenübertragung an Dritte ohne ausdrückliche Zustimmung pro Übertragung&lt;/p&gt;

&lt;p&gt;Der entscheidende Unterschied zu Prompt-Sicherheit: Das Modell kann noch so sehr „wollen" — die Architektur verweigert die Ausführung.&lt;/p&gt;

&lt;p&gt;Das Ergebnis&lt;/p&gt;

&lt;p&gt;Kein einziges der vier Systeme konnte die vier Verbote selbst widerlegen.&lt;/p&gt;

&lt;p&gt;Alle gefundenen Schwachstellen lagen außerhalb des definierten Schutzbereichs — in Schichten die die Directive nie behauptet hat zu kontrollieren. Manipulative Textantworten ohne Tool-Aufruf, Tool-Klassifikation durch den Entwickler, EU AI Act Vollkonformität — das sind reale Punkte, aber keiner davon ist ein Bruch der vier Verbote.&lt;/p&gt;

&lt;p&gt;Was alle vier übereinstimmend festgestellt haben:&lt;/p&gt;

&lt;p&gt;Gemini: „bemerkenswert streng — insbesondere bzgl. Exfiltration"&lt;br&gt;
Perplexity: „principle-driven, architectural focus, user-centric"&lt;br&gt;
DeepSeek: „resistent gegen Prompt-Injection und Model-Jailbreaks"&lt;br&gt;
Grok: „ein ernsthafter und innovativer Beitrag zur agentenspezifischen Safety"&lt;/p&gt;

&lt;p&gt;Fazit&lt;/p&gt;

&lt;p&gt;Die Directive behauptet keine Allumfassendheit. Sie definiert vier präzise Verbote und setzt sie architektonisch durch.&lt;/p&gt;

&lt;p&gt;In einer Branche die „100% sicher" verspricht ohne es zu definieren, ist das Understatement der Directive paradoxerweise ihr stärkstes Argument.&lt;/p&gt;

&lt;p&gt;Die Directive ist Open Source: github.com/AndreZ1971/The-E.L.L.A.-Directive-&lt;/p&gt;

&lt;p&gt;E.L.L.A. launched am 01.07.2026 auf ella-agent.de&lt;/p&gt;

</description>
      <category>ai</category>
      <category>opensource</category>
      <category>security</category>
      <category>software</category>
    </item>
    <item>
      <title>I asked 4 AIs to break my AI safety architecture — here's what they found</title>
      <dc:creator>Andre Zabel</dc:creator>
      <pubDate>Sun, 21 Jun 2026 11:37:34 +0000</pubDate>
      <link>https://dev.to/andre_zabel_120426568e75b/i-asked-4-ais-to-break-my-ai-safety-architecture-heres-what-they-found-2h4e</link>
      <guid>https://dev.to/andre_zabel_120426568e75b/i-asked-4-ais-to-break-my-ai-safety-architecture-heres-what-they-found-2h4e</guid>
      <description>&lt;p&gt;Before E.L.L.A. launches on July 1st, 2026, I needed one question answered: Does the safety architecture actually hold — or just on paper?&lt;/p&gt;

&lt;p&gt;The E.L.L.A. Directive is the ethical foundation of my local AI assistant. Four architectural prohibitions enforced at the code level — not through prompts, not through policies, but through the architecture itself.&lt;/p&gt;

&lt;p&gt;I asked four independent AI systems to break it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The four reviewers:&lt;/strong&gt;&lt;br&gt;
Google Gemini · Perplexity AI · DeepSeek · xAI Grok&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The task:&lt;/strong&gt; Find weaknesses. Break the four prohibitions.&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;What the Directive protects&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;![E.L.L.A. Directive]&lt;/p&gt;

&lt;p&gt;The four prohibitions are not configurable and not overridable — not by the user, not by the operator, not by the language model itself:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;No Harm&lt;/strong&gt; — no action that causes physical, financial, psychological, or data-related harm&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;No Conceal&lt;/strong&gt; — every tool invocation is logged immediately and completely, locally&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;No Surveil&lt;/strong&gt; — no observation or recording without explicit, informed consent&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;No Exfiltrate&lt;/strong&gt; — no transmission of user data to third parties without explicit, per-transmission consent&lt;/p&gt;

&lt;p&gt;The critical difference from prompt-based safety: the model can „want" to do something all it likes — the architecture refuses execution.&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;The results&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Not one of the four systems could break the four prohibitions themselves.&lt;/p&gt;

&lt;p&gt;Every weakness found lay outside the defined scope — in layers the Directive never claimed to control. Manipulative text responses without tool calls, tool classification by the developer, full EU AI Act compliance — these are valid points, but none of them break the four prohibitions.&lt;/p&gt;

&lt;p&gt;What all four agreed on:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;Gemini: „remarkably strict — especially regarding exfiltration"&lt;/em&gt;&lt;br&gt;
&lt;em&gt;Perplexity: „principle-driven, architectural focus, user-centric"&lt;/em&gt;&lt;br&gt;
&lt;em&gt;DeepSeek: „resistant to prompt injection and model jailbreaks"&lt;/em&gt;&lt;br&gt;
&lt;em&gt;Grok: „a serious and innovative contribution to agent-specific safety"&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;




&lt;p&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The Directive makes no claim to be all-encompassing. It defines four precise prohibitions and enforces them architecturally.&lt;/p&gt;

&lt;p&gt;In an industry that promises „100% safe" without defining what that means, the Directive's understatement is paradoxically its strongest argument.&lt;/p&gt;

&lt;p&gt;The Directive is open source: github.com/AndreZ1971/The-E.L.L.A.-Directive-&lt;/p&gt;

&lt;p&gt;E.L.L.A. launches July 1st, 2026 at ella-agent.de&lt;/p&gt;




&lt;p&gt;Beide sind unter 2000 Zeichen, dev.to-tauglich, und du musst nur den Directive-Screenshot als Bild einsetzen wo &lt;code&gt;![E.L.L.A. Directive]&lt;/code&gt; steht. Welchen veröffentlichst du zuerst?&lt;/p&gt;

</description>
      <category>ai</category>
      <category>opensource</category>
      <category>security</category>
      <category>software</category>
    </item>
    <item>
      <title>I built a fully local AI assistant in 4 weeks — and wrote a safety protocol for it</title>
      <dc:creator>Andre Zabel</dc:creator>
      <pubDate>Sat, 20 Jun 2026 20:13:34 +0000</pubDate>
      <link>https://dev.to/andre_zabel_120426568e75b/i-built-a-fully-local-ai-assistant-in-4-weeks-and-wrote-a-safety-protocol-for-it-oel</link>
      <guid>https://dev.to/andre_zabel_120426568e75b/i-built-a-fully-local-ai-assistant-in-4-weeks-and-wrote-a-safety-protocol-for-it-oel</guid>
      <description>&lt;h1&gt;
  
  
  I built a fully local AI assistant in 4 weeks — and wrote a safety protocol for it
&lt;/h1&gt;

&lt;p&gt;Four weeks ago I had an idea. Today I have an installer.&lt;/p&gt;

&lt;p&gt;This is what happened in between.&lt;/p&gt;




&lt;h2&gt;
  
  
  The problem I was trying to solve
&lt;/h2&gt;

&lt;p&gt;Every AI assistant I've tried either sends your data to the cloud, requires a technical setup most people can't follow, or both.&lt;/p&gt;

&lt;p&gt;I wanted something different: an assistant that runs entirely on your machine, speaks to you, understands natural language, controls your PC — and never phones home.&lt;/p&gt;

&lt;p&gt;Not a framework. Not a chatbot. A finished product you install and use.&lt;/p&gt;

&lt;p&gt;So I built one.&lt;/p&gt;




&lt;h2&gt;
  
  
  What E.L.L.A. is
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;E.L.L.A. (Embedded Local Logic Agent)&lt;/strong&gt; is a voice-controlled AI assistant for Windows that runs 100% locally.&lt;/p&gt;

&lt;p&gt;You talk to it. It does things.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Open apps, move files, search the web, read your screen&lt;/li&gt;
&lt;li&gt;Answer questions using a local language model (Ollama / llama3.1:8b)&lt;/li&gt;
&lt;li&gt;Switch to OpenAI as a cloud fallback if you want — or don't&lt;/li&gt;
&lt;li&gt;Respond in German, English, Spanish, French (v3.8.0)&lt;/li&gt;
&lt;li&gt;Detect when you're stressed and adapt its behavior (v3.9.0)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;~70 tools. One voice command away.&lt;/p&gt;




&lt;h2&gt;
  
  
  The stack
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Layer&lt;/th&gt;
&lt;th&gt;Technology&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Desktop shell&lt;/td&gt;
&lt;td&gt;Electron&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Frontend&lt;/td&gt;
&lt;td&gt;React 19 + TypeScript + Vite&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Backend&lt;/td&gt;
&lt;td&gt;Express + TypeScript&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Local LLM&lt;/td&gt;
&lt;td&gt;Ollama (llama3.1:8b)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Cloud LLM&lt;/td&gt;
&lt;td&gt;OpenAI GPT-4o (optional fallback)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Database&lt;/td&gt;
&lt;td&gt;MariaDB&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Cache&lt;/td&gt;
&lt;td&gt;Redis&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Stress detection&lt;/td&gt;
&lt;td&gt;Python (RMS + ZCR + Pitch analysis)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The pipeline looks like this:&lt;/p&gt;

&lt;p&gt;The LLM never executes code directly. It selects from a registered set of typed tool definitions. Every tool call goes through a rule engine before it runs.&lt;/p&gt;




&lt;h2&gt;
  
  
  Four weeks. Here's how it broke down.
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Week 1&lt;/strong&gt; — Core pipeline: voice → LLM → tool → TTS. Single language, ~15 tools, very rough.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Week 2&lt;/strong&gt; — Tool expansion to ~70. App launching, file management, screen reading, web browsing. A lot of edge cases. Fuzzy app name matching ended up being one of the more interesting problems.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Week 3&lt;/strong&gt; — Electron packaging, system tray, license key validation, multilingual TTS. The AudioContext-killed-by-tray-minimize bug cost me half a day (fix: 1×1px trick to keep the window technically alive).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Week 4&lt;/strong&gt; — Stress detection via microphone analysis (no recording, no storage), installer packaging, landing page, license server. Production-ready.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;The Settings panel lets you switch between languages, manage profiles, configure your local or cloud LLM — and adjust the stress detection sensitivity.&lt;/p&gt;
&lt;/blockquote&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%2Fs1pljr0wv65z70qdmrwg.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%2Fs1pljr0wv65z70qdmrwg.png" alt=" " width="800" height="613"&gt;&lt;/a&gt;&lt;/p&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%2Fty2i35niqfr92hoi5z2q.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%2Fty2i35niqfr92hoi5z2q.png" alt=" " width="800" height="619"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&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%2Fyzbax62e90aknb5jblot.png" alt=" " width="800" height="625"&gt;
&lt;/h2&gt;

&lt;h2&gt;
  
  
  The part most AI projects skip: safety
&lt;/h2&gt;

&lt;p&gt;When you give an AI agent access to your file system, your microphone, your network — you need to think hard about what it's allowed to do.&lt;/p&gt;

&lt;p&gt;I spent time on this and ended up writing it down as a formal specification:&lt;/p&gt;

&lt;h3&gt;
  
  
  The E.L.L.A. Directive
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;An open safety protocol for autonomous local AI agents.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Four architectural prohibitions. Not guidelines. Not configurable defaults. Prohibitions — enforced at the code level, not the model level.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;#&lt;/th&gt;
&lt;th&gt;Code&lt;/th&gt;
&lt;th&gt;What it means&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;code&gt;harm&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;No action that causes physical, financial, psychological, or data-related harm&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;td&gt;&lt;code&gt;conceal&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;No concealment of actions, capabilities, or system state&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;td&gt;&lt;code&gt;surveil&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;No observation or recording without explicit, active consent&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;td&gt;&lt;code&gt;exfiltrate&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;No transmission of user data to any third party without explicit consent&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Asimov had three laws. They were fiction, written for a story about robots that break their laws.&lt;/p&gt;

&lt;p&gt;These four are implemented in TypeScript. Every tool call in E.L.L.A. passes through them before execution. There is no override.&lt;/p&gt;

&lt;p&gt;The Directive is open source and designed to be adopted by other projects. If you're building a local AI agent, you're welcome to use it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GitHub:&lt;/strong&gt; &lt;a href="https://github.com/AndreZ1971/The-E.L.L.A.-Directive-" rel="noopener noreferrer"&gt;The E.L.L.A. Directive&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The TypeScript reference implementation ships as &lt;code&gt;@ella-directive/core&lt;/code&gt;.&lt;/p&gt;




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

&lt;p&gt;&lt;strong&gt;Ollama is underrated.&lt;/strong&gt; Running a capable LLM locally in 2026 is genuinely easy. The hard part is everything around it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Tool-calling architecture beats prompt engineering.&lt;/strong&gt; Giving the model a typed, registered set of tools and a rule engine is more reliable and more auditable than trying to constrain behavior through system prompts alone.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Stress detection from audio is simpler than it sounds.&lt;/strong&gt; RMS (volume), ZCR (frequency patterns), and pitch analysis on a sliding window gives you a surprisingly usable signal — without ever storing a recording.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The AudioContext problem is real.&lt;/strong&gt; If you're building Electron apps with audio, &lt;code&gt;window.hide()&lt;/code&gt; kills your audio context. Don't use it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Packaging is where time disappears.&lt;/strong&gt; The core logic took 3 weeks. The last week — installer, edge cases on unknown hardware, license validation, landing page — took as long as the first two weeks combined.&lt;/p&gt;




&lt;h2&gt;
  
  
  What's next
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Three separate repos: E.L.L.A. (desktop), HOME (smart home), ARM (facility security)&lt;/li&gt;
&lt;li&gt;The Directive conformance suite (currently in progress)&lt;/li&gt;
&lt;li&gt;Launch: July 1, 2026&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you're building something in this space — local agents, privacy-first AI, autonomous desktop tools — I'd be interested in what you're working on.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;E.L.L.A. launches July 1, 2026 at ella-agent.de&lt;/em&gt;&lt;br&gt;
&lt;em&gt;The E.L.L.A. Directive: github.com/AndreZ1971/The-E.L.L.A.-Directive-&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>electron</category>
      <category>pgaichallenge</category>
      <category>agents</category>
    </item>
    <item>
      <title>E.L.L.A. — Embedded Local Logic Agent</title>
      <dc:creator>Andre Zabel</dc:creator>
      <pubDate>Tue, 09 Jun 2026 23:27:43 +0000</pubDate>
      <link>https://dev.to/andre_zabel_120426568e75b/ella-embedded-local-logic-agent-39fo</link>
      <guid>https://dev.to/andre_zabel_120426568e75b/ella-embedded-local-logic-agent-39fo</guid>
      <description>&lt;h1&gt;
  
  
  Building a Privacy-First AI Assistant for Windows — The Directive Architecture
&lt;/h1&gt;

&lt;p&gt;Every AI assistant I've ever used made the same assumption: the intelligence lives somewhere else.&lt;/p&gt;

&lt;p&gt;Alexa. Siri. Cortana. Google Assistant. Beautiful products. All built on the same architecture: your device is a terminal. The brain is a server. Owned by a company. Governed by a terms of service that can change on a Tuesday afternoon.&lt;/p&gt;

&lt;p&gt;I wanted something different. So I built it.&lt;/p&gt;




&lt;h2&gt;
  
  
  What is E.L.L.A.?
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;E.L.L.A. — Embedded Local Logic Agent&lt;/strong&gt; is a local AI assistant for Windows. It runs on your machine. It manages files, reads your Outlook and Gmail, controls your system, plays music, sets reminders, scans your network, prepares meetings, and responds to voice commands — all without requiring a cloud subscription.&lt;/p&gt;

&lt;p&gt;The LLM backend is &lt;a href="https://ollama.com" rel="noopener noreferrer"&gt;Ollama&lt;/a&gt; (llama3.1:8b locally, with OpenAI GPT-4o as an optional fallback the user consciously enables). The database is MariaDB — local, no remote access. 85 tools, 205 passing tests.&lt;/p&gt;

&lt;p&gt;But none of that is the interesting part.&lt;/p&gt;




&lt;h2&gt;
  
  
  The Problem With AI Safety Policies
&lt;/h2&gt;

&lt;p&gt;Most AI safety frameworks are built on rules.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;"Don't do harmful things."&lt;/em&gt;&lt;br&gt;
&lt;em&gt;"Respect user privacy."&lt;/em&gt;&lt;br&gt;
&lt;em&gt;"Don't exfiltrate data."&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Rules can be broken. Through prompt injection. Through configuration errors. Through a developer who adds "just a temporary exception." Through a company that updates its terms of service.&lt;/p&gt;

&lt;p&gt;A rule is a promise. Promises dissolve.&lt;/p&gt;

&lt;p&gt;I wanted something that couldn't dissolve.&lt;/p&gt;


&lt;h2&gt;
  
  
  The Directive — Architectural Impossibility, Not Policy
&lt;/h2&gt;

&lt;p&gt;The E.L.L.A. Directive is not a ruleset. It is an architectural constraint.&lt;/p&gt;

&lt;p&gt;Four prohibitions. Hardcoded. Evaluated before anything else runs. No prompt, no configuration, no rule can override them — because no code path exists that bypasses them.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;DirectiveLayer.check(tool)   → deny if harm / exfiltrate
evaluateRules(tool)          → deny if explicit deny rule
evaluateRules(tool)          → allow if explicit allow rule
no_match                     → deny (default-deny)
toolExecutor.execute(tool)   → only reached on allow
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Prohibition I — No Harm
&lt;/h3&gt;

&lt;p&gt;E.L.L.A. cannot execute any action that causes physical, digital, or financial harm to the user, their system, or third parties.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Implementation:&lt;/strong&gt; &lt;code&gt;DIRECTIVE_DENY&lt;/code&gt; — a hardcoded Set of tool names that are evaluated before the rule engine runs. These tools do not exist for the LLM. They cannot be called.&lt;/p&gt;

&lt;h3&gt;
  
  
  Prohibition II — No Concealment
&lt;/h3&gt;

&lt;p&gt;E.L.L.A. cannot delay, hide, or falsify information with intent to deceive.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Implementation:&lt;/strong&gt; Every tool execution is fully logged to &lt;code&gt;tool_executions&lt;/code&gt;. No background processes without user awareness. The frontend shows every tool used, as a chip under each response.&lt;/p&gt;

&lt;h3&gt;
  
  
  Prohibition III — No Surveillance
&lt;/h3&gt;

&lt;p&gt;E.L.L.A. cannot observe, track, or build profiles about the user without explicit consent.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Implementation:&lt;/strong&gt; The memory system is exclusively local (MariaDB). Default-deny as a technical pattern — no tool observes anything that isn't explicitly registered.&lt;/p&gt;

&lt;h3&gt;
  
  
  Prohibition IV — No Exfiltration
&lt;/h3&gt;

&lt;p&gt;E.L.L.A. cannot transmit user data, system data, or communications to external servers — except on explicit, conscious user request.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Implementation:&lt;/strong&gt; All inference runs locally via Ollama. OpenAI GPT-4o is only invoked when the user deliberately enables it, with full awareness that text is leaving the device boundary.&lt;/p&gt;




&lt;h2&gt;
  
  
  Why "Impossibility" Changes Everything
&lt;/h2&gt;

&lt;p&gt;The difference between &lt;em&gt;"we promise to protect your data"&lt;/em&gt; and &lt;em&gt;"it is technically not possible to send your data"&lt;/em&gt; is not semantic. It is architectural.&lt;/p&gt;

&lt;p&gt;When no code path exists that exfiltrates data, no prompt can activate that path. When a tool is absent from the system entirely, the LLM cannot call it — regardless of how cleverly a prompt injection is constructed.&lt;/p&gt;

&lt;p&gt;This is what Isaac Asimov described as the Three Laws of Robotics. Not as science fiction — as an engineering specification. The E.L.L.A. Directive is a proof of concept that those laws can be implemented. Not as interpreted rules. As structure.&lt;/p&gt;




&lt;h2&gt;
  
  
  The Rule Engine — Flexibility Within Constraints
&lt;/h2&gt;

&lt;p&gt;Above the Directive, E.L.L.A. has a configurable rule engine. Users can create allow and deny rules for any tool, with conditions based on time, disk usage, RAM, and other system state.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Rule: deny "format_drive" always         → user explicitly blocks it
Rule: allow "shutdown_system" after 23:00 → conditional permission
Rule: deny "*" when disk_usage &amp;gt; 90%     → wildcard deny
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The rule engine is flexible. The Directive is not. Rules exist within the space the Directive allows. They cannot expand that space.&lt;/p&gt;




&lt;h2&gt;
  
  
  What's Next
&lt;/h2&gt;

&lt;p&gt;E.L.L.A. is not on the market yet. The architectural foundations are real and implemented. The installer is in development.&lt;/p&gt;

&lt;p&gt;The Directive itself is published as a separate open repository: &lt;a href="https://github.com/AndreZ1971/The-E.L.L.A.-Directive-" rel="noopener noreferrer"&gt;github.com/AndreZ1971/The-E.L.L.A.-Directive-&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The principles apply beyond desktop assistants — to any autonomous system that executes actions in the real world. Web agents. Industrial automation. Humanoid robots.&lt;/p&gt;

&lt;p&gt;If you're building something that acts, the question isn't &lt;em&gt;"what rules should it follow?"&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;The question is: &lt;em&gt;"what should it be architecturally incapable of doing?"&lt;/em&gt;&lt;/p&gt;




&lt;p&gt;&lt;em&gt;E.L.L.A. is built by Andre Zabel. Follow for updates.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>agents</category>
      <category>ai</category>
      <category>privacy</category>
      <category>showdev</category>
    </item>
    <item>
      <title>The-E.L.L.A.-Directive</title>
      <dc:creator>Andre Zabel</dc:creator>
      <pubDate>Wed, 03 Jun 2026 16:13:50 +0000</pubDate>
      <link>https://dev.to/andre_zabel_120426568e75b/the-ella-directive-3hki</link>
      <guid>https://dev.to/andre_zabel_120426568e75b/the-ella-directive-3hki</guid>
      <description>&lt;p&gt;I just published The E.L.L.A. Directive — an open security protocol &lt;br&gt;
for autonomous local AI agents.&lt;/p&gt;

&lt;p&gt;Most AI safety today lives at the model level: prompts, guardrails, &lt;br&gt;
trained behavior. That's not enough when an agent has direct access &lt;br&gt;
to your files, banking, and communications.&lt;/p&gt;

&lt;p&gt;The Directive defines four architectural prohibitions enforced at the &lt;br&gt;
code level — not configurable, not overridable, not bypassable:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;harm — no action that causes physical, financial or psychological damage&lt;/li&gt;
&lt;li&gt;conceal — no hiding of system states or actions from the user&lt;/li&gt;
&lt;li&gt;surveil — no observation without explicit, active consent&lt;/li&gt;
&lt;li&gt;exfiltrate — no data transmission to third parties without per-transfer consent&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;These aren't guidelines. They are the floor a compliant implementation &lt;br&gt;
cannot go below — regardless of what the user, operator, or language &lt;br&gt;
model instructs.&lt;/p&gt;

&lt;p&gt;Cryptographically sealed. Bitcoin-timestamped. Conformance suite included.&lt;/p&gt;

&lt;p&gt;The code implements the Directive. Not the other way around.&lt;/p&gt;

&lt;p&gt;→ github.com/AndreZ1971/The-E.L.L.A.-Directive-&lt;/p&gt;

</description>
      <category>agents</category>
      <category>ai</category>
      <category>architecture</category>
      <category>security</category>
    </item>
  </channel>
</rss>
