Add CardioPulse — live cardiovascular fitness-test agent (BLE + ASI:One)#153
Open
ishneet42 wants to merge 3 commits into
Open
Add CardioPulse — live cardiovascular fitness-test agent (BLE + ASI:One)#153ishneet42 wants to merge 3 commits into
ishneet42 wants to merge 3 commits into
Conversation
A two-agent example under contributors/cardiopulse-agent/ that streams a Garmin watch's heart rate over BLE and runs a three-phase autonomic test (resting baseline, orthostatic, paced breathing) through ASI:One, returning an estimated Cardio Fitness Age with reference ranges, an inline HR chart, and an ASI-1 coaching summary. A local bridge agent reads the watch over BLE and POSTs readings to the mailbox-registered main agent. Proof of concept for a live, stream-driven agent — not a medical device.
mypy inferred the mixed-value _stats dict as dict[str, object], making the counter increments and comparison invalid. Split the int counters from the last-error string into separate, single-typed containers.
gautammanak1
approved these changes
Jun 16, 2026
Collaborator
|
No description provided. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds CardioPulse under
contributors/cardiopulse-agent/— a live, stream-driven agent that reads a Garmin watch's heart rate over Bluetooth and runs a timed three-phase autonomic test (resting baseline → orthostatic → paced breathing) entirely through an ASI:One chat. It returns an estimated Cardio Fitness Age with reference ranges, an inline HR-timeline chart, and an ASI-1 coaching summary; repeated runs build a per-user trend.Two-agent design: a local bridge agent subscribes to the watch's BLE Heart Rate characteristic (Bleak) and POSTs each reading to the main agent, which is registered on Agentverse via mailbox and reachable through ASI:One.
Type of Change
Checklist
contributors/<agent-name>/(not repo root).ruff check ..ruff format ..README.mdfor changed example(s)..env.exampleif environment variables are required.AGENT_SEED; the README documents how to deploy via mailbox.)contributors/CHANGELOG.mdfor community agent changes.README.md.review-requiredCI).Related Issue
None.
Notes for Reviewers
test_scoring.pyexercises the scoring engine end-to-end with synthetic HR data and runs with no watch (python test_scoring.py)..env.exampledocuments all configuration.