Agent OS Protocol • Rust AI Agent SDK
AgentOSProtocol: Protocol for Agent OS integration.
AgentOSProtocol
Defined in the protocols module.
Rust AI Agent SDK
Protocol for Agent OS integration.
Methods
config
fn config(&self) -> &AgentOSConfigGet 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:
| Name | Type |
|---|---|
metrics | AgentMetrics |
get_config
async fn get_config(&self) -> Result<serde_json::Value>Get remote configuration
Source
View on GitHubpraisonai/src/protocols/mod.rs at line 0