<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Promigence blog: AI</title>
    <link>https://www.promigence.ai/blog/category/ai</link>
    <description>Agents, evals and reinforcement learning: what the work needs from a sandbox.</description>
    <language>en</language>
    <atom:link href="https://www.promigence.ai/blog/category/ai/rss.xml" rel="self" type="application/rss+xml"/>
    <lastBuildDate>Tue, 24 Nov 2026 12:00:00 GMT</lastBuildDate>
    <item>
      <title>How to choose an AI agent sandbox: 12 questions to ask before you commit</title>
      <link>https://www.promigence.ai/blog/how-to-choose-an-ai-agent-sandbox</link>
      <guid isPermaLink="true">https://www.promigence.ai/blog/how-to-choose-an-ai-agent-sandbox</guid>
      <pubDate>Tue, 24 Nov 2026 12:00:00 GMT</pubDate>
      <dc:creator>Harshraj</dc:creator>
      <category>AI</category>
      <category>ai</category>
      <category>agent sandboxes</category>
      <category>buying guide</category>
      <description>A buyer&apos;s checklist for agent sandboxes in twelve questions, from isolation and task speed to billing and reproducibility, and why the price per hour is the wrong number to compare.</description>
      <content:encoded>&lt;h2 id=&quot;the-short-answer&quot;&gt;How do I choose an AI agent sandbox?&lt;/h2&gt;
&lt;p&gt;Choose an agent sandbox by the work it has to carry, then test it on that work. Ask how isolated each sandbox is, how fast a whole task runs inside one, whether you can pause and copy a prepared environment, what happens when you ask for a hundred at once, how the network and secrets are controlled, and how a run is billed and capped, and how failures are reported. The cheapest price per hour rarely gives the cheapest finished task, because waiting and retries cost more than the rate, and so do failed environments.&lt;/p&gt;
&lt;h2 id=&quot;start-with-the-work&quot;&gt;Start with the work&lt;/h2&gt;
&lt;p&gt;A sandbox for a chatbot&amp;#39;s calculator and a sandbox for a coding agent that runs a test suite are different products. Before comparing vendors, write down three things about your workload: what a single task does inside the sandbox, how long it runs, and how many run at the same time at your busiest hour. Every question below gets easier to answer with those numbers in hand.&lt;/p&gt;
&lt;h2 id=&quot;the-12-questions&quot;&gt;The 12 questions&lt;/h2&gt;
&lt;h3 id=&quot;1-how-separate-is-one-sandbox-from-another&quot;&gt;1. How separate is one sandbox from another?&lt;/h3&gt;
&lt;p&gt;Agent code is untrusted by definition: a model wrote it, and anything the model read could have steered it. Ask whether sandboxes from different customers share an operating system kernel, how the provider tests the boundary, and what happens to a sandbox&amp;#39;s disk and memory when it is deleted. If the answer is vague, assume the boundary is thin.&lt;/p&gt;
&lt;h3 id=&quot;2-what-does-the-agent-get-inside&quot;&gt;2. What does the agent get inside?&lt;/h3&gt;
&lt;p&gt;Check for a full Linux shell, the languages and package managers your tasks use, enough disk for real dependencies, and the ability to run services such as a database during a task. A sandbox that cannot run your test suite as it runs in CI will force the agent to work around it.&lt;/p&gt;
&lt;h3 id=&quot;3-how-long-does-a-whole-task-take&quot;&gt;3. How long does a whole task take?&lt;/h3&gt;
&lt;p&gt;Start time is the number on every pricing page, and it matters less than it looks. A coding task runs an edit and a check dozens of times, so the time from a change to its result decides how long the task takes. Run one of your real tasks end to end on each candidate and time it. We explained why in &lt;a href=&quot;https://www.promigence.ai/blog/time-to-feedback-coding-agents&quot;&gt;Time to feedback&lt;/a&gt;.&lt;/p&gt;
&lt;h3 id=&quot;4-can-you-keep-a-prepared-environment&quot;&gt;4. Can you keep a prepared environment?&lt;/h3&gt;
&lt;p&gt;Installing dependencies for every task wastes minutes per task. The fix is to build an environment once, as a snapshot, and start every task from it, so find out whether the provider supports that. It also helps when the snapshot is checked as it is built, so a broken environment fails before an agent ever runs in it.&lt;/p&gt;
&lt;h3 id=&quot;5-can-a-sandbox-pause-while-the-agent-waits&quot;&gt;5. Can a sandbox pause while the agent waits?&lt;/h3&gt;
&lt;p&gt;Agents spend much of their time waiting for a model. A sandbox that keeps billing during that time turns the wait into cost. Look for pause and resume that keep the files and running state, and for an option to pause automatically when idle.&lt;/p&gt;
&lt;h3 id=&quot;6-what-happens-at-a-hundred-at-once&quot;&gt;6. What happens at a hundred at once?&lt;/h3&gt;
&lt;p&gt;Evaluations, training rollouts and busy products ask for many sandboxes together. Find out the concurrency limit on your plan, whether requests past it queue or fail, and how start time holds up at that width. Then test it, because a burst of a hundred behaves differently from one request repeated a hundred times.&lt;/p&gt;
&lt;h3 id=&quot;7-can-you-control-the-network&quot;&gt;7. Can you control the network?&lt;/h3&gt;
&lt;p&gt;You want three settings at least: no network, a list of allowed hosts, and open. Where the rule is enforced matters as much as the rule. A limit the agent can change from inside the sandbox protects nothing.&lt;/p&gt;
&lt;h3 id=&quot;8-how-are-secrets-handled&quot;&gt;8. How are secrets handled?&lt;/h3&gt;
&lt;p&gt;Find out whether a key has to sit in the sandbox&amp;#39;s environment, where the agent can read it and be talked into printing it, or whether it can be attached to requests from outside the sandbox. For the keys you do pass in, check what scoping is available.&lt;/p&gt;
&lt;h3 id=&quot;9-how-is-it-billed-and-can-you-cap-it&quot;&gt;9. How is it billed, and can you cap it?&lt;/h3&gt;
&lt;p&gt;Per second or per minute changes the bill for short tasks a lot. So do minimum charges per sandbox. You want to see what a run will cost before it starts, and whether you can set a hard cap that stops the run there, because an agent loop that misbehaves overnight will not stop by itself.&lt;/p&gt;
&lt;h3 id=&quot;10-who-pays-when-the-environment-fails&quot;&gt;10. Who pays when the environment fails?&lt;/h3&gt;
&lt;p&gt;Some failures belong to the task: the agent wrote bad code. Others belong to the platform: a sandbox that never started, a disk that filled, a lost connection. A good provider reports the two differently and does not bill you for the second kind. For training and evaluation the distinction also keeps noise out of your results.&lt;/p&gt;
&lt;h3 id=&quot;11-can-you-reproduce-a-run&quot;&gt;11. Can you reproduce a run?&lt;/h3&gt;
&lt;p&gt;When an evaluation score moves, you need to know whether the model changed or the environment did. Look for pinned images, environments identified by a hash, a record of what each sandbox ran, and a way to replay a run on the same environment.&lt;/p&gt;
&lt;h3 id=&quot;12-how-does-it-fit-your-stack&quot;&gt;12. How does it fit your stack?&lt;/h3&gt;
&lt;p&gt;Check the SDKs for your languages, the command line tools, adapters for the agent frameworks you use, and where the service runs. If your security team needs it inside your own cloud, ask early, since that is usually a separate plan.&lt;/p&gt;
&lt;h2 id=&quot;how-to-run-the-test&quot;&gt;How to run the test&lt;/h2&gt;
&lt;p&gt;A sales call answers the questions. A day of testing answers whether the answers hold. Take one real task from your workload and run it three ways on each candidate: once alone, then ten at a time, then at your peak width. Record the time to finish, the cost from the provider&amp;#39;s own usage page and every failure with its cause. Compare cost per finished task, which folds the rate, the speed and the failures into one number you can defend.&lt;/p&gt;
&lt;h2 id=&quot;where-promigence-stands-on-these-questions&quot;&gt;Where Promigence stands on these questions&lt;/h2&gt;
&lt;p&gt;Promigence was built around this list. Each sandbox is a full Linux environment of its own, ready for its first command in 207 ms at p50 through the CLI. Snapshots built with a verify command run that command when they are built, sandboxes pause and wake with their files intact and are not billed while paused, and two hundred sandboxes requested at once were all served at a 177 ms median with no retries. Each run is quoted and capped before it starts, and its report separates environment failures from task failures. An environment failure is not billed before the sandbox reaches you. Usage is billed per second at $0.0504 per vCPU-hour and $0.0162 per GiB-hour, a new account starts with free credit, and running it in your own cloud starts with a conversation with us. The &lt;a href=&quot;https://www.promigence.ai/pricing&quot;&gt;pricing page&lt;/a&gt; has the rates, and the &lt;a href=&quot;https://www.promigence.ai/docs/quickstart&quot;&gt;quickstart&lt;/a&gt; gets a first sandbox running.&lt;/p&gt;
&lt;h2 id=&quot;faq&quot;&gt;FAQ&lt;/h2&gt;
&lt;h3 id=&quot;what-should-i-look-for-in-an-ai-agent-sandbox&quot;&gt;What should I look for in an AI agent sandbox?&lt;/h3&gt;
&lt;p&gt;Strong isolation between sandboxes, a full environment the agent can work in, fast checks inside a task, the ability to pause and copy a prepared environment, controls for the network and for secrets, and billing you can see and cap before a run starts.&lt;/p&gt;
&lt;h3 id=&quot;does-sandbox-start-time-matter-for-ai-agents&quot;&gt;Does sandbox start time matter for AI agents?&lt;/h3&gt;
&lt;p&gt;It matters less than the time a whole task takes. A coding agent checks its work many times per task, so the speed of each check outweighs the start. Time one real task end to end when you compare.&lt;/p&gt;
&lt;h3 id=&quot;how-do-i-compare-ai-sandbox-prices&quot;&gt;How do I compare AI sandbox prices?&lt;/h3&gt;
&lt;p&gt;Compare the cost per finished task on your own workload. That includes the rate, how long the task takes, idle time while the agent waits and the cost of failed environments, which a price per hour hides.&lt;/p&gt;
&lt;h3 id=&quot;should-failed-sandboxes-be-billed&quot;&gt;Should failed sandboxes be billed?&lt;/h3&gt;
&lt;p&gt;A failure caused by the platform, such as a sandbox that never started, should be reported as the platform&amp;#39;s failure. Whether a provider bills for those changes both the bill and the quality of evaluation results, so get the answer in writing.&lt;/p&gt;
&lt;h2 id=&quot;sources&quot;&gt;Sources&lt;/h2&gt;
&lt;table&gt;&lt;thead&gt;&lt;tr&gt;&lt;th&gt;Source&lt;/th&gt;&lt;th&gt;What it supports&lt;/th&gt;&lt;th&gt;Read&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.promigence.ai/&quot;&gt;Promigence home page&lt;/a&gt;&lt;/td&gt;&lt;td&gt;207 ms ready through the CLI; 200 at once at a 177 ms median&lt;/td&gt;&lt;td&gt;25 Oct 2026&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.promigence.ai/pricing&quot;&gt;Promigence pricing&lt;/a&gt;&lt;/td&gt;&lt;td&gt;per-second rates, free credit, quoted and capped runs, Enterprise&lt;/td&gt;&lt;td&gt;25 Oct 2026&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.promigence.ai/blog/time-to-feedback-coding-agents&quot;&gt;Time to feedback&lt;/a&gt;&lt;/td&gt;&lt;td&gt;why task time outweighs start time&lt;/td&gt;&lt;td&gt;25 Oct 2026&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;</content:encoded>
    </item>
    <item>
      <title>What is an AI agent sandbox?</title>
      <link>https://www.promigence.ai/blog/what-is-an-ai-agent-sandbox</link>
      <guid isPermaLink="true">https://www.promigence.ai/blog/what-is-an-ai-agent-sandbox</guid>
      <pubDate>Tue, 24 Nov 2026 12:00:00 GMT</pubDate>
      <dc:creator>Harshraj</dc:creator>
      <category>AI</category>
      <category>ai</category>
      <category>agent sandboxes</category>
      <category>code execution</category>
      <category>security</category>
      <description>An AI agent sandbox is a separate, disposable computer where an agent runs the code it writes. What one contains, why agents need it, the kinds on offer, and what to check before you pick one.</description>
      <content:encoded>&lt;h2 id=&quot;the-short-answer&quot;&gt;What is an AI agent sandbox?&lt;/h2&gt;
&lt;p&gt;An AI agent sandbox is a separate computer, created on demand, where an agent can run the code it writes, install packages and change files without touching your laptop, your servers or your data. It has its own filesystem and its own processes. Rules decide what it can reach on the network, and its life is in your hands: you start it, pause it, copy it and throw it away. The agent gets a real place to work. You keep a wall between that work and everything you care about.&lt;/p&gt;
&lt;h2 id=&quot;why-agents-need-one&quot;&gt;Why agents need one&lt;/h2&gt;
&lt;p&gt;A chatbot answers. An agent acts. Once a model can call tools, run shell commands and edit a repository, every one of those actions is code nobody reviewed before it ran. Most of the time that code is fine. Sometimes it is wrong in an ordinary way: a test script that deletes a directory, a dependency that pulls in half the internet, an infinite loop that eats a machine. And sometimes the instructions came from somewhere hostile, such as a web page or an issue comment written to steer the agent.&lt;/p&gt;
&lt;p&gt;The OWASP GenAI Security Project names the risk in its 2025 list for LLM applications as Excessive Agency, the flaw &amp;quot;that enables damaging actions to be performed in response to unexpected, ambiguous&amp;quot; output from a model. Its first mitigation is to limit what an agent may call to &amp;quot;only the minimum necessary&amp;quot;. A sandbox is how you apply that rule to code execution: whatever the agent runs, it runs inside a boundary you drew.&lt;/p&gt;
&lt;p&gt;Anthropic made the same point when it added sandboxing to Claude Code in October 2025. Its engineering post says &amp;quot;effective sandboxing requires both filesystem and network isolation&amp;quot;, because an agent that can read your files and also reach the internet can send those files anywhere. The payoff was practical as well as safer. Anthropic reports that in its own use, sandboxing &amp;quot;safely reduces permission prompts by 84%&amp;quot;. Fewer prompts means the agent works longer without a person clicking approve.&lt;/p&gt;
&lt;h2 id=&quot;what-is-inside-a-sandbox&quot;&gt;What is inside a sandbox&lt;/h2&gt;
&lt;p&gt;The parts vary by product, but a sandbox that is useful for agents has five things.&lt;/p&gt;
&lt;h3 id=&quot;a-filesystem-of-its-own&quot;&gt;A filesystem of its own&lt;/h3&gt;
&lt;p&gt;The agent needs somewhere to clone a repository, install dependencies and write output. That disk belongs to the sandbox. Nothing on it is shared with another sandbox unless you share it, and deleting the sandbox deletes it.&lt;/p&gt;
&lt;h3 id=&quot;processes-and-a-shell&quot;&gt;Processes and a shell&lt;/h3&gt;
&lt;p&gt;Real work means running commands: test suites, compilers, package managers, sometimes a database or a browser. A good sandbox gives them a normal Linux shell where those tools behave as they do on a developer&amp;#39;s machine, so the agent does not have to work around a cut-down environment.&lt;/p&gt;
&lt;h3 id=&quot;network-rules&quot;&gt;Network rules&lt;/h3&gt;
&lt;p&gt;This is where most of the safety lives. A sandbox should let you turn the network off, allow only the hosts a task needs, or open it fully when the task calls for that. OpenAI&amp;#39;s Codex cloud takes a strict default here: &amp;quot;During the agent phase, internet access is off by default&amp;quot;, with limited or unrestricted access available as settings.&lt;/p&gt;
&lt;h3 id=&quot;a-way-to-handle-secrets&quot;&gt;A way to handle secrets&lt;/h3&gt;
&lt;p&gt;Tools call APIs, and APIs want keys. The question is whether the agent can read those keys. Codex removes secrets before the agent starts, and Claude Code&amp;#39;s cloud environments store network secrets &amp;quot;that sessions use without seeing them&amp;quot;. Both designs come from the same fear: an agent that can read a key can also be talked into printing it.&lt;/p&gt;
&lt;h3 id=&quot;a-lifecycle-you-control&quot;&gt;A lifecycle you control&lt;/h3&gt;
&lt;p&gt;You start it, pause it while the agent waits, keep a prepared copy and delete it when the task is done. Much of an agent&amp;#39;s time goes to waiting on a model, so a sandbox that can pause without losing its state saves money, and one that can snapshot a prepared environment saves the setup time on every task after the first.&lt;/p&gt;
&lt;h2 id=&quot;the-kinds-you-will-find&quot;&gt;The kinds you will find&lt;/h2&gt;
&lt;p&gt;Products that call themselves sandboxes cover a wide range, and the word hides real differences.&lt;/p&gt;
&lt;p&gt;Some run code inside the same process as your application, with language-level limits on what the code may touch. These are fine for a calculator. They are a poor fit for an agent that needs to install packages and run a test suite, and their limits are only as strong as the language runtime that enforces them.&lt;/p&gt;
&lt;p&gt;Others give each task a container on a machine shared with other customers. Containers start fast and are familiar, and for code you mostly trust they work well. The trade-off is that many containers share one operating system kernel, so the wall between neighbours is thinner than it looks.&lt;/p&gt;
&lt;p&gt;A third group gives each sandbox a full Linux machine of its own, with its own kernel. That costs more engineering from the provider, and it is the safer default when the code is untrusted by definition, which agent code is.&lt;/p&gt;
&lt;p&gt;The fourth option is to build it yourself on your own cloud account. That gives full control, and it gives you the pager too: patching and capacity become your job, and so do isolation and the network rules.&lt;/p&gt;
&lt;h2 id=&quot;what-changes-when-the-user-is-an-agent&quot;&gt;What changes when the user is an agent&lt;/h2&gt;
&lt;p&gt;A sandbox for a person and a sandbox for an agent look alike from the outside. They are used very differently.&lt;/p&gt;
&lt;p&gt;People start an environment and keep it for a day. Coding agents start hundreds, run a short loop of edit and check many times in each, and stop. So the number that matters is how fast the loop runs, measured from a change to its result. We covered that in &lt;a href=&quot;https://www.promigence.ai/blog/time-to-feedback-coding-agents&quot;&gt;Time to feedback&lt;/a&gt;: a task with forty checks spends far more time in the checks than in the start.&lt;/p&gt;
&lt;p&gt;Work also runs in parallel. One evaluation or a batch of training rollouts can ask for a hundred sandboxes at once, and the useful questions become what happens at the limit, how failures are reported and whether a failed environment is billed as if the task ran. Finally, agents need state handled for them: a prepared repository with its dependencies installed, copied for each new task so nobody waits for the install twice.&lt;/p&gt;
&lt;h2 id=&quot;what-to-check-before-you-pick-one&quot;&gt;What to check before you pick one&lt;/h2&gt;
&lt;p&gt;Start with the work. If the agent edits code, it needs a full shell, room for dependencies and fast checks. If it only evaluates small snippets, a lighter product is enough. Then look at four things.&lt;/p&gt;
&lt;p&gt;Isolation comes first: how separate is one sandbox from the next, and from the provider&amp;#39;s other customers? Network and secrets come second: can you block the network, allow named hosts and keep keys out of the agent&amp;#39;s reach? Third is state. Can you pause an environment and keep a prepared copy of it, or does every task start from nothing? Last comes billing: per second or per minute, with a minimum or without one, and whether you can cap what a run may cost before it starts.&lt;/p&gt;
&lt;p&gt;We go through those questions in more depth in a separate checklist. The short version is that the cheapest sandbox per hour is rarely the cheapest per finished task.&lt;/p&gt;
&lt;h2 id=&quot;where-promigence-fits&quot;&gt;Where Promigence fits&lt;/h2&gt;
&lt;p&gt;Promigence is a sandbox platform for AI agents. Each sandbox is a full Linux environment of its own, and through the CLI one is ready for its first command in 207 ms at p50. Sandboxes can pause themselves when idle and are not billed while paused, prepared environments are kept as snapshots and copied for each task, and a run of many sandboxes is quoted and capped before it starts. Usage is billed per second at $0.0504 per vCPU-hour and $0.0162 per GiB-hour, and a new account starts with free credit. Start with the &lt;a href=&quot;https://www.promigence.ai/docs/quickstart&quot;&gt;quickstart&lt;/a&gt;; &lt;a href=&quot;https://www.promigence.ai/docs/guides/run-ai-written-code-safely&quot;&gt;Run AI-written code safely&lt;/a&gt; shows the network and secret settings in practice.&lt;/p&gt;
&lt;h2 id=&quot;faq&quot;&gt;FAQ&lt;/h2&gt;
&lt;h3 id=&quot;what-is-an-ai-agent-sandbox&quot;&gt;What is an AI agent sandbox?&lt;/h3&gt;
&lt;p&gt;It is an isolated, disposable computer where an AI agent runs the code it writes. It has its own filesystem and processes, rules for what it can reach on the network, and a lifecycle you control, so the agent can work freely without touching your own systems.&lt;/p&gt;
&lt;h3 id=&quot;why-do-ai-agents-need-a-sandbox-to-run-code&quot;&gt;Why do AI agents need a sandbox to run code?&lt;/h3&gt;
&lt;p&gt;Because everything an agent runs is code nobody reviewed first. Mistakes and hostile instructions both happen. A sandbox limits the damage to a machine you can throw away, which is the OWASP advice of giving an agent only the access it needs.&lt;/p&gt;
&lt;h3 id=&quot;is-a-container-a-sandbox&quot;&gt;Is a container a sandbox?&lt;/h3&gt;
&lt;p&gt;It can be one. Containers share the host&amp;#39;s kernel, so they suit code you mostly trust. For untrusted agent code, a sandbox with its own kernel is the safer default.&lt;/p&gt;
&lt;h3 id=&quot;what-should-an-ai-agent-sandbox-include&quot;&gt;What should an AI agent sandbox include?&lt;/h3&gt;
&lt;p&gt;A full shell and filesystem, network controls with an off switch and an allowlist, a way to use secrets without exposing them, and a lifecycle you control from pause to delete. For agents at scale, add fast checks, many sandboxes at once and billing by the second.&lt;/p&gt;
&lt;h3 id=&quot;how-much-does-an-agent-sandbox-cost&quot;&gt;How much does an agent sandbox cost?&lt;/h3&gt;
&lt;p&gt;Most providers charge for CPU and memory by the second or the minute. On Promigence a small sandbox of 2 vCPU and 4 GiB costs $0.1656 an hour at list rates, billed per second, and paused time is not billed.&lt;/p&gt;
&lt;h2 id=&quot;sources&quot;&gt;Sources&lt;/h2&gt;
&lt;table&gt;&lt;thead&gt;&lt;tr&gt;&lt;th&gt;Source&lt;/th&gt;&lt;th&gt;What it supports&lt;/th&gt;&lt;th&gt;Read&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://genai.owasp.org/llmrisk/llm062025-excessive-agency/&quot; rel=&quot;noopener&quot;&gt;OWASP GenAI: LLM06:2025 Excessive Agency&lt;/a&gt;&lt;/td&gt;&lt;td&gt;the definition and the minimum-access mitigation&lt;/td&gt;&lt;td&gt;25 Oct 2026&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.anthropic.com/engineering/claude-code-sandboxing&quot; rel=&quot;noopener&quot;&gt;Anthropic engineering: Claude Code sandboxing&lt;/a&gt; (20 Oct 2025)&lt;/td&gt;&lt;td&gt;filesystem plus network isolation; 84% fewer permission prompts&lt;/td&gt;&lt;td&gt;25 Oct 2026&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://learn.chatgpt.com/docs/environments/cloud-environment&quot; rel=&quot;noopener&quot;&gt;OpenAI Codex: cloud environments&lt;/a&gt;&lt;/td&gt;&lt;td&gt;internet off by default in the agent phase; secrets removed before it&lt;/td&gt;&lt;td&gt;25 Oct 2026&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://code.claude.com/docs/en/cloud-environments&quot; rel=&quot;noopener&quot;&gt;Claude Code: cloud environments&lt;/a&gt;&lt;/td&gt;&lt;td&gt;network secrets used without being seen&lt;/td&gt;&lt;td&gt;25 Oct 2026&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.promigence.ai/pricing&quot;&gt;Promigence pricing&lt;/a&gt;&lt;/td&gt;&lt;td&gt;per-second rates, paused time, free credit&lt;/td&gt;&lt;td&gt;25 Oct 2026&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;</content:encoded>
    </item>
    <item>
      <title>What is an RL environment for LLM agents?</title>
      <link>https://www.promigence.ai/blog/what-is-an-rl-environment</link>
      <guid isPermaLink="true">https://www.promigence.ai/blog/what-is-an-rl-environment</guid>
      <pubDate>Tue, 24 Nov 2026 12:00:00 GMT</pubDate>
      <dc:creator>Harshraj</dc:creator>
      <category>AI</category>
      <category>ai</category>
      <category>rl</category>
      <category>rl environments</category>
      <category>evals</category>
      <description>An RL environment is where an agent practises during reinforcement learning: tasks to attempt, tools to act with and a grader that turns each attempt into a reward. The parts, a worked example, what makes one good and what it takes to run thousands of rollouts.</description>
      <content:encoded>&lt;h2 id=&quot;the-short-answer&quot;&gt;What is an RL environment for LLM agents?&lt;/h2&gt;
&lt;p&gt;An RL environment for LLM agents is the setting an agent practises in during reinforcement learning. It hands the agent a task, gives it tools and a workspace to act with, and scores what the agent did. That score is the reward, and the training uses it to make the next attempt better. Evaluations use the same parts to measure a model. A training environment runs them thousands of times and feeds the results back.&lt;/p&gt;
&lt;h2 id=&quot;the-four-parts&quot;&gt;The four parts&lt;/h2&gt;
&lt;p&gt;Every environment, simple or elaborate, comes down to the same pieces.&lt;/p&gt;
&lt;h3 id=&quot;a-set-of-tasks&quot;&gt;A set of tasks&lt;/h3&gt;
&lt;p&gt;These are the problems the agent attempts: a bug to fix in a real repository, a question to answer from a database, a website to operate, a proof to finish. Good task sets are large and varied, because a model trained on fifty near-identical problems learns those fifty problems.&lt;/p&gt;
&lt;h3 id=&quot;the-harness&quot;&gt;The harness&lt;/h3&gt;
&lt;p&gt;The harness is everything the agent can touch while it works. For a coding task that means a shell, the repository checked out at the right commit, the dependencies installed and whatever tools the task allows. Since the agent runs commands nobody reviewed, the harness normally lives in a sandbox that is created for the attempt and thrown away after it.&lt;/p&gt;
&lt;h3 id=&quot;the-verifier&quot;&gt;The verifier&lt;/h3&gt;
&lt;p&gt;The verifier decides whether the attempt worked and how well. Sometimes that is exact: the tests pass or they do not, the answer matches or it does not. Sometimes it takes judgement, and a rubric scored by another model stands in for a person. The verifier&amp;#39;s output becomes the reward. Prime Intellect, which runs an open hub for these environments, describes them as the place that defines the world an agent acts in, its rules and its feedback.&lt;/p&gt;
&lt;h3 id=&quot;the-episode&quot;&gt;The episode&lt;/h3&gt;
&lt;p&gt;One attempt at one task, from the first observation to the final score, is an episode or a rollout. Training runs many rollouts per task, compares the rewards and nudges the model toward what scored well.&lt;/p&gt;
&lt;h2 id=&quot;a-worked-example&quot;&gt;A worked example&lt;/h2&gt;
&lt;p&gt;SWE-bench is the best-known example, even though it began as a benchmark rather than a training set. Its authors built it from 2,294 real issues and their fixing pull requests across 12 popular Python repositories. A task gives the agent the repository at the commit before the fix, along with the issue text. The agent edits the code. Then the tests from the real fix run: the ones that failed before must now pass, and the ones that passed must still pass.&lt;/p&gt;
&lt;p&gt;That last step is the verifier, and it is why software tasks are popular for training. The reward is a test run, which is cheap and repeatable, and hard to argue with. OpenAI later published SWE-bench Verified, a subset of 500 tasks that people checked by hand, because some original tasks had tests that no reasonable fix could satisfy. A broken verifier teaches the wrong lesson, and in training it teaches it thousands of times.&lt;/p&gt;
&lt;h2 id=&quot;environments-and-evals-share-their-machinery&quot;&gt;Environments and evals share their machinery&lt;/h2&gt;
&lt;p&gt;The difference is the direction the information flows.&lt;/p&gt;
&lt;p&gt;Evals run a fixed set of tasks once, maybe a few times, and report a score. A training environment runs the same kind of task over and over, often with several attempts per task in parallel, and the scores go straight back into the model&amp;#39;s weights. So training environments care about things an eval can afford to ignore: how many rollouts finish per minute, what each one costs and how much noise the environment adds to the reward.&lt;/p&gt;
&lt;p&gt;The overlap is useful in practice. A team that already has a solid eval suite is one verifier review away from a training environment, and a team building environments gets an eval for free. Libraries such as the open source verifiers project, which Prime Intellect&amp;#39;s hub builds on, treat both as the same object for exactly that reason.&lt;/p&gt;
&lt;h2 id=&quot;what-makes-an-environment-good&quot;&gt;What makes an environment good&lt;/h2&gt;
&lt;p&gt;A good environment is hard to fool. Agents trained against a weak verifier learn to satisfy the verifier, which is a different skill from solving the task. If the tests live where the agent can edit them, some agents will edit the tests. If the grader only checks that a file exists, the agent will create the file. The fix is a verifier the agent cannot reach, checks of the actual outcome and a review of the cases where the reward looked too easy.&lt;/p&gt;
&lt;p&gt;It is also reproducible. The same task, the same model and the same seed should give the same environment every time. That means pinned images, pinned dependencies and no reliance on whatever the internet returns that afternoon. When a reward changes between two runs, you want it to be because the model changed.&lt;/p&gt;
&lt;p&gt;Third, it separates the agent&amp;#39;s failures from its own. A rollout that fails because the package mirror timed out tells you nothing about the model. That signal adds noise to training, and paying for it adds insult. The environment should report an infrastructure failure as one, and retry or drop that rollout instead of scoring it zero.&lt;/p&gt;
&lt;p&gt;Last, it is fast and cheap per rollout. Training needs volume. A rollout that spends four minutes installing dependencies before the agent writes a line will spend most of the training budget on installs. Preparing the environment once and copying it for each attempt removes that cost.&lt;/p&gt;
&lt;h2 id=&quot;why-environments-became-their-own-market&quot;&gt;Why environments became their own market&lt;/h2&gt;
&lt;p&gt;Until 2025, environments mostly lived inside research labs. That started to change in 2025. Prime Intellect opened its Environments Hub to everyone on 27 August 2025, calling it &amp;quot;an open, community-powered platform that gives environments a true home&amp;quot;, and two months later it said it had crowdsourced more than 400 environments and evals through bounties and a residency programme. The company&amp;#39;s stated reason was blunt: models learn in environments, and closed environments would leave open models behind.&lt;/p&gt;
&lt;p&gt;The effect is that an environment is now something a team can download, publish, sell or buy. The hub&amp;#39;s best-known user is its owner: INTELLECT-3, Prime Intellect&amp;#39;s own model, was trained on environments from the hub, many of them written by people outside the company. And the people running them have discovered that the environment is software that needs the same care as any other: versions and tests, plus a place to run.&lt;/p&gt;
&lt;h2 id=&quot;running-environments-at-scale&quot;&gt;Running environments at scale&lt;/h2&gt;
&lt;p&gt;The hard part of running RL environments is mostly operational. A training step can ask for hundreds of rollouts at once, each needing its own clean machine with the task&amp;#39;s repository and tools ready, each running untrusted model-written code, each needing a trustworthy score at the end.&lt;/p&gt;
&lt;p&gt;Four habits make that manageable. Build the environment once as an image or snapshot and start every rollout from it. Give each rollout its own sandbox so one bad attempt cannot spoil another. Record whether a failure belongs to the environment or the agent. And cap what a batch may cost before it starts, because a training loop that misbehaves at three in the morning will not stop by itself.&lt;/p&gt;
&lt;p&gt;Promigence was built for this kind of work. Runs of many sandboxes are quoted and capped before they start, and each run&amp;#39;s report keeps environment failures apart from task failures. An environment failure is not billed before the sandbox reaches you. With 100 sandboxes at once, run after run, Promigence completes 6,598 rollouts a minute. To try it with an existing harness, the &lt;a href=&quot;https://www.promigence.ai/docs/guides/harbor&quot;&gt;Harbor guide&lt;/a&gt; and the &lt;a href=&quot;https://www.promigence.ai/docs/guides/inspect-evals&quot;&gt;Inspect guide&lt;/a&gt; run their tasks on Promigence with a few lines of setup.&lt;/p&gt;
&lt;h2 id=&quot;faq&quot;&gt;FAQ&lt;/h2&gt;
&lt;h3 id=&quot;what-is-an-rl-environment-for-llm-agents&quot;&gt;What is an RL environment for LLM agents?&lt;/h3&gt;
&lt;p&gt;It is the setting an agent practises in during reinforcement learning: a set of tasks, a harness of tools and a workspace, and a verifier that scores each attempt. The score is the reward that training uses to improve the model.&lt;/p&gt;
&lt;h3 id=&quot;what-is-the-difference-between-an-rl-environment-and-an-eval&quot;&gt;What is the difference between an RL environment and an eval?&lt;/h3&gt;
&lt;p&gt;They share the same parts. Evals run tasks to measure a model and report a score. A training environment runs tasks many times and feeds the scores back into the model, so it also has to be fast, cheap per rollout and low on noise.&lt;/p&gt;
&lt;h3 id=&quot;what-is-a-verifier-in-reinforcement-learning-for-agents&quot;&gt;What is a verifier in reinforcement learning for agents?&lt;/h3&gt;
&lt;p&gt;The verifier is the part that decides whether an attempt succeeded and how well. On coding tasks it is a test run; on open-ended tasks, a rubric scored by another model.&lt;/p&gt;
&lt;h3 id=&quot;why-do-rl-environments-need-sandboxes&quot;&gt;Why do RL environments need sandboxes?&lt;/h3&gt;
&lt;p&gt;Each rollout runs code the model wrote, and a training step runs hundreds of them at once. A sandbox per rollout keeps attempts from damaging each other or the systems around them, and lets every attempt start from the same clean state.&lt;/p&gt;
&lt;h3 id=&quot;what-is-reward-hacking&quot;&gt;What is reward hacking?&lt;/h3&gt;
&lt;p&gt;It is when an agent learns to satisfy the verifier without solving the task, for example by editing the tests that grade it. Keeping the verifier out of the agent&amp;#39;s reach is the first defence.&lt;/p&gt;
&lt;h2 id=&quot;sources&quot;&gt;Sources&lt;/h2&gt;
&lt;table&gt;&lt;thead&gt;&lt;tr&gt;&lt;th&gt;Source&lt;/th&gt;&lt;th&gt;What it supports&lt;/th&gt;&lt;th&gt;Read&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://primeintellect.ai/blog/environments&quot; rel=&quot;noopener&quot;&gt;Prime Intellect: Environments Hub&lt;/a&gt; (27 Aug 2025)&lt;/td&gt;&lt;td&gt;the hub, its description of environments, its stated reason&lt;/td&gt;&lt;td&gt;25 Oct 2026&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://primeintellect.ai/blog/scaling-environments-program&quot; rel=&quot;noopener&quot;&gt;Prime Intellect: scaling the environments program&lt;/a&gt; (27 Oct 2025)&lt;/td&gt;&lt;td&gt;more than 400 environments and evals crowdsourced&lt;/td&gt;&lt;td&gt;25 Oct 2026&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.primeintellect.ai/blog/intellect-3&quot; rel=&quot;noopener&quot;&gt;Prime Intellect: INTELLECT-3&lt;/a&gt;&lt;/td&gt;&lt;td&gt;trained with RL on environments from the hub&lt;/td&gt;&lt;td&gt;25 Oct 2026&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://github.com/PrimeIntellect-ai/verifiers&quot; rel=&quot;noopener&quot;&gt;verifiers on GitHub&lt;/a&gt;&lt;/td&gt;&lt;td&gt;the open source library for environments and evals&lt;/td&gt;&lt;td&gt;25 Oct 2026&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://arxiv.org/abs/2310.06770&quot; rel=&quot;noopener&quot;&gt;SWE-bench paper, Jimenez et al.&lt;/a&gt; (Oct 2023)&lt;/td&gt;&lt;td&gt;2,294 tasks from 12 Python repositories, graded by tests&lt;/td&gt;&lt;td&gt;25 Oct 2026&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://openai.com/index/introducing-swe-bench-verified/&quot; rel=&quot;noopener&quot;&gt;OpenAI: Introducing SWE-bench Verified&lt;/a&gt; (13 Aug 2024)&lt;/td&gt;&lt;td&gt;the 500-task human-validated subset&lt;/td&gt;&lt;td&gt;25 Oct 2026&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.promigence.ai/&quot;&gt;Promigence home page&lt;/a&gt;&lt;/td&gt;&lt;td&gt;6,598 rollouts a minute at 100 at once; quoted and capped runs&lt;/td&gt;&lt;td&gt;25 Oct 2026&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;</content:encoded>
    </item>
  </channel>
</rss>

