Skip to content

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

chore: remove remote memory and contacts features

Steven Enamakela7332b4f8299
diff --git a/Cargo.toml b/Cargo.toml
index e0643ecde3..b8656d19a4 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -40,10 +40,6 @@ openhuman-embed = { path = "crates/openhuman-embed", default-features = false }
openhuman-tinyhumans = { path = "crates/openhuman-tinyhumans", default-features = false }
# Patches are workspace-root settings; Cargo ignores them in member manifests.
-[patch."https://github.com/tinyhumansai/tinymemory"]
-tinymemory-api = { path = "vendor/tinymemory/crates/tinymemory-api" }
-tinymemory-safety = { path = "vendor/tinymemory/crates/tinymemory-safety" }
-
[patch."https://github.com/tinyhumansai/tinytools"]
# tinymcp's `tools` feature names tinytools by git rev so it can be built on its
# own. Redirect it to the copy tinyagents vendors — the one the harness and
diff --git a/crates/openhuman-app/Cargo.toml b/crates/openhuman-app/Cargo.toml
index 255fe520d0..101bfde4d9 100644
--- a/crates/openhuman-app/Cargo.toml
+++ b/crates/openhuman-app/Cargo.toml
@@ -222,7 +222,6 @@ openhuman_core = { path = "../openhuman-core", package = "openhuman", default-fe
# The packaged app's only durable log. Without this, a support request
# comes back with nothing to attach — and the absence is silent.
"file-logging",
- "contacts",
"runtime-node",
# Declared "Default-OFF, product-ON" by its own gate comment in the root
# Cargo.toml, but it reached neither the product set nor this list, so the
@@ -230,8 +229,6 @@ 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]
@@ -310,17 +307,6 @@ custom-protocol = ["tauri/custom-protocol"]
# e2e-test-support`. See app/scripts/e2e-build.sh.
e2e-test-support = ["openhuman_core/e2e-test-support"]
-# The root world's tinycortex takes `tinymemory-api` by git (it re-exports
-# the TinyMemory contract instead of duplicating it, tinymemory#18 §A1).
-# Without this entry cargo resolves that git copy *and* the path copy under
-# vendor/tinymemory as two distinct crates, and `tinymemory_api::MemoryCategory`
-# from one is not the same type as from the other — the exact duplication §A1
-# deleted, reintroduced by dependency resolution. Same entry tinymemory's own
-# workspace carries; the key has no `.git` suffix, matching the dep URL.
-[patch."https://github.com/tinyhumansai/tinymemory"]
-tinymemory-api = { path = "../../vendor/tinymemory/crates/tinymemory-api" }
-tinymemory-safety = { path = "../../vendor/tinymemory/crates/tinymemory-safety" }
-
[patch."https://github.com/tinyhumansai/tinytools"]
# tinymcp's `tools` feature names tinytools by git rev so it can be built on its
# own. Redirect it to the copy tinyagents vendors — the one the harness and
@@ -360,11 +346,6 @@ tinyinference-voice = { path = "../../vendor/tinyagents/vendor/tinyinference/cra
# TinyFlows and TinyChannels are vendored beside TinyAgents so integration
# work can test crate changes against OpenHuman before publishing.
tinyflows = { path = "../../vendor/tinyflows/crates/tinyflows" }
-# No `tinycortex` / `tinycortex-api` patch here. Since openhuman#5560 the
-# engine is a [dev-dependencies] and `rss-bench`-only concern of the core
-# crate, and neither reaches this world — `Cargo.lock` carried both entries
-# under `[[patch.unused]]`. The shipped app reaches memory through the prebuilt
-# `tinymemory` module over `tinymemory-api`.
tinychannels = { path = "../../vendor/tinychannels" }
diff --git a/crates/openhuman-cli/Cargo.toml b/crates/openhuman-cli/Cargo.toml
index 7d5936d921..07d86d9e18 100644
--- a/crates/openhuman-cli/Cargo.toml
+++ b/crates/openhuman-cli/Cargo.toml
@@ -219,30 +219,6 @@ name = "media_generation_e2e"
path = "../../tests/media_generation_e2e.rs"
required-features = ["media"]
-[[test]]
-# Memory-engine selection over JSON-RPC against a hosted-CortexDB double.
-name = "memory_engine_e2e"
-path = "../../tests/memory_engine_e2e.rs"
-# Needs the memory module (the migration source) and the remote-engine gate.
-required-features = ["modules", "memory-remote"]
-
-[[test]]
-# Engine migration, cancel, credits and config safety.
-name = "memory_engine_migrate_e2e"
-path = "../../tests/memory_engine_migrate_e2e.rs"
-required-features = ["modules", "memory-remote"]
-
-[[test]]
-# The memory surface on the hosted engine: auto-recall, refusals, the error
-# vocabulary and the families it does not serve (openhuman#6718).
-name = "memory_hosted_surface_e2e"
-path = "../../tests/memory_hosted_surface_e2e.rs"
-required-features = ["modules", "memory-remote"]
-
-[[test]]
-name = "memory_roundtrip_e2e"
-path = "../../tests/memory_roundtrip_e2e.rs"
-
[[test]]
name = "observability_wallet_expected_e2e"
path = "../../tests/observability_wallet_expected_e2e.rs"
@@ -259,14 +235,6 @@ path = "../../examples/embed_headless.rs"
name = "embed_kernel"
path = "../../examples/embed_kernel.rs"
-[[example]]
-name = "run_memory_doctor"
-path = "../../examples/run_memory_doctor.rs"
-
-[[example]]
-name = "run_memory_reconcile"
-path = "../../examples/run_memory_reconcile.rs"
-
[dependencies]
# Direct core access: every test and bin names `openhuman_core::` paths.
# `default-features = false` so the gates below are the only ones on.
@@ -326,7 +294,6 @@ tinyinference-local = { path = "../../vendor/tinyagents/vendor/tinyinference/cra
tinyinference-voice = { path = "../../vendor/tinyagents/vendor/tinyinference/crates/tinyinference-voice" }
tinymcp = { path = "../../vendor/tinymcp/crates/tinymcp", default-features = false, features = ["rustls-tls"] }
tinymcp-bus = { path = "../../vendor/tinymcp/crates/tinymcp-bus", features = ["schemars"] }
-tinymemory-api = { path = "../../vendor/tinymemory/crates/tinymemory-api" }
tinytools-agent = { path = "../../vendor/tinyagents/vendor/tinytools/crates/tinytools-agent" }
tokio = { version = "1", features = ["full", "test-util"] }
tokio-stream = { version = "0.1.18", default-features = false, features = ["sync"] }
@@ -353,9 +320,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"]
flows = ["openhuman-core/flows", "openhuman-tinyhumans/flows"]
skills = ["openhuman-core/skills", "openhuman-tinyhumans/skills"]
diff --git a/crates/openhuman-embed/Cargo.toml b/crates/openhuman-embed/Cargo.toml
index c6f26179d3..1112504859 100644
--- a/crates/openhuman-embed/Cargo.toml
+++ b/crates/openhuman-embed/Cargo.toml
@@ -17,9 +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"]
flows = ["openhuman-core/flows"]
skills = ["openhuman-core/skills"]
diff --git a/crates/openhuman-tinyhumans/Cargo.toml b/crates/openhuman-tinyhumans/Cargo.toml
index bfa13b8b6f..1a79f6dae5 100644
--- a/crates/openhuman-tinyhumans/Cargo.toml
+++ b/crates/openhuman-tinyhumans/Cargo.toml
@@ -25,9 +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"]
flows = ["openhuman-embed/flows"]
skills = ["openhuman-embed/skills"]