v0.1.4
Breaking Changes
Renamed WorkerPool to Pool
ax.WorkerPoolis nowax.Poolfor cleaner API- Update imports:
from agentexec import Pool
Activity percentage field renamed
completion_%renamed topercentagefor cleaner field naming
New Features
Pipelines run on workers
- Pipelines can now be executed on worker processes
- Register pipelines with the pool and enqueue them like tasks
Tracker for stateful counters
- New
Trackerclass for managing stateful counters across workers - Useful for tracking progress, metrics, and distributed state
Strict Pipeline type flow validation
- All step parameters and return types must be
BaseModelsubclasses - Type flow between consecutive steps is validated at runtime
- Tuple returns are unpacked and matched to next step's parameters
- Final step must return a single
BaseModel(not a tuple) - Empty pipelines raise
RuntimeErrorat class definition time
Internal Improvements
Type checking with ty
- Added
tytype checker to development workflow - Better Protocol definitions for step handlers
- Improved type hints throughout pipeline module
Better Pipeline flow tests
- Comprehensive test coverage for valid and invalid type flows
- Tests for tuple unpacking, subclass compatibility, count mismatches
- Tests for primitive type rejection and edge cases