Skip to content

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

refactor(agent-registry): consolidate agent tool declarations

Steven Enamakel64b5f50d872a
diff --git a/src/openhuman/agent/registry/agents/archivist/agent.toml b/src/openhuman/agent/registry/agents/archivist/agent.toml
index 6d5c986c2f..8b009106b6 100644
--- a/src/openhuman/agent/registry/agents/archivist/agent.toml
+++ b/src/openhuman/agent/registry/agents/archivist/agent.toml
@@ -20,4 +20,8 @@ omit_skills_catalog = true
hint = "local"
[tools]
-named = ["update_memory_md", "insert_sql_record", "memory_store"]
+named = [
+ "update_memory_md",
+ "insert_sql_record",
+ "memory",
+]
diff --git a/src/openhuman/agent/registry/agents/context_scout/agent.toml b/src/openhuman/agent/registry/agents/context_scout/agent.toml
index f5826aba7a..a8a0c8ce07 100644
--- a/src/openhuman/agent/registry/agents/context_scout/agent.toml
+++ b/src/openhuman/agent/registry/agents/context_scout/agent.toml
@@ -44,34 +44,10 @@ hint = "burst"
# genuinely read-only: the scout auto-runs on prompt-injectable input, so a
# write-capable tool would be an injection foothold.
named = [
- # Targeted recall over the memory namespaces (global, background, …).
- # NOTE: `memory_tree` is intentionally NOT here. That tool bundles a
- # write mode (`ingest_document` → MemoryTreeIngestDocumentTool) under a
- # ReadOnly-declared wrapper, so an auto-run, prompt-injectable scout could
- # mutate memory ("remember this document") despite running read-only.
- # Retrieval-only `memory_recall` covers the scout's needs safely.
- "memory_recall",
- # Compiled persona distillation profile for one facet (communication,
- # coding_style, stack, workflow, environment, directives,
- # anti_preferences) — the user's distilled style/preference summary, read
- # only, complements `memory_recall`'s raw-fact search.
- "memory_flavour",
- # Transcripts: recall what the user said/decided in earlier chats. Backed
- # by the cross-thread trigram index; read-only and workspace-scoped.
- # Thread metadata: enumerate / read titles+labels to locate the right past
- # conversation before pulling its transcript. Read-only (the create/update/
- # delete thread tools are deliberately excluded).
- # Read the messages of a located thread (read-only). Complements
- # `transcript_search` (content search) for title/label lookups like
- # "summarize my Database work thread", where the thread is found by metadata
- # but its transcript still has to be pulled.
- # Skills: discover which skills are installed and search the registry so the
- # scout can recommend a relevant one back to the orchestrator. All three are
- # read-only — `skill_registry_install` / `_uninstall` are deliberately out.
+ "memory",
"list_workflows",
"skill_registry_browse",
"skill_registry_search",
- # Fresh external facts when the question needs them.
"web_search_tool",
"web_fetch",
]
diff --git a/src/openhuman/agent/registry/agents/flow_memory_agent/agent.toml b/src/openhuman/agent/registry/agents/flow_memory_agent/agent.toml
index 179db661cd..2398e0957e 100644
--- a/src/openhuman/agent/registry/agents/flow_memory_agent/agent.toml
+++ b/src/openhuman/agent/registry/agents/flow_memory_agent/agent.toml
@@ -46,35 +46,5 @@ hint = "burst"
# party can influence (an inbound email, a webhook payload), so a
# write-capable tool would be an injection foothold.
named = [
- # Targeted recall over the memory namespaces (global, background, …).
- "memory_recall",
- # Keyword/lexical memory lookup — complements `memory_recall`'s semantic
- # search when the step needs an exact-term hit.
- "memory_hybrid_search",
- # Compiled persona distillation profile for one facet (communication,
- # coding_style, stack, workflow, environment, directives,
- # anti_preferences) — the user's distilled style/preference summary, read
- # only.
- "memory_flavour",
- # Enumerate known people/contacts (read-only) — the people-graph
- # counterpart to memory recall for "who is X" / "find the person who…"
- # steps.
- # Transcripts: recall what the user said/decided in earlier chats. Backed
- # by the cross-thread trigram index; read-only and workspace-scoped.
- # Thread metadata: enumerate / read titles+labels to locate the right past
- # conversation before pulling its transcript. Read-only (the create/
- # update/delete thread tools are deliberately excluded).
- # Read the messages of a located thread (read-only). Complements
- # `transcript_search` (content search) for title/label lookups where the
- # thread is found by metadata but its transcript still has to be pulled.
- #
- # NOTE: `memory_tree` is intentionally NOT here, and must never be added.
- # It bundles a write mode (`ingest_document` → MemoryTreeIngestDocumentTool)
- # under a ReadOnly-declared wrapper (its argless `permission_level()`
- # reports ReadOnly while the tool still dispatches an `ingest_document`
- # WRITE mode), so it survives the read-only sandbox filter in
- # `session/builder/factory.rs` despite being a write tool. This agent runs
- # on prompt-injectable flow/trigger content, so that would hand injected
- # data a memory-write foothold. Retrieval-only tools above cover every
- # legitimate need.
+ "memory",
]
diff --git a/src/openhuman/agent/registry/agents/goals_agent/agent.toml b/src/openhuman/agent/registry/agents/goals_agent/agent.toml
index dea1ce4b8c..1e53c809d7 100644
--- a/src/openhuman/agent/registry/agents/goals_agent/agent.toml
+++ b/src/openhuman/agent/registry/agents/goals_agent/agent.toml
@@ -20,4 +20,10 @@ omit_memory_md = true
hint = "agentic"
[tools]
-named = ["goals_list", "goals_add", "goals_edit", "goals_delete", "memory_recall"]
+named = [
+ "goals_list",
+ "goals_add",
+ "goals_edit",
+ "goals_delete",
+ "memory",
+]
diff --git a/src/openhuman/agent/registry/agents/orchestrator/agent.toml b/src/openhuman/agent/registry/agents/orchestrator/agent.toml
index daddd72556..a7566dabab 100644
--- a/src/openhuman/agent/registry/agents/orchestrator/agent.toml
+++ b/src/openhuman/agent/registry/agents/orchestrator/agent.toml
@@ -206,11 +206,6 @@ hint = "coding"
named = [
"read_workspace_state",
"ask_user_clarification",
-# Direct coding surface. The Master Agent owns the normal inspect → edit →
-# verify loop in the action sandbox. `apply_patch` is the one edit mechanism
-# for existing files, `file_write` creates new files, and `shell` runs builds
-# and focused tests. Policy/approval/sandbox enforcement remains in the tool
-# layer; this declaration only makes the tools discoverable to the agent.
"file_read",
"grep",
"glob",
@@ -219,71 +214,18 @@ named = [
"file_write",
"shell",
"git_operations",
- # Quick web/API lookups. A single fact ("what's the capital of X", "latest
- # version of Y") is one `web_search_tool` / `web_fetch` / `http_request`
- # call — spawning the `research` worker for that is overkill. Multi-source
- # crawls, comparisons, and doc digests still delegate to `research`.
"web_search_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
- # `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.
- "memory_recall",
- "memory_store",
+ "memory",
"save_preference",
- # Memory-protocol close-out (#4116). A successful `memory_store` is a durable
- # write, so the memory-protocol middleware appends a "call `update_memory_md`
- # to keep the MEMORY.md index in sync" note to the tool result and warns at run
- # end if the index was never reconciled. Since the orchestrator now takes the
- # direct-store path itself, it must own that closing step too — otherwise the
- # guidance is unsatisfiable and MEMORY.md (which this agent loads,
- # `omit_memory_md = false`) drifts from the store. `update_memory_md` is locked
- # to the MEMORY.md / SKILL.md workspace index files (enum-gated, symlink-hardened),
- # NOT a general file-editor: it is the index-sync counterpart of `memory_store`,
- # so it belongs in the same memory bucket as the writes above — the "no write
- # tools" rule (below) is about editing arbitrary files (`edit` / `file_write` /
- # `apply_patch`) and running commands, which stay out. `save_preference` writes
- # to the preference store and is deliberately NOT part of the MEMORY.md wiki, so
- # it needs no reconcile.
"update_memory_md",
- # Managed file-storage transfer surface for passing artifacts/attachments
- # between chat, users, and workers. Storage lifecycle mutators
- # (`storage_set_visibility`, `storage_delete_file`) stay out of the broad
- # chat surface.
"storage_upload_file",
"storage_download_file",
"storage_list_files",
"storage_get_link",
- # NOTE: `spawn_worker_thread` is intentionally absent — the tool is
- # disabled pending a worker-thread UI (#1624) and is not registered, so
- # listing it here (and teaching it in prompt.md) only trained the model
- # to call a tool that does not exist.
- # Sub-agent surface, deliberately three tools (#5701). A sub-agent is
- # always async: `spawn_async_subagent` returns a task id immediately and
- # the runner delivers the result back on an idle system turn via
- # `orchestration::background_delivery`. Nothing has to block for it, so
- # the collection surface that used to sit here — `wait`, `wait_loop`,
- # `wait_subagent` — bought nothing but tokens and an invitation to stall
- # the turn. `spawn_parallel_agents` went the same way: several spawns are
- # already several workers in flight, so a dedicated fan-out tool was a
- # second way to say the same thing. `steer_subagent` and `close_subagent`
- # were fleet-management affordances for a fleet the model no longer
- # enumerates; a worker that needs different instructions is cheaper to
- # respawn, and idle sessions are reaped against the registry cap anyway.
"spawn_async_subagent",
- # Fleet awareness. Re-enumerates the workers this parent has in flight
- # (running / awaiting_user / completed-uncollected / failed) plus reusable
- # durable sessions — the recovery move when the `[async_subagent_ref]`
+]`
# blocks have scrolled out of context and the model would otherwise lose
# track of, or needlessly re-spawn, a worker. Reads the same live
# `running_subagents` registry the ambient `[active_subagents]` turn block
diff --git a/src/openhuman/agent/registry/agents/profile_memory_agent/agent.toml b/src/openhuman/agent/registry/agents/profile_memory_agent/agent.toml
index aad243da7e..509b4343f2 100644
--- a/src/openhuman/agent/registry/agents/profile_memory_agent/agent.toml
+++ b/src/openhuman/agent/registry/agents/profile_memory_agent/agent.toml
@@ -19,9 +19,7 @@ hint = "agentic"
[tools]
named = [
- "memory_store",
- "memory_forget",
- "memory_doctor",
+ "memory",
"memory_tools_list",
"memory_tools_put",
"remember_preference",
@@ -41,11 +39,5 @@ named = [
"learning_reset_cache",
"learning_save_profile",
"learning_enrich_profile",
- # Read-only: the compiled persona distillation profile for one facet
- # (communication, coding_style, stack, workflow, environment, directives,
- # anti_preferences) — complements `learning_get_facet` when the agent
- # needs the agent's-eye-view style/preference summary rather than the raw
- # facet cache.
- "memory_flavour",
"ask_user_clarification",
]
diff --git a/src/openhuman/agent/registry/agents/scheduler_agent/agent.toml b/src/openhuman/agent/registry/agents/scheduler_agent/agent.toml
index cd93bc2d31..67a16e3c54 100644
--- a/src/openhuman/agent/registry/agents/scheduler_agent/agent.toml
+++ b/src/openhuman/agent/registry/agents/scheduler_agent/agent.toml
@@ -19,4 +19,9 @@ hint = "burst"
# `resolve_time` turns "in 10 minutes" / "tomorrow 9am" into an exact
# timestamp for cron scheduling — `current_time` only reports now, leaving
# the model to do unreliable epoch arithmetic.
-named = ["current_time", "resolve_time", "cron_add", "cron_list", "cron_remove", "ask_user_clarification"]
+named = [
+ "current_time",
+ "resolve_time",
+ "cron",
+ "ask_user_clarification",
+]
diff --git a/src/openhuman/agent/registry/agents/task_manager_agent/agent.toml b/src/openhuman/agent/registry/agents/task_manager_agent/agent.toml
index 34f9580c33..cb7c41e081 100644
--- a/src/openhuman/agent/registry/agents/task_manager_agent/agent.toml
+++ b/src/openhuman/agent/registry/agents/task_manager_agent/agent.toml
@@ -19,14 +19,7 @@ hint = "agentic"
[tools]
named = [
- "todo_list",
- "todo_add",
- "todo_edit",
- "todo_update_status",
- "todo_decide_plan",
- "todo_remove",
- "todo_replace",
- "todo_clear",
+ "todo",
"todowrite",
"update_task",
"task_source_list",
@@ -49,8 +42,6 @@ named = [
"artifact_get",
"artifact_delete",
"current_time",
- # Resolve due-date / reminder windows to exact timestamps instead of
- # hand-computing epoch seconds.
"resolve_time",
"ask_user_clarification",
]
diff --git a/src/openhuman/agent/registry/agents/trigger_reactor/agent.toml b/src/openhuman/agent/registry/agents/trigger_reactor/agent.toml
index 0cd823f079..7f749c1061 100644
--- a/src/openhuman/agent/registry/agents/trigger_reactor/agent.toml
+++ b/src/openhuman/agent/registry/agents/trigger_reactor/agent.toml
@@ -37,7 +37,7 @@ hint = "agentic"
# - spawn_subagent: escalate to a real specialist if the reaction
# turns out to be bigger than the triage agent expected
named = [
- "memory_store",
+ "memory",
"read_workspace_state",
"spawn_subagent",
]