<?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: Dermin</title>
    <description>The latest articles on DEV Community by Dermin (@yang_dada_50b476adedc3749).</description>
    <link>https://dev.to/yang_dada_50b476adedc3749</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%2F4000017%2F16d50c81-bd6f-4114-90c2-682d330892f8.png</url>
      <title>DEV Community: Dermin</title>
      <link>https://dev.to/yang_dada_50b476adedc3749</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/yang_dada_50b476adedc3749"/>
    <language>en</language>
    <item>
      <title>Pixel Chef AI: A Memory Kitchen That Learns Your Taste</title>
      <dc:creator>Dermin</dc:creator>
      <pubDate>Sun, 02 Aug 2026 03:12:58 +0000</pubDate>
      <link>https://dev.to/yang_dada_50b476adedc3749/pixel-chef-ai-a-memory-kitchen-that-learns-your-taste-1d0m</link>
      <guid>https://dev.to/yang_dada_50b476adedc3749/pixel-chef-ai-a-memory-kitchen-that-learns-your-taste-1d0m</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for &lt;a href="https://dev.to/challenges/frontend-2026-07-29"&gt;Frontend Challenge - Comfort Food Edition, Perfect Landing&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  🍳 Pixel Chef AI — A Memory Kitchen That Learns Your Taste
&lt;/h1&gt;

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

&lt;p&gt;Pixel Chef AI is an interactive AI cooking companion built around a simple idea:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Food is not only about recipes. It is about memories, habits, emotions, and personal taste.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Instead of being a traditional recipe generator, Pixel Chef AI creates a complete AI-powered cooking journey:&lt;/p&gt;

&lt;p&gt;🧊 Enter the Memory Kitchen&lt;br&gt;&lt;br&gt;
🥬 Choose ingredients&lt;br&gt;&lt;br&gt;
🤖 Let AI analyze flavors and nutrition&lt;br&gt;&lt;br&gt;
🔥 Cook with real-time AI guidance&lt;br&gt;&lt;br&gt;
🍽️ Reveal your final dish&lt;br&gt;&lt;br&gt;
🧬 Build your personal Taste DNA  &lt;/p&gt;

&lt;p&gt;Every cooking session becomes a memory.&lt;/p&gt;

&lt;p&gt;Over time, the AI learns your cooking preferences, flavor choices, and habits to create a more personalized kitchen experience.&lt;/p&gt;

&lt;p&gt;The core question behind this project:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;What if your AI assistant could remember how you cook and become your personal kitchen companion?&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h1&gt;
  
  
  ✨ Features
&lt;/h1&gt;

&lt;h2&gt;
  
  
  🧠 AI Taste Intelligence
&lt;/h2&gt;

&lt;p&gt;Pixel Chef AI is designed around the idea that cooking decisions are personal.&lt;/p&gt;

&lt;p&gt;The AI analyzes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Ingredient combinations&lt;/li&gt;
&lt;li&gt;Flavor balance&lt;/li&gt;
&lt;li&gt;Nutrition information&lt;/li&gt;
&lt;li&gt;User preferences&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It can:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Predict flavor direction&lt;/li&gt;
&lt;li&gt;Suggest ingredient improvements&lt;/li&gt;
&lt;li&gt;Recommend better combinations&lt;/li&gt;
&lt;li&gt;Adapt suggestions based on cooking goals&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🤖 AI Cooking Companion
&lt;/h2&gt;

&lt;p&gt;A pixel AI chef accompanies users throughout the entire cooking process.&lt;/p&gt;

&lt;p&gt;The AI provides:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Ingredient analysis&lt;/li&gt;
&lt;li&gt;Flavor recommendations&lt;/li&gt;
&lt;li&gt;Cooking suggestions&lt;/li&gt;
&lt;li&gt;Real-time guidance during cooking&lt;/li&gt;
&lt;li&gt;Personalized feedback&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The goal is to make AI feel like a kitchen partner, not just a chatbot.&lt;/p&gt;




&lt;h2&gt;
  
  
  🧊 Interactive Pixel Kitchen
&lt;/h2&gt;

&lt;p&gt;The experience starts inside a cozy pixel-art kitchen.&lt;/p&gt;

&lt;p&gt;Users can:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Open the fridge&lt;/li&gt;
&lt;li&gt;Select ingredients&lt;/li&gt;
&lt;li&gt;Create their own combinations&lt;/li&gt;
&lt;li&gt;Watch AI analyze their choices&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The kitchen becomes a place where users interact with AI through cooking.&lt;/p&gt;




&lt;h2&gt;
  
  
  🔥 AI Cooking Simulation
&lt;/h2&gt;

&lt;p&gt;Cooking becomes an interactive experience instead of a simple result page.&lt;/p&gt;

&lt;p&gt;During cooking:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A cooking timeline controls progress&lt;/li&gt;
&lt;li&gt;Different cooking events appear&lt;/li&gt;
&lt;li&gt;AI provides suggestions&lt;/li&gt;
&lt;li&gt;Users can make decisions&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The AI chef stays involved throughout the process.&lt;/p&gt;




&lt;h2&gt;
  
  
  🍽️ AI Dish Reveal
&lt;/h2&gt;

&lt;p&gt;At the end of each cooking session, AI creates a complete cooking memory:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Final dish showcase&lt;/li&gt;
&lt;li&gt;Cooking score&lt;/li&gt;
&lt;li&gt;Flavor analysis&lt;/li&gt;
&lt;li&gt;AI chef story&lt;/li&gt;
&lt;li&gt;Personal memory record&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Each dish becomes part of your cooking journey.&lt;/p&gt;




&lt;h2&gt;
  
  
  🧬 Taste DNA Memory System
&lt;/h2&gt;

&lt;p&gt;Every cooking experience helps build a personal taste profile.&lt;/p&gt;

&lt;p&gt;The AI analyzes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Ingredient preferences&lt;/li&gt;
&lt;li&gt;Flavor choices&lt;/li&gt;
&lt;li&gt;Cooking style&lt;/li&gt;
&lt;li&gt;Nutrition habits&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Then creates a unique cooking personality:&lt;/p&gt;

&lt;p&gt;🔥 Fire Chef&lt;br&gt;&lt;br&gt;
🌿 Healthy Creator&lt;br&gt;&lt;br&gt;
✨ Flavor Explorer&lt;br&gt;&lt;br&gt;
🍖 Comfort Cook  &lt;/p&gt;

&lt;p&gt;Your kitchen becomes smarter over time.&lt;/p&gt;




&lt;h1&gt;
  
  
  🚀 Demo
&lt;/h1&gt;

&lt;p&gt;Experience the complete AI cooking journey:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://pixel-chef-ai.vercel.app/" rel="noopener noreferrer"&gt;https://pixel-chef-ai.vercel.app/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Source Code:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/vivayang911/pixel-chef-ai" rel="noopener noreferrer"&gt;https://github.com/vivayang911/pixel-chef-ai&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Try the flow:&lt;br&gt;
Memory Kitchen&lt;/p&gt;

&lt;p&gt;↓&lt;/p&gt;

&lt;p&gt;Ingredient Selection&lt;/p&gt;

&lt;p&gt;↓&lt;/p&gt;

&lt;p&gt;AI Flavor Analysis&lt;/p&gt;

&lt;p&gt;↓&lt;/p&gt;

&lt;p&gt;Cooking Guidance&lt;/p&gt;

&lt;p&gt;↓&lt;/p&gt;

&lt;p&gt;Dish Creation&lt;/p&gt;

&lt;p&gt;↓&lt;/p&gt;

&lt;p&gt;Taste Memory&lt;/p&gt;




&lt;h1&gt;
  
  
  🌱 Journey
&lt;/h1&gt;

&lt;p&gt;I started this project with a simple question:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;What if AI could become a personal cooking companion instead of just a recipe generator?&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Many AI food tools focus on creating recipes.&lt;/p&gt;

&lt;p&gt;I wanted to explore a different direction:&lt;/p&gt;

&lt;p&gt;An AI system that understands people, remembers habits, and helps make everyday food decisions.&lt;/p&gt;

&lt;p&gt;The biggest challenge was not creating a cooking interface.&lt;/p&gt;

&lt;p&gt;The challenge was:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How can AI feel present throughout the entire experience?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Instead of a single AI response, Pixel Chef AI creates a continuous relationship:&lt;br&gt;
User Choice&lt;/p&gt;

&lt;p&gt;↓&lt;/p&gt;

&lt;p&gt;AI Understanding&lt;/p&gt;

&lt;p&gt;↓&lt;/p&gt;

&lt;p&gt;Cooking Assistance&lt;/p&gt;

&lt;p&gt;↓&lt;/p&gt;

&lt;p&gt;Personalized Result&lt;/p&gt;

&lt;p&gt;↓&lt;/p&gt;

&lt;p&gt;Memory Creation&lt;/p&gt;

&lt;p&gt;Through this project, I explored how AI can evolve from a simple assistant into a personal lifestyle companion.&lt;/p&gt;




&lt;h1&gt;
  
  
  🏠 Future Vision — AI as the Brain of a Smart Kitchen
&lt;/h1&gt;

&lt;p&gt;Pixel Chef AI is designed as a concept for the future of intelligent kitchens.&lt;/p&gt;

&lt;p&gt;The next evolution could connect AI with real-world devices:&lt;/p&gt;

&lt;p&gt;🧊 Smart refrigerators&lt;br&gt;&lt;br&gt;
📷 Ingredient recognition cameras&lt;br&gt;&lt;br&gt;
🛒 Grocery platforms&lt;br&gt;&lt;br&gt;
💪 Nutrition and fitness systems  &lt;/p&gt;

&lt;p&gt;By connecting with IoT devices, AI could understand:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;What ingredients are available at home&lt;/li&gt;
&lt;li&gt;Personal taste preferences&lt;/li&gt;
&lt;li&gt;Health goals&lt;/li&gt;
&lt;li&gt;Dietary restrictions&lt;/li&gt;
&lt;li&gt;Family eating habits&lt;/li&gt;
&lt;li&gt;Seasonal and regional preferences&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The AI could then help manage daily food decisions:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Recommend meals based on personal goals&lt;/li&gt;
&lt;li&gt;Adjust recipes during fitness or weight-loss periods&lt;/li&gt;
&lt;li&gt;Create family meal plans&lt;/li&gt;
&lt;li&gt;Generate shopping lists&lt;/li&gt;
&lt;li&gt;Connect with grocery services&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The future vision is not simply:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"What should I cook today?"&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;but:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"How can AI help me build a healthier and happier life through food?"&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h1&gt;
  
  
  🛠️ Technical Highlights
&lt;/h1&gt;

&lt;p&gt;Built as a pure frontend AI experience.&lt;/p&gt;

&lt;h2&gt;
  
  
  Tech Stack
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;React 18&lt;/li&gt;
&lt;li&gt;TypeScript&lt;/li&gt;
&lt;li&gt;Vite&lt;/li&gt;
&lt;li&gt;Tailwind CSS&lt;/li&gt;
&lt;li&gt;Framer Motion&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Architecture
&lt;/h2&gt;

&lt;p&gt;Pixel Chef AI uses a client-side AI decision engine:&lt;br&gt;
User Interaction&lt;/p&gt;

&lt;p&gt;↓&lt;/p&gt;

&lt;p&gt;AI Chef Engine&lt;/p&gt;

&lt;p&gt;↓&lt;/p&gt;

&lt;p&gt;Flavor Analysis&lt;/p&gt;

&lt;p&gt;↓&lt;/p&gt;

&lt;p&gt;Cooking Decision System&lt;/p&gt;

&lt;p&gt;↓&lt;/p&gt;

&lt;p&gt;Taste Memory Engine&lt;/p&gt;

&lt;p&gt;The entire experience runs directly in the browser.&lt;/p&gt;

&lt;p&gt;No backend or database is required.&lt;/p&gt;




&lt;h1&gt;
  
  
  🔮 Future Improvements
&lt;/h1&gt;

&lt;p&gt;Possible future directions:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Real AI model integration&lt;/li&gt;
&lt;li&gt;Smart refrigerator connection&lt;/li&gt;
&lt;li&gt;Computer vision ingredient recognition&lt;/li&gt;
&lt;li&gt;Real nutrition analysis&lt;/li&gt;
&lt;li&gt;Grocery ordering automation&lt;/li&gt;
&lt;li&gt;Personal health management&lt;/li&gt;
&lt;/ul&gt;




&lt;h1&gt;
  
  
  Built With
&lt;/h1&gt;

&lt;p&gt;Created for:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;DEV Frontend Challenge — Comfort Food Edition&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Thanks to the DEV community for encouraging creative frontend experiments.&lt;/p&gt;




&lt;h1&gt;
  
  
  License
&lt;/h1&gt;

&lt;p&gt;MIT&lt;/p&gt;

</description>
      <category>frontendchallenge</category>
      <category>webdev</category>
      <category>javascript</category>
      <category>ai</category>
    </item>
    <item>
      <title>Building Q-EOS: When Control Theory Meets Multi-Agent AI Governance</title>
      <dc:creator>Dermin</dc:creator>
      <pubDate>Wed, 24 Jun 2026 07:44:52 +0000</pubDate>
      <link>https://dev.to/yang_dada_50b476adedc3749/building-q-eos-when-control-theory-meets-multi-agent-ai-governance-4d30</link>
      <guid>https://dev.to/yang_dada_50b476adedc3749/building-q-eos-when-control-theory-meets-multi-agent-ai-governance-4d30</guid>
      <description>&lt;h1&gt;
  
  
  Building Q-EOS: When Control Theory Meets Multi-Agent AI Governance
&lt;/h1&gt;

&lt;p&gt;&lt;em&gt;How I built a six-agent token economy governance system grounded in academic research — and what I learned about why architecture matters more than algorithms.&lt;/em&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  The Problem I Wanted to Solve
&lt;/h2&gt;

&lt;p&gt;Token economies are fragile. When a stablecoin loses its peg, the typical response is a static rule: "if price drops below X, buy Y tokens." But static rules are pro-cyclical — they buy aggressively when the treasury is already stressed, and they ignore the difference between a temporary dip and a structural collapse.&lt;/p&gt;

&lt;p&gt;I wanted to build something smarter. Not just "LLM makes decisions" — but a system where multiple specialized agents collaborate, check each other, and maintain safety guarantees even when individual components fail.&lt;/p&gt;

&lt;h2&gt;
  
  
  Starting with Theory, Not Code
&lt;/h2&gt;

&lt;p&gt;Most hackathon projects start with a cool idea and work backwards. I started with a paper.&lt;/p&gt;

&lt;p&gt;The &lt;strong&gt;Dynamic Control Buyback Mechanism (DCBM)&lt;/strong&gt;, published in &lt;em&gt;arXiv:2601.09961&lt;/em&gt;, identifies static rule-based buybacks as a root cause of pro-cyclical volatility in token economies. The paper proposes a PID controller as the core stabilizer:&lt;/p&gt;

&lt;p&gt;$$u(t) = K_p e(t) + K_i \int e(t)dt + K_d \frac{de(t)}{dt}$$&lt;/p&gt;

&lt;p&gt;Where $e(t) = P_{target} - P_{current}$ is the price deviation from peg.&lt;/p&gt;

&lt;p&gt;This gave me a concrete theoretical anchor. Q-EOS isn't a demo of API calling — it's an implementation of a formal framework, extended with multi-agent governance and LLM-powered decision transparency.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Architecture: Six Agents, One Pipeline
&lt;/h2&gt;

&lt;p&gt;The core insight was &lt;strong&gt;separation of concerns&lt;/strong&gt;. Each agent does exactly one thing:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Observer → Risk → PID → Policy → Governor (Qwen-Plus) → Treasury
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Observer&lt;/strong&gt;: fetches real-time market price&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Risk&lt;/strong&gt;: scores threat level (price deviation triggers risk_score=80 when price &amp;lt; 0.97)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;PID&lt;/strong&gt;: computes optimal intervention using Kp=3000, Ki=50, Kd=500&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Policy&lt;/strong&gt;: dynamically adjusts intervention strength (multiplier 0.5–1.5 based on deviation, risk, and treasury health)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Governor&lt;/strong&gt;: Qwen-Plus makes the final APPROVE/REJECT decision with written rationale&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Treasury&lt;/strong&gt;: executes approved actions, enforces four hard constraints&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;All agents communicate through a &lt;strong&gt;Message Bus&lt;/strong&gt; — no agent calls another directly. This made testing and debugging dramatically easier.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Three-Layer Safety Architecture
&lt;/h2&gt;

&lt;p&gt;One design principle I kept coming back to: &lt;em&gt;in financial governance, "doing nothing" is far better than "doing the wrong thing."&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;This shaped the safety architecture:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Layer 1: PID Control     — computes ideal action
Layer 2: Qwen Governance — approves or rejects with reasoning  
Layer 3: Treasury        — enforces hard limits regardless of Qwen
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The Treasury layer runs &lt;strong&gt;independent of Qwen&lt;/strong&gt;. Even if Qwen approves an action, Treasury will block it if:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Single transaction exceeds 10% of treasury balance&lt;/li&gt;
&lt;li&gt;Price is in extreme range (&amp;lt; 0.7 or &amp;gt; 1.3)&lt;/li&gt;
&lt;li&gt;Treasury balance falls below 5,000 USDC&lt;/li&gt;
&lt;li&gt;Recent net consumption exceeds 5% of treasury&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This is the &lt;strong&gt;fail-closed principle&lt;/strong&gt;: when uncertain, reject and hold. Never default to approving.&lt;/p&gt;

&lt;h2&gt;
  
  
  What Broke (And How I Fixed It)
&lt;/h2&gt;

&lt;h3&gt;
  
  
  JSON Parsing Hell
&lt;/h3&gt;

&lt;p&gt;Qwen-Plus doesn't always return clean JSON. Sometimes it wraps the response in Markdown code fences:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;&lt;br&gt;
json&lt;br&gt;
{"decision": "APPROVE", "reason": "..."}&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Direct &lt;code&gt;json.loads(text)&lt;/code&gt; throws an exception. I built a three-layer parser:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Try direct parse&lt;/li&gt;
&lt;li&gt;Strip Markdown fences, try again&lt;/li&gt;
&lt;li&gt;Regex extract the first &lt;code&gt;{...}&lt;/code&gt; block&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  The Silent Policy Layer Bug
&lt;/h3&gt;

&lt;p&gt;Early in development, &lt;code&gt;pid.py&lt;/code&gt; was sending messages directly to &lt;code&gt;"Governor"&lt;/code&gt;, bypassing Policy entirely. The Policy agent was running — but receiving zero messages, doing nothing. The six-agent pipeline was secretly a five-agent pipeline.&lt;/p&gt;

&lt;p&gt;The fix was one line: change &lt;code&gt;"Governor"&lt;/code&gt; to &lt;code&gt;"Policy"&lt;/code&gt; in the message destination. But finding it required carefully tracing every message through the bus.&lt;/p&gt;

&lt;h3&gt;
  
  
  The USE_QWEN=False Trap
&lt;/h3&gt;

&lt;p&gt;I added a fast mode (&lt;code&gt;USE_QWEN=False&lt;/code&gt;) for development — it skips real API calls and uses local if-else rules. I accidentally left it on for one batch of runs, producing data that showed 0% rejection rate and a treasury that inexplicably grew to $55k. The numbers looked great. They were completely fake.&lt;/p&gt;

&lt;p&gt;Lesson: always verify which mode you're actually running in before trusting simulation data.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Baseline Experiment That Surprised Me
&lt;/h2&gt;

&lt;p&gt;To validate multi-agent advantage, I ran three configurations over 30 identical market days:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Metric&lt;/th&gt;
&lt;th&gt;Single Agent&lt;/th&gt;
&lt;th&gt;Single + PID&lt;/th&gt;
&lt;th&gt;Q-EOS Multi-Agent&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Final Treasury (USDC)&lt;/td&gt;
&lt;td&gt;45,588 (-4,412)&lt;/td&gt;
&lt;td&gt;50,000 (+0)&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;53,351 (+3,351)&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Execution Rate&lt;/td&gt;
&lt;td&gt;100%&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;0%&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;100%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Max Drawdown&lt;/td&gt;
&lt;td&gt;12.2%&lt;/td&gt;
&lt;td&gt;0%&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;1.8%&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The Single+PID result was the most revealing. I gave it the &lt;strong&gt;exact same PID algorithm&lt;/strong&gt; as Q-EOS — same Kp, Ki, Kd — but with a single Qwen instance handling all roles. It rejected every single proposal for 30 consecutive days.&lt;/p&gt;

&lt;p&gt;Why? A single Qwen instance reviewing its own proposals has no separation between perception (Observer), risk scoring (Risk), and execution enforcement (Treasury). With no independent checks, it consistently judged interventions as too risky to approve.&lt;/p&gt;

&lt;p&gt;Multi-agent architecture wasn't just better — it was the only thing that worked.&lt;/p&gt;

&lt;h2&gt;
  
  
  What Qwen-Plus Actually Does
&lt;/h2&gt;

&lt;p&gt;Every governance decision includes a written rationale. Here's a real example from Day 340 of the 365-day simulation:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;"Treasury balance (49,272.05) is sufficient to absorb the intervention of 59.045 without compromising liquidity or solvency; risk score of 80 is elevated but within acceptable operational thresholds for this asset class and intervention context; price of 0.9693 shows mild deviation but no evidence of extreme volatility or flash crash conditions — no abnormal market conditions detected."&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;This is what transparency looks like in practice. Every rejection is traceable. Every approval has justification. Nothing is a black box.&lt;/p&gt;

&lt;h2&gt;
  
  
  Deployment on Alibaba Cloud
&lt;/h2&gt;

&lt;p&gt;Q-EOS runs on Alibaba Cloud ECS, calling Qwen-Plus via the DashScope API. The complete stack:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Compute&lt;/strong&gt;: Alibaba Cloud ECS (Ubuntu 20.04)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;LLM&lt;/strong&gt;: Qwen-Plus via DashScope API&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Framework&lt;/strong&gt;: Python + custom Message Bus&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Control&lt;/strong&gt;: PID controller (from arXiv:2601.08399)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Safety&lt;/strong&gt;: Three-layer hard constraint system&lt;/li&gt;
&lt;/ul&gt;

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

&lt;p&gt;&lt;strong&gt;1. Theory first, code second.&lt;/strong&gt; Starting from a published paper gave Q-EOS a coherence that most projects lack. I could always answer "why did you design it this way?" with a citation.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Fail-closed is a principle, not a feature.&lt;/strong&gt; When the API is unreachable, when JSON is malformed, when the agent pipeline has a bug — the system should reject and hold. Not approve by default. This applies to any system handling real resources.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Multi-agent separation of concerns is a governance principle, not just an engineering pattern.&lt;/strong&gt; A single agent cannot reliably serve as its own auditor. Specialization enables both decisiveness and safety simultaneously — something a single-agent system fundamentally cannot achieve.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Measure everything.&lt;/strong&gt; The baseline comparison was the most convincing part of the submission. Without it, Q-EOS is just "a multi-agent system that seems to work." With it, it's a system with a 7x reduction in max drawdown and a measurable architectural advantage.&lt;/p&gt;

&lt;h2&gt;
  
  
  Links
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;GitHub&lt;/strong&gt;: &lt;a href="https://github.com/vivayang911/Q-EOS" rel="noopener noreferrer"&gt;https://github.com/vivayang911/Q-EOS&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Demo Video&lt;/strong&gt;: &lt;a href="https://youtu.be/V3dSjjKAn6o" rel="noopener noreferrer"&gt;https://youtu.be/V3dSjjKAn6o&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Devpost&lt;/strong&gt;: &lt;a href="https://devpost.com/software/q-eos-qwen-economic-agent-society" rel="noopener noreferrer"&gt;https://devpost.com/software/q-eos-qwen-economic-agent-society&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Paper&lt;/strong&gt;: arXiv:2601.08399&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;em&gt;Built for the Qwen Cloud Global Hackathon 2026 — Agent Society Track.&lt;/em&gt;&lt;/p&gt;

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