agno-agentos-client

Crates.ioagno-agentos-client
lib.rsagno-agentos-client
version0.1.1
created_at2025-12-11 09:11:57.544144+00
updated_at2025-12-15 06:42:38.842405+00
descriptionRust Client for Agno AgentOS
homepagehttps://github.com/nurokhq/agno-agentos-rust
repositoryhttps://github.com/nurokhq/agno-agentos-rust
max_upload_size
id1979395
size1,075,495
Frank Fang (fj-nurok)

documentation

https://docs.agno.com/reference-api/overview

README

agno-agentos-client

Build Rust Code style: rustfmt Linter: clippy

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 reqwest with async/await
  • Flexible TLS backends: Choose between rustls-tls (default) or native-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: Enables rustls-tls feature
  • rustls-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:

  1. Generates the SDK from api/agno-agentos-openapi.json
  2. Copies the generated code to src/generated/
  3. 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
Commit count: 0

cargo fmt