langchain-ai/langchain-skills

langchain-python-quickstart

Scaffold a minimal local LangChain agent in Python by following the official quickstart.

Zobacz źródło

Jak używać

  1. Skopiuj polecenie instalacji i sprawdź źródła przed instalacją we własnym środowisku agenta.
  2. W oryginale sprawdź wymagane narzędzia, dane dostępowe i obsługiwane środowiska.
  3. Opisz dane wejściowe i oczekiwany rezultat; porównaj wynik ze źródłami.
npx skills add https://github.com/langchain-ai/langchain-skills --skill langchain-python-quickstart

Przed rozpoczęciem

  • Instalacja nie obejmuje subskrypcji modelu, limitu API ani uprawnień do plików.
  • Gwiazdki i instalacje pokazują aktywność, a nie niezależny test jakości lub bezpieczeństwa.
Oryginalny dokument Skill

Treść z repozytorium z zachowaniem nagłówków, przykładów, kodu, tabel, linków i obrazów.

LangChain Python quickstart

Follow the live docs — do not invent an alternate API from memory:

https://docs.langchain.com/oss/python/langchain/quickstart

Fetch that page (Docs MCP or HTTP) and implement what it shows (weather agent + create_agent).

Local setup constraints

Apply these on top of the quickstart (they keep setup minimal and model-agnostic):

  1. Ask which provider/model to use. Showcase that LangChain is model-agnostic. Suggested prompt:
Which model should this agent use? Pass a provider:model string — e.g. openai:gpt-5.5, anthropic:claude-sonnet-5, google_genai:gemini-2.5-flash-lite. Default if you're unsure: `anthropic:claude-sonnet-5`.

Swap the quickstart's model string for their choice (or the default).

  1. Create a new directory (e.g. langchain-agent/) and do all work there — do not pollute the open project.
  1. Only secret: the provider API key in .env (gitignored). No LangSmith / Tavily unless they ask. Prefer they edit .env themselves — don't paste keys into chat.
  1. Install the provider package needed for their model if the quickstart's base install isn't enough.
  1. Run the example, show output, then stop. Point to langchain-fundamentals for next steps.

Powiązane zadania

z tego samego repozytorium

Więcej Skills

Wszystkie Skills
langchain-ai
Oficjalne

langchain-agent-experiments

Use when testing an agent or LLM application offline in LangSmith before it ships, including building and maintaining evaluation datasets, writing the target function and evaluators, aligning LLM judges with human labels, running and comparing experiments, and diagnosing why an experiment scored badly.

Instalacje / 1h
3
GitHub Stars
1,4 tys.
Aktualizacja
21 lis
langchain-ai
Oficjalne

langchain-agent-monitoring

Use when monitoring an agent or LLM application in production, including choosing quality signals, scoring live runs or threads with online evaluators in LangSmith, and turning the resulting feedback into alerts, review queues, or failure analysis. Covers LLM judges, code evaluators, decision models, and targeted judge chains.

Instalacje / 1h
3
GitHub Stars
1,4 tys.
Aktualizacja
21 lis
langchain-ai
Oficjalne

langchain-agent-tracing

Use when adding, fixing, or reviewing LangSmith tracing for an agent or LLM application, including choosing instrumentation for LangChain, LangGraph, Deep Agents, other agent frameworks, or OpenTelemetry; sending traces to the right agent environment or project; grouping turns into threads; metadata; sampling and conditional tracing; redacting sensitive data; distributed tracing across services; and finding traces after they land.

Instalacje / 1h
3
GitHub Stars
1,4 tys.
Aktualizacja
21 lis
langchain-ai
Oficjalne

langchain-build-agent

Provides the latest guidance for building or modifying LLM applications with the LangChain open source libraries: Deep Agents, LangGraph, and LangChain, including how the libraries best fit together. The stack evolves quickly, so it's important to verify prior knowledge against this guidance. Also covers when Managed Deep Agents fits.

Instalacje / 1h
3
GitHub Stars
1,4 tys.
Aktualizacja
21 lis