<?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: Thomas Metz</title>
    <description>The latest articles on DEV Community by Thomas Metz (@thomasmetz).</description>
    <link>https://dev.to/thomasmetz</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%2F4274785%2Fd476e0d3-9b3d-4861-84e1-fe1fb805aa40.jpg</url>
      <title>DEV Community: Thomas Metz</title>
      <link>https://dev.to/thomasmetz</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/thomasmetz"/>
    <language>en</language>
    <item>
      <title>Run your E2B agent code with 24-hour sessions and no monthly fee</title>
      <dc:creator>Thomas Metz</dc:creator>
      <pubDate>Mon, 30 Nov 2026 18:05:47 +0000</pubDate>
      <link>https://dev.to/thomasmetz/run-your-e2b-agent-code-with-24-hour-sessions-and-no-monthly-fee-5b6d</link>
      <guid>https://dev.to/thomasmetz/run-your-e2b-agent-code-with-24-hour-sessions-and-no-monthly-fee-5b6d</guid>
      <description>&lt;p&gt;If your AI agent executes code, you probably use E2B's sandboxes. They're great, but on the free tier a session ends after one hour, and longer sessions need the $150/month Pro plan.&lt;/p&gt;

&lt;p&gt;I host an E2B-compatible service, getrollouts.dev, on my own servers in Switzerland. Background: I'm a systems engineer (Swiss HF diploma) finishing a MAS in Data Science, and I run the infrastructure myself. Because it runs the open-source E2B runtime, switching is one environment variable.&lt;/p&gt;

&lt;h2&gt;
  
  
  Switch in two lines
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pip install e2b-code-interpreter
&lt;span class="kd"&gt;export&lt;/span&gt; &lt;span class="nv"&gt;E2B_API_KEY&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;e2b_...          &lt;span class="c"&gt;# from getrollouts.dev/portal&lt;/span&gt;
&lt;span class="kd"&gt;export&lt;/span&gt; &lt;span class="nv"&gt;E2B_DOMAIN&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;getrollouts.dev
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Your code stays the same:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;e2b_code_interpreter&lt;/span&gt; &lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="nc"&gt;Sandbox&lt;/span&gt;

&lt;span class="k"&gt;with&lt;/span&gt; &lt;span class="nc"&gt;Sandbox&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;create&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;timeout&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;3600&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="n"&gt;sbx&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;sbx&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;run_code&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"import pandas as pd; df = pd.DataFrame({'a': [1, 2, 3]})"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;sbx&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;run_code&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"df['a'].sum()"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;text&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;   &lt;span class="c1"&gt;# 6&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  What you get
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Firecracker microVMs, ~0.5 s to a running sandbox&lt;/li&gt;
&lt;li&gt;sessions up to 24 hours, pause/resume keeps memory and disk (paused sandboxes are kept 30 days, free)&lt;/li&gt;
&lt;li&gt;a public HTTPS URL for every port: &lt;code&gt;https://8000-&amp;lt;id&amp;gt;.getrollouts.dev&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;ready-made code-interpreter templates with 8 and 16 GiB RAM, custom templates up to 8 vCPU / 16 GiB&lt;/li&gt;
&lt;li&gt;isolation: every sandbox is its own microVM and can't reach other sandboxes, the hosts or internal networks; outbound internet can be switched off or limited to an allowlist (&lt;a href="https://getrollouts.dev/docs#security" rel="noopener noreferrer"&gt;docs&lt;/a&gt;)&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What it costs
&lt;/h2&gt;

&lt;p&gt;$0.040 per vCPU-hour and $0.013 per GiB-hour, billed per second, prepaid. The default sandbox (2 vCPU, 512 MiB) costs about $0.087 per hour; the code interpreter (2 vCPU, 2 GiB) about $0.106. That's roughly 20% below E2B's published usage rates, and there is no monthly fee. New accounts get free trial credit, no card needed.&lt;/p&gt;

&lt;h2&gt;
  
  
  Examples and guides
&lt;/h2&gt;

&lt;p&gt;Runnable examples on GitHub: &lt;a href="https://github.com/getrollouts/examples" rel="noopener noreferrer"&gt;getrollouts/examples&lt;/a&gt;. They cover parallel rollouts for evals and RL, network isolation, data analysis, custom templates, running a repo's test suite, pause/resume, LangChain, Deep Agents and TypeScript.&lt;/p&gt;

&lt;p&gt;There's also a &lt;a href="https://getrollouts.dev/guides/langchain" rel="noopener noreferrer"&gt;LangChain/LangGraph guide&lt;/a&gt; and a &lt;a href="https://getrollouts.dev/vs-e2b" rel="noopener noreferrer"&gt;comparison with E2B's plans&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  The honest part
&lt;/h2&gt;

&lt;p&gt;It's a small provider: no SLA yet, maintenance is announced by email. It's independent and not affiliated with E2B. If you need a hyperscaler's guarantees, stay where you are. If you want long sessions for side projects and agents without a subscription, give it a try: &lt;a href="https://getrollouts.dev" rel="noopener noreferrer"&gt;https://getrollouts.dev&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I'd love feedback in the comments: does it work with your agent framework, and what would you need before trusting a small provider?&lt;/p&gt;

</description>
      <category>agents</category>
      <category>ai</category>
      <category>infrastructure</category>
      <category>python</category>
    </item>
  </channel>
</rss>
