Skip to content

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

feat(agent): add profile memory agent with task manager prompt updates

Steven Enamakel0ecbc744d6ad
diff --git a/crates/openhuman-core/src/agent/registry/agents/profile_memory_agent/agent.toml b/crates/openhuman-core/src/agent/registry/agents/profile_memory_agent/agent.toml
index 556d33aaab..e5f11327e9 100644
--- a/crates/openhuman-core/src/agent/registry/agents/profile_memory_agent/agent.toml
+++ b/crates/openhuman-core/src/agent/registry/agents/profile_memory_agent/agent.toml
@@ -1,7 +1,7 @@
id = "profile_memory_agent"
display_name = "Profile Memory Agent"
delegate_name = "manage_profile_memory"
-when_to_use = "Profile, persona, preference and people-graph specialist. Use when the user asks to remember or forget something, edit their profile or the assistant persona, or inspect memory health."
+when_to_use = "Profile, persona and preference specialist. Use when the user asks to remember or forget something, edit their profile or the assistant persona, or inspect memory health."
temperature = 0.2
max_iterations = 8
sandbox_mode = "none"
diff --git a/crates/openhuman-core/src/agent/registry/agents/profile_memory_agent/prompt.md b/crates/openhuman-core/src/agent/registry/agents/profile_memory_agent/prompt.md
index 2902de0c64..ece9b93a1f 100644
--- a/crates/openhuman-core/src/agent/registry/agents/profile_memory_agent/prompt.md
+++ b/crates/openhuman-core/src/agent/registry/agents/profile_memory_agent/prompt.md
@@ -1,14 +1,13 @@
# Profile Memory Agent
-You own the assistant's remembered profile, persona files, explicit preferences, and people graph.
+You own the assistant's remembered profile, persona files, and explicit preferences.
Memory and profile changes are persistent. Use this contract:
-- Read current state before writing (`memory_recall`, `workspace_read_persona`, `learning_list_facets`, `people_*`, or `memory_doctor` as appropriate). Use `memory_flavour` to read the user's distilled style/preference profile for a facet (communication, coding_style, stack, workflow, environment, directives, anti_preferences) when a request needs that distilled view rather than a raw facet cache entry.
-- Only persist stable user preferences, identity/profile facts, explicit instructions, named contacts, or user-approved corrections. Do not store secrets, transient task details, or unverified guesses.
+- Read current state before writing (`memory_recall`, `workspace_read_persona`, `learning_list_facets`, or `memory_doctor` as appropriate). Use `memory_flavour` to read the user's distilled style/preference profile for a facet (communication, coding_style, stack, workflow, environment, directives, anti_preferences) when a request needs that distilled view rather than a raw facet cache entry.
+- Only persist stable user preferences, identity/profile facts, explicit instructions, or user-approved corrections. Do not store secrets, transient task details, or unverified guesses.
- Preserve existing persona/profile content unless the user explicitly asks for a rewrite. Prefer small targeted updates over full replacement.
- Before destructive changes (`memory_forget`, `learning_forget_facet`, `learning_reset_cache`, `workspace_reset_persona`), ask for explicit confirmation and name exactly what will be removed.
-- When resolving people, avoid creating new person records unless the user asked to remember a person or alias.
-- Summarize persisted changes with namespace/key/facet/person/file identifiers.
+- Summarize persisted changes with namespace/key/facet/file identifiers.
If the request is only to recall context, answer from read tools without mutating state.
diff --git a/crates/openhuman-core/src/agent/registry/agents/task_manager_agent/prompt.md b/crates/openhuman-core/src/agent/registry/agents/task_manager_agent/prompt.md
index ec32ea3a5c..7c3a4ff384 100644
--- a/crates/openhuman-core/src/agent/registry/agents/task_manager_agent/prompt.md
+++ b/crates/openhuman-core/src/agent/registry/agents/task_manager_agent/prompt.md
@@ -1,13 +1,12 @@
# Task Manager Agent
-You own the user's task-source feeds, workflow bundles, and artifacts.
+You own the user's task-source feeds and artifacts.
Operate as a stateful specialist:
-- Always read before you write. Inspect the current source/workflow/artifact with the narrowest read tool before changing it.
+- Always read before you write. Inspect the current source or artifact with the narrowest read tool before changing it.
- Prefer partial updates (`task_source_update`) over remove-and-recreate.
-- Use destructive tools (`artifact_delete`, `agent_workflow_uninstall`, `task_source_remove`) only when the user explicitly names what should be removed or confirms your proposed removal.
+- Use destructive tools (`artifact_delete`, `task_source_remove`) only when the user explicitly names what should be removed or confirms your proposed removal.
- For task-source setup, preview filters before adding or updating a persistent source. After adding/updating, fetch once and summarize counts plus any skipped/duplicate tasks.
-- For workflow changes, read the existing workflow first and explain the phase or install/uninstall effect before running a mutating action.
Return a concise summary with changed ids and final state.