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 in builtin agent docs
Steven Enamakele1285e36d0a1
diff --git a/crates/openhuman-core/src/agent/harness/builtin_definitions.rs b/crates/openhuman-core/src/agent/harness/builtin_definitions.rsindex c3649b23e3..1509a6278c 100644--- a/crates/openhuman-core/src/agent/harness/builtin_definitions.rs+++ b/crates/openhuman-core/src/agent/harness/builtin_definitions.rs@@ -2,7 +2,9 @@//!//! The authoritative list of built-in agents lives in//! [`crate::agent::registry::agents`] — each agent is a subfolder-//! containing `agent.toml` + `prompt.md`. This module is a thin+//! containing `agent.toml` and a prompt builder. Most builders embed a+//! sibling `prompt.md`; the flow builders fetch their archetypes from+//! TinyFlows Copilot through the module bus. This module is a thin//! wrapper that loads that set.//!//! Custom TOML definitions loaded later bydiff --git a/crates/openhuman-core/src/agent/registry/agents/mod.rs b/crates/openhuman-core/src/agent/registry/agents/mod.rsindex 054bce0309..b22e6eee6c 100644--- a/crates/openhuman-core/src/agent/registry/agents/mod.rs+++ b/crates/openhuman-core/src/agent/registry/agents/mod.rs@@ -1,25 +1,24 @@//! Built-in agent archetypes.//!-//! Each submodule below is one shipped agent and owns the same three-//! files, so none of the 29 leaf `mod.rs` files need their own doc-//! comment:+//! Each submodule below is one shipped agent. Most own a TOML definition and+//! a prompt builder that includes a sibling Markdown archetype; the flow+//! builders receive their archetype text from TinyFlows Copilot over the bus.//!//! * `agent.toml` — id, `when_to_use`, model, tool scope, sandbox mode,//! iteration cap, tier, and `omit_*` flags. Parsed directly into//! [`crate::agent::harness::host_definition::AgentDefinition`]; ships without//! a `system_prompt`.-//! * `prompt.md` — the static archetype body. `prompt.rs` embeds it with-//! `include_str!`; nothing else reads it.+//! * `prompt.md` — the static archetype body used by builders that embed it.//! * `prompt.rs` — exposes `pub fn build(&PromptContext) ->//! anyhow::Result<String>`, which appends runtime-dependent sections-//! (rendered tool list, workspace) to the `prompt.md` body.+//! (rendered tool list, workspace) to the archetype body.//! [`BUILTINS`] installs it as `PromptSource::Dynamic` on the parsed//! definition. Most archetypes keep a `prompt_tests.rs` beside it.//!//! `loader.rs` holds [`BUILTINS`], [`load_builtins`] and//! [`validate_tier_hierarchy`]. The slice also registers archetypes that-//! live with other domains (`skills/*/agent/`,-//! `flows/*`), so this directory is not the full built-in set. The+//! live with other domains (`skills/*/agent/`), so this directory is not the+//! full built-in set. The//! package `README.md` one level up describes what each archetype does.mod loader;