escalation • TypeScript AI Agent SDK

* Escalation Module for PraisonAI Agents.

escalation

TypeScript AI Agent

  • Escalation Module for PraisonAI Agents.
  • Python parity: praisonaiagents/escalation/__init__.py. Progressive

escalation pipeline for auto-mode execution:

  • Stage 0: Direct response (no tools, no planning)
  • Stage 1: Heuristic tool usage (local signals, no extra LLM call)
  • Stage 2: Lightweight plan (single LLM call, constrained)
  • Stage 3: Full autonomous loop (tools + subagents + verification)
  • const pipeline = new EscalationPipeline({ agent });

const stage = pipeline.analyze(prompt, context); const result = await pipeline.executeAtStage(prompt, stage);

Import

typescript
import { escalation } from 'praisonai';