← All agents

AI & research · One purpose, multiple implementations

Contradiction_detection_agent

Adapt the published “Contradiction_detection_agent” workflow to other implementations while preserving its documented behavior.

The source contains 26 executable nodes and 26 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["Manual Trigger"]
  n1["Set Company Input"]
  n2["DB: Fetch Earnings Guidance Signals"]
  n3["DB: Fetch Risk Admissions"]
  n4["DB: Fetch QA Pressure Map"]
  n5["DB: Fetch News Signals"]
  n6["DB: Fetch Tech Stack Signals"]
  n7["Aggregate All Signals"]
  n8["Run Pattern Detection Engine"]
  n9["Build Groq Prompt"]
  n10["LLM Needed#63;"]
  n11["Groq: Analyse Contradictions"]
  n12["Process Groq Response"]
  n13["No-Flag Passthrough"]
  n14["DB: Insert Contradiction Report"]
  n15["Fan Out Flags"]
  n16["DB: Insert Contradiction Flag"]
  n17["Build Final Report"]
  n18["Execute a SQL query"]
  n19["Execute a SQL query1"]
  n20["Execute a SQL query2"]
  n21["Execute a SQL query3"]
  n22["HTTP Request"]
  n23["Process News Response"]
  n24["DB: Save News Signals"]
  n25["Merge"]
  n0 -->|"main out 0 to in 0"| n1
  n1 -->|"main out 0 to in 0"| n22
  n1 -->|"main out 0 to in 0"| n2
  n1 -->|"main out 0 to in 0"| n6
  n1 -->|"main out 0 to in 0"| n3
  n1 -->|"main out 0 to in 0"| n4
  n2 -->|"main out 0 to in 1"| n25
  n3 -->|"main out 0 to in 4"| n25
  n4 -->|"main out 0 to in 0"| n25
  n5 -->|"main out 0 to in 3"| n25
  n6 -->|"main out 0 to in 2"| n25
  n7 -->|"main out 0 to in 0"| n8
  n8 -->|"main out 0 to in 0"| n9
  n9 -->|"main out 0 to in 0"| n10
  n10 -->|"main out 0 to in 0"| n11
  n10 -->|"main out 1 to in 0"| n13
  n11 -->|"main out 0 to in 0"| n12
  n12 -->|"main out 0 to in 0"| n14
  n13 -->|"main out 0 to in 0"| n14
  n14 -->|"main out 0 to in 0"| n15
  n15 -->|"main out 0 to in 0"| n16
  n16 -->|"main out 0 to in 0"| n17
  n22 -->|"main out 0 to in 0"| n23
  n23 -->|"main out 0 to in 0"| n24
  n24 -->|"main out 0 to in 0"| n5
  n25 -->|"main out 0 to in 0"| n7
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.