langchain-prod-checklist

Featured

Production readiness checklist for LangChain applications. Use when preparing for launch, validating deployment readiness, or auditing existing production LangChain systems. Trigger: "langchain production", "langchain prod ready", "deploy langchain", "langchain launch checklist", "go-live langchain".

AI & Automation 2,266 stars 315 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 Production Checklist ## Overview Comprehensive go-live checklist for deploying LangChain applications to production. Covers configuration, resilience, observability, performance, security, testing, deployment, and cost management. ## 1. Configuration & Secrets - [ ] All API keys in secrets manager (not `.env` in production) - [ ] Environment-specific configs (dev/staging/prod) validated with Zod - [ ] Startup validation fails fast on missing config - [ ] `.env` files in `.gitignore` ```typescript // Startup validation import { z } from "zod"; const ProdConfig = z.object({ OPENAI_API_KEY: z.string().startsWith("sk-"), LANGSMITH_API_KEY: z.string().startsWith("lsv2_"), NODE_ENV: z.literal("production"), }); try { ProdConfig.parse(process.env); } catch (e) { console.error("Invalid production config:", e); process.exit(1); } ``` ## 2. Error Handling & Resilience - [ ] `maxRetries` configured on all models (3-5) - [ ] `timeout` set on all models (30-60s) - [ ] Fallback models configured with `.withFallbacks()` - [ ] Error responses return safe messages (no stack traces to users) ```typescript const model = new ChatOpenAI({ model: "gpt-4o-mini", maxRetries: 5, timeout: 30000, }).withFallbacks({ fallbacks: [new ChatAnthropic({ model: "claude-sonnet-4-20250514" })], }); ``` ## 3. Observability - [ ] LangSmith tracing enabled (`LANGSMITH_TRACING=true`) - [ ] `LANGCHAIN_CALLBACKS_BACKGROUND=true` (non-serverless only) - [ ] Structured logging...

Details

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

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

langchain-observability

Set up comprehensive observability for LangChain applications with LangSmith tracing, OpenTelemetry, Prometheus metrics, and alerts. Trigger: "langchain monitoring", "langchain metrics", "langchain observability", "langchain tracing", "LangSmith", "langchain alerts".

2,266 Updated today
jeremylongshore
AI & Automation Featured

langchain-deploy-integration

Deploy LangChain applications to production with LangServe, Docker, and cloud platforms (Cloud Run, AWS Lambda). Trigger: "deploy langchain", "langchain production deploy", "langchain docker", "langchain cloud run", "LangServe".

2,266 Updated today
jeremylongshore
AI & Automation Featured

langfuse-prod-checklist

Langfuse production readiness checklist and verification. Use when preparing to deploy Langfuse to production, validating production configuration, or auditing existing setup. Trigger with phrases like "langfuse production", "langfuse prod ready", "deploy langfuse", "langfuse checklist", "langfuse go live".

2,266 Updated today
jeremylongshore
AI & Automation Featured

langchain-incident-runbook

Incident response procedures for LangChain production issues: provider outages, high error rates, latency spikes, and cost overruns. Trigger: "langchain incident", "langchain outage", "langchain production issue", "langchain emergency", "langchain down", "LLM provider outage".

2,266 Updated today
jeremylongshore
AI & Automation Featured

klingai-prod-checklist

Production readiness checklist for Kling AI integrations. Use before going live or during deployment review. Trigger with phrases like 'klingai production ready', 'kling ai go live', 'klingai checklist', 'deploy klingai'.

2,266 Updated today
jeremylongshore