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_registry): clarify how builtins wire dynamic prompts
Steven Enamakel55408d06992a
diff --git a/crates/openhuman-core/src/agent/tinyagents/middleware_tests.rs b/crates/openhuman-core/src/agent/tinyagents/middleware_tests.rsindex 8262ceadef..e69168a8eb 100644--- a/crates/openhuman-core/src/agent/tinyagents/middleware_tests.rs+++ b/crates/openhuman-core/src/agent/tinyagents/middleware_tests.rs@@ -1,7 +1,7 @@use super::approval::approval_tool_name;use super::repeated_failure::{is_body_level_failure, user_actionable_escalation};use super::tool_output::{- is_compaction_exempt, is_truncation_exempt, COMPACTION_EXEMPT_TOOLS, SAMPLING_TOOLS,+ COMPACTION_EXEMPT_TOOLS, SAMPLING_TOOLS, is_compaction_exempt, is_truncation_exempt,};use crate::agent::tinyagents::middleware::repeated_failure::RepeatedToolFailureMiddleware;use crate::agent::tinyagents::middleware::tool_outcome_capture::ToolOutcomeCaptureMiddleware;diff --git a/crates/openhuman-core/src/agent_registry/agents/mod.rs b/crates/openhuman-core/src/agent_registry/agents/mod.rsindex bb0c6f1dd1..2a6e698482 100644--- a/crates/openhuman-core/src/agent_registry/agents/mod.rs+++ b/crates/openhuman-core/src/agent_registry/agents/mod.rs@@ -13,8 +13,10 @@//! * `prompt.rs` — exposes `pub fn build(&PromptContext) ->//! anyhow::Result<String>`, which appends runtime-dependent sections//! (rendered tool list, workspace) to the `prompt.md` body.-//! [`BUILTINS`] installs it as `PromptSource::Dynamic` on the parsed-//! definition. Most archetypes keep a `prompt_tests.rs` beside it.+//! [`BUILTINS`] pairs the parsed definition with its host prompt callback.+//! The loader records `PromptSource::Dynamic(())` and stores that callback+//! in the host-only prompt-builder extension. Most archetypes keep a+//! `prompt_tests.rs` beside it.//!//! `loader.rs` holds [`BUILTINS`] and [`load_builtins`]. It delegates tier//! validation to `tinyagents_definition::DefinitionSet`. The slice also