Directories
¶
| Path | Synopsis |
|---|---|
|
sdk
|
|
|
01-minimal
command
Command 01-minimal is the smallest possible golder SDK program: create a session, send one prompt, print the reply.
|
Command 01-minimal is the smallest possible golder SDK program: create a session, send one prompt, print the reply. |
|
02-streaming
command
Command 02-streaming prints the assistant's reply incrementally as it is generated, instead of waiting for the whole message.
|
Command 02-streaming prints the assistant's reply incrementally as it is generated, instead of waiting for the whole message. |
|
03-model-thinking
command
Command 03-model-thinking shows how to pick a model and set the reasoning-effort ("thinking") level.
|
Command 03-model-thinking shows how to pick a model and set the reasoning-effort ("thinking") level. |
|
04-system-prompt
command
Command 04-system-prompt customizes the agent's behavior with a system prompt.
|
Command 04-system-prompt customizes the agent's behavior with a system prompt. |
|
05-tools
command
Command 05-tools demonstrates the tool policy: restrict the agent to an allowlist, remove specific tools with a denylist (deny always wins), and inspect the resulting tool set with ToolNames.
|
Command 05-tools demonstrates the tool policy: restrict the agent to an allowlist, remove specific tools with a denylist (deny always wins), and inspect the resulting tool set with ToolNames. |
|
06-conversation
command
Command 06-conversation shows multi-turn state: a single session remembers the earlier exchange, so a follow-up prompt can refer back to it.
|
Command 06-conversation shows multi-turn state: a single session remembers the earlier exchange, so a follow-up prompt can refer back to it. |
|
07-provider
command
Command 07-provider points the SDK at a non-default provider.
|
Command 07-provider points the SDK at a non-default provider. |
Click to show internal directories.
Click to hide internal directories.