Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

docs(openhuman-embed): document structured and untrusted-input turns

Steven Enamakel82e4963c3697
diff --git a/crates/openhuman-embed/README.md b/crates/openhuman-embed/README.md
index fb6e8d8517..d550dac9fd 100644
--- a/crates/openhuman-embed/README.md
+++ b/crates/openhuman-embed/README.md
@@ -393,6 +393,14 @@ let spec = AgentSpec::new("reviewer")
Host tools should themselves be read-only: `HostOnly` bounds which tools
exist, not what they do.
+Per turn, `Turn::response_format(ResponseFormat)` (the `complete` type) and
+`Turn::max_tokens(n)` apply to every call of the tool loop on any runtime-owned
+agent. `TurnOutcome` then carries `structured` (the reply parsed as JSON),
+`finish_reason`, `answered_model`, and `usage.reasoning_tokens`.
+`Turn::untrusted_input(true)` reads the message as data, so the prompt-injection
+guard and screen are skipped. It is accepted only on a `HostOnly` agent; any
+other agent refuses the turn (`untrusted_input_requires_host_only`).
+
## Feature flags
Every feature on this crate is a pass-through to the same-named feature on