Expand description
Browser agent (P2 / B4) — page-aware helper for the Webizen browser.
Scope (honest):
- Structured intents:
summarise|trust|privacy|navigate_help|general. - Always return provenance + CML signals + trust verdict.
- Optionally ingest page topics into the hypermedia library.
- Deterministic grounded answers (no unbounded tools; 20s fetch timeout).
- Local LLM path is optional and not required for acceptance.
Structs§
- Agent
TlsStatus - How agent HTTPS was configured (honesty for answers + UI).
- Browser
Agent Request - Browser
Agent Response
Enums§
Functions§
- agent_
tls_ status - build_
agent_ http_ client - Build reqwest client: custom roots when enabled PEMs present; else system default.
- classify_
intent - Classify the user question into a bounded intent.
- fetch_
page_ text - Fetch page body (best-effort HTML → text). Aligns TLS policy with trust store when possible.
- fetch_
page_ text_ with_ storage - run_
browser_ agent - Run the browser agent against the current page.