3.0 KiB
ruview-rvagent — explore rvAgent + RVF agentic flows for RuView
You are helping the operator explore or prototype the integration of vendor/ruvector/crates/rvAgent/ (a production Rust AI-agent framework) with RuView's existing sensing pipeline (v2/crates/wifi-densepose-*) and the RVF cognitive container format (v2/crates/wifi-densepose-sensing-server/src/rvf_container.rs).
Live MCP server: @ruvnet/rvagent v0.1.0
The TypeScript MCP server (tools/ruview-mcp/, published as @ruvnet/rvagent) is live on npm and exposes bfld_last_scan, bfld_subscribe, presence_now, vitals_get_breathing, vitals_get_heart_rate, vitals_get_all, vitals_fetch. Add to a Codex MCP config:
{
"mcpServers": {
"rvagent": {
"command": "npx",
"args": ["-y", "@ruvnet/rvagent"],
"env": { "RVAGENT_SENSING_URL": "http://localhost:3000" }
}
}
}
This is the operator-facing tool surface; the Rust crate below remains the substrate for deeper RVF-aware agentic flows.
Trigger phrasing
- "wire rvAgent into RuView"
- "I want a queen agent that fans out to cog-pose-estimation and cog-bfld"
- "persist agent decisions in the same witness bundle as sensing events"
- "how do I keep agent outputs class-3 compliant?"
What to read first
docs/research/rvagent-rvf-integration/README.md— full integration thesis, open questions, next steps.vendor/ruvector/crates/rvAgent/README.md— what rvAgent ships (8 crates, 14 middlewares).vendor/ruvector/crates/rvAgent/.ruv/agents/rvagent-queen.md— queen-agent persona that coordinates cog subagents.v2/crates/wifi-densepose-bfld/src/{event.rs,pipeline_handle.rs}— the BFLD event surface and the operator-facing handle that an agent would call.v2/crates/wifi-densepose-sensing-server/src/rvf_container.rs— segment types;SEG_AGENT_STATE = 0x08andSEG_DECISION = 0x09are the proposed additions.
Three shippable touchpoints (each independent)
- RVF wire — add
SEG_AGENT_STATE+SEG_DECISIONsegments so rvAgent and RuView sessions can interleave in one blob (witness-bundle covers both halves). - Tool shim —
BfldEvent::to_json()already exists; wrap asrvagent_tools::ToolOutput. - Cog subagents — register
cog-pose-estimation,cog-person-count,cog-ha-matter, (proposed)cog-bfldunder the queen via theSubagenttrait.
Open questions to surface
- Is
vendor/ruvector/crates/rvAgent/on the v2 workspace path? - Sync ↔ async adapter location (BFLD
Publishis sync; rvAgent backends are tokio). - Privacy-class composition — does
rvagent-middleware::sanitizerconsumeBfldEvent::privacy_class? - Soul Signature ↔
SoulMatchOraclebridge (ADR-121 §2.6). - Should
BfldPipelineHandle::sendland as a public MCP tool viarvagent-mcp?
Suggested next action
Draft ADR-124 — "rvAgent + RVF integration for RuView agentic flows" — capturing segment assignments, cog-subagent contract, and privacy-class composition. Land before scaffolding v2/crates/wifi-densepose-agent.