DroidAgent - A wrapper class that coordinates the planning and execution of tasks to achieve a user’s goal on an Android device.
A wrapper class that coordinates between PlannerAgent (creates plans) and CodeActAgent (executes tasks) to achieve a user’s goal.
Initialize the DroidAgent wrapper.
Arguments:
goal
- The user’s goal or command to executellm
- The language model to use for both agentsmax_steps
- Maximum number of steps for both agentstimeout
- Timeout for agent execution in secondsreasoning
- Whether to use the PlannerAgent for complex reasoning (True)
or send tasks directly to CodeActAgent (False)reflection
- Whether to reflect on steps the CodeActAgent did to give the PlannerAgent adviceenable_tracing
- Whether to enable Arize Phoenix tracingdebug
- Whether to enable verbose debug logging**kwargs
- Additional keyword arguments to pass to the agentsRun the DroidAgent workflow.
DroidAgent - A wrapper class that coordinates the planning and execution of tasks to achieve a user’s goal on an Android device.
A wrapper class that coordinates between PlannerAgent (creates plans) and CodeActAgent (executes tasks) to achieve a user’s goal.
Initialize the DroidAgent wrapper.
Arguments:
goal
- The user’s goal or command to executellm
- The language model to use for both agentsmax_steps
- Maximum number of steps for both agentstimeout
- Timeout for agent execution in secondsreasoning
- Whether to use the PlannerAgent for complex reasoning (True)
or send tasks directly to CodeActAgent (False)reflection
- Whether to reflect on steps the CodeActAgent did to give the PlannerAgent adviceenable_tracing
- Whether to enable Arize Phoenix tracingdebug
- Whether to enable verbose debug logging**kwargs
- Additional keyword arguments to pass to the agentsRun the DroidAgent workflow.