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): add README for agent module and update MCP registry architecture docs
Steven Enamakel14bdc1508d9b
diff --git a/crates/openhuman-core/src/agent/README.md b/crates/openhuman-core/src/agent/README.mdindex 39ba0eba39..262eed275c 100644--- a/crates/openhuman-core/src/agent/README.md+++ b/crates/openhuman-core/src/agent/README.md@@ -64,7 +64,7 @@ Flat files: `bus.rs` (`agent.run_turn` native request handler), `cost.rs` (`pub(## Called by- `crates/openhuman-core/src/channels/runtime/dispatch/` (`processor*.rs`, `routing.rs`) — drives chat turns through the `agent.run_turn` native handler; `web_chat/` (`session.rs`, `run_task.rs`) builds `Agent`s directly.-- `crates/openhuman-core/src/cron/scheduler_part_02.rs::run_agent_job` — builds an `Agent` directly via `Agent::from_config_for_agent[_with_profile]` / `Agent::from_config` and delivers output through `scheduler_part_03.rs::deliver_if_configured`; it does not go through triage.+- `crates/openhuman-core/src/cron/scheduler/agent_run.rs::run_agent_job` — builds an `Agent` directly via `Agent::from_config_for_agent[_with_profile]` / `Agent::from_config` and delivers output through `scheduler/delivery.rs::deliver_if_configured`; it does not go through triage.- `crates/openhuman-core/src/skills/webhooks/{ops,bus}.rs` — webhook ingestion routes through `triage::run_triage` + `apply_decision`.- `crates/openhuman-core/src/memory/sync/composio/bus*.rs` — Composio trigger envelopes go through `agent::triage`.- `crates/openhuman-core/src/integrations/task_sources/route.rs` — external task-source events go through the same `TriggerEnvelope` → `run_triage` → `apply_decision` path.diff --git a/gitbooks/developing/architecture/mcp-registry.md b/gitbooks/developing/architecture/mcp-registry.mdindex 7fa94c5dbc..6c51bd16d7 100644--- a/gitbooks/developing/architecture/mcp-registry.md+++ b/gitbooks/developing/architecture/mcp-registry.md@@ -61,7 +61,7 @@ Installed servers are connected as the core comes up, and `mcp::registry::superv| `helpers.rs` | Shared RPC-handler plumbing: `RpcOutcome` encoding, identifier guards, workspace-service resolution, credential-name injection — deduplicated out of `ops.rs`/`setup_ops.rs`. || `ops.rs` | `mcp_clients_*` RPC handler implementations (install, uninstall, list, browse, connect/disconnect, tool call, registry settings). One-to-one with `schemas.rs` handlers; publishes `DomainEvent`s `tinymcp` does not. || `setup_ops.rs` | `mcp_setup_*` RPC handlers for the guided setup flow: opaque `secret://…` handles, out-of-band prompting, `mcp_setup_install_and_connect`. |-| `schemas.rs` (+ `schemas_part_0{1,2}.rs`) | Controller schemas + handler dispatch. Re-exported from `mod.rs` as `all_mcp_registry_controller_schemas` / `all_mcp_registry_registered_controllers`. |+| `schemas/` (`mod.rs`, `registry.rs`, `setup_registry.rs`, `handlers.rs`, `setup_handlers.rs`, `params.rs`) | Controller schemas + handler dispatch. Re-exported from `mod.rs` as `all_mcp_registry_controller_schemas` / `all_mcp_registry_registered_controllers`. || `bus.rs` | `DomainEvent` subscriber (`McpClientEventSubscriber`) that logs `McpServer*` / `McpClientToolExecuted` lifecycle events. || `supervisor_events.rs` | Turns a `tinymcp::Supervisor` tick report into this domain's `DomainEvent`s, stamped with the workspace whose host was ticked. || `tools.rs` | Agent-facing `mcp_registry_*` tools (search catalog, inspect/list/connect/disconnect/call, AI config help) — thin shims over `ops.rs`. Mutators (`mcp_registry_install`/`_uninstall`) ship default-OFF behind the `mcp_manage` toggle. Distinct from the generic `mcp_list_servers`/`mcp_call_tool` bridge tools and the `mcp_setup_*` tools. |