Documentation
¶
Index ¶
- func NewAgentsMD(cfg AgentsMDConfig, deps AgentsMDDeps) (agentkit.SectionProvider, error)
- func NewSkillsSection(_ SkillsSectionConfig, deps SkillsSectionDeps) (agentkit.SectionProvider, error)
- func NewStatic(cfg StaticConfig) (agentkit.SectionProvider, error)
- func NewSubagentsSection(_ SubagentsSectionConfig, deps SubagentsSectionDeps) (agentkit.SectionProvider, error)
- type AgentsMDConfig
- type AgentsMDDeps
- type SkillsSectionConfig
- type SkillsSectionDeps
- type StaticConfig
- type SubagentsSectionConfig
- type SubagentsSectionDeps
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAgentsMD ¶
func NewAgentsMD(cfg AgentsMDConfig, deps AgentsMDDeps) (agentkit.SectionProvider, error)
NewAgentsMD registers prompt/section/agents-md: Inject AGENTS.md instructions discovered in the workspace hierarchy.
func NewSkillsSection ¶
func NewSkillsSection(_ SkillsSectionConfig, deps SkillsSectionDeps) (agentkit.SectionProvider, error)
NewSkillsSection registers prompt/section/skills: Inject a catalog of available skills so the model knows what it can load.
func NewStatic ¶
func NewStatic(cfg StaticConfig) (agentkit.SectionProvider, error)
NewStatic registers prompt/section/static: Inject a fixed block of system prompt text from config.
func NewSubagentsSection ¶
func NewSubagentsSection(_ SubagentsSectionConfig, deps SubagentsSectionDeps) (agentkit.SectionProvider, error)
NewSubagentsSection registers prompt/section/subagents: Inject the catalog of delegatable subagents so the model knows who it can hand work to.
Best practices:
- Mount this wherever tool/subagent is mounted: the delegate tool's description is static, so without this section the model has no list of valid agent names.
Types ¶
type AgentsMDConfig ¶
type AgentsMDConfig struct {
// Root is directory to start the upward search from.
Root string `json:"root"`
}
type AgentsMDDeps ¶
type SkillsSectionConfig ¶
type SkillsSectionConfig struct{}
type SkillsSectionDeps ¶
type StaticConfig ¶
type SubagentsSectionConfig ¶
type SubagentsSectionConfig struct{}
type SubagentsSectionDeps ¶
Click to show internal directories.
Click to hide internal directories.