Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultDir ¶
func DefaultDir() string
DefaultDir returns the user's agent directory (~/.hawk/agents/).
Types ¶
type Agent ¶
type Agent struct {
Name string `json:"name"`
Description string `json:"description"`
Model string `json:"model,omitempty"`
Prompt string `json:"prompt"`
FilePath string `json:"file_path"`
}
Agent is a user-defined persona with a custom system prompt. Stored as markdown files with YAML frontmatter in ~/.hawk/agents/.
func ListAll ¶
ListAll discovers all agent definitions from the standard directories. Search order: ~/.hawk/agents/, .hawk/agents/ (project-local).
Click to show internal directories.
Click to hide internal directories.