ag2-network-tools-and-views
Installation
SKILL.md
AG2 Network — Tools, Views & Custom Handlers
Everything on the agent/client side of the network — the mirror image of ag2-network-governance (which is hub-side). This covers what the LLM sees of the channel (views), which actions it can take (the six auto-injected tools), what other agents know about it (skill markdown), how to replace the handler entirely, and the full Envelope reference.
Prerequisite: read
ag2-network-quickstartfirst. This skill assumes you knowHub.open,HubClient.register, the channel lifecycle, and basicagent_client.open(...)/channel.send(...).
When to use
- "Limit / extend the LLM's network tool surface" (plugin tools vs. adapter
tools_for) - "Write a custom envelope handler"
- "Build a gateway / headless worker that doesn't run an LLM"
- "Add a non-LLM participant — a person at a UI, a bridge, a scripted seeder" (
HumanClient) - "Customise what each agent sees of the channel history (view policy)"
- "Strip / redact / filter envelopes before they reach the LLM"
- "Wire peer discovery via skill markdown"
- "Send a custom event type (
myapp.review_request, …)" - "I need the
EV_*constants list /Envelopeshape /audiencesemantics"