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): update READMEs for relocated flow export and agent paths
Steven Enamakel0f85a7bd644f
diff --git a/crates/openhuman-core/src/agent/context/README.md b/crates/openhuman-core/src/agent/context/README.mdindex 294e686b7f..04d1a2f86e 100644--- a/crates/openhuman-core/src/agent/context/README.md+++ b/crates/openhuman-core/src/agent/context/README.md@@ -74,7 +74,7 @@ No `store.rs`. State is per-session and in-memory:- `agent::harness`: the primary consumer: `session/builder/builder_build.rs` constructs the `ContextManager`; `session/turn/core/harness_turn.rs` reads the budget/compaction getters into the tinyagents turn config; `session/turn/session_io/{transcript_persist,background_tasks}.rs` read `stats()`; `fork_context.rs` and [`../subagent_host/`](../subagent_host/) consume prompt types.- `agent::tinyagents`: `turn_middleware.rs` reads `CLEARED_PLACEHOLDER` when configuring `MicrocompactMiddleware`; `payload_summarizer.rs` and `host/context_composer.rs` build `PromptContext`s through `agent::prompts`.-- **`agent::registry::agents/*/prompt.rs`**, `flows/agents/*/prompt.rs`, `skills/*/agent/*/prompt.rs`: archetype prompt modules pull prompt sections/builder through `agent::prompts`.+- **`agent::registry::agents/*/prompt.rs`**, `skills/*/agent/*/prompt.rs`: archetype prompt modules pull prompt sections/builder through `agent::prompts`.- `channels`: [`channels/system_prompt.rs`](../../channels/system_prompt.rs) (`ChannelSystemPrompt`, used by [`channels/runtime/startup/start_channels.rs`](../../channels/runtime/startup/start_channels.rs)) calls `channels_prompt::build_system_prompt_with_identity`; [`channels/mod.rs`](../../channels/mod.rs) re-exports `build_system_prompt`; the `channels/tests/*` prompt/identity tests call it directly.- `agent::triage`, `agent::debug`, `agent::orchestration::tools` (spawn_subagent and friends), `tools::orchestrator_tools`, `integrations::composio`: consume prompt types (`PromptContext`, `PromptSection`, `ToolCallFormat`, `ConnectedIntegration`, …) via `agent::prompts`.diff --git a/crates/openhuman-core/src/agent/progress_tracing/README.md b/crates/openhuman-core/src/agent/progress_tracing/README.mdindex 655bfc3c6a..b0fff0d2e4 100644--- a/crates/openhuman-core/src/agent/progress_tracing/README.md+++ b/crates/openhuman-core/src/agent/progress_tracing/README.md@@ -57,10 +57,11 @@ Tests live in this directory as `*_tests.rs` files, e.g.`spans_from_observations` over the run journal, then calls`export_run_trace_from_journal` (journal available) or `export_run_trace`.-[`flows/tinyflows/langfuse_export.rs`](../../flows/tinyflows/langfuse_export.rs) is the separate flow-run exporter. It-builds the graph trace with `tinyagents_graph::GraphLangfuseExporter` and sends-it to the same OTLP proxy route as Langfuse v4 spans-(`build_otlp_requests`), so no trace goes to the legacy batch path.+[`flow_export.rs`](./flow_export.rs) owns the graph trace exporter and sends it+through the same authenticated OTLP JSON transport as agent spans. The legacy+flow-run adapter in [`flows/ops/execution.rs`](../../flows/ops/execution.rs)+reads the TinyFlows observation journal, converts it to `GraphObservation`, and+calls that exporter.## Related docsdiff --git a/crates/openhuman-core/src/agent/prompts/README.md b/crates/openhuman-core/src/agent/prompts/README.mdindex 17ff2e6d21..795227ff17 100644--- a/crates/openhuman-core/src/agent/prompts/README.md+++ b/crates/openhuman-core/src/agent/prompts/README.md@@ -88,8 +88,8 @@ Other domains contribute prompt content without living in this directory:session-scoped bytes land at the tail of the prompt.Built-in archetype system prompts (orchestrator, planner, image_agent,-and so on) live in `agent/registry/agents/<name>/prompt.rs` and-`flows/agents/{flow_discovery,workflow_builder}/prompt.rs`, not here. Each is a+and so on), including the flow builtins, live in+`agent/registry/agents/<name>/prompt.rs`, not here. Each is a`PromptSource::Dynamic` function that hand-assembles its body via the`render_*` helpers; [`agent/session_host/builder/factory.rs`](../session_host/builder/factory.rs) wraps it with`SystemPromptBuilder::from_dynamic`.diff --git a/crates/openhuman-core/src/agent/registry/README.md b/crates/openhuman-core/src/agent/registry/README.mdindex b722a7fe16..3765546555 100644--- a/crates/openhuman-core/src/agent/registry/README.md+++ b/crates/openhuman-core/src/agent/registry/README.md@@ -77,7 +77,7 @@ subagent ids are tolerated here as a separate integrity concern).`BUILTINS` is also the registration point for archetypes that live withother domains: `skill_setup`([`skills/catalog/agent/`](../../skills/catalog/agent/), feature `skills`), and-`workflow_builder` and `flow_discovery` ([`flows/agents/`](../../flows/agents/), feature `flows`).+`workflow_builder` and `flow_discovery` ([`agents/`](./agents/), feature `flows`).Workspace-level overrides (`<workspace_dir>/agents/*.toml`, with a`~/.openhuman/agents/` fallback) are loaded separately by`tinyagents_definition::DefinitionSet::load_dirs` and replace built-ins on id collision;diff --git a/crates/openhuman-core/src/flows/tinyflows/README.md b/crates/openhuman-core/src/flows/tinyflows/README.mdindex 29624797e2..51c6b88151 100644--- a/crates/openhuman-core/src/flows/tinyflows/README.md+++ b/crates/openhuman-core/src/flows/tinyflows/README.md@@ -76,9 +76,10 @@ security model); this README covers only the host seam.steps 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`](./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.+- [`../ops/execution.rs`](../ops/execution.rs): after a run settles, reads the+ durable TinyFlows observation journal, adapts it to the bus-owned graph+ observation type, and calls the generic exporter in+ [`../../agent/progress_tracing/flow_export.rs`](../../agent/progress_tracing/flow_export.rs).## Security model@@ -99,7 +100,7 @@ new origin wrapper.`crates/openhuman-core/src/flows/ops*.rs` calls `build_capabilities` and`open_flow_checkpointer` to run or resume a flow, and-`langfuse_export::export_flow_run_trace` once a run settles.+the flow-run adapter in `ops/execution.rs` once a run settles.## Tests