<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Gemini on Olivier Ligot - Blog</title><link>https://oligot.be/tags/gemini/</link><description>Recent content in Gemini on Olivier Ligot - Blog</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Sat, 11 Apr 2026 10:32:57 +0200</lastBuildDate><atom:link href="https://oligot.be/tags/gemini/index.xml" rel="self" type="application/rss+xml"/><item><title>Running AI agents in a sandbox</title><link>https://oligot.be/posts/ai-sandbox/</link><pubDate>Sat, 11 Apr 2026 10:32:57 +0200</pubDate><guid>https://oligot.be/posts/ai-sandbox/</guid><description>&lt;h2 id="tldr"&gt;TL;DR&lt;/h2&gt;
&lt;p&gt;A small guide on how to run AI agents in a sandbox&amp;hellip; natively!&lt;/p&gt;
&lt;h2 id="context"&gt;Context&lt;/h2&gt;
&lt;p&gt;I first heard about running AI agents in a sandbox while reading the article &lt;a href="https://blog.emilburzo.com/2026/01/running-claude-code-dangerously-safely/"&gt;Running Claude Code dangerously (safely)&lt;/a&gt;.
I then wanted to see if there were alternatives to using Vagrant, and the most interesting ones (&lt;a href="https://www.docker.com/products/docker-sandboxes/"&gt;Docker Sandbox&lt;/a&gt; and &lt;a href="https://github.com/jingkaihe/matchlock"&gt;Matchlock&lt;/a&gt;) are based on microVMs.&lt;/p&gt;
&lt;p&gt;The downside of these tools is that you have to somehow reproduce your development environment inside them.
Why does the agent need access to our development environment? Once they start to change files, agents can also validate their work by running unit/integration/end-to-end tests. In a Python project, this means running &lt;code&gt;pytest&lt;/code&gt;; in Go, &lt;code&gt;go test&lt;/code&gt;; in Node.js, &lt;code&gt;npm test&lt;/code&gt; (or whichever tool you use).
In a DevOps project, this could mean running Docker, Terraform, or Kustomize.
By the way, if you find it difficult to track those tools per project, and you find Nix too intimidating, I recommend you check out &lt;a href="https://mise.jdx.dev/"&gt;Mise&lt;/a&gt;, which is really great for this.&lt;/p&gt;</description></item></channel></rss>