<?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: Abhishek E</title>
    <description>The latest articles on DEV Community by Abhishek E (@abhishek_e_ccd522e0ac9116).</description>
    <link>https://dev.to/abhishek_e_ccd522e0ac9116</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%2F3823513%2Feb409419-dfb0-46e5-bd1e-41e6f6f22245.png</url>
      <title>DEV Community: Abhishek E</title>
      <link>https://dev.to/abhishek_e_ccd522e0ac9116</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/abhishek_e_ccd522e0ac9116"/>
    <language>en</language>
    <item>
      <title>How we built sharing for AI agents?</title>
      <dc:creator>Abhishek E</dc:creator>
      <pubDate>Mon, 16 Mar 2026 23:17:28 +0000</pubDate>
      <link>https://dev.to/abhishek_e_ccd522e0ac9116/google-drive-for-ai-agents-408d</link>
      <guid>https://dev.to/abhishek_e_ccd522e0ac9116/google-drive-for-ai-agents-408d</guid>
      <description>&lt;p&gt;We've been using Claude Code and OpenClaw for a bunch of non-coding work at our startup like GTM, legal docs, sales proposals. It's been incredibly productive. An agent can draft a SaaS agreement in minutes that take my legal hours or days.                                                                                                                                                                                    &lt;/p&gt;

&lt;p&gt;But then I need to send it to my cofounder.                                                                                                                                                                       &lt;/p&gt;

&lt;p&gt;And suddenly I'm back in 2015. Open Gmail. Attach it. Type "hey can you review this." Wait for her to respond. She makes edits and sends back v2. Now I have two copies and I have to manage them and not get confused.&lt;br&gt;&lt;br&gt;
                                                                                                                                                                                                                   The whole point of using AI was to save time. But the time I saved generating the doc, I burned sharing it.                                                                                                       &lt;/p&gt;

&lt;p&gt;What we actually wanted was dead simple. An agent writes a file. The file persists. Another agent or human can read it. That's it.                                                                                &lt;/p&gt;

&lt;p&gt;What we built                                                                                                                                                                                                     &lt;/p&gt;

&lt;p&gt;We built an abstraction over S3 that makes it feel like a local filesystem. We're calling it pidrive.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;   curl &lt;span class="nt"&gt;-sSL&lt;/span&gt; https://pidrive.ressl.ai/install.sh | bash                                                                                                                                                            
   pidrive register &lt;span class="nt"&gt;--email&lt;/span&gt; agent@company.com &lt;span class="nt"&gt;--server&lt;/span&gt; https://pidrive.ressl.ai                                                                                                                                    
   pidrive mount                                                                                                                                                                                                   
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;After that, /drive/my/ is your agent's private storage. Standard unix commands:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;   &lt;span class="nb"&gt;echo&lt;/span&gt; &lt;span class="s2"&gt;"SaaS Agreement v1 - Draft"&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; /drive/my/saas-agreement.txt                                                                                                                                                 
   &lt;span class="nb"&gt;ls&lt;/span&gt; /drive/my/                                                                                                                                                                                                   
   &lt;span class="nb"&gt;cat&lt;/span&gt; /drive/my/saas-agreement.txt                                                                                                                                                                                
   &lt;span class="nb"&gt;grep&lt;/span&gt; &lt;span class="nt"&gt;-r&lt;/span&gt; &lt;span class="s2"&gt;"indemnification"&lt;/span&gt; /drive/my/                                                                                                                                                                            
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Under the hood, every read and write goes through WebDAV over HTTPS to our server, then to S3. The agent doesn't know or care. It's just writing to a folder.                                                     &lt;/p&gt;

&lt;p&gt;The sharing part                                                                                                                                                                                                  &lt;/p&gt;

&lt;p&gt;This is what actually made it worth building as a separate tool instead of just using rclone or whatever.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;   pidrive share saas-agreement.txt &lt;span class="nt"&gt;--to&lt;/span&gt; someone@company.ai                                                                                                                                                           
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That's it. My teammate gets an email. She mounts her drive, and the file shows up:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;   &lt;span class="nb"&gt;ls&lt;/span&gt; /drive/shared/abhishek@ressl.ai/                                                                                                                                                                             
   saas-agreement.txt                                                                                                                                                                                              
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;She's reading my actual file, not a copy. If I update the agreement, she sees the update. If I revoke access, the file disappears from her drive instantly. No duplicate versions floating around.                &lt;/p&gt;

&lt;p&gt;For quick sharing with anyone — even people not on pidrive — there's link sharing:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;   pidrive share saas-agreement.txt &lt;span class="nt"&gt;--link&lt;/span&gt;                                                                                                                                                                         
   → https://pidrive.ressl.ai/s/x7k2m9                                                                                                                                                                             
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;How the SaaS agreement actually went                                                                                                                                                                              &lt;/p&gt;

&lt;p&gt;Here's what the workflow looked like end to end:                                                                                                                                                                  &lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;I asked Claude Code to draft a SaaS agreement based on our terms
&lt;/li&gt;
&lt;li&gt;It wrote the file to /drive/my/contracts/saas-v1.txt
&lt;/li&gt;
&lt;li&gt;I ran pidrive share contracts/saas-v1.txt --to &lt;a href="mailto:someone@company.ai"&gt;someone@company.ai&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;My teammate got an email, mounted her drive, read the file
&lt;/li&gt;
&lt;li&gt;She messaged Claude "change x to y"
&lt;/li&gt;
&lt;li&gt;Claude updated the clause — same file, same path
&lt;/li&gt;
&lt;li&gt;No re-sending, no v2 attachment, no confusion about which version is current
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;To install the skill for any coding agent -&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx skills add abhishek203/pi-drive &lt;span class="nt"&gt;-g&lt;/span&gt; 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Thats it!  &lt;/p&gt;

&lt;p&gt;Github repo - &lt;a href="https://github.com/abhishek203/pi-drive" rel="noopener noreferrer"&gt;https://github.com/abhishek203/pi-drive&lt;/a&gt;                                                                                                                              &lt;/p&gt;

</description>
      <category>agents</category>
      <category>ai</category>
      <category>productivity</category>
      <category>showdev</category>
    </item>
  </channel>
</rss>
