Documentation
¶
Overview ¶
Command typed shows RunTyped[T]: the agent does its work with real tools, then returns a strongly-typed Go struct instead of free-form text. RunTyped injects a synthetic final_answer tool whose JSON schema is derived from T and decodes the result from the journaled call, so it is resume-safe and provider-agnostic.
OPENROUTER_API_KEY=sk-... go run ./examples/typed
Click to show internal directories.
Click to hide internal directories.