Skip to main content

Module praisonaiagents

The praisonaiagents package provides a lightweight, high-performance framework for building AI agents with support for multi-agent orchestration, memory, knowledge bases, and tool integration.

Quick Start

Core Modules

Agent

Core agent class for AI interactions

Agents

Multi-agent orchestration

Task

Task definition and management

Process

Task execution flows

Agent Variants

ImageAgent

Vision and image processing

RouterAgent

Intelligent request routing

DeepResearchAgent

Multi-step research with citations

QueryRewriterAgent

Query optimization for RAG

PromptExpanderAgent

Prompt enhancement

ContextAgent

Context-aware processing

Data & Memory

Memory

Memory management for stateful agents

Knowledge

Knowledge base and RAG support

Session

Session management and persistence

DB

Database adapters and storage

Checkpoints

State checkpointing

Context

Context management

Tools & Integration

Tools

Tool system and decorators

MCP

Model Context Protocol support

Handoff

Agent-to-agent handoffs

Workflows

Multi-step workflow execution

Skills

Agent Skills standard support

LLM

LLM configuration and providers

Safety & Control

Guardrails

Input/output validation

Planning

Planning mode support

Policy

Policy-based controls

Approval

Human-in-the-loop approval

Thinking

Extended thinking support

Compaction

Context compaction

Observability

Telemetry

Observability and monitoring

Hooks

Event hooks and callbacks

Display

Console display utilities

Eval

Agent evaluation framework

Outputs

Data classes for task outputs

FlowDisplay

Workflow visualization

UI & Output

UI

UI components (AGUI, A2A)

Output

Output formatting

LSP

Language Server Protocol

Background

Background task execution

Import Patterns

The SDK supports multiple import styles for different use cases:
For larger projects, use sub-package imports for cleaner code organization:

Namespace Style

Use the pa. namespace for exploratory development:

Backwards Compatibility

All legacy imports continue to work via lazy loading:

Sub-Packages Reference

Installation

See Also