<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Pi on Janik von Rotz</title>
    <link>https://janikvonrotz.ch/tags/pi/</link>
    <description>Recent content in Pi on Janik von Rotz</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Sun, 29 Nov 2026 21:34:42 +0100</lastBuildDate>
    <atom:link href="https://janikvonrotz.ch/tags/pi/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Secure Pi with gondolin</title>
      <link>https://janikvonrotz.ch/2026/11/29/secure-pi-with-gondolin/</link>
      <pubDate>Sun, 29 Nov 2026 21:34:42 +0100</pubDate>
      <guid>https://janikvonrotz.ch/2026/11/29/secure-pi-with-gondolin/</guid>
      <description>&lt;p&gt;Running a clanker (agent) on the local computer with full permissions is not a good idea. Luckily, I did not have to learn this the hard way. Most harnesses have some kind of built-in permission system. You get prompted for access until it does not matter anymore. The only secure option is running the clankers in a sandbox.&lt;/p&gt;&#xA;&lt;p&gt;As I explored the many options to run clankers in isolated environments, I came across &lt;a href=&#34;https://github.com/earendil-works/gondolin&#34;&gt;https://github.com/earendil-works/gondolin&lt;/a&gt;. Gondolin is an experimental solution by the creators of Pi.&lt;/p&gt;&#xA;&lt;p&gt;The idea is very simple. You setup gondolin as a Pi extension. When Pi starts it also starts a virtual machine using either &lt;a href=&#34;https://unkernel.dev/&#34;&gt;unkernel&lt;/a&gt; or &lt;a href=&#34;https://www.qemu.org/&#34;&gt;QEMU&lt;/a&gt;. The project folder is mounted into the vm. Every tool file read or write call is piped into the vm. The harness and therefore the model router and inference provider can only read your project files.&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;images/pi-with-gondolin.png&#34; alt=&#34;&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;The extension did not work out of the box. Environment variables were stripped (probably for security reasons). But, the Pi session was not able to read its own session file. My workflow required this.&lt;/p&gt;&#xA;&lt;p&gt;This is the installer script: &lt;a href=&#34;https://github.com/Mint-System/Dotfiles/blob/main/packages/gondolin&#34;&gt;https://github.com/Mint-System/Dotfiles/blob/main/packages/gondolin&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;And here is the customized extension: &lt;a href=&#34;https://github.com/Mint-System/Dotfiles/tree/main/pi/extensions&#34;&gt;https://github.com/Mint-System/Dotfiles/tree/main/pi/extensions&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Note that gondolin does not solve sharing secrets and credentials with the agent. In a future post we are going to look at &amp;ldquo;nono&amp;rdquo;, which solves this problem.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
