Skip to main content
Tasks define what agents should do. In PraisonAI, you can give tasks directly to agents or use the Task class for complex workflows.

Quick Start

Simple Way - Direct Task

Advanced Way - Task Class


Task Options


Task Types

Research

Find, gather, and summarize information

Create

Write articles, reports, or content

Analyze

Process data and find insights

Interact

Answer questions and chat

Task Dependencies

Tasks can use results from previous tasks:

Complete Example


Best Practices

“Research AI trends in healthcare” is better than “Research AI”
Split complex work into multiple focused tasks
Connect related tasks with context=[previous_task]
Tell the agent what format you want

Next: Creating Your First Agent

Build a complete agent application step by step.