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
docs(agent): update memory prefetch module references
Steven Enamakelb3db72ffc98e
diff --git a/crates/openhuman-core/src/agent/harness/README.md b/crates/openhuman-core/src/agent/harness/README.mdindex a7f2e0b69c..b642eed663 100644--- a/crates/openhuman-core/src/agent/harness/README.md+++ b/crates/openhuman-core/src/agent/harness/README.md@@ -82,8 +82,7 @@ turn lifecycle are in `../session_host/`; `run_subagent`,bundles loaded by `tinyagents_definition` (user TOML) and `builtin_definitions`.- `crate::security::SecurityPolicy`: workspace containment policy plumbedinto `artifact_offload::new_artifact_offload`.-- `tinymemory-api`: provenance classification and untrusted-context wrapping,- configured with connector prefixes from `memory::provenance`.+- `tinymemory-api`: provenance classification and untrusted-context wrapping.- `crate::memory`: textsanitization (`artifact_offload::SanitizingRedactor` wraps `memory::safety::sanitize_text` for both artifact stores).- `crate::config::AgentConfig`, `crate::skills::Workflow`,diff --git a/crates/openhuman-core/src/agent/tinyagents/middleware/memory_pack.rs b/crates/openhuman-core/src/agent/tinyagents/middleware/memory_pack.rsindex 08d241f8a9..622054807b 100644--- a/crates/openhuman-core/src/agent/tinyagents/middleware/memory_pack.rs+++ b/crates/openhuman-core/src/agent/tinyagents/middleware/memory_pack.rs@@ -1,7 +1,7 @@//! Host source for the harness `MemoryPackMiddleware`.//!//! The session host recalls one pack per turn before the model runs-//! (`memory::lifecycle::hooks::pre_turn`) and parks it on the run context+//! (`memory::lifecycle::prefetch::pre_turn`) and parks it on the run context//! (`OpenHumanRunContext::memory_turn`). The harness middleware adds//! [`TurnMemoryPack`]'s text to every model request of that turn as an//! ephemeral instruction, so the pack is never committed to the thread'sdiff --git a/crates/openhuman-core/src/agent/tinyagents/turn_middleware.rs b/crates/openhuman-core/src/agent/tinyagents/turn_middleware.rsindex 9f7869eabe..7ab70460b8 100644--- a/crates/openhuman-core/src/agent/tinyagents/turn_middleware.rs+++ b/crates/openhuman-core/src/agent/tinyagents/turn_middleware.rs@@ -588,7 +588,7 @@ pub(super) fn install_turn_middleware(}// The turn's memory pack rides every request of the turn, after every// reduction step and after the transcript snapshot, so it is never- // compacted, trimmed or persisted (`memory::lifecycle::hooks::pre_turn`).+ // compacted, trimmed or persisted (`memory::lifecycle::prefetch::pre_turn`).harness.push_middleware(Arc::new(middleware::memory_pack::memory_pack_middleware()));TurnWiring {