Directories
¶
| Path | Synopsis |
|---|---|
|
Package agent contains code for creating and operating individual Agents: LLM clients with tool-execution abilities.
|
Package agent contains code for creating and operating individual Agents: LLM clients with tool-execution abilities. |
|
Package api defines the Greenhead HTTP API.
|
Package api defines the Greenhead HTTP API. |
|
Package assets manages compiled-in files.
|
Package assets manages compiled-in files. |
|
Package cmd holds the Cobra-based command definitions.
|
Package cmd holds the Cobra-based command definitions. |
|
ghd
command
|
|
|
examples
|
|
|
custom
command
examples/custom/main.go -- example of a custom tool.
|
examples/custom/main.go -- example of a custom tool. |
|
external
command
examples/external/main.go -- example of an external tool baked in.
|
examples/external/main.go -- example of an external tool baked in. |
|
external-config
command
examples/external-config/main.go -- example of a configured external tool.
|
examples/external-config/main.go -- example of a configured external tool. |
|
lockdown
command
examples/lockdown/main.go -- a maximally locked-down custom binary.
|
examples/lockdown/main.go -- a maximally locked-down custom binary. |
|
minimal
command
examples/minimal/main.go -- smallest meaningfully custom CLI.
|
examples/minimal/main.go -- smallest meaningfully custom CLI. |
|
Package registry holds the registered tools.
|
Package registry holds the registered tools. |
|
Package rgxp provides convenience wrappers for regexp.Regexp, primarily for use in configs.
|
Package rgxp provides convenience wrappers for regexp.Regexp, primarily for use in configs. |
|
Package runner defines the logic to run ghd, the Greenhead CLI tool.
|
Package runner defines the logic to run ghd, the Greenhead CLI tool. |
|
Package tools defines the types for tools (functions) available to the LLMs.
|
Package tools defines the types for tools (functions) available to the LLMs. |
|
all
Package all loads all known tools.
|
Package all loads all known tools. |
|
demo
Package demo defines a Demo extension that registers itself on init.
|
Package demo defines a Demo extension that registers itself on init. |
|
tictactoe
Package tictactoe models (very simply) the game of Tic Tac Toe.
|
Package tictactoe models (very simply) the game of Tic Tac Toe. |
|
Package utils includes miscellaneous utilities to reduce boilerplate code.
|
Package utils includes miscellaneous utilities to reduce boilerplate code. |
|
Package Version tracks the current version of the software.
|
Package Version tracks the current version of the software. |
Click to show internal directories.
Click to hide internal directories.