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): clarify prompt sources for built-in agents
Steven Enamakel954cfb90cb02
diff --git a/crates/openhuman-core/src/agent/README.md b/crates/openhuman-core/src/agent/README.mdindex 43fae5bcd0..791bee9480 100644--- a/crates/openhuman-core/src/agent/README.md+++ b/crates/openhuman-core/src/agent/README.md@@ -221,8 +221,10 @@ coding workers, and background completion delivery. SeeAn `AgentDefinition` ([`harness/host_definition.rs`](./harness/host_definition.rs), vocabulary in `tinyagents-definition`) is an archetype: id, tier,prompt source, model spec, `ToolScope`, `SandboxMode`, iteration policy andallowed sub-agents. Built-ins live in `registry/agents/<id>/` as an-`agent.toml` plus `prompt.md` (orchestrator, planner, critic, summarizer,-trigger_triage, trigger_reactor, vision_agent and others). Custom+`agent.toml` plus a prompt builder. Most use a sibling `prompt.md` for their+archetype (orchestrator, planner, critic, summarizer, trigger_triage,+trigger_reactor, vision_agent and others); the workflow builder and discovery+agents fetch their archetypes from TinyFlows Copilot over the module bus. Customdefinitions are TOML files under `<workspace>/agents/*.toml`, with`~/.openhuman/agents/*.toml` as a fallback (`tinyagents_definition::DefinitionSet::load_dirs`, driven from [`harness/host_definition.rs`](./harness/host_definition.rs)).`AgentDefinitionRegistry` holds the merged set; `agent.reload_definitions`diff --git a/crates/openhuman-core/src/agent/session_host/builder/factory.rs b/crates/openhuman-core/src/agent/session_host/builder/factory.rsindex f0cd46dbd2..f4a449b8b2 100644--- a/crates/openhuman-core/src/agent/session_host/builder/factory.rs+++ b/crates/openhuman-core/src/agent/session_host/builder/factory.rs@@ -314,7 +314,7 @@ impl OpenHumanSessionHost {// Build prompt builder — either the default "orchestrator /// main agent" layout that bootstraps from workspace identity// files, OR a narrow per-agent builder that injects the target- // definition's `prompt.md` body and respects its `omit_*` flags.+ // definition's archetype body and respects its `omit_*` flags.//// The narrow path is selected whenever we resolved a// non-orchestrator definition from the registry. The orchestrator@@ -327,7 +327,8 @@ impl OpenHumanSessionHost {// unavailable (pre-startup, tests). `PromptSource::Dynamic`// agents install a [`DynamicPromptSection`] that re-runs the// builder against the live [`PromptContext`] at `build_system_prompt`- // time, so late `connected_integrations` land in the prompt.+ // time, so late `connected_integrations` land in the prompt. The flow+ // builders receive their module-owned archetype through the context.// `Inline`/`File` sources still resolve to just the archetype// body and get wrapped by [`SystemPromptBuilder::for_subagent`].let prompt_builder = match target_def {diff --git a/docs/gitbooks/en/developing/mcp-server.md b/docs/gitbooks/en/developing/mcp-server.mdindex 66398a3084..82498f4718 100644--- a/docs/gitbooks/en/developing/mcp-server.md+++ b/docs/gitbooks/en/developing/mcp-server.md@@ -100,7 +100,7 @@ The `initialize` response includes:| `openhuman://prompts/identity` | `IDENTITY.md` (core agent identity) || `openhuman://prompts/soul` | `SOUL.md` (core agent personality and values) || `openhuman://prompts/user` | `USER.md` (user-profile context) |-| `openhuman://prompts/agents/<id>` | `<id>/prompt.md` for each of the 15 built-in subagents |+| `openhuman://prompts/agents/<id>` | `<id>/prompt.md` for each of the 15 built-in subagents with a static prompt file |All resources have `mimeType: "text/markdown"`.