zot/examples/extensions/hello
2026-04-19 14:10:00 +02:00
..
extension.json feat: extension system (subprocess + json-rpc, any language) 2026-04-19 14:09:43 +02:00
main.go feat: extension system (subprocess + json-rpc, any language) 2026-04-19 14:09:43 +02:00
README.md feat: extension system (subprocess + json-rpc, any language) 2026-04-19 14:09:43 +02:00

hello — example zot extension (Go)

A minimal example showing how to register slash commands with the zotext SDK.

Build

cd examples/extensions/hello
go build -o hello .

Install

# from this directory
zot ext install .

This copies the directory (manifest + binary) into $ZOT_HOME/extensions/hello/. zot picks it up the next time you launch the TUI.

Use

In zot, type:

  • /hello — agent greets you
  • /hello <name> — agent greets <name>
  • /summon — extension pushes a one-shot notice to the chat

See also

  • pkg/zotext — Go SDK
  • docs/extensions.md — protocol reference for any-language extensions