Understanding Process Types in Praison Labs
Process types in Praison Labs define how tasks are executed and how agents collaborate. Each process type offers different patterns for task execution and agent coordination.
Linear task execution in a predefined order
Manager-coordinated task execution with dynamic assignment
Complex task flows with conditional execution and state management
The simplest form of task execution where tasks are performed one after another.
Uses a manager agent to coordinate task execution and agent assignments.
Advanced process type supporting complex task relationships and conditional execution.
Install Praison Labs
Install the core package:
Create Agent
Create app.py
:
Task State Tracking
Monitor and manage the progress of each task in real-time
Context Preservation
Maintain important information across different stages of execution
Data Flow Control
Manage how data moves between tasks and agents efficiently
Graceful Recovery
Automatically handle failures and continue execution
Alternative Paths
Switch to backup plans when primary execution fails
Error Reporting
Detailed error logs and diagnostic information
Progress Tracking
Real-time visibility into task completion status
Performance Metrics
Measure execution time and resource efficiency
Resource Usage
Monitor system resource utilization
External Systems
Connect with other services and platforms
API Sync
Maintain data consistency across systems
Event Handling
React to system and external events
All process types support asynchronous execution through async generators, enabling efficient parallel processing and non-blocking operations.
Async version of sequential process for non-blocking linear execution
Async workflow process for complex parallel task execution
Async hierarchical process for distributed task management