Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateDeepAgent ¶
func CreateDeepAgent(model llms.Model, opts ...Option) (*graph.StateRunnable[map[string]any], error)
CreateDeepAgent creates a new deep agent
Types ¶
type DeepAgentOptions ¶
type DeepAgentOptions struct {
RootDir string
SystemPrompt string
SubAgentHandler tools.SubAgentHandler
}
DeepAgentOptions contains options for creating a deep agent
type Option ¶
type Option func(*DeepAgentOptions)
Option is a function that configures DeepAgentOptions
func WithRootDir ¶
WithRootDir sets the root directory for filesystem tools
func WithSubAgentHandler ¶
func WithSubAgentHandler(handler tools.SubAgentHandler) Option
WithSubAgentHandler sets the handler for subagent tasks
func WithSystemPrompt ¶
WithSystemPrompt sets the system prompt
Click to show internal directories.
Click to hide internal directories.