Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

feat(openhuman-core): add tinymemory crate and enable remote memory engines

Steven Enamakel9e4e375c45fd
diff --git a/Cargo.lock b/Cargo.lock
index 2caa8d8f6d..277de45fdb 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -3928,9 +3928,11 @@ dependencies = [
"tinyjuice-bus",
"tinymcp",
"tinymcp-bus",
+ "tinymemory",
"tinymemory-api",
"tinymemory-bus",
"tinymemory-conformance",
+ "tinymemory-remote",
"tinymemory-sources",
"tinyruntime-bus",
"tinysearch-bus",
@@ -6663,7 +6665,7 @@ dependencies = [
[[package]]
name = "tinymcp"
-version = "0.3.5"
+version = "0.3.4"
dependencies = [
"base64 0.23.1",
"dirs 7.0.0",
@@ -6683,13 +6685,25 @@ dependencies = [
[[package]]
name = "tinymcp-bus"
-version = "0.3.5"
+version = "0.3.4"
dependencies = [
"schemars",
"serde",
"serde_json",
]
+[[package]]
+name = "tinymemory"
+version = "1.16.2"
+dependencies = [
+ "anyhow",
+ "async-trait",
+ "serde",
+ "serde_json",
+ "tinymemory-api",
+ "tinymemory-remote",
+]
+
[[package]]
name = "tinymemory-api"
version = "0.1.1"
@@ -6726,6 +6740,22 @@ dependencies = [
"tinymemory-api",
]
+[[package]]
+name = "tinymemory-remote"
+version = "0.1.0"
+dependencies = [
+ "anyhow",
+ "async-trait",
+ "chrono",
+ "futures",
+ "reqwest",
+ "serde",
+ "serde_json",
+ "sha2 0.11.0",
+ "tinymemory-api",
+ "tokio",
+]
+
[[package]]
name = "tinymemory-sources"
version = "0.1.0"
diff --git a/crates/openhuman-core/Cargo.toml b/crates/openhuman-core/Cargo.toml
index 235b94850c..bac6bc8c6f 100644
--- a/crates/openhuman-core/Cargo.toml
+++ b/crates/openhuman-core/Cargo.toml
@@ -221,10 +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 engine factory + migration over every remote engine (deliberately NOT the
+# in-memory `tinycortex` one, which would link the embedded engine), 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 = { path = "../../vendor/tinymemory/crates/tinymemory", default-features = false, features = ["factory", "supermemory", "mem0", "cognee", "cortex", "agentmemory", "tinyhumans"], 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