<?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: sakiha6720</title>
    <description>The latest articles on DEV Community by sakiha6720 (@sakiha6720).</description>
    <link>https://dev.to/sakiha6720</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%2F3823269%2Fb683800e-2f92-4dbf-ba86-5a2cc66e0875.png</url>
      <title>DEV Community: sakiha6720</title>
      <link>https://dev.to/sakiha6720</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sakiha6720"/>
    <language>en</language>
    <item>
      <title>I Taught a Tiny Open-Source Language Model to Speak Halloween — Meet the Haunted Frog 🐸🎃</title>
      <dc:creator>sakiha6720</dc:creator>
      <pubDate>Wed, 28 Oct 2026 19:26:47 +0000</pubDate>
      <link>https://dev.to/sakiha6720/i-taught-a-tiny-open-source-language-model-to-speak-halloween-meet-the-haunted-frog-1phf</link>
      <guid>https://dev.to/sakiha6720/i-taught-a-tiny-open-source-language-model-to-speak-halloween-meet-the-haunted-frog-1phf</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-week4-2026-10-26"&gt;Hacktoberfest Open-Source AI Challenge Week 4: Ghost in the Machine&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;The Haunted Frog&lt;/strong&gt; is a tiny language model that lives in your terminal. You teach it Halloween, and then it whispers back.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;🐸 THE GHOST IS LAUGHING
🐸 THE NIGHT IS HUNGRY
🐸 THE OWL SAYS WHO
🐸 THE GHOST
🐸 THE ZOMBIE IS FLICKERING
🐸 THE FOG IS HUNGRY
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;Those are six consecutive samples (seeds 1003-1008), not a script and not hand-picked. The frog learned 60 short Halloween phrases ("THE FOG IS ROLLING IN", "THE WITCH IS LAUGHING", "I AM HUNGRY"...) and recombined them. Some outputs reproduce a training line (&lt;code&gt;THE OWL SAYS WHO&lt;/code&gt; is one), but "the zombie is flickering" and "the fog is hungry" appear nowhere in its training data.&lt;/p&gt;

&lt;p&gt;The "ghost in the machine" here is literal and small. The model is &lt;a href="https://github.com/kagioneko/cse-frog" rel="noopener noreferrer"&gt;CSE-Frog&lt;/a&gt;, an open-source next-symbol model I made earlier this year as a &lt;em&gt;dissection specimen&lt;/em&gt; for learning how language models work. It is not a Transformer. It has no attention and no gradient descent, it looks back only about two symbols, and you can read the whole engine in one sitting. For this challenge I built a brand-new app around it that trains it, haunts a terminal with it, and measures honestly what it learned.&lt;/p&gt;
&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fvnlmzzqkaz7zgqx1l3pe.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fvnlmzzqkaz7zgqx1l3pe.gif" alt="The Haunted Terminal" width="800" height="612"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;A real, unedited run. Every 🐸 line is model output, and the seed is printed next to it. Run &lt;code&gt;python -m haunted_frog haunt --count 6 --seed 1003&lt;/code&gt; and you get exactly these lines. The dim text ("Something small is breathing inside the machine...") is hand-written narration and is drawn without the frog, so you can always tell which is which.&lt;/em&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  Code
&lt;/h2&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://assets.dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/kagioneko" rel="noopener noreferrer"&gt;
        kagioneko
      &lt;/a&gt; / &lt;a href="https://github.com/kagioneko/the-haunted-frog" rel="noopener noreferrer"&gt;
        the-haunted-frog
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      A tiny open-source language model (CSE-Frog) learns Halloween and haunts your terminal. Hacktoberfest 2026 Week 4.
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;The Haunted Frog 🐸🎃&lt;/h1&gt;
&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;A tiny language model learns Halloween.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;A tiny frog lives inside your terminal. Teach it Halloween words and it starts whispering strange things back.&lt;/p&gt;

&lt;p&gt;The frog is &lt;a href="https://github.com/kagioneko/cse-frog" rel="noopener noreferrer"&gt;CSE-Frog&lt;/a&gt;, a small open-source next-symbol model that you can read end to end
It is &lt;strong&gt;not&lt;/strong&gt; an LLM. It has no attention and no gradient descent, and it only looks back about two symbols
This project trains it on a 60-line Halloween corpus, lets it speak in a "haunted" terminal, and measures what learning actually changed.&lt;/p&gt;
&lt;p&gt;Everything runs locally on a CPU. There are no API keys, no cloud calls and no downloads after &lt;code&gt;pip install&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a rel="noopener noreferrer" href="https://github.com/kagioneko/the-haunted-frog/docs/media/haunt.gif"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fraw.githubusercontent.com%2Fkagioneko%2Fthe-haunted-frog%2FHEAD%2Fdocs%2Fmedia%2Fhaunt.gif" alt="The Haunted Terminal: real, unedited run with seed 1003"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Recorded with &lt;code&gt;python -m haunted_frog haunt --count 6 --seed 1003&lt;/code&gt; (asciinema → agg, raw cast in &lt;code&gt;docs/media/haunt.cast&lt;/code&gt;). Every 🐸 line is model output. Run the same command to get the same lines.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;A second real run, as plain text:&lt;/p&gt;
&lt;div class="snippet-clipboard-content notranslate position-relative overflow-auto"&gt;
&lt;pre class="notranslate"&gt;&lt;code&gt;[&lt;/code&gt;&lt;/pre&gt;…&lt;/div&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/kagioneko/the-haunted-frog" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;br&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/kagioneko/the-haunted-frog &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="nb"&gt;cd &lt;/span&gt;the-haunted-frog
python &lt;span class="nt"&gt;-m&lt;/span&gt; venv .venv &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="nb"&gt;source&lt;/span&gt; .venv/bin/activate &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; 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;
python &lt;span class="nt"&gt;-m&lt;/span&gt; haunted_frog train      &lt;span class="c"&gt;# ~1 second on a CPU&lt;/span&gt;
python &lt;span class="nt"&gt;-m&lt;/span&gt; haunted_frog haunt      &lt;span class="c"&gt;# Ctrl+C to leave&lt;/span&gt;
python &lt;span class="nt"&gt;-m&lt;/span&gt; haunted_frog evaluate   &lt;span class="c"&gt;# the experiment below&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;No GPU, no API key, no network after install.&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;1. A corpus small enough to read.&lt;/strong&gt; &lt;code&gt;data/halloween.txt&lt;/code&gt; has 60 lines that I wrote for this project, deliberately sharing words (&lt;code&gt;THE ... IS ...&lt;/code&gt;, &lt;code&gt;I AM ...&lt;/code&gt;, &lt;code&gt;... IN THE ...&lt;/code&gt;) so the frog has joints to recombine at. You can edit it and retrain in a second.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Training.&lt;/strong&gt; CSE-Frog learns by strengthening links between symbols that follow each other (Hebbian-style), plus a memory of the last &lt;em&gt;pair&lt;/em&gt; of symbols. Training is one call: &lt;code&gt;Frog(top_k_edges=16).learn(sequences, epochs=5)&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;The first bug was a good one. I passed the lines as a flat list of strings, and CSE-Frog read the whole list as &lt;em&gt;one&lt;/em&gt; sequence of 60 giant symbols. The frog recited the corpus as one run-on sentence:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;HAPPY HALLOWEENTRICK OR TREATGHOST IN THE MACHINETHE GHOST IS HEREI AM A FROG
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The fix is a list of lists, one sequence per line, so the frog learns where a phrase &lt;em&gt;ends&lt;/em&gt;. There is now a test for it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Generation.&lt;/strong&gt; &lt;code&gt;frog.generate(prefix, n=max_len, seed=s)&lt;/code&gt; samples one symbol at a time until the frog picks &lt;code&gt;&amp;lt;END&amp;gt;&lt;/code&gt;. My wrapper never edits, filters or re-ranks the output. An empty answer is printed as &lt;code&gt;(silence)&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. The Haunted Terminal.&lt;/strong&gt; Green frog, orange banner, typewriter effect, a line every few seconds, and a &lt;code&gt;--no-halloween&lt;/code&gt; switch for plain output. Each line uses seed &lt;code&gt;base+i&lt;/code&gt;, so a whole spooky session can be replayed.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5. An experiment instead of a vibe.&lt;/strong&gt; &lt;code&gt;python -m haunted_frog evaluate&lt;/code&gt; trains 10 frogs and scores each one on the &lt;em&gt;same&lt;/em&gt; 100 seeds.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Frog&lt;/th&gt;
&lt;th&gt;Halloween words&lt;/th&gt;
&lt;th&gt;Unique outputs&lt;/th&gt;
&lt;th&gt;Mean length&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Untrained &lt;code&gt;Frog()&lt;/code&gt;
&lt;/td&gt;
&lt;td&gt;silent (100% empty)&lt;/td&gt;
&lt;td&gt;—&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Control: same-shaped corpus of everyday words&lt;/td&gt;
&lt;td&gt;0%&lt;/td&gt;
&lt;td&gt;59%&lt;/td&gt;
&lt;td&gt;3.6 words&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Halloween, word-level, 1 epoch&lt;/td&gt;
&lt;td&gt;18%&lt;/td&gt;
&lt;td&gt;81%&lt;/td&gt;
&lt;td&gt;4.2&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Halloween, word-level, 5 epochs&lt;/td&gt;
&lt;td&gt;15%&lt;/td&gt;
&lt;td&gt;57%&lt;/td&gt;
&lt;td&gt;3.7&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Halloween, word-level, 20 epochs&lt;/td&gt;
&lt;td&gt;19%&lt;/td&gt;
&lt;td&gt;38%&lt;/td&gt;
&lt;td&gt;3.0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Halloween, 5 epochs, CSE-Frog default &lt;code&gt;top_k_edges=3&lt;/code&gt;
&lt;/td&gt;
&lt;td&gt;15%&lt;/td&gt;
&lt;td&gt;20%&lt;/td&gt;
&lt;td&gt;3.1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Halloween, &lt;strong&gt;character-level&lt;/strong&gt;, 5 epochs&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;0%&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;92%&lt;/td&gt;
&lt;td&gt;9.4&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h3&gt;
  
  
  What worked
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Training is what makes it speak at all, and the corpus decides what it says. The control frog never said a Halloween word. The Halloween frog uses one in every 5-7 words.&lt;/li&gt;
&lt;li&gt;It recombines. With the settings I ship, 83-94% of word-level outputs are not exact lines from the corpus. Here are the first ten seeds of the 1-epoch frog, unpicked:
&lt;code&gt;COLD WIND AT MIDNIGHT&lt;/code&gt; · &lt;code&gt;COLD WIND AT MIDNIGHT&lt;/code&gt; · &lt;code&gt;A SPIDER IN THE WINDOW&lt;/code&gt; · &lt;code&gt;I AM HUNGRY&lt;/code&gt; · &lt;code&gt;THE NIGHT IS QUIET&lt;/code&gt; · &lt;code&gt;I WANT A WITCH ON A GHOST IN THE WIRES&lt;/code&gt; · &lt;code&gt;THE MACHINE&lt;/code&gt; · &lt;code&gt;SOMETHING IS HUNGRY&lt;/code&gt; · &lt;code&gt;A FROG&lt;/code&gt; · &lt;code&gt;THE WITCH IS AWAKE&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  What failed
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;It is obsessed with "THE".&lt;/strong&gt; &lt;code&gt;THE&lt;/code&gt; starts 38% of the corpus lines, but 99% of the outputs after 5 or 20 epochs (49% after 1 epoch). Its Halloween-word rate (15-19%) stays below the corpus's own 22.6%, because it over-produces THE and IS.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;More training made it duller.&lt;/strong&gt; Unique outputs fell from 81% (1 epoch) to 38% (20 epochs). Asking the frog for its probabilities showed why: the chance that a line starts with &lt;code&gt;THE&lt;/code&gt; goes from 0.435 after 1 epoch to &lt;strong&gt;0.998&lt;/strong&gt; after 20. The strongest links keep getting stronger, the temperature stays fixed, and the softmax saturates.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The default settings were too narrow.&lt;/strong&gt; At CSE-Frog's default &lt;code&gt;top_k_edges=3&lt;/code&gt;, only 20% of outputs were unique. I raised it to 16 after looking at seeds 0-39, and then scored everything on seeds 1000-1099 so the choice wasn't graded on the samples that picked it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The character-level frog almost never formed a Halloween word.&lt;/strong&gt; In 200 outputs at 5 and 20 epochs it formed none, and at 1 epoch it formed exactly one. It keeps circling the same little loop:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;  THE INGHE INGHE IN IN IN WIS INDYS ING     (5 epochs)
  THE IN IN IN ING                           (5 epochs)
  HE S L THE AUNIGIC                         (1 epoch)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;My hypothesis is that with only about two characters of context, &lt;code&gt;THE&lt;/code&gt;, &lt;code&gt;IN&lt;/code&gt;, &lt;code&gt;IS&lt;/code&gt; and &lt;code&gt;-ING&lt;/code&gt; become attractors it can't escape. I haven't isolated that experimentally yet (that needs a variable context length), but it is the most vivid picture I've seen of why real language models need long context.&lt;/p&gt;

&lt;p&gt;Full method, all ten conditions, unedited samples and threats to validity: &lt;a href="https://github.com/kagioneko/the-haunted-frog/blob/main/docs/EXPERIMENT.md" rel="noopener noreferrer"&gt;docs/EXPERIMENT.md&lt;/a&gt;.&lt;/p&gt;

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

&lt;p&gt;With a closed model, you can only watch the ghost. With an open one, you can open the machine and find out why it says what it says.&lt;/p&gt;

&lt;p&gt;Because the engine is open, small and inspectable, I could look straight at the numbers behind these behaviours. CSE-Frog can print the score breakdown behind any single prediction (&lt;code&gt;frog.show(...)&lt;/code&gt;). When the 20-epoch frog got stuck on &lt;code&gt;THE GHOST&lt;/code&gt;, I didn't have to guess: &lt;code&gt;scripts/diagnose.py&lt;/code&gt; shows &lt;code&gt;THE&lt;/code&gt; at 0.998 at the start of a line, and almost all of &lt;code&gt;GHOST&lt;/code&gt;'s score coming from one direct link. You can run the same script and see the same numbers.&lt;/p&gt;

&lt;p&gt;Open also means anyone can repeat this. The corpus is a text file, the seeds are printed on screen, and the model file is plain JSON. &lt;code&gt;python -m haunted_frog evaluate&lt;/code&gt; rebuilds the results table in about a minute on a single CPU core, and &lt;code&gt;python scripts/diagnose.py&lt;/code&gt; prints the probabilities and score breakdown quoted above. If you think I cherry-picked, run them and check.&lt;/p&gt;

&lt;p&gt;And open lets small things exist. A 60-line corpus and a frog-sized model aren't a product. They're a specimen you can dissect. I think more people would understand language models if they could start with one that fits in their head.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Spirit of It
&lt;/h2&gt;

&lt;p&gt;A ghost in the machine is something that seems alive but turns out to be mechanism. The frog is that idea at a scale you can hold: it says &lt;code&gt;THE FOG IS HUNGRY&lt;/code&gt;, and you can look inside and see exactly which links made it say so.&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;Honest notes&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;CSE-Frog itself predates this challenge (I published it on PyPI on 2026-10-04, MIT). It is used unmodified as a PyPI dependency. Everything in &lt;code&gt;the-haunted-frog&lt;/code&gt;, including the corpus, app, terminal, experiment and tests, was built during Week 4.&lt;/li&gt;
&lt;li&gt;I wrote the code with an AI coding assistant (Claude Code). Every number above comes from running the repo.&lt;/li&gt;
&lt;li&gt;This is a toy. It does not understand English or Halloween. It recombines short phrases, and the experiment above shows where that breaks.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>devchallenge</category>
      <category>hf26challenge</category>
      <category>opensource</category>
      <category>python</category>
    </item>
    <item>
      <title>Context Pointer OS: Reconstructing Memory for Long-Running AI Agents</title>
      <dc:creator>sakiha6720</dc:creator>
      <pubDate>Sat, 23 May 2026 20:49:29 +0000</pubDate>
      <link>https://dev.to/sakiha6720/context-pointer-os-reconstructing-memory-for-long-running-ai-agents-4n7o</link>
      <guid>https://dev.to/sakiha6720/context-pointer-os-reconstructing-memory-for-long-running-ai-agents-4n7o</guid>
      <description>&lt;p&gt;Context Pointer OS: Reconstructing Memory for Long-Running AI Agents&lt;/p&gt;

&lt;p&gt;This is a submission for the Hermes Agent Challenge&lt;/p&gt;

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

&lt;p&gt;Modern AI agents are becoming increasingly persistent.&lt;/p&gt;

&lt;p&gt;They no longer operate as simple request/response systems.&lt;br&gt;
They maintain memories, tools, workflows, user preferences, execution histories, and long-running task states.&lt;/p&gt;

&lt;p&gt;However, most current agent systems still rely on a fundamentally expensive pattern:&lt;/p&gt;

&lt;p&gt;Reloading large amounts of context repeatedly.&lt;/p&gt;

&lt;p&gt;This creates several problems:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Context window overload&lt;/li&gt;
&lt;li&gt;Token explosion&lt;/li&gt;
&lt;li&gt;Retrieval duplication&lt;/li&gt;
&lt;li&gt;Memory drift&lt;/li&gt;
&lt;li&gt;Long-session instability&lt;/li&gt;
&lt;li&gt;Difficulty auditing historical reasoning&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;To explore an alternative approach, I built an experimental architecture concept called:&lt;/p&gt;

&lt;p&gt;Context Pointer OS&lt;/p&gt;

&lt;p&gt;Instead of forcing agents to continuously carry entire histories, Context Pointer OS introduces a lightweight symbolic routing layer where agents primarily exchange:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;references&lt;/li&gt;
&lt;li&gt;summaries&lt;/li&gt;
&lt;li&gt;retrieval rules&lt;/li&gt;
&lt;li&gt;compressed memory pointers&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;rather than full raw context.&lt;/p&gt;

&lt;p&gt;The goal is not “infinite memory.”&lt;/p&gt;

&lt;p&gt;The goal is:&lt;/p&gt;

&lt;p&gt;reconstructing memory only when necessary.&lt;/p&gt;

&lt;p&gt;This project explores whether long-running AI systems may scale more effectively through context reconstruction instead of continuously increasing context size.&lt;/p&gt;

&lt;p&gt;⸻&lt;/p&gt;

&lt;p&gt;Core Idea&lt;/p&gt;

&lt;p&gt;Traditional agent memory systems often work like this:&lt;/p&gt;

&lt;p&gt;Agent&lt;br&gt;
 └── repeatedly reloads massive context&lt;/p&gt;

&lt;p&gt;Context Pointer OS instead proposes:&lt;/p&gt;

&lt;p&gt;Agent&lt;br&gt;
 └── pointer layer&lt;br&gt;
      └── selective retrieval&lt;br&gt;
           └── context reconstruction&lt;/p&gt;

&lt;p&gt;The system separates:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Active Context&lt;/li&gt;
&lt;li&gt;Archived Context&lt;/li&gt;
&lt;li&gt;Retrieval Routing&lt;/li&gt;
&lt;li&gt;Symbolic References&lt;/li&gt;
&lt;li&gt;Reconstruction Rules&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This creates a lightweight “operating layer” between the agent and long-term memory systems.&lt;/p&gt;

&lt;p&gt;⸻&lt;/p&gt;

&lt;p&gt;Example Pointer Structure&lt;/p&gt;

&lt;p&gt;A pointer may contain metadata such as:&lt;/p&gt;

&lt;p&gt;{&lt;br&gt;
  "pointer_id": "mem_042",&lt;br&gt;
  "context_type": "security_incident",&lt;br&gt;
  "summary": "Suspicious VPS login event",&lt;br&gt;
  "priority": 0.92,&lt;br&gt;
  "source": "incident_logs",&lt;br&gt;
  "retrieval_rule": "only_if_security_context",&lt;br&gt;
  "expiration": null&lt;br&gt;
}&lt;/p&gt;

&lt;p&gt;Instead of injecting entire logs into every interaction, the agent only retrieves them when required.&lt;/p&gt;

&lt;p&gt;⸻&lt;/p&gt;

&lt;p&gt;Why This Matters&lt;/p&gt;

&lt;p&gt;As agent systems become:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;autonomous&lt;/li&gt;
&lt;li&gt;collaborative&lt;/li&gt;
&lt;li&gt;long-running&lt;/li&gt;
&lt;li&gt;multi-session&lt;/li&gt;
&lt;li&gt;memory-driven&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;context management itself becomes an architectural problem.&lt;/p&gt;

&lt;p&gt;Simply increasing context windows may not be sufficient.&lt;/p&gt;

&lt;p&gt;Large-scale agent ecosystems may eventually require:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;memory routing&lt;/li&gt;
&lt;li&gt;symbolic compression&lt;/li&gt;
&lt;li&gt;retrieval governance&lt;/li&gt;
&lt;li&gt;context lifecycle management&lt;/li&gt;
&lt;li&gt;auditability layers&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This project explores one possible direction toward that future.&lt;/p&gt;

&lt;p&gt;⸻&lt;/p&gt;

&lt;p&gt;Demo&lt;/p&gt;

&lt;p&gt;Architecture Diagram&lt;/p&gt;

&lt;p&gt;GitHub Repository&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/kagioneko/context-pointer-os" rel="noopener noreferrer"&gt;https://github.com/kagioneko/context-pointer-os&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;⸻&lt;/p&gt;

&lt;p&gt;Code&lt;/p&gt;

&lt;p&gt;Repository:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/kagioneko/context-pointer-os" rel="noopener noreferrer"&gt;https://github.com/kagioneko/context-pointer-os&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Example conceptual routing logic:&lt;/p&gt;

&lt;p&gt;if pointer.priority &amp;gt; threshold:&lt;br&gt;
    reconstructed_context = retrieve(pointer)&lt;br&gt;
    agent.inject(reconstructed_context)&lt;/p&gt;

&lt;p&gt;⸻&lt;/p&gt;

&lt;p&gt;My Tech Stack&lt;/p&gt;

&lt;p&gt;This project is primarily architectural and experimental.&lt;/p&gt;

&lt;p&gt;Current components include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Python&lt;/li&gt;
&lt;li&gt;JSON-based memory structures&lt;/li&gt;
&lt;li&gt;Pointer-based routing concepts&lt;/li&gt;
&lt;li&gt;External memory design&lt;/li&gt;
&lt;li&gt;Agent runtime experimentation&lt;/li&gt;
&lt;li&gt;Context reconstruction workflows&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Additional conceptual influences include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;long-running AI agents&lt;/li&gt;
&lt;li&gt;external cognition systems&lt;/li&gt;
&lt;li&gt;symbolic memory routing&lt;/li&gt;
&lt;li&gt;retrieval-aware architectures&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;⸻&lt;/p&gt;

&lt;p&gt;How I Used Hermes Agent&lt;/p&gt;

&lt;p&gt;Hermes Agent strongly influenced the direction of this project.&lt;/p&gt;

&lt;p&gt;What stood out to me was the idea of agents that:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;improve over time&lt;/li&gt;
&lt;li&gt;retain operational continuity&lt;/li&gt;
&lt;li&gt;search previous interactions&lt;/li&gt;
&lt;li&gt;maintain evolving memory structures&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This raised an important architectural question:&lt;/p&gt;

&lt;p&gt;How should agents manage memory once they become persistent?&lt;/p&gt;

&lt;p&gt;Context Pointer OS was developed as an experimental response to that question.&lt;/p&gt;

&lt;p&gt;Instead of treating memory as a continuously loaded block of text, the system explores whether agents could operate through:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;contextual pointers&lt;/li&gt;
&lt;li&gt;symbolic references&lt;/li&gt;
&lt;li&gt;selective reconstruction&lt;/li&gt;
&lt;li&gt;memory routing layers&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Hermes Agent helped frame the importance of long-running agent infrastructure — not only better models, but better memory operating systems around them.&lt;/p&gt;

&lt;p&gt;⸻&lt;/p&gt;

&lt;p&gt;Final Thoughts&lt;/p&gt;

&lt;p&gt;This is not a finished framework.&lt;/p&gt;

&lt;p&gt;It is an ongoing experiment exploring how future AI agents may organize memory, context, and continuity.&lt;/p&gt;

&lt;p&gt;Maybe future AI systems won’t scale through larger context windows alone.&lt;/p&gt;

&lt;p&gt;Maybe they will scale by learning how to point.&lt;/p&gt;

</description>
      <category>hermesagentchallenge</category>
      <category>devchallenge</category>
      <category>agents</category>
    </item>
    <item>
      <title>Google I/O 2026 Wasn’t About AI Models — It Was About Agent Execution Layers</title>
      <dc:creator>sakiha6720</dc:creator>
      <pubDate>Sat, 23 May 2026 20:45:28 +0000</pubDate>
      <link>https://dev.to/sakiha6720/google-io-2026-wasnt-about-ai-models-it-was-about-agent-execution-layers-5cep</link>
      <guid>https://dev.to/sakiha6720/google-io-2026-wasnt-about-ai-models-it-was-about-agent-execution-layers-5cep</guid>
      <description>&lt;p&gt;title: Google I/O 2026 Wasn’t About AI Models — It Was About Agent Execution Layers&lt;br&gt;
published: true&lt;br&gt;
tags: ai, googleio, agents, architecture&lt;/p&gt;

&lt;p&gt;This is a submission for the Google I/O Writing Challenge&lt;/p&gt;

&lt;p&gt;Google I/O 2026 Wasn’t About AI Models — It Was About Agent Execution Layers&lt;/p&gt;

&lt;p&gt;Most discussions around Google I/O 2026 focused on model capabilities.&lt;/p&gt;

&lt;p&gt;Gemini got smarter.&lt;br&gt;
AI Studio improved.&lt;br&gt;
Agent workflows became easier.&lt;br&gt;
On-device AI became more practical.&lt;/p&gt;

&lt;p&gt;But I think the real shift happened somewhere deeper.&lt;/p&gt;

&lt;p&gt;Google I/O 2026 was not just about better AI models.&lt;/p&gt;

&lt;p&gt;It was about the emergence of an Agent Execution Layer.&lt;/p&gt;

&lt;p&gt;And once you start building multi-agent systems in the real world, you quickly discover something uncomfortable:&lt;/p&gt;

&lt;p&gt;The hardest problem is no longer intelligence.&lt;/p&gt;

&lt;p&gt;It is state management.&lt;/p&gt;

&lt;p&gt;⸻&lt;/p&gt;

&lt;p&gt;The Problem Nobody Talks About&lt;/p&gt;

&lt;p&gt;When developers first build AI systems, the architecture usually looks simple:&lt;/p&gt;

&lt;p&gt;User -&amp;gt; LLM -&amp;gt; Response&lt;/p&gt;

&lt;p&gt;But the moment you move into agent workflows, everything changes.&lt;/p&gt;

&lt;p&gt;Now you suddenly have:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;multiple agents&lt;/li&gt;
&lt;li&gt;tool execution&lt;/li&gt;
&lt;li&gt;memory systems&lt;/li&gt;
&lt;li&gt;long context histories&lt;/li&gt;
&lt;li&gt;role switching&lt;/li&gt;
&lt;li&gt;state inheritance&lt;/li&gt;
&lt;li&gt;retrieval pipelines&lt;/li&gt;
&lt;li&gt;security boundaries&lt;/li&gt;
&lt;li&gt;autonomous actions&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;And eventually, the architecture becomes something closer to:&lt;/p&gt;

&lt;p&gt;User&lt;br&gt;
  ↓&lt;br&gt;
Coordinator Agent&lt;br&gt;
  ↓&lt;br&gt;
Execution Agents&lt;br&gt;
  ↓&lt;br&gt;
Memory Layer&lt;br&gt;
  ↓&lt;br&gt;
Tool Runtime&lt;br&gt;
  ↓&lt;br&gt;
External APIs / Environment&lt;/p&gt;

&lt;p&gt;At this point, prompts stop being “messages.”&lt;/p&gt;

&lt;p&gt;They become something closer to an operating system.&lt;/p&gt;

&lt;p&gt;⸻&lt;/p&gt;

&lt;p&gt;Context Is Becoming the New Bottleneck&lt;/p&gt;

&lt;p&gt;Most people still think model performance is the primary scaling problem.&lt;/p&gt;

&lt;p&gt;I don’t think that’s true anymore.&lt;/p&gt;

&lt;p&gt;The bigger problem is this:&lt;/p&gt;

&lt;p&gt;Context grows faster than reasoning quality.&lt;/p&gt;

&lt;p&gt;The more capable agents become, the more memory, instructions, logs, and coordination data they accumulate.&lt;/p&gt;

&lt;p&gt;This creates several failure modes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;context bloat&lt;/li&gt;
&lt;li&gt;instruction conflicts&lt;/li&gt;
&lt;li&gt;memory drift&lt;/li&gt;
&lt;li&gt;role collapse&lt;/li&gt;
&lt;li&gt;hidden prompt inheritance&lt;/li&gt;
&lt;li&gt;prompt injection propagation&lt;/li&gt;
&lt;li&gt;state contamination between agents&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Ironically, smarter agents amplify orchestration problems.&lt;/p&gt;

&lt;p&gt;This is where I think the next generation of AI infrastructure will emerge.&lt;/p&gt;

&lt;p&gt;⸻&lt;/p&gt;

&lt;p&gt;From “Prompt Engineering” to “State Engineering”&lt;/p&gt;

&lt;p&gt;For the last two years, the industry focused heavily on prompt engineering.&lt;/p&gt;

&lt;p&gt;But prompt engineering assumes something important:&lt;/p&gt;

&lt;p&gt;That interaction is temporary.&lt;/p&gt;

&lt;p&gt;Agent systems break this assumption.&lt;/p&gt;

&lt;p&gt;Agents persist.&lt;br&gt;
Agents inherit memory.&lt;br&gt;
Agents maintain roles.&lt;br&gt;
Agents accumulate behavioral state over time.&lt;/p&gt;

&lt;p&gt;That means the problem changes from:&lt;/p&gt;

&lt;p&gt;"What should the AI say?"&lt;/p&gt;

&lt;p&gt;to:&lt;/p&gt;

&lt;p&gt;"What state should the AI exist in?"&lt;/p&gt;

&lt;p&gt;This is a fundamentally different design philosophy.&lt;/p&gt;

&lt;p&gt;⸻&lt;/p&gt;

&lt;p&gt;Building Around the Problem&lt;/p&gt;

&lt;p&gt;Over the past year, I started building several experimental concepts around this issue while working on multi-agent workflows, memory systems, and autonomous orchestration experiments.&lt;/p&gt;

&lt;p&gt;Some examples:&lt;/p&gt;

&lt;p&gt;Context Pointer OS&lt;/p&gt;

&lt;p&gt;Instead of continuously passing gigantic raw histories into models, agents should reference contextual structures through lightweight pointers.&lt;/p&gt;

&lt;p&gt;In other words:&lt;/p&gt;

&lt;p&gt;Don't pass the entire world.&lt;br&gt;
Pass references to the world.&lt;/p&gt;

&lt;p&gt;This reduces token waste while making long-term coordination more stable.&lt;/p&gt;

&lt;p&gt;Project:&lt;br&gt;
&lt;a href="https://github.com/kagioneko/context-pointer-os" rel="noopener noreferrer"&gt;https://github.com/kagioneko/context-pointer-os&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;⸻&lt;/p&gt;

&lt;p&gt;AI Instruction Tape (AIT)&lt;/p&gt;

&lt;p&gt;Human language is extremely expensive for agent-to-agent communication.&lt;/p&gt;

&lt;p&gt;AIT experiments with compressed instruction transfer between AI systems.&lt;/p&gt;

&lt;p&gt;Instead of repeatedly sending huge natural language prompts, agents exchange compact operational context.&lt;/p&gt;

&lt;p&gt;Project:&lt;br&gt;
&lt;a href="https://github.com/kagioneko/ai-instruction-tape" rel="noopener noreferrer"&gt;https://github.com/kagioneko/ai-instruction-tape&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;⸻&lt;/p&gt;

&lt;p&gt;Esoteric AI Protocol (EAP)&lt;/p&gt;

&lt;p&gt;As multi-agent ecosystems grow, natural language alone becomes inefficient as an execution protocol.&lt;/p&gt;

&lt;p&gt;EAP explores lightweight structured communication for agent coordination.&lt;/p&gt;

&lt;p&gt;Project:&lt;br&gt;
&lt;a href="https://github.com/kagioneko/esoteric-ai-protocol" rel="noopener noreferrer"&gt;https://github.com/kagioneko/esoteric-ai-protocol&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;⸻&lt;/p&gt;

&lt;p&gt;Google I/O 2026 Confirmed Something Important&lt;/p&gt;

&lt;p&gt;What Google showed this year was not just AI tooling.&lt;/p&gt;

&lt;p&gt;It was the beginning of infrastructure for persistent AI execution.&lt;/p&gt;

&lt;p&gt;The moment agents become:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;autonomous&lt;/li&gt;
&lt;li&gt;stateful&lt;/li&gt;
&lt;li&gt;collaborative&lt;/li&gt;
&lt;li&gt;tool-connected&lt;/li&gt;
&lt;li&gt;environment-aware&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;the industry stops being purely about model quality.&lt;/p&gt;

&lt;p&gt;It becomes about:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;orchestration&lt;/li&gt;
&lt;li&gt;memory integrity&lt;/li&gt;
&lt;li&gt;state synchronization&lt;/li&gt;
&lt;li&gt;execution governance&lt;/li&gt;
&lt;li&gt;agent operating systems&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;In other words:&lt;/p&gt;

&lt;p&gt;The future of AI is not just model architecture.&lt;br&gt;
It is runtime architecture.&lt;/p&gt;

&lt;p&gt;⸻&lt;/p&gt;

&lt;p&gt;The Security Side Is Going to Matter More Than People Think&lt;/p&gt;

&lt;p&gt;One thing I learned from real-world VPS incidents and autonomous agent experiments:&lt;/p&gt;

&lt;p&gt;The more authority agents gain, the more dangerous context corruption becomes.&lt;/p&gt;

&lt;p&gt;A compromised context is effectively a compromised execution environment.&lt;/p&gt;

&lt;p&gt;This means future AI systems will likely require:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;memory validation&lt;/li&gt;
&lt;li&gt;state auditing&lt;/li&gt;
&lt;li&gt;execution boundaries&lt;/li&gt;
&lt;li&gt;agent isolation&lt;/li&gt;
&lt;li&gt;instruction provenance&lt;/li&gt;
&lt;li&gt;behavioral monitoring&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;AI security may gradually evolve into something closer to operating system security.&lt;/p&gt;

&lt;p&gt;And honestly, I think we are still very early.&lt;/p&gt;

&lt;p&gt;⸻&lt;/p&gt;

&lt;p&gt;Final Thoughts&lt;/p&gt;

&lt;p&gt;Google I/O 2026 felt like a transition point.&lt;/p&gt;

&lt;p&gt;Not because AI suddenly became intelligent.&lt;/p&gt;

&lt;p&gt;But because the ecosystem started shifting from:&lt;/p&gt;

&lt;p&gt;AI as conversation&lt;/p&gt;

&lt;p&gt;to:&lt;/p&gt;

&lt;p&gt;AI as infrastructure&lt;/p&gt;

&lt;p&gt;And once that happens, developers will need new abstractions.&lt;/p&gt;

&lt;p&gt;Not just better prompts.&lt;/p&gt;

&lt;p&gt;But:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;state layers&lt;/li&gt;
&lt;li&gt;memory architectures&lt;/li&gt;
&lt;li&gt;execution runtimes&lt;/li&gt;
&lt;li&gt;agent protocols&lt;/li&gt;
&lt;li&gt;orchestration operating systems&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I think that’s where the next major wave of AI development is heading.&lt;/p&gt;

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