The HTTP client the runtime provides to component code.
The agentc HTTP library makes outbound HTTP requests. Every request passes the rules the runtime was configured with, and component code cannot go around them.
The runtime provides agentc:http to every TypeScript component it executes.
The rules apply to the initial request, to every redirect hop, to the response head, and to every address a host name resolves to. A permitted host name that resolves into a refused address range is refused. A refusal is an ordinary error the calling code can catch, and the message names the rule that refused it. See network for the configuration surface.
Loopback, private, and link-local addresses are refused unless the corresponding category is
permitted. Loopback covers addresses such as 127.0.0.1. Private covers RFC 1918 private network
ranges. Link-local covers link-local addresses, including the cloud instance metadata address.
See network for the configured defaults.
There is no cookie store, no proxy discovery from the environment, and no referer forwarding across redirects.
See TypeScript for every export of agentc:http.
© 2026 pogue.dev. All rights reserved.
CC BY 4.0Search the agentc documentation