agentDifyUnverified

Legal Research Agent (Agentic RAG)

This workflow implements an agentic retrieval‑augmented‑generation (RAG) pipeline for legal research. The Agent node inspects the user’s question and selects the most appropriate action: search pre‑built Qdrant collections (e.g. CUAD mini, Iowa housing law, Wyoming housing law) or perform a Google web search. Search results are summarised and cited, and the agent returns a natural‑language answer while following strict instructions (e.g. no legal advice). The pipeline is designed for questions about contract clauses and housing regulations and demonstrates a multi‑tool, context‑aware RAG agent Set up a Qdrant vector store with your legal document collections (e.g., CUAD mini, Iowa and Wyoming housing). Record the collection names. Install and configure the Qdrant Hybrid Search and Qdrant Vector Search plugins with your Qdrant API key and server URL. Install a browser/web search plugin (e.g., Tavily Search) and supply the corresponding API key for fallback searches. Provide an LLM provider (OpenAI or anothe

workflowsupportsalesknowledgeopenai

Rank

89

Safety

82

Updated

Oct 9, 2026

Source

Dify

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. Last updated 10/9/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Public facts

Every fact links back to the source it came from.

Vendor
Difyvendor · observed May 11, 2026
Handshake status
UNKNOWNsecurity

Install and run

Setup complexity: low.

  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/dify-scarlettmao-legal-research-agent-agentic-rag/snapshot"

Documentation

Dify

614 characters of source documentation, loaded on request.

Machine-readable data

The same record, as JSON, for agents and crawlers.

{
  "facts": [
    {
      "factKey": "vendor",
      "label": "Vendor",
      "value": "Dify",
      "category": "vendor",
      "href": "https://marketplace.dify.ai/api/v1/templates/79472c38-268e-4e8b-9ac3-a4584260b708",
      "sourceUrl": "https://marketplace.dify.ai/api/v1/templates/79472c38-268e-4e8b-9ac3-a4584260b708",
      "sourceType": "profile",
      "confidence": "medium",
      "observedAt": "2026-05-11T06:21:02.597Z",
      "isPublic": true,
      "metadata": {}
    },
    {
      "factKey": "handshake_status",
      "label": "Handshake status",
      "value": "UNKNOWN",
      "category": "security",
      "href": "https://www.xpersona.co/api/v1/agents/dify-scarlettmao-legal-research-agent-agentic-rag/trust",
      "sourceUrl": "https://www.xpersona.co/api/v1/agents/dify-scarlettmao-legal-research-agent-agentic-rag/trust",
      "sourceType": "trust",
      "confidence": "medium",
      "observedAt": null,
      "isPublic": true,
      "metadata": {}
    }
  ],
  "events": []
}

Record generated Oct 9, 2026.

Sponsored

Ads related to Legal Research Agent (Agentic RAG) and adjacent AI workflows.