<?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: Kshitiz Maurya</title>
    <description>The latest articles on DEV Community by Kshitiz Maurya (@kshitizmaurya).</description>
    <link>https://dev.to/kshitizmaurya</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3883758%2F6ee94440-c3fd-42ff-860c-5c0ae6e5273d.png</url>
      <title>DEV Community: Kshitiz Maurya</title>
      <link>https://dev.to/kshitizmaurya</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/kshitizmaurya"/>
    <language>en</language>
    <item>
      <title>I Built an 'Open World' AI Coding Agent — It Works From ANY Folder</title>
      <dc:creator>Kshitiz Maurya</dc:creator>
      <pubDate>Fri, 17 Apr 2026 06:30:13 +0000</pubDate>
      <link>https://dev.to/kshitizmaurya/i-built-an-open-world-ai-coding-agent-it-works-from-any-folder-5ecn</link>
      <guid>https://dev.to/kshitizmaurya/i-built-an-open-world-ai-coding-agent-it-works-from-any-folder-5ecn</guid>
      <description>&lt;h2&gt;
  
  
  The Problem
&lt;/h2&gt;

&lt;p&gt;Every AI coding agent I've used has the same fatal flaw: &lt;strong&gt;it forgets when you close the session.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Open from folder A → works great&lt;br&gt;
Close → Open folder B → "Who are you? What are we working on?"&lt;/p&gt;

&lt;p&gt;Forgetting context isn't just annoying. It's a productivity killer.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Solution: Open World Architecture
&lt;/h2&gt;

&lt;p&gt;I built a memory system for OpenCode that transforms it from a &lt;strong&gt;stateless assistant&lt;/strong&gt; into a &lt;strong&gt;persistent collaborator&lt;/strong&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  What I Created
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;~/.config/opencode/
├── .global/              ← YOUR WORKSPACE
│   ├── skills/          ← Custom skills
│   ├── memory/           ← Persistent memory
│   └── projects/         ← Work tracking
├── skills/              ← Base skills
└── plugins/             ← System plugins
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;The magic: &lt;code&gt;.global/&lt;/code&gt; folder survives folder changes.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Key Features
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. Global Memory
&lt;/h3&gt;

&lt;p&gt;Memory persists across ALL folders. Your preferences, decisions, and context follow you everywhere.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Sandbox Upgrades
&lt;/h3&gt;

&lt;p&gt;Want to test a new skill? Create it in &lt;code&gt;.global/skills/&lt;/code&gt;. It runs without touching the base installation. Broken? Delete it. Base unaffected.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Self-Healing
&lt;/h3&gt;

&lt;p&gt;Crash recovery built-in. The agent auto-restores from backup if something breaks.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. One-Command Install
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="n"&gt;git&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;clone&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;https://github.com/Kshitiz-Maurya/opencode-enhanced.git&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;\install.ps1&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="c"&gt;# Done!&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  How It's Different
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Feature&lt;/th&gt;
&lt;th&gt;Traditional AI Agent&lt;/th&gt;
&lt;th&gt;My Creation&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Memory&lt;/td&gt;
&lt;td&gt;Session only&lt;/td&gt;
&lt;td&gt;Global (all folders)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Upgrades&lt;/td&gt;
&lt;td&gt;Risk breaking&lt;/td&gt;
&lt;td&gt;Sandbox safe&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Setup&lt;/td&gt;
&lt;td&gt;Manual&lt;/td&gt;
&lt;td&gt;One-command&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Recovery&lt;/td&gt;
&lt;td&gt;Manual&lt;/td&gt;
&lt;td&gt;Auto-healing&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Sharing&lt;/td&gt;
&lt;td&gt;Copy files&lt;/td&gt;
&lt;td&gt;Git clone&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  Try It Yourself
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Clone the starter kit&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="n"&gt;git&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;clone&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;https://github.com/Kshitiz-Maurya/opencode-enhanced.git&lt;/span&gt;&lt;span class="w"&gt;

&lt;/span&gt;&lt;span class="c"&gt;# Run install&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;\install.ps1&lt;/span&gt;&lt;span class="w"&gt;

&lt;/span&gt;&lt;span class="c"&gt;# Restart OpenCode&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="c"&gt;# Done! Memory persists from any folder&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



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

&lt;p&gt;This is v1. I'm testing it myself before public launch. But the concept is solid: &lt;strong&gt;an AI that remembers, learns, and grows with you&lt;/strong&gt; — not just in one project, but across your entire development workflow.&lt;/p&gt;

&lt;p&gt;What do you think? Would a persistent-memory AI coding agent help your workflow?&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Built with OpenCode. The architecture is MIT licensed — fork it and make it yours.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>opencode</category>
      <category>productivity</category>
    </item>
  </channel>
</rss>
