← All agents

Automation & utilities · One purpose, multiple implementations

Prevent concurrent workflow runs using Redis

Adapt the published “Prevent concurrent workflow runs using Redis” workflow to other implementations while preserving its documented behavior.

The source contains 31 executable nodes and 24 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["When Executed by Another Workflow"]
  n1["Switch"]
  n2["When clicking #8216;Test workflow#8217;"]
  n3["If2"]
  n4["Is Workflow Active"]
  n5["Set Workflow Active"]
  n6["Set Workflow Finished"]
  n7["Get Key"]
  n8["Set Key"]
  n9["UnSet Key"]
  n10["Set Timeout"]
  n11["set continue"]
  n12["If"]
  n13["Is Workflow Active1"]
  n14["Stop and Error"]
  n15["No Operation, do nothing"]
  n16["Set Workflow Active1"]
  n17["Set Workflow Finished1"]
  n18["Wait"]
  n19["If1"]
  n20["Is Workflow Active2"]
  n21["Stop and Error1"]
  n22["Set Workflow Finished2"]
  n23["Wait1"]
  n24["Wait2"]
  n25["Wait3"]
  n26["Set Workflow #34;started#34;"]
  n27["Set Workflow #34;finishing#34;"]
  n28["Set Workflow #34;loading#34;"]
  n29["Is Workflow Active3"]
  n30["Switch1"]
  n12 -->|"main out 0 to in 0"| n16
  n12 -->|"main out 1 to in 0"| n14
  n19 -->|"main out 0 to in 0"| n26
  n19 -->|"main out 1 to in 0"| n21
  n18 -->|"main out 0 to in 0"| n17
  n23 -->|"main out 0 to in 0"| n28
  n24 -->|"main out 0 to in 0"| n27
  n25 -->|"main out 0 to in 0"| n22
  n1 -->|"main out 0 to in 0"| n7
  n1 -->|"main out 1 to in 0"| n8
  n1 -->|"main out 2 to in 0"| n9
  n8 -->|"main out 0 to in 0"| n11
  n9 -->|"main out 0 to in 0"| n11
  n10 -->|"main out 0 to in 0"| n1
  n4 -->|"main out 0 to in 0"| n3
  n13 -->|"main out 0 to in 0"| n12
  n20 -->|"main out 0 to in 0"| n19
  n29 -->|"main out 0 to in 0"| n30
  n16 -->|"main out 0 to in 0"| n15
  n28 -->|"main out 0 to in 0"| n24
  n26 -->|"main out 0 to in 0"| n23
  n15 -->|"main out 0 to in 0"| n18
  n27 -->|"main out 0 to in 0"| n25
  n0 -->|"main out 0 to in 0"| n10
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.

  • 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.