sage-runtime 2.1.0

Runtime library for compiled Sage programs
Documentation

Runtime library for compiled Sage programs.

This crate provides the types and functions that generated Rust code depends on. It handles:

  • Agent spawning and lifecycle
  • Message passing between agents
  • LLM inference calls
  • RFC-0011: Tool execution (Http, Fs, etc.)
  • RFC-0012: Mock infrastructure for testing
  • Tracing and observability
  • Error handling
  • v2.0: Persistence for @persistent agent beliefs
  • v2.0: Supervision trees for agent lifecycle management
  • Phase 3: Session types for protocol verification