Skip to main content

Module http

Module http 

Source
Expand description

Shared HTTP client for tool use (Fetch, etc.).

Separate from agnt-net’s LLM backend client so the two have independent connection pools. Tool fetches go to arbitrary user URLs; LLM calls go to a single provider. Different traffic patterns, different retry posture.

Functions§

agent
Shared ureq Agent wired to a native-tls connector so HTTPS verifies against the system CA store (not the baked-in webpki-roots).