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(harness-cache-audit-cases): update note about researcher agent removal
Steven Enamakelae9bc5732d8a
diff --git a/scripts/debug/harness-cache-audit-cases.md b/scripts/debug/harness-cache-audit-cases.mdindex c97140b6bc..37fd857449 100644--- a/scripts/debug/harness-cache-audit-cases.md+++ b/scripts/debug/harness-cache-audit-cases.md@@ -44,7 +44,7 @@ Observed on 2026-06-22:- Without explicit `thread_id`: `68.56%` cache hit, `$0.011535`.- With explicit `thread_id`: `85.49%` cache hit, `$0.040142`.-Note: the generic prompt may route to heavier agents such as `researcher`.+Note: when these numbers were recorded, the generic prompt could route to the heavier `researcher` sub-agent. That agent has since been removed; the orchestrator now does web research itself (`web_answer_tool` with `depth: "deep"`), so re-measure before comparing.## Case 2: Complex Internal Tool Loopdiff --git a/scripts/mock-api/routes/__tests__/llm.test.mjs b/scripts/mock-api/routes/__tests__/llm.test.mjsindex 7646d9d7ff..e38f3323ab 100644--- a/scripts/mock-api/routes/__tests__/llm.test.mjs+++ b/scripts/mock-api/routes/__tests__/llm.test.mjs@@ -399,7 +399,7 @@ test("records thread state for multi-turn mock LLM sessions", () => {// `worker_thread_id: (none)`, trailing instruction block).function subagentAwaitingUserEnvelope({taskId = "sub-abc123-fake-uuid",- agentId = "researcher",+ agentId = "scheduler_agent",workerThreadId = "(none)",question = "Which repo should I search?",} = {}) {@@ -421,7 +421,7 @@ test("renderDynamicPlaceholders substitutes task_id and agent_id from history",role: "tool",content: subagentAwaitingUserEnvelope({taskId: "sub-runtime-42",- agentId: "researcher",+ agentId: "scheduler_agent",}),},{ role: "user", content: "the main repo" },@@ -433,7 +433,7 @@ test("renderDynamicPlaceholders substitutes task_id and agent_id from history",);assert.equal(rendered,- '{"task_id":"sub-runtime-42","agent_id":"researcher","message":"the main repo"}',+ '{"task_id":"sub-runtime-42","agent_id":"scheduler_agent","message":"the main repo"}',);});@@ -518,7 +518,7 @@ test("llmKeywordRules substitute {{DYNAMIC_TASK_ID}} in continue_subagent tool_crole: "tool",content: subagentAwaitingUserEnvelope({taskId: "sub-realtime-777",- agentId: "researcher",+ agentId: "scheduler_agent",}),},{ role: "user", content: "here is my user answer" },@@ -531,7 +531,7 @@ test("llmKeywordRules substitute {{DYNAMIC_TASK_ID}} in continue_subagent tool_cconst args = body.choices[0].message.tool_calls[0].function.arguments;const parsed = JSON.parse(args);assert.equal(parsed.task_id, "sub-realtime-777");- assert.equal(parsed.agent_id, "researcher");+ assert.equal(parsed.agent_id, "scheduler_agent");assert.equal(parsed.message, "the main repo");// Placeholder text must be fully consumed.assert.ok(!args.includes("{{DYNAMIC_"), `args should not contain unresolved placeholders: ${args}`);