← All agents

AI & research · One purpose, multiple implementations

RAG with PDF as source

Adapt the published “RAG with PDF as source” workflow to other implementations while preserving its documented behavior.

The source contains 26 executable nodes and 21 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["Send message"]
  n1["Execute JavaScript"]
  n2["Recursive Character Text Splitter"]
  n3["Embeddings OpenAI"]
  n4["Default Data Loader"]
  n5["OpenAI Chat Model"]
  n6["Embeddings OpenAI2"]
  n7["Vector Store Retriever"]
  n8["Download PDF"]
  n9["PDFs to download"]
  n10["Read Pinecone Vector Store"]
  n11["Question and Answer Chain"]
  n12["Anthropic Chat Model"]
  n13["Get calendar availability"]
  n14["Appointment booking agent"]
  n15["Window Buffer Memory"]
  n16["Insert into Pinecone vector store"]
  n17["Book appointment"]
  n18["When chat message received"]
  n19["OpenAI Chat Model1"]
  n20["Add automation label"]
  n21["On new email to nathan#39;s inbox"]
  n22["Add music label"]
  n23["Assign label with AI"]
  n24["Webhook"]
  n25["Whether email contains n8n"]
  n24 -->|"main out 0 to in 0"| n25
  n8 -->|"main out 0 to in 0"| n16
  n17 -->|"ai_tool out 0 to in 0"| n14
  n9 -->|"main out 0 to in 0"| n8
  n3 -->|"ai_embedding out 0 to in 0"| n16
  n5 -->|"ai_languageModel out 0 to in 0"| n11
  n6 -->|"ai_embedding out 0 to in 0"| n10
  n19 -->|"ai_languageModel out 0 to in 0"| n23
  n4 -->|"ai_document out 0 to in 0"| n16
  n12 -->|"ai_languageModel out 0 to in 0"| n14
  n23 -->|"main out 0 to in 0"| n20
  n23 -->|"main out 1 to in 0"| n22
  n15 -->|"ai_memory out 0 to in 0"| n14
  n7 -->|"ai_retriever out 0 to in 0"| n11
  n13 -->|"ai_tool out 0 to in 0"| n14
  n10 -->|"ai_vectorStore out 0 to in 0"| n7
  n18 -->|"main out 0 to in 0"| n11
  n25 -->|"main out 0 to in 0"| n1
  n25 -->|"main out 0 to in 0"| n0
  n21 -->|"main out 0 to in 0"| n23
  n2 -->|"ai_textSplitter out 0 to in 0"| n4
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.