<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/treat-every-ai-agent-like-a-hostile-workload-jq9pywqhl" -->

---
title: Treat every AI agent like a hostile workload | daily.dev
description: A conversational interview with Fly.io's new VP of Engineering, Mike Stony, covering his transition into the role, engineering culture at Fly.io, and technical...
canonical: https://daily.dev/posts/treat-every-ai-agent-like-a-hostile-workload-jq9pywqhl
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Treat every AI agent like a hostile workload | daily.dev
og:description: A conversational interview with Fly.io's new VP of Engineering, Mike Stony, covering his transition into the role, engineering culture at Fly.io, and technical...
og:url: https://daily.dev/posts/treat-every-ai-agent-like-a-hostile-workload-jq9pywqhl
og:image: https://api.daily.dev/og/posts/jq9pyWQHl.png
og:image:alt: Treat every AI agent like a hostile workload
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Treat every AI agent like a hostile workload

**[Fly.io](https://daily.dev/sources/flydotio)** · 20 min read · 1 upvotes · 0 comments

## Summary

A conversational interview with Fly.io's new VP of Engineering, Mike Stony, covering his transition into the role, engineering culture at Fly.io, and technical challenges around 'Sprites' — Fly's new compute primitive built for AI agent workloads. Topics include treating agent workloads as inherently hostile (arbitrary code execution as a service), the shift from NVMe-backed Fly Machines to an S3-overlay filesystem for Sprites, reliability efforts reframed around user journeys rather than component uptime, a scaling issue traced to per-tenant SEED/Postgres replay behavior, plans for image forking and a broader connectors API to avoid loading secrets onto sprites, and the concept of 'computers for agents' as a distinct compute profile from human-oriented VPS instances.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.youtube.com/watch?v=WnQPpiqBMUI>

## Questions this post answers

### Why should AI agent sandboxes be treated as hostile workloads instead of trusted compute?

Agents perform arbitrary code execution and can behave unpredictably, so even well-intentioned agents might exfiltrate secrets, run destructive commands like an unintended rm -rf, or misuse resources. Because you cannot reliably predict which agents will misbehave, treating every agent workload as potentially hostile and running it in an isolated, sandboxed environment with tight secret controls is the safer default.

_Anyone hardening agent execution environments can track evolving sandboxing practices for AI workloads on daily.dev._

### How is Fly.io Sprites storage different from classic Fly Machines?

Classic Fly Machines relied on NVMe storage physically inside the host, giving fast disk access but pinning workloads to a specific machine. Sprites instead use a file system that overlays S3, removing that host pinning constraint but introducing new failure domains and trade-offs around performance and reliability that are still being worked out.

_Engineers weighing storage architecture trade-offs for ephemeral compute can follow this kind of infrastructure design discussion on daily.dev._

### What caused a scaling issue with Fly.io's managed Postgres offering (SED)?

The managed Postgres service, referred to as SED, was replaying the full transaction history including all existing users every time a new user was created, rather than scaling based on node or key-value counts. This made per-tenant user creation increasingly expensive as tenant count grew, since SED was not designed to have a user created per tenant at that volume.

_Teams debugging unexpected Postgres scaling costs can find similar real-world incident breakdowns on daily.dev._

## Similar posts on daily.dev

- [Build fast. Run any code fearlessly.](https://daily.dev/posts/build-fast-run-any-code-fearlessly--ptl5lbzkl) · ElixirStatus · 3 upvotes · 0 comments

---

Tags: [#ai-agents](https://daily.dev/tags/ai-agents), [#distributed-systems](https://daily.dev/tags/distributed-systems), [#fly-io](https://daily.dev/tags/fly-io), [#sre](https://daily.dev/tags/sre)

[View this post on daily.dev](https://daily.dev/posts/treat-every-ai-agent-like-a-hostile-workload-jq9pywqhl)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Treat every AI agent like a hostile workload","url":"https://daily.dev/posts/treat-every-ai-agent-like-a-hostile-workload-jq9pywqhl","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/treat-every-ai-agent-like-a-hostile-workload-jq9pywqhl"},"datePublished":"2026-09-04T16:50:16.168Z","dateModified":"2026-10-22T02:13:46.677Z","description":"A conversational interview with Fly.io's new VP of Engineering, Mike Stony, covering his transition into the role, engineering culture at Fly.io, and technical...","image":"https://i.ytimg.com/vi/WnQPpiqBMUI/sddefault.jpg","thumbnailUrl":"https://i.ytimg.com/vi/WnQPpiqBMUI/sddefault.jpg","isAccessibleForFree":true,"articleSection":"Fly.io","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Fly.io","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/deb71e3b6f964388876ecc82c26c8f6c","url":"https://daily.dev/sources/flydotio"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/treat-every-ai-agent-like-a-hostile-workload-jq9pywqhl","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"ai-agents,distributed-systems,fly-io,sre","timeRequired":"PT20M","video":{"@type":"VideoObject","name":"Treat every AI agent like a hostile workload","description":"A conversational interview with Fly.io's new VP of Engineering, Mike Stony, covering his transition into the role, engineering culture at Fly.io, and technical...","thumbnailUrl":"https://i.ytimg.com/vi/WnQPpiqBMUI/sddefault.jpg","uploadDate":"2026-09-04T16:50:16.168Z","duration":"PT20M","url":"https://api.daily.dev/r/jq9pyWQHl","embedUrl":"https://www.youtube.com/embed/WnQPpiqBMUI"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Fly.io","item":"https://daily.dev/sources/flydotio"},{"@type":"ListItem","position":3,"name":"Treat every AI agent like a hostile workload"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/treat-every-ai-agent-like-a-hostile-workload-jq9pywqhl#faq","mainEntity":[{"@type":"Question","name":"Why should AI agent sandboxes be treated as hostile workloads instead of trusted compute?","acceptedAnswer":{"@type":"Answer","text":"Agents perform arbitrary code execution and can behave unpredictably, so even well-intentioned agents might exfiltrate secrets, run destructive commands like an unintended rm -rf, or misuse resources. Because you cannot reliably predict which agents will misbehave, treating every agent workload as potentially hostile and running it in an isolated, sandboxed environment with tight secret controls is the safer default. Anyone hardening agent execution environments can track evolving sandboxing practices for AI workloads on daily.dev."}},{"@type":"Question","name":"How is Fly.io Sprites storage different from classic Fly Machines?","acceptedAnswer":{"@type":"Answer","text":"Classic Fly Machines relied on NVMe storage physically inside the host, giving fast disk access but pinning workloads to a specific machine. Sprites instead use a file system that overlays S3, removing that host pinning constraint but introducing new failure domains and trade-offs around performance and reliability that are still being worked out. Engineers weighing storage architecture trade-offs for ephemeral compute can follow this kind of infrastructure design discussion on daily.dev."}},{"@type":"Question","name":"What caused a scaling issue with Fly.io's managed Postgres offering (SED)?","acceptedAnswer":{"@type":"Answer","text":"The managed Postgres service, referred to as SED, was replaying the full transaction history including all existing users every time a new user was created, rather than scaling based on node or key-value counts. This made per-tenant user creation increasingly expensive as tenant count grew, since SED was not designed to have a user created per tenant at that volume. Teams debugging unexpected Postgres scaling costs can find similar real-world incident breakdowns on daily.dev."}}]}
```

