Logo

Reference Implementations

Reference Implementations

A comprehensive guide to official templates, prebuilt agents, community projects, and real-world implementations


Table of Contents

Official Templates

LangChain maintains official starter templates for common use cases, available in both Python and JavaScript:

Core Templates

TemplatePurposePython RepositoryJavaScript RepositoryKey Features
New LangGraph ProjectBasic chatbot with memorynew-langgraph-projectnew-langgraphjs-projectSimple conversation, checkpointing
ReAct AgentTool-using agent frameworkreact-agentreact-agent-jsReasoning + Acting pattern
Memory AgentCross-thread memory persistencememory-agentmemory-agent-jsLong-term user memory
Retrieval AgentKnowledge-based QA systemretrieval-agent-templateretrieval-agent-template-jsRAG + agent reasoning
Data Enrichment AgentWeb search & data organizationdata-enrichmentdata-enrichment-jsStructured data gathering

Template Installation

# Install LangGraph CLI
pip install "langgraph-cli[inmem]" --upgrade

# Create new project from template
langgraph new

Prebuilt Agents

LangGraph 0.3 introduced prebuilt agents for common patterns:

Official Prebuilt Agents

AgentPurposePython PackageJavaScript PackageKey Features
Computer Use AgentAutomate computer interactionslanggraph-cua-pylanggraph-cuaScreen interaction, task automation
Swarm AgentMulti-agent coordinationlanggraph-swarm-pylanggraph-swarmDynamic agent handoffs
Supervisor AgentHierarchical multi-agentlanggraph-supervisor-pylanggraph-supervisorCentral coordination
MCP AdaptersModel Context Protocollangchain-mcp-adaptersMCP tool integration
LangMemLearning & adaptationlangmemAgent memory evolution
CodeActCode generation + executionlanggraph-codeactAdvanced function calling
ReflectionSelf-review capabilitieslanggraph-reflectionQuality improvement loops
BigToolLarge tool managementlanggraph-bigtoolMassive tool orchestration

Official Examples

Tutorial Implementations

ExampleFocusDocumentationRepository Location
Agentic RAGRetrieval + reasoningTutorialNotebook
SQL AgentDatabase interactionTutorialCode Examples
Multi-Agent SupervisorAgent coordinationTutorialExamples
Human-in-the-LoopInteractive workflowsTutorialHow-tos
Custom AuthenticationSecurity patternsTutorialAuth Examples

Production Example Applications

ApplicationPurposeRepositoryKey Features
ChatLangChainDocumentation assistantGitHubRAG, semantic search, GenUI
OpenGPTsGPT alternative platformGitHub60+ LLM providers, PostgreSQL
LangGraph UI ExamplesGenerative UI showcaseExamplesReact integration, custom components
Agent InboxAgent interaction hubTemplatesReal-time communication, interrupts

Community Projects

Community Agents & Libraries

ProjectPurposeRepositoryStarsFeatures
TrustCallTenacious tool callingGitHub766+Robust tool execution
DelveTaxonomy generationAwesome LangGraph-Unstructured data processing
NodeologyScientific workflowsAwesome LangGraph-Research automation
Breeze AgentResearch systemAwesome LangGraph-STORM-inspired research

AI Assistants & Applications

ProjectTypeRepositoryDescription
LlamaBotWeb developmentAwesome LangGraphHTML/CSS/JS coding agent
DeerFlowResearch frameworkAwesome LangGraphCommunity-driven deep research
LangGraph Agent TemplateProduction boilerplateGitHubDockerized infrastructure

Development Tools

ToolPurposeRepositoryFeatures
LangGraph BuilderVisual designOfficial ToolsCognitive architecture canvas
LangGraph GeneratorCode generationOfficial ToolsYAML to code conversion
LangGraph StudioIDE & debuggingGitHubVisual graph debugging

Production Implementations

Verified Production Users

CompanyUse CaseImplementation Details
LinkedInInternal toolingMulti-agent workflows for professional networking
UberCustomer supportAgent-based support ticket routing and resolution
ReplitCode assistanceDevelopment environment integration
ElasticThreat detectionSecurity orchestration and automated response
KlarnaCustomer serviceFinancial services automation
AppFolioProperty managementRealm-X copilot for decision support

Architecture Patterns in Production

PatternCompaniesUse Cases
Supervisor ArchitectureLinkedIn, ElasticTask routing, security orchestration
Swarm PatternsUber, KlarnaDistributed problem solving
RAG + AgentsReplit, AppFolioKnowledge-augmented assistance

Research & Deep Dive Systems

Comprehensive Research Implementations

SystemRepositoryComplexityFocus Area
Open Deep ResearchGitHubHigh (117KB)Enterprise research workflows
Ollama Deep ResearchGitHubLow (21KB)Local privacy-focused research

Open Deep Research - Dual Implementation

Key Features:

  • Dual Architecture: Demonstrates both workflow-first and agent-first patterns
  • 8+ Search APIs: Tavily, Perplexity, ArXiv, PubMed, Google, DuckDuckGo, Exa, Linkup
  • Enterprise Features: Human-in-the-loop, quality grading, parallel processing
  • Production Ready: 3.5k stars, actively maintained

Ollama Deep Research - Simplicity Focus

Key Features:

  • Local Deployment: Complete privacy with Ollama integration
  • Minimal Dependencies: Single model, streamlined workflow
  • Fast Iteration: 3-loop research cycles with reflection
  • Community Favorite: 7.5k stars, beginner-friendly

Implementation Patterns Summary

By Complexity Level

LevelExamplesBest For
BeginnerNew Project, Basic ChatbotLearning, prototyping
IntermediateReAct Agent, Memory AgentProduction apps, specific domains
AdvancedMulti-Agent Supervisor, Open Deep ResearchEnterprise, complex workflows
ExpertCustom Architectures, Platform IntegrationSpecialized requirements

By Use Case

Use CaseRecommended ImplementationsKey Examples
Conversational AINew Project, Memory AgentChatLangChain, Basic templates
Tool-Using AgentsReAct Agent, Computer UseSQL Agent, Web search agents
Research & AnalysisData Enrichment, Deep ResearchOpen/Ollama Deep Research
Multi-Agent SystemsSupervisor, Swarm patternsProduction implementations
Knowledge ManagementRetrieval Agent, Agentic RAGDocumentation assistants

By Deployment Model

ModelExamplesCharacteristics
Local/PrivacyOllama Deep ResearchOn-premise, data control
Cloud/ScalableLangGraph PlatformManaged infrastructure
HybridSelf-hosted optionsCustom infrastructure

Sources and References

  1. LangGraph Official Documentation - Complete framework documentation
  2. LangGraph Templates - Official starter templates
  3. Awesome LangGraph - Community project index (766+ stars)
  4. LangGraph 0.3 Release - Prebuilt agents announcement
  5. Production Case Studies - Real-world implementations
  6. LangChain GitHub - Main repository with examples

This landscape represents the complete ecosystem of LangGraph implementations, from simple templates to complex production systems. Each category offers different entry points and scaling paths for various use cases and expertise levels.

© 2025 All rights reservedBuilt with DataHub Cloud

Built with LogoDataHub Cloud