Knowledge Base
Guides, comparisons and how-tos from the Upstash team.
How to Run Untrusted Python Code Safely (Without exec())
What happens when a user types Python into your app? Or your agent spits out a pandas script to answer some question? Now you have code on your server you didn’t write, and you’re supposed to run it. It can read your environment variables. It can talk to some URL. It can run until the heat death of the universe. It can do whatever the process running it is allowed to do.
What a sandbox protects you from, and what it doesn't
The standard response to "how can I run a coding agent safely" is "put it in a sandbox." To that end, Pillar Security spent some time in July 2026 attacking the sandboxes of Cursor, Codex, Gemini CLI and Antigravity. They found seven vulnerabilities across the four tools. And almost every time, the agent did not escape the sandbox.
How to Keep API Keys Out of Your Agent's Sandbox
So you sandbox your coding agent. That way, a bad command won’t touch your laptop. To get it to do its job, you set OPENAIAPIKEY and GITHUBTOKEN environment variables, which the agent can then use. The sandbox protects the host, but it does nothing to protect the credentials that the agent can access.
What an Idle Agent Sandbox Actually Costs
Your coding agent sends a prompt. It waits. It then runs a test for a few seconds. Then, it waits some more. It’s even worse for scheduled agents. They’ll wake up, check their queue, find nothing, and then go back to sleep for 15 minutes. In the meantime, most sandboxes charge you for two vCPUs and four gigabytes of memory, just as if your agent had been compiling something the whole time.
How to Safely Run AI-Generated Code in a Code Sandbox: 7 Isolation Controls
LLMs are no longer just text generators. Today we have coding assistants, data analysts and chat apps that can write code on behalf of the user, which is executed immediately. This turns LLMs into a very powerful tool, but also introduces a new set of risks.
T3 Code vs herdr vs Conductor vs Cloudroom: Which Coding Agent App to Use
Developers are currently running many coding agents at the same time: one creating a new feature, one reviewing it, one fixing the tests. The speed of the coding agents makes us the slow part. When you use Claude Code or Codex, you can open a new terminal tab for each of the coding agents, then open up each of those tabs and check if they’re done, or even if they’re waiting on your approval.
OpenCode vs Pi vs Gemini CLI vs CrewAI vs Goose: 9 agent harnesses compared
OpenCode, Pi, Gemini CLI, Copilot CLI, Aider, Goose, Amp, Pydantic AI and CrewAI all promise the same thing: give a model a prompt and some tools, and it does the work. One-line summaries like "multi-provider coding agent", "git-aware code editor" or "type-safe agent framework" make them look like nine ways to do the same job. They behave very differently.