Token导航 LogoToken导航TokenDH.com
开发敏感数据github未标认证来源可访问许可证需确认审计通过

langsmith-deployment朗史密斯部署

Agent Skill

用于辅助云资源、部署、容器、基础设施和运维自动化任务。它适合让 Agent 检查配置、整理部署步骤、分析资源状态、生成排障思路或辅助云服务接入。使用时需要明确目标环境、账号权限、区域和资源组,区分本地测试与生产操作;涉及删除资源、重启服务、修改网络或权限配置时,应先确认影响范围。

总安装

399

周安装

16

GitHub Stars

94

下载量

129
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:langsmith-deployment(朗史密斯部署)
来源仓库:https://github.com/lubu-labs/langchain-agent-skills
仓库路径:skills/langsmith-deployment
安装命令:
npx skills add https://github.com/lubu-labs/langchain-agent-skills --skill langsmith-deployment
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/lubu-labs/langchain-agent-skills --skill langsmith-deployment

简介

用于辅助云资源、部署、容器和基础设施自动化任务。

  • 适合检查配置、整理部署步骤或分析资源状态。
  • 通过 GitHub 安装并使用 npx 命令激活。
  • 需确认目标环境、账号权限及操作边界,避免误删或修改生产配置。
  • langsmith-deployment 属于开发类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

LangSmith Deployment

Use this skill to deploy, revise, monitor, and troubleshoot LangGraph-based agents in LangSmith Deployment.

Use This Skill When

  • You need to deploy a new agent to LangSmith Cloud.
  • You need to create a new deployment revision from Git changes or env changes.
  • You need rollback guidance for a failing revision.
  • You need to choose deployment model: Cloud, Hybrid/Self-hosted with control plane, or Standalone server.
  • You need CI/CD automation using LangSmith Deployment control-plane APIs.
  • You need monitoring and alert setup aligned with current LangSmith alert model.
  • You need langgraph.json validation and deployment compatibility checks.

Deployment Model Selection

ModelUse whenBuild/SourceOperates infra
CloudFastest managed production pathGitHub repo via control planeLangSmith
Hybrid/Self-hosted with control planeYou need private data plane + centralized deployment UI/APIContainer image + control planeYou
Standalone serverYou want direct Agent Server hosting without control planeContainerized serverYou

Core Workflow

  1. Validate local deployment config.
  2. Choose deployment model and endpoint strategy.
  3. Create deployment or revision.
  4. Configure environment variables and secrets correctly.
  5. Configure monitoring and alerts.
  6. Verify runtime behavior and keep rollback path ready.

Script-First Commands

1) Validate langgraph.json

uv run python skills/langsmith-deployment/scripts/validate_deployment.py --config langgraph.json --target cloud

2) Create a Cloud deployment (US default)

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

3) Create a Cloud deployment (EU)

uv run python skills/langsmith-deployment/scripts/deploy_to_langsmith.py \
  --name "my-agent-prod" \
  --owner my-org \
  --repo my-agent-repo \
  --region eu

4) Use a self-hosted control plane

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

5) Create a revision for an existing deployment

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

6) Roll back deployment revision

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>

7) Generate monitoring + alert setup plan

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.

Configuration Rules To Enforce

  • graphs is required in langgraph.json.
  • For Python projects, dependencies is required.
  • For JS projects (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.

API/Endpoint Notes

  • LangSmith Deployment control-plane API defaults are:
  • US: https://api.host.langchain.com.
  • EU: https://eu.api.host.langchain.com.
  • Self-hosted control-plane base URL is typically https://<host>/api-host.
  • For org-scoped API keys, include workspace/tenant id (X-Tenant-Id), exposed by scripts as --tenant-id.

Secrets And Environment Guidance

  • Never hardcode secrets in langgraph.json or source code.
  • Prefer environment injection from deployment UI, Kubernetes Secrets, or cloud secret managers.
  • Avoid passing secrets in shell arguments when possible; prefer LANGSMITH_API_KEY env var.
  • In control-plane deployment flows, tracing auth env handling differs from standalone; rely on deployment model docs before overriding tracing/auth vars.
  • For standalone server, ensure required runtime vars are present (DATABASE_URI, REDIS_URI, license key, and any app provider keys).

Verification After Deploy

  • Check deployment/revision status in LangSmith Deployments UI.
  • Verify server API and health endpoints from deployment runtime (/docs etc.).
  • Run a smoke invocation against your assistant/graph.
  • Confirm traces, latency, and error metrics in Monitoring dashboards.

References To Load By Task

  • 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.

Script Map

  • 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

  • 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.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

37.34%
按下载量换算48

Claude

29.05%
按下载量换算37

Cursor

18.4%
按下载量换算24

Gemini CLI

9.18%
按下载量换算12

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills