LangChain Framework Overview
LangChain is an open-source framework designed to simplify the creation of applications powered by Large Language Models (LLMs). It offers a pre-built agent architecture and integrates with various models and tools, including OpenAI, Anthropic, and Google. LangChain allows users to quickly develop agents and autonomous applications, often with less than 10 lines of code. For more advanced needs requiring deterministic and agentic workflows, customization, and controlled latency, LangGraph, a low-level agent orchestration framework, is recommended. LangChain agents are built upon LangGraph, providing features like durable execution, streaming, human-in-the-loop capabilities, and persistence. The framework also includes features like structured output parsing to process LLM responses into defined formats, such as JSON. [js.langchain.com](https://js.langchain.com/v0.1/docs/modules/model_io/output_parsers/quick_start/)