Skip to main content
PraisonAI Documentation home page
Search...
⌘K
Guide
SDK Reference
praisonaiagents
praisonai
typescript
Reference
praisonaiagents
Modules
Classes
After Agent Input | AI Agent
After LLM Input | AI Agent
After Tool Input | AI Agent
Agent
Agent Config | AI Agent
Agents
ApprovalDecision
Array Mode | AI Agent
AsyncMiddlewareChain
AudioAgent
Audio Config | AI Agent
Auth Profile | AI Agent
AutoAgents
Auto Agents Config | AI Agent
AutoRagAgent
Auto RAG Config | AI Agent
AutonomyConfig
Autonomy Level | AI Agent
BaseVerificationHook
Before Agent Input | AI Agent
Before LLM Input | AI Agent
Before Tool Input | AI Agent
Bot Channel | AI Agent
Bot Channel Protocol | AI Agent
Bot Config | AI Agent
Bot Message | AI Agent
Bot Message Protocol | AI Agent
Bot Protocol | AI Agent
Bot User | AI Agent
Bot User Protocol | AI Agent
Budget Allocation | AI Agent
Caching Config | AI Agent
Chunking
Chunking Strategy | AI Agent
Citation | AI Agent
Citations Mode | AI Agent
CodeAgent
Code Config | AI Agent
Code Execution Step | AI Agent
Command Hook | AI Agent
CommandVerificationHook
ContextAgent
Context Config | AI Agent
Context Ledger | AI Agent
ContextManager
Context Optimizer | AI Agent
Context Pack | AI Agent
Context Policy | AI Agent
Context Segment | AI Agent
ContextShareMode
Context Snapshot | AI Agent
Custom Memory | AI Agent
DeepResearchAgent
Deep Research Response | AI Agent
EmbeddingAgent
Embedding Config | AI Agent
Embedding Result | AI Agent
EstimationMetrics
EstimationMode
Event Type | AI Agent
Execution Config | AI Agent
Execution Preset | AI Agent
Expand Result | AI Agent
Expand Strategy | AI Agent
Failover Config | AI Agent
FailoverManager
Failover Protocol | AI Agent
File Search Call | AI Agent
Flow Display | AI Agent
Function Hook | AI Agent
Gateway Client Protocol | AI Agent
Gateway Config | AI Agent
Gateway Event | AI Agent
Gateway Message | AI Agent
Gateway Protocol | AI Agent
Gateway Session Protocol | AI Agent
Guardrail Action | AI Agent
Guardrail Config | AI Agent
Handoff
Handoff Config | AI Agent
HandoffCycleError
HandoffDepthError
Handoff Error | AI Agent
HandoffInputData
HandoffResult
HandoffTimeoutError
Hook Definition | AI Agent
Hook Event | AI Agent
Hook Execution Result | AI Agent
Hook Input | AI Agent
Hook Output | AI Agent
HookRegistry
Hook Result | AI Agent
HookRunner
Hooks Config | AI Agent
ImageAgent
Image Generation Config | AI Agent
Invocation Context | AI Agent
Knowledge
Knowledge Config | AI Agent
Learn Config | AI Agent
Learn Scope | AI Agent
MCP
MCP Call | AI Agent
MCPToolRunner
ManagerConfig
Memory
Memory Backend | AI Agent
Memory Config | AI Agent
Message Type | AI Agent
MiddlewareChain
MiddlewareManager
Model Request | AI Agent
Model Response | AI Agent
MongoDBMemory
Monitor Config | AI Agent
MultiAgentContextManager
Multi Agent Execution Config | AI Agent
Multi Agent Hooks Config | AI Agent
Multi Agent Memory Config | AI Agent
Multi Agent Output Config | AI Agent
Multi Agent Planning Config | AI Agent
OCRAgent
O C R Config | AI Agent
Observability Adapter | AI Agent
On Error Input | AI Agent
On Retry Input | AI Agent
OptimizationEvent
OptimizationEventType
Optimization Result | AI Agent
Optimizer Strategy | AI Agent
Output Config | AI Agent
Output Preset | AI Agent
PerToolBudget
Permission Allowlist | AI Agent
Planning Config | AI Agent
PromptExpanderAgent
Provider | AI Agent
Provider Status | AI Agent
QueryRewriterAgent
RAG Config | AI Agent
RAG Result | AI Agent
RealtimeAgent
Realtime Config | AI Agent
Reasoning Step | AI Agent
Reflection Config | AI Agent
Reflection Output | AI Agent
Resource Limits | AI Agent
Retrieval Config | AI Agent
Retrieval Policy | AI Agent
Retrieval Strategy | AI Agent
Rewrite Result | AI Agent
Rewrite Strategy | AI Agent
Sandbox Config | AI Agent
Sandbox Protocol | AI Agent
Sandbox Result | AI Agent
Sandbox Status | AI Agent
Security Policy | AI Agent
Session
Session Config | AI Agent
SessionDeduplicationCache
Session End Input | AI Agent
Session Start Input | AI Agent
Skills Config | AI Agent
SnapshotHookData
Span | AI Agent
Task
Task Config | AI Agent
Task Output | AI Agent
Task Status | AI Agent
Template Config | AI Agent
Token Estimator | AI Agent
Tool Permission | AI Agent
Tool Request | AI Agent
Tool Response | AI Agent
ToolShareMode
Trace | AI Agent
Verification Hook | AI Agent
Verification Result | AI Agent
VideoAgent
Video Config | AI Agent
VisionAgent
Vision Config | AI Agent
Web Config | AI Agent
Web Search Call | AI Agent
Web Search Provider | AI Agent
handoff_filters
Functions
praisonai
typescript
rust
Submit Issues
MervinPraison/PraisonAI
PraisonAI Documentation home page
Search...
⌘K
Submit Issues
MervinPraison/PraisonAI
MervinPraison/PraisonAI
Search...
Navigation
Classes
handoff_filters
Home
Documentation
CLI
Agents
Code
UI
Tools
MCP
Deploy
Examples
SDK
JS
Rust
Course
Home
Documentation
CLI
Agents
Code
UI
Tools
MCP
Deploy
Examples
SDK
JS
Rust
Course
Classes
handoff_filters
Copy page
Common handoff input filters.
Copy page
Defined in the
handoff
module.
Common handoff input filters.
Methods
remove_all_tools()
Remove all tool calls from the message history.
keep_last_n_messages()
Keep only the last n messages in the history.
remove_system_messages()
Remove all system messages from the history.
Previous
achat
Async version of chat method with self-reflection support.
Next
⌘I
On this page
Methods