Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions ideas/localhost-only-egress-for-agents.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
title: Localhost-only egress for agent workloads
author: Rashid Rashidov (@rrashidov)
date: 2026-07-08
tags: [sandboxing-isolation, observability-governance]
---

## The idea

An agent's outbound calls are decided at inference time — the developer cannot enumerate
them statically, and a misconfigured or prompt-injected agent can silently reach unintended
hosts. Direct network access from the agent process makes this uninspectable by default.

CF should route all outbound agent traffic through a **platform-owned proxy** that the
workload cannot bypass. From the developer's side, the app manifest would declare the
external bindings it needs (e.g. a model provider, a tool endpoint); the platform provides
a `localhost` address the app calls, and the proxy handles the real outbound connection,
enforcing the declared policy and logging every request. The app code doesn't change — only
the target hostname does.

What the proxy component looks like and who owns the egress policy (developer, operator,
or both) is open for the platform experts to propose.

## Related

- Assumes the isolation foundation in [[stronger-workload-isolation-for-agents]] — a
network boundary is only as strong as the process boundary underneath it.
- Sibling idea about credentials the proxy can protect: [[credential-less-agent-processes]].
Loading