Skip to main content

vnrobo-agent

PyPI version Python License: MIT Tests

Lightweight Python agent that sends robot telemetry to VnRobo Fleet Monitor — the open fleet monitoring dashboard for robotics teams.

from vnrobo_agent import VnRoboAgent

agent = VnRoboAgent(api_key="your-key", robot_id="robot-01")
agent.start()  # sends heartbeat every 60s in background

Install

pip install vnrobo-agent

Requires Python 3.8+. No dependencies beyond requests.

Quick Start

from vnrobo_agent import VnRoboAgent

agent = VnRoboAgent(
    api_key="your-key",   # or set VNROBO_API_KEY env var
    robot_id="robot-01",  # or set VNROBO_ROBOT_ID env var
    interval=30,          # heartbeat every 30s (default: 60)
)
agent.start()

# ... your robot code runs here ...

agent.stop()

Get your free API key at app.vnrobo.com — free for up to 3 robots.

Send Rich Telemetry

agent.send_heartbeat(
    status="busy",                               # online | idle | busy | error | offline
    battery=72.5,                                # battery % 0-100
    location={"lat": 21.0285, "lng": 105.8542}, # GPS or indoor coords
    metadata={"task": "picking", "payload_kg": 3.2},
)

ROS 2 Integration

# Zero-config ROS 2 monitoring (no code required):
# See github.com/VnRobo/ros2-fleet-bridge

# Or use the included example node:
ros2 run your_package vnrobo_heartbeat \
    --ros-args -p api_key:=YOUR_KEY -p robot_id:=my_robot

Full example: examples/ros2_heartbeat.py

Isaac Lab / RL Training

Track training robots in real-time on the dashboard:

agent = VnRoboAgent(api_key=os.environ["VNROBO_KEY"], robot_id="go2-train-01")

# In your training loop:
agent.send_heartbeat(
    status="training",
    metadata={"episode": ep, "reward": float(mean_reward), "step": total_steps},
)

CLI

# Test connectivity
vnrobo-agent ping --api-key YOUR_KEY --robot-id robot-01

# Run as daemon
vnrobo-agent start --api-key YOUR_KEY --robot-id robot-01 --interval 30

# Or via environment variables
export VNROBO_API_KEY=your-key
export VNROBO_ROBOT_ID=robot-01
vnrobo-agent start

Compatibility

Platform Support
ROS 2 (Humble / Iron / Jazzy) ✅
Isaac Lab / Isaac Sim ✅
Unitree SDK (Go2, G1, H1) ✅
MuJoCo / Gymnasium ✅
Bare Python / embedded ✅

Contributing

git clone https://github.com/VnRobo/vnrobo-agent
cd vnrobo-agent
pip install -e .

Issues and PRs welcome.

License

MIT — see LICENSE.


Monitor your robots for free → app.vnrobo.com

Metadata

Release files for vnrobo-agent 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vnrobo-agent 0.1.0
File Size Uploaded Provenance Actions
vnrobo_agent-0.1.0.tar.gz 6.5 kB With provenance Details for vnrobo_agent-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for vnrobo-agent 0.1.0
File Interpreter ABI Platform Actions
vnrobo_agent-0.1.0-py3-none-any.whl Python 3 none any Details for vnrobo_agent-0.1.0-py3-none-any.whl

Total release size: 13.6 kB

Release files / vnrobo_agent-0.1.0.tar.gz

Download URL vnrobo_agent-0.1.0.tar.gz
Size 6.5 kB
Tags Source
SHA-256 checksum
How to use checksums
cfce1f8ad5a20f28c75e82d299dc39431dc28d67d9bc1d733f80edba72cfe538
BLAKE2b-256 checksum
How to use checksums
cb5b9424bf33ff36fb2d11cae89a4423c2b906a23c3792abe549c5136c1e521d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 21, 2026.

Transparency log

Release files / vnrobo_agent-0.1.0-py3-none-any.whl

Download URL vnrobo_agent-0.1.0-py3-none-any.whl
Size 7.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c5f143dc5cdc4f6a1d00a3ecfd58e6422e0193fcb40e42ba41c1b2201d417364
BLAKE2b-256 checksum
How to use checksums
ffe065930c708631e6c96a209a4d07d434acc1c2445f8cc23b16696192df9c21
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 21, 2026.

Transparency log

Security for vnrobo-agent 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for vnrobo_agent-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 21, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page