Documentation
¶
Index ¶
- func NewAgentsMD(cfg AgentsMDConfig, deps AgentsMDDeps) (agentkit.SectionProvider, error)
- func NewMemoryMD(cfg MemoryMDConfig, deps MemoryMDDeps) (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 MemoryMDConfig
- type MemoryMDDeps
- 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 NewMemoryMD ¶ added in v0.1.10
func NewMemoryMD(cfg MemoryMDConfig, deps MemoryMDDeps) (agentkit.SectionProvider, error)
NewMemoryMD registers prompt/section/memory: Inject memory.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 AgentsMDDeps ¶
type MemoryMDConfig ¶ added in v0.1.10
type MemoryMDDeps ¶ added in v0.1.10
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.