The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
feat: add memory-remote feature for external memory engine support
Steven Enamakel6e01fa688f88
diff --git a/crates/openhuman-app/Cargo.toml b/crates/openhuman-app/Cargo.tomlindex 60933c30f4..54b997d6e9 100644--- a/crates/openhuman-app/Cargo.toml+++ b/crates/openhuman-app/Cargo.toml@@ -230,6 +230,8 @@ openhuman_core = { path = "../openhuman-core", package = "openhuman", default-fe# credential-gated in tools/ops.rs, so a host with no hosting credential# sees no new tools."hosting",+ # Remote memory engines (TinyHumans-hosted CortexDB, Supermemory, Mem0, ...).+ "memory-remote",] }[target.'cfg(unix)'.dependencies]diff --git a/crates/openhuman-cli/Cargo.toml b/crates/openhuman-cli/Cargo.tomlindex 435d239a20..eab8a3225b 100644--- a/crates/openhuman-cli/Cargo.toml+++ b/crates/openhuman-cli/Cargo.toml@@ -431,6 +431,7 @@ hosting = ["openhuman-core/hosting", "openhuman-tinyhumans/hosting"]modules = ["openhuman-core/modules", "openhuman-tinyhumans/modules"]voice = ["openhuman-core/voice", "openhuman-tinyhumans/voice"]web3 = ["openhuman-core/web3", "openhuman-tinyhumans/web3"]+memory-remote = ["openhuman-core/memory-remote", "openhuman-tinyhumans/memory-remote"]runtime-node = ["openhuman-core/runtime-node", "openhuman-tinyhumans/runtime-node"]contacts = ["openhuman-core/contacts", "openhuman-tinyhumans/contacts"]media = ["openhuman-core/media", "openhuman-tinyhumans/media"]diff --git a/crates/openhuman-core/Cargo.toml b/crates/openhuman-core/Cargo.tomlindex 41cf8ef341..235b94850c 100644--- a/crates/openhuman-core/Cargo.toml+++ b/crates/openhuman-core/Cargo.toml@@ -221,6 +221,11 @@ tinyruntime-bus = { path = "../../vendor/tinyruntime/crates/tinyruntime-bus" }# matching against `MODULE_ID` and refuses `DriverClass::Embedded` outright,# so nothing here resolves an engine through the facade's registry.tinymemory-api = { path = "../../vendor/tinymemory/crates/tinymemory-api" }+# The engine factory + migration over the same `tinymemory-api`. Optional: only+# the `memory-remote` gate (remote memory engines: TinyHumans-hosted CortexDB,+# Supermemory, Mem0, Cognee, CortexDB, AgentMemory) links the HTTP adapter.+tinymemory = { path = "../../vendor/tinymemory/crates/tinymemory", default-features = false, features = ["factory", "engines"], optional = true }+tinymemory-remote = { path = "../../vendor/tinymemory/crates/tinymemory-remote", optional = true }# tinyconnectors-bus — the OAuth connector wire contract# (https://github.com/tinyhumansai/tinyconnectors). Payload types and member# names for the connector surface, with no transport and no behaviour: this@@ -752,7 +757,7 @@ proptest = "1"# (`modules`: Contrib=ON, Product=ON) and with `scripts/ci/product-features.txt`,# which already lists it. This does NOT move the kernel floor: that profile is# `--no-default-features --features flows` and never reads this list.-default = ["media", "skills", "flows", "mcp", "channels", "http-server", "scheduler-gate", "file-logging", "modules"]+default = ["media", "skills", "flows", "mcp", "channels", "http-server", "scheduler-gate", "file-logging", "modules", "memory-remote"]# HTTP + Socket.IO server transport (#5048): the `/rpc` JSON-RPC endpoint and# its auth middleware/CORS layer (`core::jsonrpc`, `core::auth`), the `/v1`# OpenAI-compatible router (`inference::http`), the ad-hoc static-dir file@@ -920,6 +925,12 @@ voice = [## `curve25519-dalek` stays: `associated_token_account` needs the off-curve check# to derive a Solana ATA, which is address arithmetic rather than signing.+# Remote memory engines: bind an External memory driver (`tinyhumans`,+# `supermemory`, `mem0`, `cognee`, `cortex`, `agentmemory`) through+# `tinymemory::factory`, plus the `memory.engine*` RPCs and migration. Off, an+# External driver is refused at admission and the engine RPCs answer with the+# module engine only.+memory-remote = ["dep:tinymemory", "dep:tinymemory-remote"]web3 = ["dep:tinywallet-bus","dep:curve25519-dalek",diff --git a/crates/openhuman-embed/Cargo.toml b/crates/openhuman-embed/Cargo.tomlindex ad76661637..909d6f85c8 100644--- a/crates/openhuman-embed/Cargo.toml+++ b/crates/openhuman-embed/Cargo.toml@@ -17,6 +17,7 @@ hosting = ["openhuman-core/hosting"]modules = ["openhuman-core/modules"]voice = ["openhuman-core/voice"]web3 = ["openhuman-core/web3"]+memory-remote = ["openhuman-core/memory-remote"]runtime-node = ["openhuman-core/runtime-node"]contacts = ["openhuman-core/contacts"]media = ["openhuman-core/media"]diff --git a/crates/openhuman-tinyhumans/Cargo.toml b/crates/openhuman-tinyhumans/Cargo.tomlindex 603f592a4b..93b3ab4bc0 100644--- a/crates/openhuman-tinyhumans/Cargo.toml+++ b/crates/openhuman-tinyhumans/Cargo.toml@@ -25,6 +25,7 @@ hosting = ["openhuman-embed/hosting"]modules = ["openhuman-embed/modules"]voice = ["openhuman-embed/voice"]web3 = ["openhuman-embed/web3"]+memory-remote = ["openhuman-embed/memory-remote"]runtime-node = ["openhuman-embed/runtime-node"]contacts = ["openhuman-embed/contacts"]media = ["openhuman-embed/media"]diff --git a/scripts/ci/product-features.txt b/scripts/ci/product-features.txtindex 92ffda96c0..f317044849 100644--- a/scripts/ci/product-features.txt+++ b/scripts/ci/product-features.txt@@ -112,3 +112,8 @@ runtime-node# registration stays credential-gated (`tools/ops.rs`), so enabling this adds# nothing for a host without a hosting credential.hosting++# Remote memory engines: the `tinymemory::factory` bind path for External+# memory drivers (TinyHumans-hosted CortexDB, Supermemory, Mem0, Cognee,+# CortexDB, AgentMemory), the `memory.engine*` RPCs and engine migration.+memory-remote