<?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: Emmanuel Mireku Mensah</title>
    <description>The latest articles on DEV Community by Emmanuel Mireku Mensah (@emmanuel_mirekumensah_96).</description>
    <link>https://dev.to/emmanuel_mirekumensah_96</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%2F4046960%2F57884f5e-ecf0-435e-a1e7-3c906e6c1f78.png</url>
      <title>DEV Community: Emmanuel Mireku Mensah</title>
      <link>https://dev.to/emmanuel_mirekumensah_96</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/emmanuel_mirekumensah_96"/>
    <language>en</language>
    <item>
      <title>Built an AI Document Assistant That Runs Code in a Sandbox</title>
      <dc:creator>Emmanuel Mireku Mensah</dc:creator>
      <pubDate>Sat, 25 Jul 2026 14:51:08 +0000</pubDate>
      <link>https://dev.to/emmanuel_mirekumensah_96/built-an-ai-document-assistant-that-runs-code-in-a-sandbox-15kb</link>
      <guid>https://dev.to/emmanuel_mirekumensah_96/built-an-ai-document-assistant-that-runs-code-in-a-sandbox-15kb</guid>
      <description>&lt;p&gt;Every AI document tool falls into one of two categories:&lt;/p&gt;

&lt;p&gt;Chatbots that can talk about your files but can't download anything&lt;br&gt;
Dumb converters that can merge PDFs but can't think&lt;br&gt;
I built DocMake to bridge both worlds.&lt;/p&gt;

&lt;p&gt;What DocMake Does&lt;br&gt;
DocMake is an AI-powered document assistant at docmake.online. You upload a file, describe what you need in plain English, and AI picks the right tool to handle it.&lt;/p&gt;

&lt;p&gt;The Cool Part: Sandboxed Code Execution&lt;br&gt;
The AI Data Scientist feature is what I'm most proud of. Upload a spreadsheet and:&lt;/p&gt;

&lt;p&gt;AI analyzes the data structure&lt;br&gt;
Writes code to process it&lt;br&gt;
Runs the code in a sandboxed subprocess (not in the main process)&lt;br&gt;
Returns interactive charts + natural language insights&lt;br&gt;
The key architectural decision: DataFrames never live in the main process. Every analysis runs in a forked subprocess with a timeout and memory limit. This prevents a single bad query from crashing the server.&lt;/p&gt;

&lt;p&gt;The Analyst Swarm&lt;br&gt;
Inspired by multi-agent systems, the Analyst Swarm assigns multiple AI personas to independently analyze your data. Each persona writes their own code, runs it, and reaches a consensus. It's like having a team of analysts working in parallel.&lt;/p&gt;

&lt;p&gt;MCP Integration&lt;br&gt;
DocMake is also an MCP (Model Context Protocol) server. This means AI assistants like Claude, Cursor, and VS Code can call DocMake's tools directly — not just talk about converting files, but actually do it.&lt;/p&gt;

&lt;p&gt;Lessons Learned&lt;br&gt;
Subprocess isolation is critical for sandboxed code execution&lt;br&gt;
Free tier AI models are good enough for most users&lt;br&gt;
MCP is becoming the standard for AI tool integration&lt;br&gt;
Try it at &lt;a href="https://docmake.online" rel="noopener noreferrer"&gt;https://docmake.online&lt;/a&gt; Free tier, no credit card.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>webdev</category>
      <category>python</category>
      <category>productivity</category>
    </item>
  </channel>
</rss>
