Skip to content

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

docs: update READMEs and config schema

Steven Enamakel68d9a1acd0f9
diff --git a/crates/openhuman-core/src/agent/README.md b/crates/openhuman-core/src/agent/README.md
index afd805eb64..58548a1f61 100644
--- a/crates/openhuman-core/src/agent/README.md
+++ b/crates/openhuman-core/src/agent/README.md
@@ -179,7 +179,7 @@ its `AgentStores`. See [session_host/README.md](session_host/README.md).
A parent agent delegates by calling a tool. `spawn_subagent`
([`orchestration/tools/spawn_subagent.rs`](./orchestration/tools/spawn_subagent.rs)) and its siblings
(`spawn_async_subagent`, `continue_subagent`,
-`steer_subagent`, `wait_subagent`, `close_subagent`, `delegate`) look up the
+`steer_subagent`, `wait_subagent`, `close_subagent`) look up the
target `AgentDefinition` and call `subagent_host::run_subagent_with_parent`.
```text
@@ -298,7 +298,7 @@ Delegation and coordination:
| `goals/` | Host adapters around `tinyagents_graph::goals` and the `goal_*` tools ([README](goals/README.md)) |
| `todos/` | Session-scoped todo list over the TinyAgents todo store ([README](todos/README.md)) |
| [`../plan_review/`](../plan_review/) | `request_plan_review` gate that parks a web-chat turn until the user decides |
-| [`tools.rs`](./tools.rs), `tools/` | Loop control tools: `delegate`, `plan_exit`, `todo`, `run_workflow`/`await_workflow` (with `skills`) ([README](tools/README.md)) |
+| [`tools.rs`](./tools.rs), `tools/` | Loop control tools: `plan_exit`, `todo`, `run_workflow`/`await_workflow` (with `skills`) ([README](tools/README.md)) |
Definitions, prompts and context:
@@ -365,7 +365,6 @@ All controllers register under `DomainGroup::Agent` in [`core/all.rs`](../core/a
| `ai` | `artifacts/` | `list_artifacts`, `get_artifact`, `delete_artifact`, `regenerate` |
| `run_ledger` | `../sessions/` | `list`, `get`, `events` |
| `session_import` | `../storage/import/` | `run` |
-| `agent_work` | [`orchestration/command_center`](./orchestration/command_center/) | `list`, `control` |
| `subagent` | [`orchestration/subagent_control.rs`](./orchestration/subagent_control.rs) | `cancel`, `steer` for running sub-agents |
`agent.chat` and `agent.chat_simple` load config and call
diff --git a/crates/openhuman-core/src/agent/tools/README.md b/crates/openhuman-core/src/agent/tools/README.md
index 85aecc3da7..c478109ebb 100644
--- a/crates/openhuman-core/src/agent/tools/README.md
+++ b/crates/openhuman-core/src/agent/tools/README.md
@@ -11,7 +11,6 @@ crate should construct them directly.
| Tool | File | Wire name (if different) |
| --- | --- | --- |
| `AskClarificationTool` | `tinyagents_harness::tools` | `ask_user_clarification` |
-| `DelegateTool` | [`delegate.rs`](./delegate.rs) | `delegate` |
| `PlanExitTool` | [`plan_exit.rs`](./plan_exit.rs) | `plan_exit` |
| `RememberPreferenceTool` | `remember_preference.rs` | `remember_preference` |
| `SavePreferenceTool` | `save_preference.rs` | `save_preference` |
@@ -32,10 +31,6 @@ instead of registering them as disabled.
Any caller that exposes this tool without that listing gets a tool that
answers its own question, since the model reads a normal success and keeps
going.
-- `DelegateTool` hands a subtask to a named agent configured with its own
- provider and model, using `DelegateAgentConfig`; `DelegateToolDispatch` is
- the typed harness-side wrapper that supplies live thread and workspace
- context and makes cancellation explicit.
- `PlanExitTool` ends a plan-mode pass by returning the plan text plus
`PLAN_EXIT_MARKER`. The mode switch itself lives outside this tool; nothing
in this crate currently consumes the marker.
diff --git a/crates/openhuman-core/src/config/schema/README.md b/crates/openhuman-core/src/config/schema/README.md
index 1812df7c32..f9e77f3fd5 100644
--- a/crates/openhuman-core/src/config/schema/README.md
+++ b/crates/openhuman-core/src/config/schema/README.md
@@ -17,7 +17,7 @@ is mounted as a submodule of [`load/dirs.rs`](./load/dirs.rs) via `#[path]`.
| `config.toml` section | File | Struct |
| --- | --- | --- |
-| `[agent]`, `[orchestrator]`, `[teams.*]`, `[agents.*]` | [`agent.rs`](./agent.rs) | `AgentConfig`, `OrchestratorModelConfig`, `TeamModelConfig`, `DelegateAgentConfig` |
+| `[agent]`, `[orchestrator]`, `[teams.*]` | [`agent.rs`](./agent.rs) | `AgentConfig`, `OrchestratorModelConfig`, `TeamModelConfig` |
| `[autonomy]` | [`autonomy.rs`](./autonomy.rs) | `AutonomyConfig`: feeds `security::SecurityPolicy` |
| `[[capability_providers]]` | [`capability_providers.rs`](./capability_providers.rs) | `CapabilityProviderConfig` |
| `[channels_config]`, `[sandbox]` | [`channels.rs`](./channels.rs) | `ChannelsConfig` and per-provider configs re-exported from `tinychannels_bus`; `SandboxConfig`, `ResourceLimitsConfig`, `AuditConfig`, and `SecurityConfig` (only `DaemonConfig` embeds the last one) |
diff --git a/crates/openhuman-core/src/inference/README.md b/crates/openhuman-core/src/inference/README.md
index cf1bf3a809..7e0ba68073 100644
--- a/crates/openhuman-core/src/inference/README.md
+++ b/crates/openhuman-core/src/inference/README.md
@@ -204,7 +204,7 @@ picks the provider the same way a provider string does.
| `provider/openai_codex.rs` | Codex routing metadata for the `openai` slug when Codex OAuth is connected. |
| [`provider/error_code.rs`](./provider/error_code.rs), [`provider/error_classify.rs`](./provider/error_classify.rs) | Managed `errorCode` extraction and Sentry ownership; OpenHuman policy over TinyInference's classifier. |
| `provider/fallback_diagnostics.rs` | Explains background-role fallback when it hits a provider with no credentials. |
-| [`provider/ops/`](./provider/ops/) | `http_error.rs` (host reporter over `tinyinference_llm::failure::http`, `api_error`), `models/` (model catalog listing, local-runtime and OpenRouter entries), `provider_factory.rs` (`ProviderRuntimeOptions`, `list_providers`). |
+| [`provider/ops/`](./provider/ops/) | `http_error.rs` (host reporter over `tinyinference_llm::failure::http`, `api_error`), `models/` (model catalog listing, local-runtime and OpenRouter entries), `provider_factory.rs` (`list_providers`). |
| [`provider/types.rs`](./provider/types.rs) | Host DTOs kept at product and RPC boundaries: `ChatResponse`, `ProviderDelta`, `BilledUsage`, `AGENT_TURN_MAX_OUTPUT_TOKENS`. |
| `host_runtime/` | Product policy, RPC and speech bindings over `tinyinference_local`. See [`host_runtime/README.md`](host_runtime/README.md). |
| `embedding_host/` | Embedding provider selection (managed, Voyage, OpenAI, Cohere, Ollama, custom, noop) and the `embeddings.*` RPC. See [`embedding_host/README.md`](embedding_host/README.md). |
diff --git a/crates/openhuman-core/src/inference/provider/README.md b/crates/openhuman-core/src/inference/provider/README.md
index f3b1bf1ee5..ed46d5ef05 100644
--- a/crates/openhuman-core/src/inference/provider/README.md
+++ b/crates/openhuman-core/src/inference/provider/README.md
@@ -87,7 +87,7 @@ consumers: the agent harness ([`agent/session_host/builder/factory.rs`](../../ag
- `ops/`: `http_error` (HTTP error
classification, Sentry routing, `api_error`), `models`
- (`list_configured_models`), `provider_factory` (`ProviderRuntimeOptions`,
+ (`list_configured_models`), `provider_factory` (
`list_providers`).
Preserves the original `pub use ops::*` contract split out of a single `ops.rs`.
- Claude Code CLI provider: `tinyagents_harness::providers::claude_code` in [`vendor/tinyagents`](../../../../../vendor/tinyagents/); see the [Claude Code provider guide](../../../../../docs/gitbooks/en/developing/providers/claude-code.md).
diff --git a/crates/openhuman-core/src/security/credentials/api_key.rs b/crates/openhuman-core/src/security/credentials/api_key.rs
index 9313064c34..49c1c2dffb 100644
--- a/crates/openhuman-core/src/security/credentials/api_key.rs
+++ b/crates/openhuman-core/src/security/credentials/api_key.rs
@@ -80,7 +80,7 @@ pub fn get_api_key(config: &Config) -> Result<Option<String>> {
}
/// [`get_api_key`] against an explicit credential state directory — for
-/// callers that hold `ProviderRuntimeOptions` rather than a `Config`.
+/// callers that resolve credentials for the configured runtime.
///
/// Requires the [`API_KEY_KIND_META`] marker, not just a profile named
/// [`API_KEY_PROVIDER`]. The generic `auth_store_provider_credentials`