Skip to main content

Lazy Imports CLI

Commands for verifying and testing lazy import behavior in PraisonAI Agents.

Commands

Check Lazy Imports

Verify that heavy dependencies are not loaded at import time:
Output:

Measure Import Time

Measure the import time of praisonaiagents:
Output:

Full Performance Benchmark

Run a complete performance benchmark including lazy import checks:
Output:

Performance Targets

Environment Variables

Control lazy import behavior:

CI/CD Integration

Use the check command in CI pipelines: