Agent Error fix #21

Merged
benchinnery merged 2 commits from zfp-oss into main 2026-04-13 09:11:41 -04:00
Owner

Summary

Adds the RT-OSS Node Agent (agent.py / ria-agent CLI).

The agent runs on any machine with an SDR and connects outbound to a RIA Hub
instance — no inbound ports required. It handles:

  • Registration & heartbeat — registers on startup, sends a keep-alive every
    30 s, re-registers automatically if the hub loses state
  • Campaign dispatch — long-polls for run_campaign commands and executes
    them via the existing CampaignExecutor; uploads recordings via chunked POST
  • Inference — loads ONNX fingerprint/detector models on command, runs a
    continuous SDR capture loop, and pushes detection events to the hub for SSE
    fan-out to connected browsers
  • Config file support — credentials can be stored in
    ~/.config/ria-agent/config.json instead of being passed as CLI flags

Test plan

  • ria-agent --hub <url> --key <key> --name test --device mock — smoke test
    registration, heartbeat, and command polling against a running RIA Hub instance
  • poetry run flake8 src/ria_toolkit_oss/agent.py — lint clean
## Summary Adds the RT-OSS Node Agent (`agent.py` / `ria-agent` CLI). The agent runs on any machine with an SDR and connects outbound to a RIA Hub instance — no inbound ports required. It handles: - **Registration & heartbeat** — registers on startup, sends a keep-alive every 30 s, re-registers automatically if the hub loses state - **Campaign dispatch** — long-polls for `run_campaign` commands and executes them via the existing `CampaignExecutor`; uploads recordings via chunked POST - **Inference** — loads ONNX fingerprint/detector models on command, runs a continuous SDR capture loop, and pushes detection events to the hub for SSE fan-out to connected browsers - **Config file support** — credentials can be stored in `~/.config/ria-agent/config.json` instead of being passed as CLI flags ## Test plan - `ria-agent --hub <url> --key <key> --name test --device mock` — smoke test registration, heartbeat, and command polling against a running RIA Hub instance - `poetry run flake8 src/ria_toolkit_oss/agent.py` — lint clean
benchinnery added 1 commit 2026-04-10 16:41:43 -04:00
Agent Error fix
Some checks failed
Build Sphinx Docs Set / Build Docs (pull_request) Successful in 18s
Build Project / Build Project (3.10) (pull_request) Successful in 1m15s
Build Project / Build Project (3.11) (pull_request) Successful in 1m13s
Build Project / Build Project (3.12) (pull_request) Successful in 1m23s
Test with tox / Test with tox (3.11) (pull_request) Successful in 2m25s
Test with tox / Test with tox (3.12) (pull_request) Successful in 2m18s
Test with tox / Test with tox (3.10) (pull_request) Failing after 1m12s
54b9bd4fc8
benchinnery requested review from jonny 2026-04-13 09:09:11 -04:00
J jonny approved these changes 2026-04-13 09:10:38 -04:00
J jonny left a comment
Member

Looks great!

Looks great!
benchinnery added 1 commit 2026-04-13 09:11:11 -04:00
Merge branch 'main' into zfp-oss
Some checks failed
Test with tox / Test with tox (3.11) (pull_request) Successful in 10m40s
Build Project / Build Project (3.10) (pull_request) Successful in 10m54s
Test with tox / Test with tox (3.10) (pull_request) Failing after 10m53s
Build Sphinx Docs Set / Build Docs (pull_request) Successful in 11m4s
Build Project / Build Project (3.11) (pull_request) Successful in 11m31s
Build Project / Build Project (3.12) (pull_request) Successful in 11m32s
Test with tox / Test with tox (3.12) (pull_request) Successful in 2m26s
d81c61c3cf
benchinnery merged commit 5718e109b5 into main 2026-04-13 09:11:41 -04:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: qoherent/ria-toolkit-oss#21
No description provided.