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: standardize punctuation in tinyflows README
Steven Enamakelf1ca50f8d49d
diff --git a/crates/openhuman-core/src/flows/tinyflows/README.md b/crates/openhuman-core/src/flows/tinyflows/README.mdindex cd70a03719..d60b7f6883 100644--- a/crates/openhuman-core/src/flows/tinyflows/README.md+++ b/crates/openhuman-core/src/flows/tinyflows/README.md@@ -3,9 +3,9 @@Wires the vendored `tinyflows` workflow engine (validate → compile → run overits own in-crate state-graph runtime, `vendor/tinyflows/`) to real OpenHumanservices. `tinyflows` knows nothing about OpenHuman; every effect a flow node-can have — calling an LLM, running an agent, making an HTTP request, running+can have, calling an LLM, running an agent, making an HTTP request, runningcode, calling a tool, reading/writing state, resolving a sub-workflow,-recalling/writing memory — is a trait the engine declares and this module+recalling/writing memory, is a trait the engine declares and this moduleimplements. See[`gitbooks/developing/architecture/flows-on-tinyagents.md`](../../../../../gitbooks/developing/architecture/flows-on-tinyagents.md)for the engine's own model (trigger model, run state shape, the two-gate@@ -13,64 +13,64 @@ security model); this README covers only the host seam.## Layout-- `mod.rs` — export-focused. Re-exports `caps::build_capabilities` and+- `mod.rs`: export-focused. Re-exports `caps::build_capabilities` and`caps::open_flow_checkpointer`, the two entry points `flows::ops*.rs`calls to drive a run; re-exports `tinyflows_sqlite::checkpoint` as`checkpoint_sqlite` under its historical path.-- `caps/` — every capability adapter except `memory`, plus construction,+- `caps/`: every capability adapter except `memory`, plus construction,curation, preflight, and invocation logic. `build_capabilities` also fills`tasks` with the engine's own `TokioTaskRunner` and deliberately leaves`shell` and `approvals` as `None` (no host shell adapter yet; approvalsreuse the engine's pause/`flows_resume` fallback).- - `ops.rs` — `build_capabilities` (assembles the `Capabilities` bundle for+ - `ops.rs`: `build_capabilities` (assembles the `Capabilities` bundle forone run), `open_flow_checkpointer` (opens the durable SQLite checkpointerat `<workspace_dir>/flows/checkpoints.db`), Composio curation/preflight(`is_curated_flow_tool`, `preflight_composio_args`), and the`OpenHumanTools` / `PreflightToolInvoker` tool-call adapters.- - `agent.rs` — `OpenHumanAgentRunner` (`AgentRunner`): resolves an `agent`+ - `agent.rs`: `OpenHumanAgentRunner` (`AgentRunner`): resolves an `agent`node's trusted `agent_ref` and routes it to a full harness turn(`Agent::run_single`, a nested tinyagents graph) when a harness`AgentDefinition` exists, or to a persona-shaped `OpenHumanLlm::complete`when only a custom registry entry does. Also owns the timeout clamp andits scaling against the definition's iteration cap.- - `llm.rs` — `OpenHumanLlm` (`LlmProvider`) over OpenHuman's inference+ - `llm.rs`: `OpenHumanLlm` (`LlmProvider`) over OpenHuman's inferencestack; what an `agent` node falls back to without an agent runner, andwhat a raw completion node uses directly.- - `prompt.rs` — message assembly, the `input_context` carrier and its size+ - `prompt.rs`: message assembly, the `input_context` carrier and its sizecap, and tolerant JSON extraction for structured-output nodes.- - `http.rs` — `OpenHumanHttp` (`HttpClient`); inherits the allowlist and+ - `http.rs`: `OpenHumanHttp` (`HttpClient`); inherits the allowlist andDNS-rebind protection of the underlying `HttpRequestTool` and adds`http_cred:<name>` credential resolution, injected after the approvalgate computes its redacted summary so the secret never reaches the UI,graph, output, or logs.- - `code.rs` — `OpenHumanCode` (`CodeRunner`); runs JS/Python through+ - `code.rs`: `OpenHumanCode` (`CodeRunner`); runs JS/Python through`sandbox::execute_in_sandbox` under `CODE_RUN_TIMEOUT_SECS`.- - `state.rs` — `FlowStateStore` (`StateStore`) over+ - `state.rs`: `FlowStateStore` (`StateStore`) over`flows::{kv_get,kv_set}`, namespaced per flow (`"flow:<id>"`) so savedflows never collide on a state key.- - `resolver.rs` — `OpenHumanWorkflowResolver` (`WorkflowResolver`);+ - `resolver.rs`: `OpenHumanWorkflowResolver` (`WorkflowResolver`);resolves a `sub_workflow` node's id to a stored workflow.- - `tier.rs` — `enforce_node_tier_gate` / `gate_call_for_tier`: the+ - `tier.rs`: `enforce_node_tier_gate` / `gate_call_for_tier`: theautonomy-tier and approval gate every acting node (tool call, HTTPrequest, code run, memory read/write) passes through first.- - `tools/` — `tool_call` node dispatch, split by slug namespace:+ - `tools/`: `tool_call` node dispatch, split by slug namespace:`native.rs` for the `oh:` prefix (native OpenHuman tools, same registrythe assistant uses), `composio.rs` for everything else (Composioactions; must stay the catch-all backend since Composio slugs carry noprefix).-- `memory_adapter.rs` — `OpenHumanMemory`, the `MemoryProvider` adapter for+- `memory_adapter.rs`: `OpenHumanMemory`, the `MemoryProvider` adapter forthe `memory` node. Routes every operation through the same `tier.rs` gatepair as the other acting adapters (`CommandClass::Read` for`recall`/`search`/`flavour`/`people`, `CommandClass::Write` for`remember`/`forget`); `remember`/`forget` hard-refuse any scope other than`"flow"`, and `scope: "flow"` shares the `flow_namespace` the`flow_memory_*` agent tools use.-- `observability.rs` — `tinyflows::observability::RunObserver` impls:+- `observability.rs`: `tinyflows::observability::RunObserver` impls:`TracingRunObserver` (log-only) and `FlowRunObserver`, which persists livesteps via `flows::upsert_flow_run_step` and publishes`DomainEvent::FlowRunProgress` twice per non-trigger node so the frontendcan render a run live.-- `langfuse_export.rs` — after a run settles, exports its durable+- `langfuse_export.rs`: after a run settles, exports its durable`GraphObservation` slice as one Langfuse trace via `tinyagents`'`GraphLangfuseExporter`, tagged with the Langfuse Agent Graph view keys.@@ -103,6 +103,6 @@ SSRF/allowlist rejections rather than a mock round-trip),`checkpoint_compat_tests.rs` (proves the `tinyflows-sqlite` checkpoint storestays byte-compatible with the `tinyagents` backend it was ported from),`memory_node_e2e_tests.rs` (the `memory` node through the real engine,-adapter, and on-disk store — kept apart from `tinyflows_tests.rs` because the+adapter, and on-disk store, kept apart from `tinyflows_tests.rs` because theunit tests only exercise error paths against an empty workspace), plus a`<module>_tests.rs` file beside most modules above.