examples/

directory
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 16, 2026 License: Apache-2.0, MIT

Directories

Path Synopsis
Command announce posts a message on a channel through an agent's channel binding: a one-off shell cron job whose raw output is announced, run at once and deleted.
Command announce posts a message on a channel through an agent's channel binding: a one-off shell cron job whose raw output is announced, run at once and deleted.
Command chat asks an agent one question and streams its reply.
Command chat asks an agent one question and streams its reply.
Command config reads configuration fields, lists the agents, and, with -set, changes an agent's model atomically: the patch only applies if the model is still the one read.
Command config reads configuration fields, lists the agents, and, with -set, changes an agent's model atomically: the patch only applies if the model is still the one read.
Command events follows the gateway's live events and prints one line per event: agent turns with their tokens and cost, tool calls, cron results and log events.
Command events follows the gateway's live events and prints one line per event: agent turns with their tokens and cost, tool calls, cron results and log events.
Command pairing exchanges a pairing code for a bearer token, then lists the paired devices with it.
Command pairing exchanges a pairing code for a bearer token, then lists the paired devices with it.
Command resilient shows a client tuned for an unreliable network: a short answer timeout, five retries with jittered backoff, at most four requests in flight, ten requests per second, a circuit breaker that stops calling a gateway that keeps failing, and a middleware of its own that times every request.
Command resilient shows a client tuned for an unreliable network: a short answer timeout, five retries with jittered backoff, at most four requests in flight, ten requests per second, a circuit breaker that stops calling a gateway that keeps failing, and a middleware of its own that times every request.
Command status prints the gateway's version, model and channels.
Command status prints the gateway's version, model and channels.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL