HEX
Server: LiteSpeed
System: Linux houston.panomity.com 6.8.0-100-generic #100-Ubuntu SMP PREEMPT_DYNAMIC Tue Jan 13 16:40:06 UTC 2026 x86_64
User: nudepix (1011)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //opt/PraisonAI/docs/api/praisonaiagents/index.mdx
---
title: "API Reference"
description: "Praison AI Agents - SDK Documentation"
icon: "code"
---

<CardGroup cols={2}>
  <Card title="Agent" icon="user" href="/api/praisonaiagents/agent/agent">
    Documentation for individual AI agents and their capabilities
  </Card>
  <Card title="Agents" icon="users" href="/api/praisonaiagents/agents/agents">
    Documentation for managing multiple agents and their interactions
  </Card>
  <Card title="Task" icon="list-check" href="/api/praisonaiagents/task/task">
    Documentation for defining and managing tasks
  </Card>
  <Card title="Process" icon="diagram-project" href="/api/praisonaiagents/process/process">
    Documentation for handling task execution flows
  </Card>
</CardGroup>

# Module praisonaiagents

## Sub-modules
* praisonaiagents.agent - Agent module for defining individual AI agents
* praisonaiagents.agents - Agents module for managing multiple agents
* praisonaiagents.task - Task module for defining and managing tasks
* praisonaiagents.process - Process module for handling task execution flows
* praisonaiagents.main - Main module containing utility functions

## Functions

### clean_triple_backticks(text: str) → str
Clean triple backticks from text output.

### display_error(message: str, console=None)
Display error messages in the console.

### display_generating(content: str = '', start_time: float | None = None)
Display generation status with optional timing information.

### display_instruction(message: str, console=None)
Display instruction messages in the console.

### display_interaction(message, response, markdown=True, generation_time=None, console=None)
Display interaction between user and agent.

### display_self_reflection(message: str, console=None)
Display agent self-reflection messages.

### display_tool_call(message: str, console=None)
Display tool call messages.