Extension points
How Gust stays extensible without requiring you to fork the binary.
For application teams
| Need | Extension | Guide |
|---|---|---|
| Domain assertion in Go tests | gust.Evaluator via pkg/gust |
Go library, Custom evaluator |
| Domain assertion in Python/TS | --plugin wire plugin |
Wire plugins |
| Live Mode 3 against your agent | --runner exec\|http\|trigger |
Test your agent |
| Optional LLM grading | llm_judge / judge_panel + calibration |
LLM judge |
| OTel / Langfuse traces | gust ingest otel / langfuse |
OTel ingestion |
Application code should import only:
gust/pkg/api— typesgust/pkg/gust— Analyze library API- Language SDKs under
sdk/
Do not import gust/internal/....
Wire plugins (cross-language)
Gust starts a subprocess that speaks JSON-RPC 2.0 over stdin/stdout. Configuration: gust.yaml wire.handshake_timeout (default 5s), wire.evaluate_timeout (default 60s), with a 16 MiB line-size cap. Plugin stderr is forwarded for debugging.
Trust boundary today: environment scrubbing + timeouts + line bounds. Full CPU/memory/network sandboxing is not claimed yet — treat untrusted community plugins accordingly.
sdk/python provides EvaluatorPlugin + serve() so authors only implement evaluate.
Optional LLM judge
llm_judge and judge_panel are opt-in. Major providers use official Python SDKs via --plugin / --judge-plugin. Policy flag allow_llm_judge defaults to false. See LLM judge and Judge calibration.
Ingestion
- OTLP:
gust ingest otel serveor the in-process listener insidegust test(HTTP :4318 + gRPC :4317, plusPOST /v1/runs). CI/laptop infra — not a production sidecar. - Offline:
--file, stdin, or--url. - Langfuse: pull one trace or session.
Fixtures and stores
Gust fixtures are an optional world-control mode (world_control: gust). Scenarios and runs can be stored as files; content-addressed bundles use gust dataset bundle / verify. See Mocking and fixtures.