Thanks to visit codestin.com
Credit goes to lib.rs

4 releases (breaking)

0.15.0-pre-alpha Apr 10, 2026
0.14.0-pre-alpha Mar 22, 2026
0.13.0-pre-alpha Mar 21, 2026

#2563 in Artificial intelligence


Used in aegis-orchestrator

AGPL-3.0

3.5MB
72K SLoC

aegis-orchestrator-sdk

Crates.io Docs.rs License: AGPL-3.0 Documentation

Rust SDK for building and deploying agents on the 100monkeys.ai AEGIS platform. Provides a type-safe, fluent API for defining agent manifests, submitting executions, and watching iteration progress — without depending on the full orchestrator binary.

Features

  • AegisClient — HTTP client for the AEGIS /v1 REST API (deploy agents, execute tasks, stream logs)
  • Manifest types — re-exports AgentManifest, WorkflowManifest, and all related value objects directly from aegis-orchestrator-core so your types always match the orchestrator
  • Single import pathuse aegis_orchestrator_sdk::AgentManifest just works; no digging into internal crates

Installation

[dependencies]
aegis-orchestrator-sdk = "0.X.0-pre-alpha"
tokio = { version = "1", features = ["full"] }

Quick Start

use aegis_orchestrator_sdk::{AegisClient, AgentManifest, TaskInput};

#[tokio::main]
async fn main() -> anyhow::Result<()> {
    let client = AegisClient::new("http://127.0.0.1:8088")
        .with_api_key("your-jwt-token");

    // Load a manifest from YAML
    let manifest: AgentManifest = serde_yaml::from_str(include_str!("agent.yaml"))?;

    // Deploy the agent
    let deployment = client.deploy_agent(&manifest).await?;
    println!("Deployed: {}", deployment.agent_id);

    // Execute a task
    let result = client.execute_task(
        &deployment.agent_id,
        TaskInput {
            input: "Summarise the latest pull requests".into(),
            context: Default::default(),
        },
    ).await?;

    println!("Output: {}", result.output);
    Ok(())
}

Modules

Module Description
client AegisClient — wraps reqwest with typed request/response pairs
types TaskInput, TaskOutput, DeploymentResponse, execution watcher helpers

Documentation

Resource Link
Getting Started docs.100monkeys.ai/docs/getting-started
Writing Agents docs.100monkeys.ai/docs/guides/writing-agents
Deploying Agents docs.100monkeys.ai/docs/guides/deploying-agents
Agent Manifest Reference docs.100monkeys.ai/docs/reference/agent-manifest
gRPC API Reference docs.100monkeys.ai/docs/reference/grpc-api
Security Model docs.100monkeys.ai/docs/concepts/security-model

Other SDKs

License

Copyright © 2026 100monkeys AI, Inc.

Licensed under the GNU Affero General Public License v3.0 (AGPL-3.0).

Dependencies

~161MB
~3.5M SLoC