Skip to main content

Performance Benchmarks

PraisonAI Agents includes comprehensive benchmarks to measure and compare performance against other popular AI agent frameworks.

Benchmark Types

Quick Start

Simple Benchmark

Measures PraisonAI agent instantiation time (no API calls, no tools) and compares against installed frameworks. LangGraph and CrewAI are constructed with a tool in this script; use performance_benchmark.py to compare like with like.

CLI Options

Thresholds file

The script reads benchmarks/thresholds.json for CI budgets:
  • praisonai_instantiation_us_max — hard cap (µs) for --fail-over-threshold.
  • iterations / warmup — override the script’s defaults.

Examples

Execution Benchmark

The execution benchmark tests real agent execution with actual LLM API calls.

CLI Options

Examples

Results

Agent Instantiation (June 2026)

Measured 2026-06-17 · 10 warmup + 1000 iterations · source: src/praisonai-agents/benchmarks/BENCHMARK_RESULTS.md
Competitor rows have no min/median columns and look like no-tools runs, while the file states one tool per framework. Treat cross-framework gaps as indicative only.
Earlier results (December 2025) and the tools and execution benchmarks were measured under different setups and are no longer published. Past results live in benchmarks/archive/.

Frameworks Compared

Output Files

Benchmarks save results to markdown files in the benchmarks/ directory:

Methodology

Methodology

Measures only Agent(...) construction: no LLM call, no import time. 10 warmup + 1000 iterations with time.perf_counter(), one tool. Single machine; numbers vary by hardware and version. Reproduce with python benchmarks/performance_benchmark.py. Last measured: 2026-06-17.

Running Your Own Benchmarks

  1. Clone the repository:
  1. Install dependencies:
  1. Set your API key:
  1. Run benchmarks: