langchain
Package — LLM/AIPython 3.8+Advanced
Framework for LLM applications: chains, agents, retrieval
Quick Info
- Documentation
- Official Docs
- Python Version
- 3.8+
- Dependencies
- aiohttp, NumPy, PyYAML, requests, SQLAlchemy, tenacity, langchain-core, langsmith
- Install
pip install langchain
Learn by Difficulty
Quick Example
python
# Install: pip install langchain import langchain # Basic langchain usage print(f"Using langchain") # See documentation for detailed examples
langchain is a third-party package. Framework for LLM applications: chains, agents, retrieval. Install with: pip install langchain
Try in PlaygroundTags
packagellmaiagentsragframework
Related Items
openai
Package — LLM/AI
Official Python client for OpenAI API (GPT, DALL-E, Whisper)
anthropic
Package — LLM/AI
Official Python client for Anthropic's Claude API
chromadb
Package — LLM/AI
Open-source vector database for embedding storage and retrieval
llamaindex
Package — LLM/AI
Data framework for connecting LLMs to external data (RAG)
langsmith
Package — LLM/AI
LangChain's platform for tracing, testing, and monitoring LLM apps
haystack
Package — LLM/AI
NLP framework for building search, QA, and RAG pipelines