Skip to main content

AgentOSProtocol

Defined in the protocols module.
Rust AI Agent SDK Protocol for Agent OS integration.

Methods

config

fn config(&self) -> &AgentOSConfig
Get configuration

register

async fn register(&self) -> Result<String>
Register agent with Agent OS

heartbeat

async fn heartbeat(&self) -> Result<()>
Send heartbeat

report_metrics

async fn report_metrics(&self, metrics: AgentMetrics) -> Result<()>
Report metrics Parameters:
NameType
metricsAgentMetrics

get_config

async fn get_config(&self) -> Result<serde_json::Value>
Get remote configuration

Source

View on GitHub

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