aws-solutions-library-samples

Guidance For Deploying AI Agents To Device Fleets Using AWS IoT Greengrass — DevOps skill for Claude Code

DevOps community

This Guidance demonstrates how to leverage AWS IoT Greengrass to deploy StrandsAgents with local Small Language Models (SLMs) at the edge, enabling robust agentic operations across distributed device.

How to install Guidance For Deploying AI Agents To Device Fleets Using AWS IoT Greengrass

This entry records only its repository, not the path inside it, so there is no exact command to give. Open aws-solutions-library-samples/guidance-for-deploying-ai-agents-to-device-fleets-using-aws-iot-greengrass and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Guidance For Deploying AI Agents To Device Fleets Using AWS IoT Greengrass does

This Guidance demonstrates how to leverage AWS IoT Greengrass to deploy StrandsAgents with local Small Language Models (SLMs) at the edge, enabling robust agentic operations across distributed device fleets.

Alternatives in DevOps

  • Skill Claw — OpenClaw instance administration — manage hosts across macOS, Ubuntu/Debian, Docker, OCI, and Proxmox 2.8k ★
  • WP CLI And Ops — WordPress CLI and operations management 902 ★
  • Video Podcast Maker — AI-powered video podcast creation skill for coding agents 529 ★

README

Guidance for Deploying AI Agents to Device Fleets Using AWS IoT Greengrass

Table of Contents

  1. Overview
  2. Prerequisites
  3. Deployment Steps
  4. Deployment Validation
  5. Running the Guidance
  6. Next Steps
  7. Cleanup
  8. FAQ, known issues, additional considerations, and limitations
  9. Notices

Overview

This Guidance demonstrates how to deploy AI agents to edge device fleets using AWS IoT Greengrass. It addresses the challenge of running intelligent, multi-agent systems at the edge where devices need to process queries locally using small language models (SLMs) while maintaining connectivity to AWS cloud services.

The solution uses StrandsAgents, a lightweight framework that enables multi-agent systems with local inference capabilities. An orchestrator agent intelligently routes queries to specialized sub-agents that can retrieve real-time data from industrial equipment via OPC-UA protocol and consult technical documentation to provide comprehensive responses. This architecture is ideal for industrial IoT scenarios where low-latency responses, offline operation capability, and data sovereignty are critical requirements.

Architecture

![Architecture Diagram](assets/StrandsAgentsGreengrass.png)

**Architecture Flow:**

  1. User queries are published to AWS IoT Core MQTT topics
  2. AWS IoT Greengrass component receives the query on the edge device
  3. The orchestrator agent analyzes the query and determines which specialized agents to invoke
  4. Sub-agents execute their tasks:
    • OPC-UA agent retrieves real-time equipment data from local industrial devices
    • Documentation agent searches technical manuals for relevant information
  5. Local Ollama inference engine processes agent requests usin