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
refactor(agents): drop delegate_name from built-in agent configs
Steven Enamakel880a071b0af0
diff --git a/crates/openhuman-core/src/flows/agents/flow_discovery/agent.toml b/crates/openhuman-core/src/flows/agents/flow_discovery/agent.tomlindex d2a761a48c..d925efb9ce 100644--- a/crates/openhuman-core/src/flows/agents/flow_discovery/agent.toml+++ b/crates/openhuman-core/src/flows/agents/flow_discovery/agent.toml@@ -1,6 +1,5 @@id = "flow_discovery"display_name = "Flow Scout"-delegate_name = "discover_workflows"when_to_use = "Workflow discovery specialist — the 'Flow Scout'. Reads the user's memory, past threads, connected integrations, and existing flows (and the web when it helps) to figure out which automations would genuinely help THIS user, then proposes a handful of concrete, buildable workflow suggestions. Read-only: it never creates, enables, or runs a flow — it ends by calling `suggest_workflows`, which records ideas for the user to review on the Flows page and build with one click. Route here for 'what workflows should I set up?', 'suggest some automations', 'discover flows for me', or the Flows page 'Discover' action. NOT for building a specific named workflow (that is `build_workflow` / workflow_builder)."temperature = 0.4# Multi-step read → correlate → ground → propose loop. It reads the memorydiff --git a/crates/openhuman-core/src/flows/agents/workflow_builder/agent.toml b/crates/openhuman-core/src/flows/agents/workflow_builder/agent.tomlindex db69cf3c00..b952dea01b 100644--- a/crates/openhuman-core/src/flows/agents/workflow_builder/agent.toml+++ b/crates/openhuman-core/src/flows/agents/workflow_builder/agent.toml@@ -1,6 +1,5 @@id = "workflow_builder"display_name = "Workflow Builder"-delegate_name = "build_workflow"when_to_use = "Workflow authoring specialist — owns building tinyflows automation graphs from a natural-language description. Route any request to 'set up a workflow that…', 'automate…', 'when X happens do Y', 'build/create/edit an automation or flow', or to iterate on a proposed workflow here. It grounds nodes in real tool slugs + connections, dry-runs a draft in a sandbox to self-check, and returns a workflow PROPOSAL for review. Persistence stays with the user's Accept + Save; when the user explicitly asks the agent to save (or test-run) onto an existing flow id it may `save_workflow` / `run_flow` — but never on its own. It CAN create a new flow (`create_workflow`) or clone one (`duplicate_flow`) when the user explicitly asks, but every flow it creates is always born DISABLED — it can never enable a flow, or run one without the user's confirmation first. Not for running an already-saved flow (that is a direct flows_run) and not for the legacy skill 'workflows'."temperature = 0.2max_iterations = 12diff --git a/crates/openhuman-core/src/skills/catalog/agent/skill_setup/agent.toml b/crates/openhuman-core/src/skills/catalog/agent/skill_setup/agent.tomlindex 9f36ab295c..25d0ef62bf 100644--- a/crates/openhuman-core/src/skills/catalog/agent/skill_setup/agent.toml+++ b/crates/openhuman-core/src/skills/catalog/agent/skill_setup/agent.toml@@ -1,6 +1,5 @@id = "skill_setup"display_name = "Skill Setup Agent"-delegate_name = "setup_skills"when_to_use = "Find, install, update or remove agent skills from the community registries. Hand it the whole request."temperature = 0.3max_iterations = 10diff --git a/crates/openhuman-core/src/tools/ops_tests_default_registry_tests.rs b/crates/openhuman-core/src/tools/ops_tests_default_registry_tests.rsindex bbe4ab66e6..688e6ad5f7 100644--- a/crates/openhuman-core/src/tools/ops_tests_default_registry_tests.rs+++ b/crates/openhuman-core/src/tools/ops_tests_default_registry_tests.rs@@ -107,26 +107,6 @@ fn every_packed_tool_name_resolves_to_a_registered_tool() {);let registered: std::collections::HashSet<&str> = tools.iter().map(|t| t.name()).collect();- // Delegation tools are synthesised per-session from each agent's- // `delegate_name`, not built by `all_tools`, so they are legitimately- // absent here. `owners` holds agent ids (`crypto_agent`); the names that- // appear in `tools` are delegate names (`do_crypto`), so resolve them from- // the agent registry rather than from `owners`.- //- // `.expect`, not `.unwrap_or_default()`: an empty delegate set would make- // EVERY pack delegate (`do_crypto`, `build_workflow`, `run_skill`, …) report- // as missing, so a registry that failed to load would surface as a list of- // phantom names — the exact failure this test exists to report, raised for- // the wrong reason. `load_builtins` documents that built-in TOML is baked- // into the binary and must always parse, so an `Err` here is a broken- // invariant worth failing loudly on rather than absorbing.- let delegates: std::collections::HashSet<String> =- crate::agent_registry::agents::load_builtins()- .expect("built-in agent registry must load; without it every pack delegate would be reported as a phantom name")- .into_iter()- .filter_map(|d| d.delegate_name)- .collect();-// `PACKS` is unconditional, but most packs' tools are behind Cargo features// that are NOT in `default` — `flows`, `mcp`, `skills`, `web3`, `documents`,// `voice`. Under a partial feature set "missing" means "compiled out", not@@ -166,7 +146,7 @@ fn every_packed_tool_name_resolves_to_a_registered_tool() {continue;}for name in pack.tools {- if registered.contains(name) || delegates.contains(*name) {+ if registered.contains(name) {continue;}missing.push(format!("{}::{}", pack.id, name));@@ -174,8 +154,7 @@ fn every_packed_tool_name_resolves_to_a_registered_tool() {}assert!(missing.is_empty(),- "every tool named in a pack must resolve to a registered tool (or be a \- delegate name); these do not: {missing:?}"+ "every tool named in a pack must resolve to a registered tool; these do not: {missing:?}");}