Skip to main content
The curated public surface re-exported from the top-level hexgate package. Each symbol links to the guide where it’s used in context.

Building agents

Policy enforcement

Running agents

Loading & registering agents

Identity

Built-in tools

Filesystem tools are importable from hexgate: read_file, write_file, edit_file, glob, grep, bash. The shell-backed ones run inside the workspace sandbox.
web_search, fetch, and refund_order are no longer built in — they moved to examples/tools/ (websearch.py, fetch.py, refund.py). Import them from there. For a code-defined agent, pass the tool in create_agent(..., tools=[...]); for a YAML-loaded agent, satisfy a tool named in the YAML via load_agent(name, extra_tools={...}). A direct from hexgate import web_search raises an ImportError that points at the new location.