AI & research · One purpose, multiple implementations
RAG
Adapt the published “RAG” workflow to other implementations while preserving its documented behavior.
The source contains 19 executable nodes and 17 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["OpenAI Chat Model"] n1["Default Data Loader"] n2["Retrieve Documents"] n3["Download File"] n4["File Created"] n5["File Updated"] n6["Postgres Chat Memory"] n7["Recursive Character Text Splitter"] n8["Delete Old Doc Rows"] n9["Set File ID"] n10["When chat message received"] n11["RAG AI Agent"] n12["Supabase Vector Store"] n13["Insert into Supabase Vectorstore"] n14["Embeddings Google Gemini"] n15["Code"] n16["Embeddings Google Gemini1"] n17["Google Gemini Chat Model"] n18["Extract from File"] n0 -->|"ai_languageModel out 0 to in 0"| n11 n1 -->|"ai_document out 0 to in 0"| n13 n2 -->|"ai_tool out 0 to in 0"| n11 n3 -->|"main out 0 to in 0"| n18 n4 -->|"main out 0 to in 0"| n9 n5 -->|"main out 0 to in 0"| n9 n6 -->|"ai_memory out 0 to in 0"| n11 n7 -->|"ai_textSplitter out 0 to in 0"| n1 n8 -->|"main out 0 to in 0"| n3 n9 -->|"main out 0 to in 0"| n8 n10 -->|"main out 0 to in 0"| n11 n12 -->|"ai_vectorStore out 0 to in 0"| n2 n14 -->|"ai_embedding out 0 to in 0"| n13 n15 -->|"main out 0 to in 0"| n13 n16 -->|"ai_embedding out 0 to in 0"| n12 n17 -->|"ai_languageModel out 0 to in 0"| n2 n18 -->|"main out 0 to in 0"| n15
Implementations
Each implementation shares the agent’s purpose. Available source, planned ports, and verified results are labeled separately.
n8n
Source available · not runtime-tested
Read setup and source ↗Inspect the n8n canvas and download JSON →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.