Skip to main content

AgentProtocol

Defined in the protocols module.
Rust AI Agent SDK 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

Get the agent’s name

chat

Synchronous chat with the agent Parameters:

achat

Asynchronous chat with the agent Parameters:

Source

View on GitHub

praisonai/src/protocols/mod.rs at line 0

Rust Agent

Rust Overview

Rust Quickstart

Rust Installation

Rust Autonomy