← All agents

Media & content · One purpose, multiple implementations

Receive MQTT message from IKEA 5-button Switch, and route actions.

Adapt the published “Receive MQTT message from IKEA 5-button Switch, and route actions.” workflow to other implementations while preserving its documented behavior.

The source contains 24 executable nodes and 27 connections. This draft is derived from the n8n export; it needs a human-reviewed purpose, input/output contract, and behavioral tests before a port can claim equivalence.

Open agent files on GitHub ↗

Shared workflow

This initial Mermaid diagram shows observed connections from the n8n source, including model and tool dependencies. Unresolved connections are listed under Evidence. It is a starting point for the shared design; it does not execute the agent or establish correctness.

Rendering the workflow diagram…

Read the Mermaid source
flowchart LR
  n0["Spotify Next"]
  n1["Spotify Resume"]
  n2["Spotify Pause"]
  n3["Spotify API - Volume up 5pct"]
  n4["Spotify API - Volume down 5pct"]
  n5["Spotify API - Get Available Devices"]
  n6["Extract Individual Devices"]
  n7["Select Device by Name to get device_id"]
  n8["Custom Function 1 - P1"]
  n9["Custom Function 2 - P2"]
  n10["Custom Function 1 - P3"]
  n11["Spotify API - Activate Target Playback Device"]
  n12["Route to Requested Function"]
  n13["Custom Function 2 - P1"]
  n14["Filter"]
  n15["Globals"]
  n16["Custom Function 2 - P3"]
  n17["Oops. How was this reached#63;"]
  n18["Spotify API - Get Device Status"]
  n19["Already playing on Target Device#63;"]
  n20["Is Playing#63;"]
  n21["Spotify Prev"]
  n22["MQTT Trigger - Remote Switch"]
  n23["Remote Action -#62; Function Router"]
  n14 -->|"main out 0 to in 0"| n16
  n15 -->|"main out 0 to in 0"| n23
  n20 -->|"main out 0 to in 0"| n2
  n20 -->|"main out 1 to in 0"| n1
  n8 -->|"main out 0 to in 0"| n9
  n13 -->|"main out 0 to in 0"| n14
  n9 -->|"main out 0 to in 0"| n10
  n6 -->|"main out 0 to in 0"| n7
  n12 -->|"main out 0 to in 0"| n3
  n12 -->|"main out 1 to in 0"| n4
  n12 -->|"main out 2 to in 0"| n20
  n12 -->|"main out 3 to in 0"| n8
  n12 -->|"main out 4 to in 0"| n13
  n12 -->|"main out 5 to in 0"| n17
  n18 -->|"main out 0 to in 0"| n19
  n23 -->|"main out 0 to in 0"| n21
  n23 -->|"main out 1 to in 0"| n0
  n23 -->|"main out 2 to in 0"| n18
  n23 -->|"main out 3 to in 0"| n18
  n23 -->|"main out 4 to in 0"| n18
  n23 -->|"main out 5 to in 0"| n18
  n23 -->|"main out 6 to in 0"| n18
  n19 -->|"main out 0 to in 0"| n12
  n19 -->|"main out 1 to in 0"| n5
  n5 -->|"main out 0 to in 0"| n6
  n7 -->|"main out 0 to in 0"| n11
  n11 -->|"main out 0 to in 0"| n12
Read the specification and unresolved requirements ↗

Implementations

Each implementation shares the agent’s purpose. Available source, planned ports, and verified results are labeled separately.

Plain Python

Planned · no code yet

Read the implementation plan ↗

Pydantic AI

Planned · no code yet

Read the implementation plan ↗

CrewAI Flow

Planned · no code yet

Read the implementation plan ↗

CrewAI Crew

Planned · no code yet

Read the implementation plan ↗

LangGraph

Planned · no code yet

Read the implementation plan ↗

Build or operate with an assistant

Each prompt includes separate build and operating instructions tailored to this agent. They are untested instructions, not working implementations. Check the chosen product’s actual capabilities before using it.

Evidence and remaining work

The bulk collection has publication checks, not live-service testing. Diagrams and prompts are documentation. A port needs reviewed schemas, fixtures, actual execution results, and explicit limits before claiming equivalent behavior.

  • Unresolved connection: MQTT Trigger - Ikea Remote Switch -> Globals
  • Define input/output schemas and expected outputs.
  • Review source expressions, external actions, and failure behavior.
  • Determine whether model judgment is required or deterministic rules suffice.

Curated by Nik Bear Brown. Preserve each implementation’s original attribution and license. These source templates are separate from the audited Claude directory.