Skip to main content

task

Rust AI Agent SDK Task module for PraisonAI Rust SDK. A Task is a unit of work that can be executed by an Agent. Tasks support dependencies, callbacks, guardrails, and various output formats.

Usage

Import

Classes

TaskOutput

Task output containing the result of task execution

TaskConfig

Task configuration

Task

A unit of work that can be executed by an Agent

TaskBuilder

Builder for Task

TaskStatus

Task status

TaskType

Task type

OnError

Error handling behavior

Rust Tasks

Rust Execution