Skip to content

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

fix(debug): update default agent id from researcher to planner

Steven Enamakel1730f2ca27ab
diff --git a/scripts/debug/harness-subagent-rpc-audit.mjs b/scripts/debug/harness-subagent-rpc-audit.mjs
index 0ae74ffdfd..1f06d156a9 100755
--- a/scripts/debug/harness-subagent-rpc-audit.mjs
+++ b/scripts/debug/harness-subagent-rpc-audit.mjs
@@ -32,7 +32,7 @@ Options:
--token <token> RPC bearer (default: OPENHUMAN_CORE_TOKEN or <workspace>/core.token)
--workspace <path> Workspace containing .openhuman/subagent_sessions.json
--task-key <key> Durable task key (default: audit-subagent-rpc-<timestamp>)
- --agent-id <id> Subagent id to request (default: researcher)
+ --agent-id <id> Subagent id to request (default: planner)
--model <model> Optional model_override for openhuman.agent_chat
--provider-mode <mode> Isolated provider config: openhuman-backend or direct-openai (default: openhuman-backend)
--rpc-timeout-ms <n> Parent agent_chat timeout (default: 600000)
@@ -60,7 +60,7 @@ function parseArgs(argv) {
token: process.env.OPENHUMAN_CORE_TOKEN || "",
workspace: process.env.OPENHUMAN_WORKSPACE || "",
taskKey: `audit-subagent-rpc-${Date.now().toString(36)}`,
- agentId: "researcher",
+ agentId: "planner",
model: "",
providerMode: "openhuman-backend",
rpcTimeoutMs: 600_000,
@@ -489,7 +489,7 @@ Do not call wait_subagent.`;
function parallelPrompt(opts) {
return `Harness parallel subagent audit.
Call spawn_parallel_agents exactly once with these two tasks:
-1. agent_id "researcher", ownership "website research", prompt "Research https://example.com and return a concise factual note with the page title or domain purpose. Include one short evidence phrase. Do not browse unrelated sites."
+1. agent_id "planner", ownership "website research", prompt "Research https://example.com and return a concise factual note with the page title or domain purpose. Include one short evidence phrase. Do not browse unrelated sites."
2. agent_id "code_executor", ownership "code draft", prompt "Write a small Python function normalize_title(title: str) -> str that trims whitespace, collapses internal whitespace, and title-cases the result. Include one tiny assert-style example. Return only the code block; do not modify files."
After spawn_parallel_agents returns, reply with one concise sentence summarizing that both parallel workers completed.
Audit marker: ${opts.taskKey}.`;
@@ -570,7 +570,7 @@ After the requested tool call or calls return, provide one concise sentence. Do
named = ["spawn_subagent", "spawn_parallel_agents", "wait_subagent"]
[subagents]
-allowlist = ["async_audit_worker", "researcher", "code_executor"]
+allowlist = ["async_audit_worker", "planner", "code_executor"]
`,
);
await writeFile(