Skip to content

Commit f44a764

Browse files
Merge pull request #3211 from madeline-underwood/device
Device
2 parents 1dc4c20 + 37def00 commit f44a764

5 files changed

Lines changed: 11 additions & 15 deletions

File tree

content/learning-paths/embedded-and-microcontrollers/device-connect-d2d/_index.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@ title: Device-to-Device communication with Device Connect
33

44
minutes_to_complete: 25
55

6-
draft: true
7-
cascade:
8-
draft: true
96

107
who_is_this_for: This is an introductory topic for developers wiring up heterogeneous edge fleets, where devices need a shared way to find each other and a shared way to be controlled by agents. Device Connect provides this communication protocol between agents and devices, and standardizes how devices from different vendors advertise themselves and exchange structured messages, so both peer devices and AI agents can discover and invoke them through the same driver model. You'll use it to stand up peer-to-peer communication between two devices, with no broker or cloud service in between.
118

content/learning-paths/embedded-and-microcontrollers/device-connect-strands/_index.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
11
---
22
title: Connect AI agents to edge devices using Device Connect and Strands
3-
4-
draft: true
5-
cascade:
6-
draft: true
7-
3+
description: Learn how to connect AI agents to Arm-based edge devices using Device Connect for structured device access and Strands for agent orchestration, with examples for both simulated and physical robots.
84
minutes_to_complete: 30
95

106
who_is_this_for: This is an introductory topic for software developers who want to connect AI agents to edge devices. You'll use Device Connect, Arm's platform for structured device access, and Strands, AWS's open-source agent SDK. The examples cover both physical and simulated devices.
117

8+
129
learning_objectives:
1310
- Understand how Device Connect and Strands work together to give AI agents structured access to Arm-based edge devices
1411
- Set up a Python environment with the Device Connect SDK and agent tools installed from source

content/learning-paths/embedded-and-microcontrollers/device-connect-strands/run-example.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
---
2-
title: Run the example end to end
2+
title: Run device discovery and agent control examples
33
weight: 4
44

55
# FIXED, DO NOT MODIFY
66
layout: learningpathall
77
---
88

9-
## Overview
9+
## Run device-to-device discovery and control
1010

11-
This section runs Device Connect's device-to-device discovery. There are two ways to walk through this setup. Optionally, you can connect an external device.
11+
This section demonstrates Device Connect's device-to-device discovery. There are two ways to walk through this setup. Optionally, you can connect an external device.
1212

1313
### Option 1: run on a single machine
1414

@@ -64,7 +64,7 @@ Two things happen when this script runs.
6464

6565
![Sequence diagram showing the call flow when r.run() executes: the script calls Robot() and DeviceRuntime, which announces presence to the Zenoh mesh, subscribes to the command topic, registers RPC handlers, and starts emitting stateUpdate events at 10 Hz#center](./images/visual2.png "Call flow inside r.run(): device registration and event publishing over Zenoh")
6666

67-
You should see INFO-level log output similar to:
67+
The output is similar to:
6868

6969
```output
7070
device_connect_sdk.device.so100-abc123 - INFO - Using ZENOH messaging backend

content/learning-paths/embedded-and-microcontrollers/device-connect-strands/run-infra-example.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,9 @@ r.run()
108108
PY
109109
```
110110

111-
Because `ZENOH_CONNECT` points at your host, the SDK routes traffic through the Device Connect router instead of using local network discovery. The robot registers with the persistent registry and you should see output similar to:
111+
Because `ZENOH_CONNECT` points at your host, the SDK routes traffic through the Device Connect router instead of using local network discovery. The robot registers with the persistent registry.
112+
113+
The output is similar to:
112114

113115
```output
114116
INFO:strands_robots.mesh:Zenoh session started

content/learning-paths/embedded-and-microcontrollers/device-connect-strands/setup.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Set up the developer environment
2+
title: Set up the Device Connect and Strands developer environment
33
weight: 3
44

55
# FIXED, DO NOT MODIFY
@@ -38,7 +38,7 @@ source .venv/bin/activate
3838

3939
The `strands-robots` SDK uses Device Connect's built-in device-to-device discovery: every `Robot()` instance announces itself on the local network at startup, and any process running `discover_devices()` or `robot_mesh(action='peers')` on the same network segment will find it automatically.
4040

41-
This means discovery works as long as the device process and the agent process are on the same LAN or on the same machine. Discovery is typically available on home and office networks. If you are behind a firewall or VPN that blocks local network traffic, devices will not discover each other - that scenario requires the infrastructure-backed setup with a Zenoh router, which is covered later in this Learning Path.
41+
This means discovery works as long as the device process and the agent process are on the same LAN or on the same machine. Discovery is typically available on home and office networks. If you're behind a firewall or VPN that blocks local network traffic, devices won't discover each other - that scenario requires the infrastructure-backed setup with a Zenoh router, which is covered later in this Learning Path.
4242

4343
## What you've set up and what's next
4444

0 commit comments

Comments
 (0)