← All agents

AI & research · One purpose, multiple implementations

LLM Chaining examples

Adapt the published “LLM Chaining examples” workflow to other implementations while preserving its documented behavior.

The source contains 31 executable nodes and 31 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 clicking #8216;Test workflow#8217;"]
  n1["HTTP Request"]
  n2["Markdown"]
  n3["Anthropic Chat Model"]
  n4["Anthropic Chat Model1"]
  n5["Anthropic Chat Model2"]
  n6["Anthropic Chat Model3"]
  n7["Merge"]
  n8["Simple Memory"]
  n9["Clean memory"]
  n10["Initial prompts"]
  n11["Split Out"]
  n12["Reshape"]
  n13["Anthropic Chat Model4"]
  n14["Merge2"]
  n15["Basic LLM Chain4"]
  n16["Split Out1"]
  n17["Anthropic Chat Model5"]
  n18["Webhook"]
  n19["CONNECT ME"]
  n20["CONNECT ME1"]
  n21["CONNECT ME2"]
  n22["Initial prompts1"]
  n23["LLM Chain - Step 1"]
  n24["LLM Chain - Step 2"]
  n25["LLM Chain - Step 3"]
  n26["LLM Chain - Step 4"]
  n27["All LLM steps here - sequentially"]
  n28["LLM steps - parallel"]
  n29["Merge output with initial prompts"]
  n30["Merge output with initial prompts1"]
  n7 -->|"main out 0 to in 0"| n27
  n7 -->|"main out 0 to in 0"| n30
  n14 -->|"main out 0 to in 0"| n28
  n14 -->|"main out 0 to in 0"| n29
  n12 -->|"main out 0 to in 0"| n11
  n18 -->|"main out 0 to in 0"| n15
  n11 -->|"main out 0 to in 1"| n7
  n19 -->|"main out 0 to in 0"| n23
  n16 -->|"main out 0 to in 1"| n14
  n20 -->|"main out 0 to in 0"| n9
  n20 -->|"main out 0 to in 0"| n7
  n21 -->|"main out 0 to in 0"| n22
  n21 -->|"main out 0 to in 0"| n14
  n9 -->|"main out 0 to in 0"| n10
  n1 -->|"main out 0 to in 0"| n2
  n8 -->|"ai_memory out 0 to in 0"| n27
  n8 -->|"ai_memory out 0 to in 0"| n9
  n10 -->|"main out 0 to in 0"| n12
  n22 -->|"main out 0 to in 0"| n16
  n23 -->|"main out 0 to in 0"| n24
  n24 -->|"main out 0 to in 0"| n25
  n25 -->|"main out 0 to in 0"| n26
  n3 -->|"ai_languageModel out 0 to in 0"| n23
  n28 -->|"main out 0 to in 1"| n29
  n4 -->|"ai_languageModel out 0 to in 0"| n24
  n5 -->|"ai_languageModel out 0 to in 0"| n25
  n6 -->|"ai_languageModel out 0 to in 0"| n26
  n13 -->|"ai_languageModel out 0 to in 0"| n27
  n17 -->|"ai_languageModel out 0 to in 0"| n15
  n27 -->|"main out 0 to in 1"| n30
  n0 -->|"main out 0 to in 0"| n1
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.