Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Agent ¶
type Agent struct {
Name string
Model string
SystemPrompt string
Tools map[string]ToolFunc
MaxTokens int
MaxCostUSD float64
APIKey string
BaseURL string
}
Agent provides a 3-line high-level abstraction for developing governed AI agents.
type Receipt ¶
type Receipt struct {
Tool string `json:"tool"`
Duration time.Duration `json:"duration"`
Hash string `json:"hash"`
Status string `json:"status"`
}
Receipt represents an immutable audit receipt of a tool invocation.
Click to show internal directories.
Click to hide internal directories.