Directories
¶
| Path | Synopsis |
|---|---|
|
adapters
|
|
|
openai
Package openai implements OpenAI-compatible generation and embedding adapters.
|
Package openai implements OpenAI-compatible generation and embedding adapters. |
|
Package agent provides an immutable Agent definition and one stateful Run per execution.
|
Package agent provides an immutable Agent definition and one stateful Run per execution. |
|
Package compaction replaces a tool-safe prefix of provider-visible context with a model-generated summary.
|
Package compaction replaces a tool-safe prefix of provider-visible context with a model-generated summary. |
|
Package embedding defines the provider-neutral embedding boundary.
|
Package embedding defines the provider-neutral embedding boundary. |
|
examples
|
|
|
agent/coding-agent
command
Package main runs a host-scoped coding agent with Golato's built-in tools.
|
Package main runs a host-scoped coding agent with Golato's built-in tools. |
|
agent/tool-loop
command
Package main demonstrates a minimal OpenAI-compatible agent.
|
Package main demonstrates a minimal OpenAI-compatible agent. |
|
getting-started/01-greeting
command
Package main sends one greeting with a Generator.
|
Package main sends one greeting with a Generator. |
|
getting-started/02-weather-tool
command
Package main requests one weather tool call with a Generator.
|
Package main requests one weather tool call with a Generator. |
|
getting-started/03-tool-loop
command
Package main runs a weather tool loop in the host application.
|
Package main runs a weather tool loop in the host application. |
|
getting-started/04-agent
command
Package main runs the weather tool loop with an Agent.
|
Package main runs the weather tool loop with an Agent. |
|
image-input/data
command
Package main sends the Golato logo as inline image data.
|
Package main sends the Golato logo as inline image data. |
|
image-input/url
command
Package main sends the Golato logo as a remote image URL.
|
Package main sends the Golato logo as a remote image URL. |
|
Package generation defines the provider-neutral streamed generation boundary.
|
Package generation defines the provider-neutral streamed generation boundary. |
|
Package message defines the provider-neutral transcript used by golato.
|
Package message defines the provider-neutral transcript used by golato. |
|
Package provider defines errors reported while a model capability interacts with an upstream provider.
|
Package provider defines errors reported while a model capability interacts with an upstream provider. |
|
Package skills defines independent instruction resources and prompt composition helpers.
|
Package skills defines independent instruction resources and prompt composition helpers. |
|
Package token defines the small token-estimation boundary used for context budgeting.
|
Package token defines the small token-estimation boundary used for context budgeting. |
|
Package tool defines callable tools exposed to an agent.
|
Package tool defines callable tools exposed to an agent. |
|
builtin
Package builtin provides host-permission filesystem and Bash tools for agent.Config.Tools.
|
Package builtin provides host-permission filesystem and Bash tools for agent.Config.Tools. |
Click to show internal directories.
Click to hide internal directories.