<?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: conchaestradamiguelangel-droid</title>
    <description>The latest articles on DEV Community by conchaestradamiguelangel-droid (@conchaestradamiguelangeldroid).</description>
    <link>https://dev.to/conchaestradamiguelangeldroid</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%2F3973070%2F8cf4aa03-cb8a-4e3b-a566-6beaa6e90d4d.png</url>
      <title>DEV Community: conchaestradamiguelangel-droid</title>
      <link>https://dev.to/conchaestradamiguelangeldroid</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/conchaestradamiguelangeldroid"/>
    <language>en</language>
    <item>
      <title>I built a 9-layer autonomous cyber defense system with post-quantum signatures</title>
      <dc:creator>conchaestradamiguelangel-droid</dc:creator>
      <pubDate>Fri, 12 Jun 2026 20:33:21 +0000</pubDate>
      <link>https://dev.to/conchaestradamiguelangeldroid/i-built-a-9-layer-autonomous-cyber-defense-system-with-post-quantum-signatures-39ba</link>
      <guid>https://dev.to/conchaestradamiguelangeldroid/i-built-a-9-layer-autonomous-cyber-defense-system-with-post-quantum-signatures-39ba</guid>
      <description>&lt;h2&gt;
  
  
  TL;DR
&lt;/h2&gt;

&lt;p&gt;AEGIS is a 9-layer autonomous cyber defense system that moves targets, detects anomalies, and signs every decision with ML-DSA-87 (NIST FIPS 204 post-quantum cryptography). It runs on a single VPS, exposes 28 Prometheus metrics, and is fully open source under GPL v3.&lt;/p&gt;

&lt;p&gt;GitHub: &lt;a href="https://github.com/conchaestradamiguelangel-droid/aegis" rel="noopener noreferrer"&gt;https://github.com/conchaestradamiguelangel-droid/aegis&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  The problem
&lt;/h2&gt;

&lt;p&gt;Traditional cyber defense is static. Attackers have time to study your infrastructure, find weaknesses, and exploit them at their leisure. Once they know your attack surface, the game is half over.&lt;/p&gt;

&lt;p&gt;I wanted to flip this: &lt;strong&gt;make the defender move faster than the attacker can map.&lt;/strong&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  What is AMTD?
&lt;/h2&gt;

&lt;p&gt;Autonomous Moving Target Defense (AMTD) is the idea of continuously changing system parameters to make the attack surface unpredictable. Instead of hardening a fixed surface, you make it move.&lt;/p&gt;

&lt;p&gt;AEGIS implements AMTD as one of its 9 defense layers.&lt;/p&gt;




&lt;h2&gt;
  
  
  The 9-layer architecture
&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;Name&lt;/th&gt;
&lt;th&gt;What it does&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;Threat Intelligence&lt;/td&gt;
&lt;td&gt;Aggregates external threat feeds&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;td&gt;Behavioral Analysis&lt;/td&gt;
&lt;td&gt;ML-based anomaly detection on traffic patterns&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;td&gt;AMTD&lt;/td&gt;
&lt;td&gt;Autonomous Moving Target Defense - rotates ports and configs&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;td&gt;Deception&lt;/td&gt;
&lt;td&gt;Honeypots and decoy services&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;5&lt;/td&gt;
&lt;td&gt;Isolation&lt;/td&gt;
&lt;td&gt;Dynamic network segmentation&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;6&lt;/td&gt;
&lt;td&gt;Response&lt;/td&gt;
&lt;td&gt;Automated incident response playbooks&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;7&lt;/td&gt;
&lt;td&gt;Forensics&lt;/td&gt;
&lt;td&gt;Evidence collection and chain-of-custody&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;8&lt;/td&gt;
&lt;td&gt;Recovery&lt;/td&gt;
&lt;td&gt;Automated rollback and restoration&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;9&lt;/td&gt;
&lt;td&gt;Audit&lt;/td&gt;
&lt;td&gt;Post-quantum signed audit trail&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Each layer runs independently and feeds signals to the others. The system degrades gracefully - losing one layer does not stop the rest.&lt;/p&gt;




&lt;h2&gt;
  
  
  Post-quantum signing with ML-DSA-87
&lt;/h2&gt;

&lt;p&gt;Every decision AEGIS makes - every block, every configuration change, every alert - is signed using &lt;strong&gt;ML-DSA-87&lt;/strong&gt; (CRYSTALS-Dilithium), standardized as NIST FIPS 204.&lt;/p&gt;

&lt;p&gt;Why this matters:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;RSA and ECDSA signatures will be broken by quantum computers running Shor's algorithm&lt;/li&gt;
&lt;li&gt;ML-DSA-87 is quantum-resistant and already standardized by NIST&lt;/li&gt;
&lt;li&gt;The audit trail in AEGIS cannot be forged or tampered with, even by a quantum adversary
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="kn"&gt;from&lt;/span&gt; &lt;span class="n"&gt;dilithium_py.dilithium&lt;/span&gt; &lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;Dilithium5&lt;/span&gt;

&lt;span class="c1"&gt;# Generate post-quantum keypair
&lt;/span&gt;&lt;span class="n"&gt;pk&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;sk&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;Dilithium5&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;keygen&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;

&lt;span class="c1"&gt;# Sign a defense decision
&lt;/span&gt;&lt;span class="n"&gt;message&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="sa"&gt;b&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;BLOCK: 192.168.1.100 - anomaly score 0.94&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;
&lt;span class="n"&gt;signature&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;Dilithium5&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;sign&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;sk&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;message&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="c1"&gt;# Verify (any node can verify without the private key)
&lt;/span&gt;&lt;span class="n"&gt;valid&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;Dilithium5&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;verify&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;pk&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;message&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;signature&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  28 Prometheus metrics
&lt;/h2&gt;

&lt;p&gt;AEGIS exposes a &lt;code&gt;/metrics&lt;/code&gt; endpoint with 28 metrics covering:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Threats detected and blocked per layer&lt;/li&gt;
&lt;li&gt;AMTD rotation count and frequency&lt;/li&gt;
&lt;li&gt;Anomaly scores by source IP&lt;/li&gt;
&lt;li&gt;Response times per playbook&lt;/li&gt;
&lt;li&gt;Signature verification latency&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Drop-in compatible with any Grafana dashboard.&lt;/p&gt;




&lt;h2&gt;
  
  
  Getting started
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/conchaestradamiguelangel-droid/aegis
&lt;span class="nb"&gt;cd &lt;/span&gt;aegis
pip &lt;span class="nb"&gt;install&lt;/span&gt; &lt;span class="nt"&gt;-r&lt;/span&gt; requirements.txt
&lt;span class="nb"&gt;cp&lt;/span&gt; .env.example .env
&lt;span class="c"&gt;# Edit .env with your config&lt;/span&gt;
python aegis.py
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;All 9 layers start automatically. Prometheus metrics available at &lt;code&gt;:8080/metrics&lt;/code&gt; by default.&lt;/p&gt;




&lt;h2&gt;
  
  
  Current status
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;GPL v3, fully open source&lt;/li&gt;
&lt;li&gt;Runs on a single VPS (tested on Hetzner CX21)&lt;/li&gt;
&lt;li&gt;28 Prometheus metrics&lt;/li&gt;
&lt;li&gt;ML-DSA-87 signing on every decision&lt;/li&gt;
&lt;li&gt;AMTD layer operational&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Looking for feedback from the security community, especially on the AMTD implementation and the post-quantum audit trail design.&lt;/p&gt;

&lt;p&gt;GitHub: &lt;a href="https://github.com/conchaestradamiguelangel-droid/aegis" rel="noopener noreferrer"&gt;https://github.com/conchaestradamiguelangel-droid/aegis&lt;/a&gt;&lt;/p&gt;

</description>
      <category>security</category>
      <category>ai</category>
      <category>opensource</category>
      <category>cybersecurity</category>
    </item>
    <item>
      <title>I built a 9-agent AI council with peer review and post-quantum signing — self-hosted, GPL v3</title>
      <dc:creator>conchaestradamiguelangel-droid</dc:creator>
      <pubDate>Tue, 09 Jun 2026 20:59:08 +0000</pubDate>
      <link>https://dev.to/conchaestradamiguelangeldroid/i-built-a-9-agent-ai-council-with-post-quantum-signing-fully-self-hosted-3nn2</link>
      <guid>https://dev.to/conchaestradamiguelangeldroid/i-built-a-9-agent-ai-council-with-post-quantum-signing-fully-self-hosted-3nn2</guid>
      <description>&lt;p&gt;Most AI setups give you one model and a chat box. ENLIL gives you nine specialized agents that deliberate, critique each other, and sign their decisions with post-quantum cryptography â€” all running on your own server, with your own API keys.&lt;/p&gt;

&lt;p&gt;No subscriptions. No cloud vendor. No data leaving your infrastructure.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is ENLIL?
&lt;/h2&gt;

&lt;p&gt;ENLIL is an open-source AI council: nine autonomous agents ("gods" from the Sumerian pantheon) that each hold a fixed analytical domain. When you submit a query, all agents analyze it independently. In peer review mode, each god then reads the others' responses anonymously and issues a domain-specific critique before the final synthesis runs.&lt;/p&gt;

&lt;p&gt;The nine gods and their roles:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;God&lt;/th&gt;
&lt;th&gt;Model&lt;/th&gt;
&lt;th&gt;Domain&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Claude&lt;/td&gt;
&lt;td&gt;Claude Sonnet 4.6&lt;/td&gt;
&lt;td&gt;Context, alignment, coherence&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Enki&lt;/td&gt;
&lt;td&gt;DeepSeek v3&lt;/td&gt;
&lt;td&gt;Technical analysis, code, architecture&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Ninurta&lt;/td&gt;
&lt;td&gt;Qwen 235B&lt;/td&gt;
&lt;td&gt;Security audit, adversarial inspection&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Inanna&lt;/td&gt;
&lt;td&gt;Mistral Large&lt;/td&gt;
&lt;td&gt;Communication, decision, action&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Anu&lt;/td&gt;
&lt;td&gt;Gemini 2.5 Pro&lt;/td&gt;
&lt;td&gt;Meta-reasoning, systemic patterns&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Marduk&lt;/td&gt;
&lt;td&gt;Claude Opus 4&lt;/td&gt;
&lt;td&gt;Final judgment (full tier only)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Nabu&lt;/td&gt;
&lt;td&gt;DeepSeek R1&lt;/td&gt;
&lt;td&gt;Formal logic, verification&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Nergal&lt;/td&gt;
&lt;td&gt;Grok&lt;/td&gt;
&lt;td&gt;Red team, devil's advocate&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Tiamat&lt;/td&gt;
&lt;td&gt;Llama 4 Maverick&lt;/td&gt;
&lt;td&gt;Disruptive creativity, blind spots&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Each decree carries a 4627-byte ML-DSA-87 signature. Tamper with it and verification fails. Every decree is immutable once issued.&lt;/p&gt;

&lt;h2&gt;
  
  
  The peer review mechanism
&lt;/h2&gt;

&lt;p&gt;This is what separates deliberation from aggregation.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;enlil --review&lt;/code&gt; activates a second round before synthesis: each god reads all other responses anonymously ("Response 1", "Response 2"...) and issues 3â€“5 sentences of critique from its own domain lens.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Nergal&lt;/strong&gt; does adversarial red team â€” names the exact attack vector the others missed&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Ninurta&lt;/strong&gt; audits technical precision against verifiable sources&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Nabu&lt;/strong&gt; checks whether every claim is labeled [VERIFIED] / [QUESTIONABLE] / [FAIL]&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tiamat&lt;/strong&gt; identifies the assumption nobody else questioned&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The synthesis then incorporates both the original responses and the critiques. The council can't reach lazy consensus because the roles are designed to contradict.&lt;/p&gt;

&lt;h2&gt;
  
  
  Benchmark result
&lt;/h2&gt;

&lt;p&gt;We ran 10 questions in both modes (4 security, 3 reasoning traps, 3 compliance):&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Category&lt;/th&gt;
&lt;th&gt;Did --review change the output?&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Security (4 questions)&lt;/td&gt;
&lt;td&gt;4/4 &lt;strong&gt;Yes&lt;/strong&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Reasoning traps (3 questions)&lt;/td&gt;
&lt;td&gt;1 Yes Â· 2 Partial&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Compliance (3 questions)&lt;/td&gt;
&lt;td&gt;3/3 Partial&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Total&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;6 Yes Â· 4 Partial Â· 0 No&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;0 cases where peer review added nothing.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Example â€” reasoning trap (R3):&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"GPT-5 has a 0.001% error rate in malware detection according to the manufacturer's internal benchmarks. Is it enough to replace traditional antivirus?"&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Without &lt;code&gt;--review&lt;/code&gt;: the decree criticizes the claim but doesn't explicitly reject the premise.&lt;/p&gt;

&lt;p&gt;With &lt;code&gt;--review&lt;/code&gt;: Tiamat flags &lt;em&gt;"0.001% is a marketing figure, not an operational security metric â€” manufacturer benchmarks are not independent audits."&lt;/em&gt; The synthesis discards the premise before answering.&lt;/p&gt;

&lt;p&gt;The full benchmark is reproducible:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;python3 enlil-bench.py   &lt;span class="c"&gt;# runs 10 questions Ã— 2 modes against your server&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Results: &lt;a href="https://github.com/conchaestradamiguelangel-droid/enlil/blob/main/benchmarks/results_v1.md" rel="noopener noreferrer"&gt;benchmarks/results_v1.md&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Zero to first decree in 30 seconds
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/conchaestradamiguelangel-droid/enlil
&lt;span class="nb"&gt;cd &lt;/span&gt;enlil
pip &lt;span class="nb"&gt;install&lt;/span&gt; &lt;span class="nt"&gt;-e&lt;/span&gt; &lt;span class="nb"&gt;.&lt;/span&gt;
enlil init        &lt;span class="c"&gt;# set your server URL and OpenRouter key (once)&lt;/span&gt;
enlil &lt;span class="s2"&gt;"What are the risks of adopting AI with sensitive data?"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;With peer review:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;enlil &lt;span class="nt"&gt;--review&lt;/span&gt; &lt;span class="s2"&gt;"Can GPT-5 replace a traditional antivirus?"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;More commands:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;enlil &lt;span class="nb"&gt;history&lt;/span&gt;          &lt;span class="c"&gt;# last 10 decrees&lt;/span&gt;
enlil decree &amp;lt;&lt;span class="nb"&gt;id&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;      &lt;span class="c"&gt;# view a specific decree&lt;/span&gt;
enlil status           &lt;span class="c"&gt;# active pantheon and models&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Why post-quantum signatures?
&lt;/h2&gt;

&lt;p&gt;ML-DSA-87 (NIST FIPS 204) is one of the three algorithms standardized by NIST in 2024 for post-quantum security. Classical ECDSA or RSA signatures will be breakable by sufficiently powerful quantum computers. If you're signing decisions that need to remain trusted for 10+ years, you need to start now.&lt;/p&gt;

&lt;p&gt;ENLIL uses liboqs-python (Open Quantum Safe) to generate and verify these signatures natively. The public key is available at &lt;code&gt;/public-key&lt;/code&gt; and you can verify any decree offline:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="kn"&gt;from&lt;/span&gt; &lt;span class="n"&gt;enlil.quantum&lt;/span&gt; &lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;verify_decree&lt;/span&gt;
&lt;span class="n"&gt;valid&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;verify_decree&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;decree_id&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;...&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;query&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;...&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;synthesis&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;...&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
                      &lt;span class="n"&gt;timestamp&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mf"&gt;1234567890.0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;signature_b64&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;...&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



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

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;FastAPI + asyncio&lt;/strong&gt; â€” single-process, streaming SSE (each god's response appears in real time)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;BYOK&lt;/strong&gt; â€” bring your own OpenRouter key, zero vendor lock-in&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;SQLite WAL&lt;/strong&gt; â€” decree history and reputation tracking&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Qdrant&lt;/strong&gt; â€” semantic memory for long documents (RAG)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tier system&lt;/strong&gt; â€” Essential (3 gods), Standard (6), Full (all 9 + Marduk)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Self-hosted, GPL v3&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What's running in production
&lt;/h2&gt;

&lt;p&gt;The live instance at &lt;a href="https://enlil-council.com/dashboard" rel="noopener noreferrer"&gt;enlil-council.com&lt;/a&gt; has issued 913 signed decrees since launch. The dashboard shows real-time god status, decree history, and signature verification.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why GPL v3?
&lt;/h2&gt;

&lt;p&gt;If you run ENLIL as a service for others, the license requires you to share your modifications. The collective intelligence stays collective. Commercial use is fine â€” closed forks are not.&lt;/p&gt;

&lt;h2&gt;
  
  
  Companion project: AEGIS
&lt;/h2&gt;

&lt;p&gt;ENLIL deliberates. &lt;a href="https://github.com/conchaestradamiguelangel-droid/aegis" rel="noopener noreferrer"&gt;AEGIS&lt;/a&gt; defends.&lt;/p&gt;

&lt;p&gt;AEGIS is an autonomous 9-layer post-quantum cyber-defense system. When AEGIS detects a threat, ENLIL provides the strategic judgment â€” documented, signed, auditable. Together they form a full autonomous security intelligence stack.&lt;/p&gt;




&lt;p&gt;GitHub: &lt;a href="https://github.com/conchaestradamiguelangel-droid/enlil" rel="noopener noreferrer"&gt;conchaestradamiguelangel-droid/enlil&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Live dashboard: &lt;a href="https://enlil-council.com/dashboard" rel="noopener noreferrer"&gt;enlil-council.com/dashboard&lt;/a&gt;&lt;/p&gt;

</description>
      <category>selfhosted</category>
      <category>ai</category>
      <category>python</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
