---
title: "A sandbox doesn't constrain an API Key: What Polsia learned running autonomous companies on Render"
description: "Polsia, a solo-built platform where AI agents run businesses (outreach, ads, support, engineering) on nightly loops, shared production lessons in a talk at Render's localhost event."
url: "https://swe.quest/articles/a-sandbox-doesn-t-constrain-an-api-key-what-polsia-learned-running-autonomous-57778f83154d604e"
canonical: "https://render.com/blog/a-sandbox-doesn-t-constrain-an-api-key-what-polsia-learned-running-autonomous-companies-on"
source: "Render"
published: "2026-07-23"
difficulty: "easy"
kind: "Case study"
reading_minutes: 5
tags: ["ai-agents","identity-auth","sandboxing","cost-optimization","llms"]
---

# A sandbox doesn't constrain an API Key: What Polsia learned running autonomous companies on Render

A post on [Render](https://swe.quest/sources/render.md), published 2026-07-23, 5 min read, Case study. Original: [https://render.com/blog/a-sandbox-doesn-t-constrain-an-api-key-what-polsia-learned-running-autonomous-companies-on](https://render.com/blog/a-sandbox-doesn-t-constrain-an-api-key-what-polsia-learned-running-autonomous-companies-on)

## Summary

Polsia, a solo-built platform where AI agents run businesses (outreach, ads, support, engineering) on nightly loops, shared production lessons in a talk at Render's localhost event. Sandboxing an agent does not narrow its credentials: a Postmark key meant for sending email let an agent rename the main server and change webhooks, so keys must be scoped to the task. Open-ended agent loops sometimes stopped before committing or deploying, so Polsia made those steps deterministic checkpoints and left model judgment for ambiguous work. After roughly $2M monthly Anthropic bills, it also routed routine steps to cheaper models and standardized on a stack of Render, GitHub, Neon and MCP tools.

Written by swe.quest, not by the author.

**Difficulty:** Easy: no special background needed; explains what something is and why it matters

## Topics

- [AI agents](https://swe.quest/tags/ai-agents.md) (AI & ML)
- [Identity & auth](https://swe.quest/tags/identity-auth.md) (Security)
- [Sandboxing & isolation](https://swe.quest/tags/sandboxing.md) (Security)
- [Cost optimization](https://swe.quest/tags/cost-optimization.md) (Reliability & operations)
- [LLMs](https://swe.quest/tags/llms.md) (AI & ML)

## Prerequisites

- LLM agents and tool use ([easy posts on LLMs](https://swe.quest/tags/llms.md?difficulty=easy))
- API key scoping

## Keywords

Polsia, Render, Postmark, MCP, Neon, Anthropic

## Related posts

- [How to Choose the Right Sandbox for AI Agents](https://swe.quest/articles/how-to-choose-the-right-sandbox-for-ai-agents-9eb1c4b875269506.md): LangChain · 2026-11-18 · Easy · 7 min read · Sandboxing & isolation, AI agents, Security, Virtualization
  Agents that write and run code face prompt injection risk, and Willison's "lethal trifecta" (sensitive data, untrusted content, external communication) and Meta's "Agents Rule of Two" frame when autonomy becomes dangerous.
- [Running Codex safely at OpenAI](https://swe.quest/articles/running-codex-safely-at-openai-ba7fb69d40cdeaed.md): OpenAI · 2026-05-08 · Medium · 5 min read · AI agents, Sandboxing & isolation, AI for coding, Configuration management, Observability
  OpenAI runs Codex internally inside a bounded environment. A sandbox limits where it can write and whether it can reach the network, approval policies make higher-risk actions stop for review, and an auto-review subagent approves routine low-risk requests so users are not constantly interrupted.
- [How to Secure AI Agents: A Practical Overview for Development Teams](https://swe.quest/articles/how-to-secure-ai-agents-a-practical-overview-for-development-teams-8ef3e4fd91efa459.md): Docker · 2026-06-02 · Easy · 9 min read · AI agents, Sandboxing & isolation, Identity & auth, Security, Observability
  AI agents need a different security model than traditional services because they select tools, chain actions and act on credentials autonomously, widening the blast radius of prompt injection or tool poisoning.
- [Why AI Agents Need Isolation](https://swe.quest/articles/why-ai-agents-need-isolation-2e7b1a6342af3236.md): Docker · 2026-07-01 · Easy · 9 min read · Sandboxing & isolation, AI agents, Virtualization, Containers, AI for coding
  AI coding agents that run commands, install packages and handle credentials should execute behind an isolation boundary rather than directly on the developer's host.
- [Inside the Codex sandbox](https://swe.quest/articles/inside-the-codex-sandbox-f3a152d1a955ae56.md): OpenAI · 2026-11-18 · Medium · 23 min read · Sandboxing & isolation, AI agents, AI for coding, Security, Configuration management
  Codex sandboxes agent-run commands in the user's own environment by using each OS's native sandboxing facilities rather than VMs or containers, so native toolchains like Xcode and the iOS simulator keep working.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
