Skip to content

Egress

Runta can control which external services your agent can access.

Each call replaces the entire policy, so include every host you want to keep.

Policy entries are hostnames or wildcard host patterns, not URLs:

pypi.org
api.openai.com
*.pythonhosted.org

Hosts are lowercased, sorted, and deduplicated. Do not include schemes, paths, ports, or query strings.

Terminal window
runta egress set demo \
--mode allowlist \
--allow pypi.org '*.pythonhosted.org' api.openai.com

Read the current policy with runta egress describe demo, runtime.egress.get(), or await runtime.egress.get().

An empty denylist is the default open policy:

Terminal window
runta egress set demo --mode denylist

Use the Runta CLI for terminal workflows, shell scripts, and direct runtime operations.

TaskCLI command
Inspect the current policyrunta egress describe demo
Set an allowlistrunta egress set demo --mode allowlist --allow api.openai.com
Set a denylistrunta egress set demo --mode denylist --deny example.com
Reset to the default open policyrunta egress set demo --mode denylist