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.

AgentOSConfig

Defined in the protocols module.
Rust AI Agent SDK Agent OS configuration.

Fields

NameTypeDescription
urlStringAgent OS URL
api_keyOption<String>API key
agent_idOption<String>Agent ID
telemetryboolEnable telemetry
timeoutu32Connection timeout

Methods

new

fn new(url: impl Into<String>) -> Self
Create a new config Parameters:
NameType
urlimpl Into&lt;String&gt;

api_key

fn api_key(mut self, key: impl Into<String>) -> Self
Set API key Parameters:
NameType
keyimpl Into&lt;String&gt;

agent_id

fn agent_id(mut self, id: impl Into<String>) -> Self
Set agent ID Parameters:
NameType
idimpl Into&lt;String&gt;

no_telemetry

fn no_telemetry(mut self) -> Self
Disable telemetry

Source

View on GitHub

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

Rust Agent

Rust Overview

Rust Quickstart

Rust Installation

Rust Autonomy