Gateways
Gateways control how a Factory’s Agents access connected services. A Machine can carry a gateway profile for its Agents, providing access policies and credential injection for requests to tools and APIs. Integrations connect your accounts; gateway profiles govern outbound requests from the execution environment.
A gateway profile is a network policy plus an ordered set of rules. Each rule matches outbound traffic by host (and optionally path/method) and decides whether to allow it, deny it, or inject credentials before forwarding. This reference covers those rules and the CLI commands for managing profiles.
What Gateways Do
For Agents using a Machine with a gateway profile, Islo:
- Applies access policies — controls which external services and endpoints Agents can reach.
- Injects credentials — attaches the configured API keys, tokens, and secrets to matching outbound requests.
- Routes traffic — proxies through Islo’s gateway so requests can be audited and rate-limited.
Injected credentials stay outside Agent processes: authentication happens at the network boundary of the underlying sandbox runtime. The same profiles can also be used when managing that runtime directly.
Using a Gateway Profile
For Factory workflows, select the gateway profile in the Machine configuration. The examples below configure a profile for direct runtime use with islo use; the precedence rules apply to that CLI path.
Via CLI flag
Via islo.yaml
Subsequent islo use calls without --gateway-profile pick up the default from islo.yaml. CLI flag wins when both are set.
Precedence
--gateway-profileCLI flag — highest prioritygateway_profile:inislo.yaml- No gateway (default)
Managing Gateway Profiles
Create a profile
List profiles
Add --output json for a structured array.
Show a profile
Prints profile settings and its current rules.
Update a profile
Remove a profile
-f / --force skips the confirmation prompt.
Managing Rules
Rules are evaluated top-to-bottom by priority. The first match wins; if nothing matches, the profile’s --default-action decides.
List rules
Add a rule
Examples:
Update a rule
Most flags from add-rule are available again to change the value. Use the matching --clear-* flag to remove a field entirely.
Remove a rule
Reorder rules
Assign explicit priorities in one call:
--rule is repeatable; each value is <rule-id>=<priority>.
Output
All gateway subcommands print human-readable tables by default. Add --output json to any of them for structured output suitable for scripts and AI agents.
Common Workflows
Build a deny-by-default profile
Inject credentials so sandbox code doesn’t see the key
Then run the sandbox with the profile:
Code inside the sandbox calls https://api.openai.com/... without any API key — the gateway adds the bearer token in flight.
Troubleshooting
See Troubleshooting → Gateways for unknown profiles, blocked requests, and credential-injection problems.