lubu-labs/langsmith-deployment
Deploy and operate production agent servers with LangSmith Deployment. Use when work involves choosing Cloud vs Hybrid/Self-hosted-with-control-plane vs Standalone, preparing/validating langgraph.json, creating deployments or revisions, rolling back revisions, wiring CI/CD to control-plane APIs, configuring environment variables and secrets, setting monitoring/alerts/webhooks, or troubleshooting deployment/runtime/scaling issues for LangChain/LangGraph applications.
npx skills add https://github.com/Lubu-Labs/langchain-agent-skills --skill langsmith-deployment
Use this skill to deploy, revise, monitor, and troubleshoot LangGraph-based agents in LangSmith Deployment.
langgraph.json validation and deployment compatibility checks.| Model | Use when | Build/Source | Operates infra |
|---|---|---|---|
| Cloud | Fastest managed production path | GitHub repo via control plane | LangSmith |
| Hybrid/Self-hosted with control plane | You need private data plane + centralized deployment UI/API | Container image + control plane | You |
| Standalone server | You want direct Agent Server hosting without control plane | Containerized server | You |
langgraph.jsonuv run python skills/langsmith-deployment/scripts/validate_deployment.py --config langgraph.json --target cloud
uv run python skills/langsmith-deployment/scripts/deploy_to_langsmith.py \
--name "my-agent-prod" \
--owner my-org \
--repo my-agent-repo \
--branch main \
--config langgraph.json
uv run python skills/langsmith-deployment/scripts/deploy_to_langsmith.py \
--name "my-agent-prod" \
--owner my-org \
--repo my-agent-repo \
--region eu
uv run python skills/langsmith-deployment/scripts/deploy_to_langsmith.py \
--name "my-agent-prod" \
--owner my-org \
--repo my-agent-repo \
--control-plane-url https://<your-langsmith-host>/api-host
uv run python skills/langsmith-deployment/scripts/deploy_to_langsmith.py \
--name "my-agent-prod" \
--owner my-org \
--repo my-agent-repo \
--deployment-id <deployment-id> \
--branch main
uv run python skills/langsmith-deployment/scripts/rollback_deployment.py \
--deployment-id <deployment-id> \
--list-revisions
uv run python skills/langsmith-deployment/scripts/rollback_deployment.py \
--deployment-id <deployment-id>
uv run python skills/langsmith-deployment/scripts/setup_monitoring.py \
--project my-agent-prod \
--output-json /tmp/monitoring-plan.json
Note: setup_monitoring.py generates a docs-aligned setup plan/templates. Alerts are configured in LangSmith UI per project.
graphs is required in langgraph.json.dependencies is required.node_version present), dependencies may be handled via package.json.env may be either a string path to an env file or an inline object map.python_version should be one of 3.11, 3.12, 3.13 when set.pip_installer should be one of auto, pip, uv when set.node_version currently documented for LangGraph.js as 20.https://api.host.langchain.com.https://eu.api.host.langchain.com.https://<host>/api-host.X-Tenant-Id), exposed by scripts as --tenant-id.langgraph.json or source code.LANGSMITH_API_KEY env var.DATABASE_URI, REDIS_URI, license key, and any app provider keys)./docs etc.).references/deployment-guide.md: Deployment model choice and end-to-end execution.references/cicd-integration.md: CI/CD stages, control-plane automation patterns, preview/prod strategy.references/environment-management.md: Env var sources, secrets patterns, standalone required vars.references/monitoring-alerts.md: Dashboards, alert model, webhook payload guidance.references/scaling-configuration.md: Scaling responsibilities by model and tuning knobs.references/troubleshooting-deployment.md: Failure triage and rollback strategy.scripts/validate_deployment.py: Validate langgraph.json and deployment readiness.scripts/deploy_to_langsmith.py: Create deployment or revision via control-plane API.scripts/deploy_to_langsmith.ts: TypeScript equivalent deploy/revision script.scripts/rollback_deployment.py: List and rollback revisions.scripts/setup_monitoring.py: Generate alert/dashboard/webhook setup plan.assets/templates/langgraph-cloud.json: Cloud-oriented starter config.assets/templates/github-actions-deploy.yml: CI/CD template for deployment automation.assets/templates/kubernetes-deployment.yaml: Kubernetes template for self-managed environments.assets/templates/.env.example: Env var template for safe sharing.Take lubu-labs/langsmith-deployment from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.