uaicp-core 0.3.1

UAICP Core Types and Traits — Rust Primitives
Documentation

uaicp-core

Core UAICP types and traits for Rust.

Version: 0.3.1

Install

cargo add uaicp-core

Usage

use uaicp_core::{MessageEnvelope, UaicpState};

let envelope = MessageEnvelope {
    uaicp_version: "0.3.0".to_string(),
    trace_id: "trace-1".to_string(),
    parent_trace_id: None,
    state: UaicpState::Executing,
    identity: uaicp_core::AgentIdentity {
        agent_id: "agent-a".to_string(),
        agent_type: "rig".to_string(),
        framework: "rig-rs".to_string(),
        version: "0.3.0".to_string(),
    },
    evidence: vec![],
    outcome: None,
    streaming: None,
    rollback_action: None,
};

Spec