terraphim_rlm 1.20.5

Recursive Language Model (RLM) orchestration for Terraphim AI
Documentation
[package]
name = "terraphim_rlm"
version.workspace = true
edition.workspace = true
authors = ["Terraphim AI Team <team@terraphim.ai>"]
description = "Recursive Language Model (RLM) orchestration for Terraphim AI"
documentation = "https://terraphim.ai"
homepage = "https://terraphim.ai"
license = "MIT"
repository = "https://github.com/terraphim/terraphim-ai"
keywords = ["rlm", "llm", "code-execution", "firecracker", "ai"]
categories = ["development-tools", "asynchronous"]
readme = "../../README.md"

[dependencies]
# Workspace dependencies
tokio.workspace = true
serde.workspace = true
serde_json.workspace = true
ulid = { version = "1.1", features = ["serde"] }
jiff = { version = "0.2", features = ["serde"] }
async-trait.workspace = true
thiserror.workspace = true
anyhow.workspace = true
log.workspace = true

# Terraphim crates
terraphim_service = { version = "1.20.4", optional = true }
terraphim_config = { version = "1.20.4", optional = true }
terraphim_automata = { version = "1.20.4", optional = true }
terraphim_types = { version = "1.20.4", optional = true }
terraphim_rolegraph = { version = "1.20.4", optional = true }
terraphim_agent_supervisor = { version = "1.19.2", optional = true }

# Firecracker-rust core for VM and snapshot management (private repo).
# Uncomment when building with --features firecracker on a machine with
# access to the private firecracker-rust repository.
# fcctl-core = { git = "https://github.com/terraphim/firecracker-rust", branch = "main", optional = true }

# Async utilities
tokio-util = "0.7"
futures = "0.3"

# HTTP for LLM bridge
hyper = { version = "1.0", features = ["server", "http1"], optional = true }
hyper-util = { version = "0.1", features = ["tokio"], optional = true }

# Alternative execution backends
bollard = { version = "0.20", optional = true }
reqwest = { workspace = true, optional = true }

# MCP (Model Context Protocol)
rmcp = { version = "0.9.0", features = ["server"], optional = true }

# Utilities
parking_lot = "0.12"
dashmap = "6.1"

# CLI
clap = { version = "4.5", features = ["derive"], optional = true }
env_logger = { version = "0.11", optional = true }

[[bin]]
name = "terraphim_rlm"
path = "src/main.rs"
required-features = ["cli"]

[features]
default = ["full"]
full = ["llm", "kg-validation", "supervision", "llm-bridge", "docker-backend", "e2b-backend", "mcp", "cli"]
llm = ["dep:terraphim_service", "dep:terraphim_config"]
kg-validation = ["dep:terraphim_automata", "dep:terraphim_types", "dep:terraphim_rolegraph"]
supervision = ["dep:terraphim_agent_supervisor"]
llm-bridge = ["dep:hyper", "dep:hyper-util"]
docker-backend = ["dep:bollard"]
firecracker = []
e2b-backend = ["dep:reqwest"]
mcp = ["dep:rmcp"]
cli = ["dep:clap", "dep:env_logger"]

[dev-dependencies]
tokio-test = "0.4"
tempfile = "3.0"
test-log = "0.2"
ahash = "0.8"
terraphim_config = { version = "1.20.4" }