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
| Name | Type | Description |
|---|
url | String | Agent OS URL |
api_key | Option<String> | API key |
agent_id | Option<String> | Agent ID |
telemetry | bool | Enable telemetry |
timeout | u32 | Connection timeout |
Methods
new
fn new(url: impl Into<String>) -> Self
Create a new config
Parameters:
| Name | Type |
|---|
url | impl Into<String> |
api_key
fn api_key(mut self, key: impl Into<String>) -> Self
Set API key
Parameters:
| Name | Type |
|---|
key | impl Into<String> |
agent_id
fn agent_id(mut self, id: impl Into<String>) -> Self
Set agent ID
Parameters:
| Name | Type |
|---|
id | impl Into<String> |
no_telemetry
fn no_telemetry(mut self) -> Self
Disable telemetry
Source
View on GitHub
praisonai/src/protocols/mod.rs at line 247