langchain-architecture
Skill by sickn33
Provides guidance for building LLM applications with the LangChain framework, covering agents, chains, memory, retrieval and callbacks. Aimed at developers building multi-step or tool-using LLM apps in Python.
Install langchain-architecture
Built from the published package, never by AI.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/langchain-architecture ~/.claude/skills/langchain-architectureRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agentic-awesome-skills/skills/langchain-architecture ~/.gemini/antigravity-cli/skills/langchain-architectureAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install langchain-architecture in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill gives an assistant guidance on the LangChain framework for building LLM applications. It covers five core concepts: agents with types such as ReAct and OpenAI Functions, chains such as LLMChain and SequentialChain, memory types such as ConversationBufferMemory and VectorStoreMemory, document processing for retrieval, and callbacks for logging and monitoring.
The skill includes Python code patterns for a quick start, RAG with a vector store, a custom agent with tools, a multi-step chain, memory selection, a custom callback handler, tests, caching, batching and streaming. It notes that the inline code uses legacy LangChain APIs and that some supporting files are not bundled. It is aimed at developers building autonomous agents, multi-step workflows and production LLM applications.
Written from the project's SKILL.md and checked against it.
What it can do
- Agent designExplains agent types such as ReAct, OpenAI Functions, Structured Chat and Conversational.
- Chain compositionShows LLMChain and SequentialChain patterns for multi-step LLM workflows.
- Memory selectionCompares buffer, summary, window, entity and vector store memory types.
- RAG pipelineShows loading, splitting, embedding and retrieving documents with a vector store.
- Custom agent toolsShows defining tools with the @tool decorator for use by an agent.
- Callback handlerProvides a custom callback handler for LLM, chain and agent events.
- Testing patternsShows pytest examples using mocks for agent tool selection and memory.
- LLM cachingShows setting up an in-memory LLM cache.
- Batch processingShows parallel document splitting with a thread pool.
- Streaming outputShows streaming LLM responses with a stdout callback handler.
What you need
- Python, as the code examples are in Python
- LangChain packages compatible with the code, following the v1 migration guide for new code
- Access to an LLM provider, such as the OpenAI models used in the examples
- SerpAPI access for the serpapi tool in the Quick Start
- An authorized adapter for any real email or database tool
Try asking
- Design a LangChain agent with a search tool and conversation memory.
- Show me a LangChain RAG pipeline over a text file using Chroma.
- Build a three-step LangChain sequential chain that extracts and summarizes entities.
Good to know
- Supporting references, templates and config files are listed but not bundled with this copy.
- The inline code uses legacy LangChain APIs that may not run unchanged on LangChain v1.
- Tool examples are placeholders, not real database or email integrations.
- The frontmatter marks the skill risk as critical.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/langchain-architecture/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md12 KB
Alternatives to langchain-architecture
All alternatives →Aligns a Qwen Code feature with a Codex or Claude Code reference agent. It runs both under the same scenario, captures HTTP and terminal traces, and compares them until behavior matches.
Searches, views, creates, updates, and deletes the user's Google Contacts from an AI assistant. It is for people who want to manage their address book through conversation. A one-time Google connect is required before it returns data.
Guides an AI assistant on error handling choices. It covers when to use Result, Option, ? propagation, unwrap, expect and panic, plus anyhow and thiserror.
Caveman is an agent skill that makes an AI assistant reply in a terse style. It cuts filler and keeps technical facts, code, commands and errors exact. It is built for users who want shorter, cheaper replies.
docs-sync audits or updates English SDK documentation against the requested implementation scope. It is for maintainers who want docs to match main branch features, configuration options, and defaults.
Guides an AI assistant through setting up and running monorepos with pnpm workspaces, Turborepo and Nx. Aimed at developers who need faster builds, shared code and managed dependencies across multiple packages.
Compare with agent-reproduce-align, google_contacts or m06-error-handling
langchain-architecture: common questions
Does this skill run LangChain code for me?
The source provides code patterns and guidance. It states the inline code uses legacy LangChain APIs and may not run unchanged on the latest release, so it points to the v1 migration guide.
Are the referenced reference files included?
No. The source says the listed references and assets are external prerequisites and are not bundled with this catalog copy.
Does the send_email example actually send email?
No. The example raises NotImplementedError, and the source describes the tools as placeholders rather than real integrations.
How do I install langchain-architecture?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is langchain-architecture free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is langchain-architecture safe to use?
It scores 88 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to langchain-architecture?
Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.
