Agent OS Config • Rust AI Agent SDK
AgentOSConfig: Agent OS configuration.
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>) -> SelfCreate a new config
Parameters:
| Name | Type |
|---|---|
url | impl Into<String> |
api_key
fn api_key(mut self, key: impl Into<String>) -> SelfSet API key
Parameters:
| Name | Type |
|---|---|
key | impl Into<String> |
agent_id
fn agent_id(mut self, id: impl Into<String>) -> SelfSet agent ID
Parameters:
| Name | Type |
|---|---|
id | impl Into<String> |
no_telemetry
fn no_telemetry(mut self) -> SelfDisable telemetry
Source
View on GitHubpraisonai/src/protocols/mod.rs at line 247