Directories
¶
| Path | Synopsis |
|---|---|
|
Command customprovider shows the minimum needed to bring up a new inference backend: implement agent.Provider's single required method, Generate.
|
Command customprovider shows the minimum needed to bring up a new inference backend: implement agent.Provider's single required method, Generate. |
|
Command multiprovider shows that Agent code is identical regardless of which first-class provider backs it — only construction differs.
|
Command multiprovider shows that Agent code is identical regardless of which first-class provider backs it — only construction differs. |
|
Command quickstart is the smallest possible go-agent program: construct a provider, build an Agent, and run a single turn.
|
Command quickstart is the smallest possible go-agent program: construct a provider, build an Agent, and run a single turn. |
|
Command streaming shows Agent.RunStream: a single logical event stream for a whole run, including any tool round-trips.
|
Command streaming shows Agent.RunStream: a single logical event stream for a whole run, including any tool round-trips. |
|
Command tools demonstrates strongly-typed tool registration: the model's tool input is unmarshalled directly into a plain Go struct — no map[string]any, no manual JSON Schema.
|
Command tools demonstrates strongly-typed tool registration: the model's tool input is unmarshalled directly into a plain Go struct — no map[string]any, no manual JSON Schema. |
Click to show internal directories.
Click to hide internal directories.