Skip to content

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

docs(agent): update READMEs for tinyagents ownership shifts

Steven Enamakel63b288d25f37
diff --git a/crates/openhuman-core/src/agent/harness/README.md b/crates/openhuman-core/src/agent/harness/README.md
index a7f2e0b69c..edf362e149 100644
--- a/crates/openhuman-core/src/agent/harness/README.md
+++ b/crates/openhuman-core/src/agent/harness/README.md
@@ -39,7 +39,7 @@ used here (not defined here) by [`fork_context.rs`](./fork_context.rs).
| Module | Role |
| --- | --- |
-| [`host_definition.rs`](./host_definition.rs), [`builtin_definitions.rs`](./builtin_definitions.rs) | The host side of agent definitions: `AgentExt` (prompt omissions, TokenJuice profile, MCP flag, prompt builder) over `tinyagents_definition::AgentDefinition<X>`, plus `AgentDefinitionRegistry` (a `DefinitionSet<AgentExt>` with the process/context singleton) and user-definition path resolution. The vocabulary (`ModelSpec`, `ToolScope`, `SandboxMode`, `AgentTier`, `PromptSource`, ...) and the TOML directory loader live in `tinyagents-definition`. Built-ins come from `crate::agent::registry::agents`. |
+| [`host_definition.rs`](./host_definition.rs) | The host side of agent definitions: `AgentExt` (prompt omissions, TokenJuice profile, MCP flag, prompt builder) over `tinyagents_definition::AgentDefinition<X>`, plus `AgentDefinitionRegistry` (a `DefinitionSet<AgentExt>` with the process/context singleton) and user-definition path resolution. The vocabulary (`ModelSpec`, `ToolScope`, `SandboxMode`, `AgentTier`, `PromptSource`, ...) and the TOML directory loader live in `tinyagents-definition`. Built-ins come from `crate::agent::registry::agents`. |
| `fork_context.rs` | The `ParentExecutionContext` snapshot a spawning agent hands to sub-agents, carried explicitly on the run context. `fork_context.rs` also carries the `RunQueue` handle (from `tinyagents_harness::run_queue`) down to a forked turn. |
| `graph.rs` | `run_channel_turn_via_graph` (`pub(crate)`): the channel/CLI turn graph, thin over `TurnSpec::run`; called by the `agent.run_turn` native-bus handler in [`agent/bus.rs`](../bus.rs). |
| `artifact_offload/` | The `outputs/` / `workspace/` convention under `action_dir`: prompt half (`contract.rs`) and host policy half (`policy.rs`); mechanics (thresholds, path resolution, pointer rendering, the writer) live in `tinyagents_harness::artifacts` and are re-exported here. |
@@ -79,7 +79,7 @@ turn lifecycle are in `../session_host/`; `run_subagent`,
p-format). This crate is a test-only dependency of `harness/`; the parsers
are not called from production code here.
- `crate::agent::registry::agents`: built-in agent archetype TOML/prompt
- bundles loaded by `tinyagents_definition` (user TOML) and `builtin_definitions`.
+ bundles; custom bundles are loaded by `tinyagents_definition`.
- `crate::security::SecurityPolicy`: workspace containment policy plumbed
into `artifact_offload::new_artifact_offload`.
- `tinymemory-api`: provenance classification and untrusted-context wrapping,
diff --git a/crates/openhuman-core/src/agent/registry/README.md b/crates/openhuman-core/src/agent/registry/README.md
index b722a7fe16..7e75200149 100644
--- a/crates/openhuman-core/src/agent/registry/README.md
+++ b/crates/openhuman-core/src/agent/registry/README.md
@@ -136,9 +136,9 @@ ranking works.
`DomainGroup::Agent`.
- [`config/schema/`](../../config/schema/): `Config.agent_registry: AgentRegistryConfig` is the
persisted store every `ops.rs` function reads and writes.
-- [`agent/harness/builtin_definitions.rs`](../harness/builtin_definitions.rs): `load_builtins()` seeds the
- process-global `AgentDefinitionRegistry`; [`agent/harness/host_definition.rs`](../harness/host_definition.rs)
- calls `validate_tier_hierarchy` again after workspace overrides merge.
+- [`agent/harness/host_definition.rs`](../harness/host_definition.rs): seeds the
+ process-global `AgentDefinitionRegistry` from `registry::agents::load_builtins()`;
+ TinyAgents validates the merged hierarchy when workspace overrides load.
- [`agent/session_host/builder/factory.rs`](../session_host/builder/factory.rs):
`Agent::from_config_for_agent` falls back to `find_custom_in_config` +
`definition_from_registry_entry` when an id is not in the harness registry.
diff --git a/crates/openhuman-core/src/agent/tools/README.md b/crates/openhuman-core/src/agent/tools/README.md
index 926f73a5be..85aecc3da7 100644
--- a/crates/openhuman-core/src/agent/tools/README.md
+++ b/crates/openhuman-core/src/agent/tools/README.md
@@ -44,9 +44,9 @@ instead of registering them as disabled.
free-form preference into either the `general` or `situational` lane.
`RunWorkflowTool` and `AwaitWorkflowTool` spawn a `crate::skills::runtime`
workflow run and wait on its outcome.
-- `TodoTool` is the model-facing side of the session's todo list; storage and
- status transitions belong to `crate::agent::todos`, which wraps the
- TinyAgents todo store.
+- `TodoTool` is the model-facing side of the session's todo list; TinyAgents
+ owns its schema and store operations, while the host adapter selects the
+ thread key and publishes the product event.
## Where next
@@ -55,7 +55,7 @@ instead of registering them as disabled.
- `crate::agent::orchestration` for the sub-agent spawn tools, which sit next
to these conceptually but live separately because they carry more
lifecycle state.
-- `crate::agent::todos` for the store `TodoTool` reads and writes.
+- `tinyagents_graph::todos` for the todo store and tool behavior.
## Further reading
diff --git a/vendor/tinyagents b/vendor/tinyagents
index 4170ca1b6f..51fe2383fc 160000
--- a/vendor/tinyagents
+++ b/vendor/tinyagents
@@ -1 +1 @@
-Subproject commit 4170ca1b6f1541a34659b7b7186da6e805578a7f
+Subproject commit 51fe2383fc3ccff956c892fc1425092b36910d2e