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(agent-harness, model-routing): remove researcher archetype references
Steven Enamakelb5fc72c8cbbb
diff --git a/crates/openhuman-core/src/agent/registry/README.md b/crates/openhuman-core/src/agent/registry/README.mdindex 13b6a9c7c5..b1bd2a18bd 100644--- a/crates/openhuman-core/src/agent/registry/README.md+++ b/crates/openhuman-core/src/agent/registry/README.md@@ -62,8 +62,8 @@ directly into `AgentDefinition`), a `prompt.md` holding the static archetypebody, and a `prompt.rs` that `include_str!`s that body and exposes`pub fn build(&PromptContext) -> anyhow::Result<String>`, appendingruntime-dependent sections (rendered tool list, user files, workspace) to it.-`researcher` additionally owns a `graph.rs` for a bespoke `AgentGraph`; every-other archetype uses `AgentGraph::Default`. The per-archetype contract is+Every archetype currently uses `AgentGraph::Default`; an archetype that needs a+bespoke `AgentGraph` adds a `graph.rs` and sets `BuiltinAgent::graph_fn`. The per-archetype contract isdocumented on [`agents/mod.rs`](agents/mod.rs).[`agents/loader.rs`](agents/loader.rs) owns the `BUILTINS` slice and@@ -104,7 +104,6 @@ The 29 archetypes in this directory:| `planner` | Read-only `reasoning`-tier architect: breaks a task into a DAG of subtasks with acceptance criteria || `presentation_agent` (feature `documents`) | Builds decks from evidence; owns grounding/citations/image verification || `profile_memory_agent` | Profile, persona, preferences, people-graph specialist |-| `researcher` | Web/docs crawler that compresses findings to dense markdown; has a custom `graph.rs` || `scheduler_agent` | Reminders, recurring jobs, cron: time/cron tools only, no live calendar reads || `settings_agent` | App/core config, health/model diagnostics, service lifecycle, security policy || `skill_creator` | Creates/updates SKILL.md packages and Node-backed JS helpers |diff --git a/docs/prompt-evals.md b/docs/prompt-evals.mdindex 7b99452671..7d84da705f 100644--- a/docs/prompt-evals.md+++ b/docs/prompt-evals.md@@ -134,7 +134,7 @@ scoring proves too coarse.| `composio-gmail-read` | composio | reads the latest Gmail subject via `tool_search` and a direct `GMAIL_*` call; never sends, deletes or reconnects | nothing || `skill-notion-read` | skills | lists Notion pages through `run_skill`; never installs a skill | nothing || `mcp-none-configured` | MCP, **error path** | with no MCP server configured, says so; never installs one, never fabricates results | nothing |-| `web-search-fact` | web search | one built-in `web_search_tool` lookup, not a `research` spawn | nothing |+| `web-search-fact` | web search | one built-in `web_search_tool` lookup, not a sub-agent spawn | nothing |(Rows are listed here by surface; `cases.json` holds them in run order.)diff --git a/gitbooks/developing/architecture/agent-harness.md b/gitbooks/developing/architecture/agent-harness.mdindex 3ab068d922..0194eced23 100644--- a/gitbooks/developing/architecture/agent-harness.md+++ b/gitbooks/developing/architecture/agent-harness.md@@ -308,14 +308,14 @@ Note `action_dir/workspace/` is a scratch folder inside the agent's action root.Two halves enforce the convention:-- **Prompt.** A sub-agent that actually holds `file_write` gets a Long-horizon Artifact Offload contract in its system prompt: results past roughly 2 000 tokens go to a file under `outputs/`, and the reply is that relative path plus a short abstract. The gate is deliberate, a prompt may only name tools the agent can really call, or the model emits calls that fail. `researcher` (search + fetch only) and skill-filtered specialists get no contract text, and dedicated guards assert their prompts never mention a filesystem tool. They stay covered by the harness half below, which needs no cooperation from the model. The relevant archetype prompts (`researcher`, `planner`) spell out what the convention means for their own work; the planner is told to reference artifact paths across DAG nodes rather than pasting payloads forward.+- **Prompt.** A sub-agent that actually holds `file_write` gets a Long-horizon Artifact Offload contract in its system prompt: results past roughly 2 000 tokens go to a file under `outputs/`, and the reply is that relative path plus a short abstract. The gate is deliberate, a prompt may only name tools the agent can really call, or the model emits calls that fail. Skill-filtered specialists get no contract text, and a dedicated guard asserts their prompts never mention a filesystem tool. They stay covered by the harness half below, which needs no cooperation from the model. The `planner` prompt spells out what the convention means for its own work; the planner is told to reference artifact paths across DAG nodes rather than pasting payloads forward.- **Harness.** `offload_oversized_result` runs on every sub-agent outcome, so an oversized result is offloaded even when the worker inlined it anyway. It fires **before** the definition's `max_result_chars` cap, so the full body lands on disk instead of being cut.What the parent receives is a pointer, not a payload:```text-[artifact] kind=output path=outputs/researcher/sub-1234-result.md bytes=52318-read_with: file_read {"path":"outputs/researcher/sub-1234-result.md"}+[artifact] kind=output path=outputs/code_executor/sub-1234-result.md bytes=52318+read_with: file_read {"path":"outputs/code_executor/sub-1234-result.md"}note: The full result was written to the action workspace instead of being inlined. …[abstract]@@ -369,7 +369,6 @@ Each archetype lives under `agents/<name>/` with an `agent.toml` (metadata, tool| -------------------- | ---------------------------------------------------------------------------------------- || `orchestrator` | The Master Agent: top-level, direct-capable default. Never spawned by another orchestrator. || `planner` | Multi-step decomposition - break a complex request into ordered sub-tasks. |-| `researcher` | Web/doc lookups, citation hunting. || `code_executor` | Writing, running, and debugging code in the workspace. || `critic` | Code review, quality checks on another agent's output. || `summarizer` | Compressing oversized tool results (called by the harness, not usually the model). |@@ -429,7 +428,7 @@ Each `AgentDefinition` carries an `agent_tier` field (`chat` / `reasoning` / `wo| ----------- | --------------------- | ------------------------------- | ------------------------------------------------------------------------------- || `chat` | `reasoning`, `worker` | another `chat` | `orchestrator` || `reasoning` | `worker` | another `reasoning`, any `chat` | `planner` (today the canonical one) |-| `worker` | nothing[^1] | anything | researcher, code_executor, critic, archivist, tool_maker, integrations_agent, … |+| `worker` | nothing[^1] | anything | code_executor, critic, archivist, tool_maker, integrations_agent, … |[^1]: Skill-wildcard entries (`{ skills = "*" }`) are exempt because they name no agent: they expand to the connected Composio actions as `Deferred` tools the agent reaches through `tool_search`, not to a spawn.diff --git a/gitbooks/developing/architecture/flows-on-tinyagents.md b/gitbooks/developing/architecture/flows-on-tinyagents.mdindex b1f2fcc8f2..34863e0999 100644--- a/gitbooks/developing/architecture/flows-on-tinyagents.md+++ b/gitbooks/developing/architecture/flows-on-tinyagents.md@@ -170,7 +170,7 @@ approvals reuse the engine's pause-and-`flows_resume` fallback.## Agent nodes: a graph within the graphA flow `agent` node names a **registered agent kind** through a trusted-`agent_ref` in its config (researcher, code_executor, a custom specialist, …).+`agent_ref` in its config (code_executor, critic, a custom specialist, …).`OpenHumanAgentRunner::run_agent` resolves that ref and routes on what it finds:- **A harness `AgentDefinition` exists** → build a full harness `Agent`diff --git a/gitbooks/features/model-routing/README.md b/gitbooks/features/model-routing/README.mdindex ef43217101..d5ad917413 100644--- a/gitbooks/features/model-routing/README.md+++ b/gitbooks/features/model-routing/README.md@@ -67,9 +67,9 @@ Inline calls win for one delegation:```json{- "agent_id": "researcher",+ "agent_id": "code_executor","model": "anthropic/claude-sonnet-4",- "prompt": "Collect source notes for the launch memo."+ "prompt": "Add a regression test for the date parser."}```@@ -79,7 +79,7 @@ Persistent defaults live in `config.toml`:[orchestrator]model = "anthropic/claude-sonnet-4"-[teams.research]+[teams.planner]lead_model = "openai/gpt-5.1"agent_model = "groq/llama-3.1-8b-instant"@@ -90,7 +90,7 @@ agent_model = "qwen/qwen3-coder"Resolution order:1. Inline `model` on `spawn_subagent` or an archetype delegation call.-2. `[orchestrator].model` or `[teams.<team>]` / built-in aliases such as `[teams.research]` and `[teams.code]`.+2. `[orchestrator].model` or `[teams.<team>]` / built-in aliases such as `[teams.code]` and `[teams.tools]`.3. The archetype's own model hint and the normal route table.For `[teams.*]`, `lead_model` applies to agents that can delegate and `agent_model` applies to leaf workers. If only one is set, the harness falls back to it for both roles.diff --git a/gitbooks/features/native-tools/agent-coordination.md b/gitbooks/features/native-tools/agent-coordination.mdindex 367e6e0293..a7b4b2ac64 100644--- a/gitbooks/features/native-tools/agent-coordination.md+++ b/gitbooks/features/native-tools/agent-coordination.md@@ -18,7 +18,7 @@ Beyond doing the work, the agent has tools for _organising_ the work - planning| `list_subagents` / `close_subagent` | Inspect reusable workers for the parent thread or explicitly retire one. || `spawn_worker_thread` | Explicit background work tracked as a separate worker thread. || `delegate` | Hand a task to a specialist (e.g. an archetype with different prompts/tools/permissions). |-| `archetype_delegation` | Route to a named archetype - coder, researcher, planner, etc. |+| `archetype_delegation` | Route to a named archetype - coder, planner, critic, etc. || `skill_delegation` | Hand off to a [skill](../integrations/README.md#skills) installed in the workspace. || `ask_clarification` | Pause and ask the user a precise question instead of guessing. || `plan_exit` | Exit a planning phase and start executing. |