Embedding
Drive zot from another program.
Two ways to drive zot from another program. Both share the same event schema, so transcripts captured by one can be replayed through the other.
Go, in-process
Import github.com/patriceckhart/zot/packages/agent/sdk. One Runtime per project; Prompt(ctx, text, images) returns a channel of Event. Example in examples/sdk/.
Any language, out-of-process
Spawn zot rpc as a subprocess and exchange NDJSON over its stdin/stdout. Reference clients for Python, Node, shell, and Go live under examples/rpc/.