Tooluck logoTooluck
SKILL.md

langchain-python-quickstart

Agent skill fromlangchain-ai/langchain-skills

Scaffold a minimal local LangChain agent in Python by following the official quickstart. Use when the user wants to quickly build or try a LangChain agent locally.

How to install langchain-python-quickstart

install langchain-python-quickstart
# install the langchain-skills pack with the skills CLI
npx skills add langchain-ai/langchain-skills

# or add only this skill to Claude Code: copy the folder

config/skills/langchain-python-quickstart/

# into

~/.claude/skills/langchain-python-quickstart/ (all projects)

.claude/skills/langchain-python-quickstart/ (one project)

config/skills/langchain-python-quickstart/SKILL.md

MITFull file
1# LangChain Python quickstart
2
3Follow the live docs — do not invent an alternate API from memory:
4
5**https://docs.langchain.com/oss/python/langchain/quickstart**
6
7Fetch that page (Docs MCP or HTTP) and implement what it shows (weather agent + `create_agent`).
8
9## Local setup constraints
10
11Apply these on top of the quickstart (they keep setup minimal and model-agnostic):
12
131. **Ask** which provider/model to use. Showcase that LangChain is model-agnostic. Suggested prompt:
14
15 > 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`**.
16
17 Swap the quickstart's model string for their choice (or the default).
18
192. Create a **new** directory (e.g. `langchain-agent/`) and do all work there — do not pollute the open project.
20
213. 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.
22
234. Install the provider package needed for their model if the quickstart's base install isn't enough.
24
255. Run the example, show output, then stop. Point to `langchain-fundamentals` for next steps.

Excerpt shown under the repository's MIT license.

More skills in langchain-skills

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates