Skip to main content

AgentProtocol

Defined in the protocols module.
AI Agent Minimal Protocol for agent implementations. This defines the essential interface that any agent must provide. It enables proper mocking and testing without real LLM dependencies.

Methods

name()

Agent’s name identifier.

chat()

Synchronous chat with the agent.

achat()

Asynchronous chat with the agent.

Usage

Source

View on GitHub

praisonaiagents/agent/protocols.py at line 35

Agents Concept

Single Agent Guide

Multi-Agent Guide

Agent Configuration

Auto Agents