Skip to main content

marvin.fns.plan

Classes

PlanTask

Functions

create_tasks

plan

Generate a series of Marvin Tasks that will allow you or other AI agents to achieve a goal. Args: instructions: The objective to achieve. agent: The agent to use for planning. thread: The thread to use for planning. context: Additional context to use for planning. available_agents: A list of agents that can be used for planning. tools: A list of tools that can be used for planning. Returns: A list of Marvin Tasks that will allow you or other AI agents to achieve the objective. Examples:

plan_async

Generate a series of new tasks in order to achieve a goal. Args: instructions: The objective to achieve. agent: The agent to use for planning. thread: The thread to use for planning. context: Additional context to use for planning. available_agents: A list of agents that can be used for planning. tools: A list of tools that can be used for planning. Returns: A list of Marvin Tasks that will allow you or other AI agents to achieve the objective. Examples:

Parent Module: fns