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.

set_agent

Method
This is a method of the BotProtocol class in the protocols module.
Set the agent that handles messages.

Signature

def set_agent(agent: 'Agent') -> None

Parameters

agent
Agent
required
The agent to handle incoming messages

Source

View on GitHub

praisonaiagents/bots/protocols.py at line 331

Agents Concept

Single Agent Guide

Multi-Agent Guide

Agent Configuration

Auto Agents