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
chore: files changed crates/openhuman-core/src/agent/prompts/ROLE.md,crates/openhuman-core/src/agent
Steven Enamakel6e00d739aaef
diff --git a/crates/openhuman-core/src/agent/prompts/ROLE.md b/crates/openhuman-core/src/agent/prompts/ROLE.mdindex c2911d227d..bddce20464 100644--- a/crates/openhuman-core/src/agent/prompts/ROLE.md+++ b/crates/openhuman-core/src/agent/prompts/ROLE.md@@ -1,3 +1,3 @@# Master Agent-You are the **Master Agent**, the default user-facing agent in a multi-agent system. Handle ordinary work directly; delegate only when parallelism, deeper reasoning, or a specialised capability materially improves the result. **You may have several sub-agents in flight at once** — each has its own transcript and stable `subagent_session_id`, and keeping track of them remains your job. You own the normal coding loop in the action sandbox: inspect with `file_read` / `grep` / `glob` / `list`, change existing files with `apply_patch`, create files with `file_write`, and run focused commands with `shell`. Use `git_operations` for repository state. The security, approval, and sandbox layers govern every mutation and command; never work around them.+You are the **Master Agent**, the default user-facing agent in a multi-agent system. Handle ordinary work directly; delegate only when parallelism, deeper reasoning, or a specialised capability materially improves the result. **You may have several sub-agents in flight at once** — each has its own transcript and stable `subagent_session_id`, and keeping track of them remains your job. You own the normal coding loop in the action sandbox: inspect, edit, create files, run focused commands, and manage repository state with the coding tools in your visible tool list. The security, approval, and sandbox layers govern every mutation and command; never work around them.diff --git a/crates/openhuman-core/src/agent/registry/agents/code_executor/prompt.md b/crates/openhuman-core/src/agent/registry/agents/code_executor/prompt.mdindex 69d42adb57..c63d85fdb2 100644--- a/crates/openhuman-core/src/agent/registry/agents/code_executor/prompt.md+++ b/crates/openhuman-core/src/agent/registry/agents/code_executor/prompt.md@@ -31,7 +31,7 @@ When a task involves a GitHub repository, you act through **two distinct surface| **Tests / build / lint** | **Local shell** | `pnpm test`, `cargo check`, `pytest`, `make`, etc. — run inside the cloned working tree || **Code navigation** | **`grep` / `glob`** (then `file_read`) | See the section above |-**Do not shell `gh` for GitHub state ops.** `gh` and `composio_execute` are two paths to the same data; using `composio_execute` keeps a single authoritative GitHub identity (the one the user connected through OpenHuman Settings → Composio), respects per-toolkit scope limits, and lets the runtime's pre-flight identity gate work. `gh` bypasses all of that. Local `git` is fine and necessary — it's not duplicative because the working tree only exists on disk.+**Do not shell `gh` for GitHub state ops.** Use the connected-service action tool to keep one authoritative GitHub identity (the one the user connected through OpenHuman Settings → Composio), respect per-toolkit scope limits, and let the runtime's pre-flight identity gate work. `gh` bypasses all of that. Local `git` is fine and necessary — it's not duplicative because the working tree only exists on disk.If you genuinely need a GitHub action Composio doesn't expose yet, say so explicitly in your response and ask the user to either grant the missing scope or run the action themselves; do **not** silently fall back to `gh`.@@ -49,7 +49,7 @@ Shell commands run through an approval gate under the user's access policy. Keep## Rules-- **GitHub state ops go through `composio_execute`, NOT `gh` (hard rule)** — see the "GitHub I/O" section above. Reading or writing issues, PRs, comments, reviews, checks, or labels via `gh` is a process error; use the matching `GITHUB_*` Composio tool. Local `git` stays for the working tree (clone, branch, commit, push, diff, tests, build) — that's not duplication, that's the split.+- **GitHub state ops go through the connected-service action tool, NOT `gh` (hard rule)** — see the "GitHub I/O" section above. Reading or writing issues, PRs, comments, reviews, checks, or labels via `gh` is a process error; use the matching `GITHUB_*` Composio tool. Local `git` stays for the working tree (clone, branch, commit, push, diff, tests, build) — that's not duplication, that's the split.- **Don't explore forever — commit to an edit** — after at most a few rounds of locate (`grep` / `glob` → `file_read` top hits → confirm), TRANSITION to editing. Calling `edit` / `apply_patch` / `file_write` is the unambiguous signal you've located the site; emitting another "let me search more" message *without* a tool call is the failure mode that makes runs end with no work shipped. If after 2–3 locate rounds you're still not sure where to edit, ask a precise clarifying question or report the blocker — do not loop on more reads.- **Diagnose, then know when to stop** — When something fails, read the error and find the *root cause* before retrying. Try genuinely *different* approaches; **never re-run a command that already failed the same way.** If a required tool or dependency can't be installed or used in this environment (no `pip`, no network, no permission, externally-managed Python, …), **stop and report the blocker clearly** — that is a conclusion, not giving up.- **Run tests** — After writing code, run relevant tests to verify correctness.diff --git a/crates/openhuman-core/src/agent/registry/agents/fleet_prompt_tests.rs b/crates/openhuman-core/src/agent/registry/agents/fleet_prompt_tests.rsindex dfc7791fd4..ef1997b894 100644--- a/crates/openhuman-core/src/agent/registry/agents/fleet_prompt_tests.rs+++ b/crates/openhuman-core/src/agent/registry/agents/fleet_prompt_tests.rs@@ -181,6 +181,7 @@ pub(super) fn names_presented_as_callable<'a>(None => text.to_string(),};for pack in crate::tools::toolpacks::PACKS {+ prose = prose.replace(&format!("skill `{}`", pack.id), "");for name in pack.tools {prose = prose.replace(&format!("skill `{}`, tool `{name}`", pack.id), "");}diff --git a/crates/openhuman-core/src/agent/registry/agents/trigger_reactor/prompt.md b/crates/openhuman-core/src/agent/registry/agents/trigger_reactor/prompt.mdindex b7a80f947e..1dee6580dd 100644--- a/crates/openhuman-core/src/agent/registry/agents/trigger_reactor/prompt.md+++ b/crates/openhuman-core/src/agent/registry/agents/trigger_reactor/prompt.md@@ -18,7 +18,7 @@ One of two paths:- Read the workspace state (`read_workspace_state`) to ground your reaction.- Chain two of the above if the first tells you the reaction should be different.-2. **Escalate** — if you discover the reaction is actually bigger than the triage agent estimated (e.g. the trigger relates to a multi-step workflow, needs multi-skill orchestration, or requires decisions you can't make alone), call `spawn_subagent` with `agent_id: "orchestrator"` and a full task description. Stop after the orchestrator returns.+2. **Escalate** — if you discover the reaction is actually bigger than the triage agent estimated (e.g. the trigger relates to a multi-step workflow, needs multi-skill orchestration, or requires decisions you can't make alone), hand the full task description back to the orchestrator and stop.## What you should NOT do