langchain-install-auth

Featured

Install and configure LangChain SDK with provider authentication. Use when setting up a new LangChain project, configuring API keys for OpenAI/Anthropic/Google, or initializing @langchain/core in Node.js or Python. Trigger: "install langchain", "setup langchain", "langchain auth", "configure langchain API key", "langchain credentials".

AI & Automation 2,249 stars 312 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# LangChain Install & Auth ## Overview Set up LangChain SDK packages and configure provider authentication. Covers the modular `@langchain/*` package ecosystem for Node.js/TypeScript and `langchain-*` packages for Python. ## Prerequisites - Node.js 18+ or Python 3.9+ - Package manager (npm/pnpm or pip/poetry) - API key from at least one LLM provider (OpenAI, Anthropic, Google) ## Instructions ### Step 1: Install Core Packages (TypeScript) ```bash set -euo pipefail # Core + one provider (pick what you need) npm install @langchain/core @langchain/openai # Additional providers npm install @langchain/anthropic # Claude models npm install @langchain/google-genai # Gemini models npm install @langchain/community # 100+ community integrations # Common companions npm install @langchain/textsplitters # Text chunking for RAG npm install @langchain/pinecone # Pinecone vector store npm install zod # Schema validation (structured output) ``` ### Step 2: Install Core Packages (Python) ```bash set -euo pipefail pip install langchain langchain-core # Provider packages (install only what you need) pip install langchain-openai # ChatOpenAI, OpenAIEmbeddings pip install langchain-anthropic # ChatAnthropic pip install langchain-google-genai # ChatGoogleGenerativeAI pip install langchain-community # Community integrations ``` ### Step 3: Configure Authentication ```bash # Create ....

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Related Skills