[PR #4784] Prebuild rag agent #4067

Closed
opened 2026-02-20 17:49:36 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/langchain-ai/langgraph/pull/4784

State: closed
Merged: No


Update:

  • Add a prebuilt RAG agent as the create_rag_agent function.

REASON:

  • CrewAI uses the default RAG component a lot, in many workflows. I like it. It speeds up the experimentations, decreases the cognitive load. It is the same as the ReAct agent.

CONS:

  • Compared with ReAct agent, the RAG agent has a heavyweight component, a vector store, which requires a separate initialization.

Discussion:
@eyurtsev Eugene, I did this PR only as a discussion. If you want to move with it, let me know, and I will proceed with these next steps:

  • add a notebook with examples;
  • ? What else?
**Original Pull Request:** https://github.com/langchain-ai/langgraph/pull/4784 **State:** closed **Merged:** No --- Update: - Add a prebuilt `RAG agent` as the `create_rag_agent` function. REASON: - `CrewAI` uses the **default** RAG component a lot, in many workflows. I like it. It speeds up the experimentations, decreases the cognitive load. It is the same as the `ReAct agent`. CONS: - Compared with `ReAct agent`, the `RAG agent` has a heavyweight component, a vector store, which requires a separate initialization. Discussion: @eyurtsev Eugene, I did this PR only as a discussion. If you want to move with it, let me know, and I will proceed with these next steps: - add a notebook with examples; - ? What else?
yindo added the pull-request label 2026-02-20 17:49:36 -05:00
yindo closed this issue 2026-02-20 17:49:36 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langgraph#4067