Skip to content

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

docs: update documentation regarding agent orchestration

Steven Enamakel2b317c833bfb
diff --git a/crates/openhuman-core/src/agent/tinyagents/README.md b/crates/openhuman-core/src/agent/tinyagents/README.md
index 149f153118..9900e83cf7 100644
--- a/crates/openhuman-core/src/agent/tinyagents/README.md
+++ b/crates/openhuman-core/src/agent/tinyagents/README.md
@@ -39,7 +39,6 @@ The adapter seam between OpenHuman and the vendored [`tinyagents`](../../../../.
| `routes.rs` | the workload router projected from the upstream `WORKLOAD_ROUTES` table, `RequiredCapabilitiesMiddleware`, `FallbackObserverMiddleware`, `UsageCarryMiddleware`, and the per-model fallback policy. |
| [`observability.rs`](./observability.rs) + `observability/` | `event_bridge.rs`: `OpenhumanEventBridge`, translating crate `AgentEvent`s into `AgentProgress` and feeding per-call usage into `crate::platform::cost`. `event_projection.rs`: its `EventListener` impl. `bridge_types.rs`: `SubagentScope` and the shared bridge carries (the cap pauser itself is `tinyagents_harness::events::CapPauser`). |
| [`host/steering.rs`](./host/steering.rs) | OpenHuman's steering allowlist and the shared `SteeringRegistry` for detached sub-agents. Task primitives are imported directly from `tinyagents_graph::orchestration`. |
-| [`host/delegation.rs`](./host/delegation.rs) | Explicit tracing-bound execution helpers over `tinyagents_graph::delegation`'s plan, execute, review, finalize graph. |
| [`payload_summarizer.rs`](./payload_summarizer.rs) | `PayloadSummarizer` trait, `SummarizeOutcome`/`UnavailableReason`, and the default `SubagentPayloadSummarizer` that compresses oversized tool results through the `summarizer` sub-agent instead of hard-truncating them. |
| [`policy_denial.rs`](./policy_denial.rs) | `maybe_enrich_policy_block`: rewrites `[policy-blocked]` tool results into structured what/why/workaround messages that tell the model to relay the denial rather than fabricate output. Called from `ToolOutcomeCaptureMiddleware`. |
| [`host/run_context.rs`](./host/run_context.rs) + typed tool dispatch | `OpenHumanRunContext` owns one root `CancellationToken`; child contexts share it and recursive tools receive it from their typed parent `RunContext`. |
diff --git a/docs/gitbooks/en/developing/architecture/agent-harness.md b/docs/gitbooks/en/developing/architecture/agent-harness.md
index 83b7c84077..10a95e7baf 100644
--- a/docs/gitbooks/en/developing/architecture/agent-harness.md
+++ b/docs/gitbooks/en/developing/architecture/agent-harness.md
@@ -644,7 +644,6 @@ direct `tinyagents-orchestration::subagent` lifecycle. There is no
| `mod.rs` / `model.rs` / `tools.rs` / `convert.rs` | `RunPolicy` / `ChatModel` / `Tool` / message adapters (incl. unknown-tool policy and out-of-band reasoning forwarding). |
| `observability.rs` | Harness `AgentEvent` → `AgentProgress` + cost. |
| `orchestration.rs` | Re-exported `graph::orchestration` task-store types; map-reduce fanout uses the TinyAgents SDK surface directly. |
-| `delegation.rs` | The durable `plan → execute ⇄ review → finalize` delegation graph (production worker wired in `orchestration::delegation`), checkpointed via TinyAgents' own `SqliteCheckpointer`. |
Orchestration in `crates/openhuman-core/src/agent/orchestration/` adapts
detached sub-agent execution, progress, and product projections. TinyAgents owns generic task lifecycle and parallel fanout.
diff --git a/docs/gitbooks/en/features/orchestration.md b/docs/gitbooks/en/features/orchestration.md
index 0bdc1982cb..a63ce77464 100644
--- a/docs/gitbooks/en/features/orchestration.md
+++ b/docs/gitbooks/en/features/orchestration.md
@@ -1,7 +1,7 @@
---
description: >-
- OpenHuman is an orchestrator, not a chatbot: durable agent graphs, visual
- workflows, sub-agent fleets and an always-on two-agent layer.
+ OpenHuman is an orchestrator, not a chatbot: multi-agent workflows, async
+ sub-agents and an always-on two-agent layer.
icon: sitemap
---
@@ -11,15 +11,14 @@ icon: sitemap
Most harnesses run one agent in one loop. OpenHuman coordinates many agents over long stretches of time, across machines. It does this durably, visibly and under your control. Four layers make that work.
-## 1. Graphs, not loops
+## 1. An agent harness built for long tasks
-Every agent turn runs on [tinyagents](https://github.com/tinyhumansai/tinyagents), our open-source graph engine. Multi-step work compiles to state-machine graphs with conditional routing:
+Every agent turn runs on [tinyagents](https://github.com/tinyhumansai/tinyagents), our open-source agent harness. It supports durable async sub-agents and connects to the workflow engine for multi-step work:
-- `plan → execute ⇄ review → finalize` for delegation.
- Phase DAGs for multi-agent workflow runs.
- Map-reduce fan-out for parallel workers.
-All of it is checkpointed. A graph can pause mid-run, for your answer, an approval or a restart, and resume exactly where it stopped.
+Workflow state can pause mid-run for your answer, an approval or a restart, then resume from its saved state.
## 2. Sub-agent fleets that do not get lost