Skip to content

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

chore(agent): update orchestrator tokenjuice inference config

Steven Enamakel1d52629ba743
diff --git a/crates/openhuman-core/src/agent/registry/agents/orchestrator/agent.toml b/crates/openhuman-core/src/agent/registry/agents/orchestrator/agent.toml
index 7229a3e346..0545cf8a8e 100644
--- a/crates/openhuman-core/src/agent/registry/agents/orchestrator/agent.toml
+++ b/crates/openhuman-core/src/agent/registry/agents/orchestrator/agent.toml
@@ -122,11 +122,6 @@ allowlist = [
# "forget", profile/persona edits, learned facets, and people alias
# management here.
"profile_memory_agent",
- # On-demand memory retrieval. Synthesised into a `delegate_retrieve_memory`
- # tool (from agent_memory's `delegate_name`). Replaces the old eager
- # `trigger_memory_agent = "always"` pre-fetch — the orchestrator now walks
- # the memory tree only when a message needs it, not before every turn.
- "agent_memory",
# Image-understanding specialist. Route anything that hinges on the content
# of an attached or on-disk user-provided image file here — it is pinned to
# a dedicated multimodal model (`MODEL_MEDIA_UNDERSTANDING`), so it can
@@ -241,15 +236,16 @@ named = [
"web_contents_tool",
"web_fetch",
"http_request",
- # Direct memory surface (#4762). Recall/store are the product's core and must
- # be first-class DIRECT tools, not a sub-agent spawn: a trivial "what is my Q3
- # OKR" recall or a "remember my Q3 OKR" write should not pay a blocking
- # agentic round-trip (over-delegation, #4744) that can hang or — as observed —
- # spawn `manage_profile_memory` which did 0 tool calls and returned a 0-char
- # result, leaving the write's persistence unconfirmed. `memory_recall` reads
- # the same store `memory_store` writes, so store→recall closes the loop inline
- # with a real confirmation. Deep tree walks / reconciliation / people-graph /
- # persona edits still delegate to `retrieve_memory` (agent_memory) and
+ # Direct memory surface (#4762): ONE `memory` tool, `ask` | `keyword_search` |
+ # `learn`. Recall and store are the product's core and must be first-class
+ # DIRECT calls, not a sub-agent spawn: a trivial "what is my Q3 OKR" lookup or
+ # a "remember my Q3 OKR" write should not pay a blocking agentic round-trip
+ # (over-delegation, #4744) that can hang or — as observed — spawn
+ # `manage_profile_memory` which did 0 tool calls and returned a 0-char result,
+ # leaving the write's persistence unconfirmed. `learn` writes the store `ask`
+ # and `keyword_search` read, so the loop closes inline with a real
+ # confirmation. There is deliberately no second "deep recall" delegate beside
+ # it. Reconciliation / people-graph / persona edits still delegate to
# `manage_profile_memory` (profile_memory_agent) below. These are memory-store
# writes, NOT file/shell mutation — the "no write tools" rule (below) is about
# editing files and running commands, which stays out.
diff --git a/crates/openhuman-core/src/inference/tokenjuice/mod.rs b/crates/openhuman-core/src/inference/tokenjuice/mod.rs
index a01b0ba3d4..0934606697 100644
--- a/crates/openhuman-core/src/inference/tokenjuice/mod.rs
+++ b/crates/openhuman-core/src/inference/tokenjuice/mod.rs
@@ -17,12 +17,14 @@ pub use types::{AgentTokenjuiceCompression, CompressorKind, ContentKind};
use types::InstallRequest;
-pub const RETRIEVE_TOOL_NAME: &str = "tinyjuice_retrieve";
+pub const RETRIEVE_TOOL_NAME: &str = "juice_retrieve";
+pub const LEGACY_TINYJUICE_RETRIEVE_TOOL_NAME: &str = "tinyjuice_retrieve";
pub const LEGACY_RETRIEVE_TOOL_NAME: &str = "retrieve_tool_output";
/// Every name the recovery surface answers to: the live tool plus the two
/// migration aliases a replayed transcript may still call.
pub const RECOVERY_TOOL_NAMES: &[&str] = &[
RETRIEVE_TOOL_NAME,
+ LEGACY_TINYJUICE_RETRIEVE_TOOL_NAME,
"tokenjuice_retrieve",
LEGACY_RETRIEVE_TOOL_NAME,
];