Skip to content

API Reference

Welcome to the AntFlow API Reference. This documentation provides detailed information about the classes, functions, and types available in the library.

Core Modules

Module Description
Pipeline The heart of AntFlow. Contains Pipeline and Stage classes for building multi-step workflows.
StatusTracker Observability layer. Contains StatusTracker and event definitions for real-time monitoring.
AsyncExecutor Simple concurrent execution. Contains AsyncExecutor (like concurrent.futures) and AsyncFuture.

Support Modules

Module Description
Types Data structures and type definitions (TaskEvent, WorkerMetrics, etc.).
Utils Helper functions for logging and error handling.
Exceptions The exception hierarchy used throughout the library.