2 releases
Uses new Rust 2024
| 0.1.1 | Dec 15, 2025 |
|---|---|
| 0.1.0 | Dec 11, 2025 |
#171 in Video
500KB
12K
SLoC
agno-agentos-client
Rust API Client SDK for Agno AgentOS API
Overview
This is an auto-generated Rust client library for the Agno AgentOS API. It provides type-safe bindings for interacting with the AgentOS platform, which manages AI agents, teams, workflows, sessions, and more.
Features
- Type-safe API client: Auto-generated from OpenAPI specification
- Async/await support: Built on
reqwestwith async/await - Flexible TLS backends: Choose between
rustls-tls(default) ornative-tls - Comprehensive API coverage: Full support for all AgentOS endpoints including:
- Agent management and execution
- Team and workflow orchestration
- Session management
- Memory and knowledge base operations
- Configuration management
Installation
Add this to your Cargo.toml:
[dependencies]
agno-agentos-client = { version = "0.1.1", features = ["rustls-tls"] }
Or with native TLS:
[dependencies]
agno-agentos-client = { version = "0.1.1", features = ["native-tls"] }
Version Compatibility
The following table shows the version correspondence between the client and AgnoOS API:
| Client Version | AgnoOS API Version |
|---|---|
| 0.1.0 | 2.3.10 |
| 0.1.1 | 2.3.10 |
Please ensure you use a compatible client version for your AgnoOS API version to avoid compatibility issues.
Usage
use agno_agentos_client::apis::*;
use agno_agentos_client::models::*;
...
Features
default: Enablesrustls-tlsfeaturerustls-tls: Use rustls for TLS (default, recommended)native-tls: Use native TLS implementation
Development
This SDK is generated from the OpenAPI specification using OpenAPI Generator.
To regenerate the SDK:
./scripts/generate_api_sdk.sh
This script:
- Generates the SDK from
api/agno-agentos-openapi.json - Copies the generated code to
src/generated/ - Formats the code with
cargo fmt
Requirements
- Rust 1.85 or later
- OpenAPI Generator CLI (for regeneration)
License
See LICENSE file for details.
Contributing
Contributions are welcome! Please ensure that:
- Code is formatted with
cargo fmt - All tests pass with
cargo test - Clippy checks pass with
cargo clippy
Dependencies
~9–17MB
~284K SLoC