hello — example zut extension (Go)
A minimal example showing how to register slash commands with the
ext SDK.
Build
cd examples/extensions/hello
go build -o hello .
Install
# from this directory
zut ext install .
This copies the directory (manifest + binary) into
$ZUT_HOME/extensions/hello/. zut picks it up the next time you
launch the TUI.
Use
In zut, type:
/hello— agent greets you/hello <name>— agent greets<name>/summon— extension pushes a one-shot notice to the chat
See also
packages/agent/ext— Go SDKdocs/extensions.md— protocol reference for any-language extensions