Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.praison.ai/llms.txt

Use this file to discover all available pages before exploring further.

server

AI Agent Server Module for PraisonAI Agents. Provides an optional HTTP server with SSE event streaming for real-time agent communication. Features:
  • REST API for agent operations
  • Server-Sent Events (SSE) for real-time updates
  • Event bus integration
  • Multi-project support
  • CORS handling
Usage: from praisonaiagents.server import AgentServer

Create and start server

server = AgentServer(port=8080) server.start()

Or use as context manager

with AgentServer(port=8080) as server:

Server is running

pass

Import

from praisonaiagents import server