Individual skill
langchain-reference-architecture
Not available
skills/.curated/langchain-reference-architecture/SKILL.md
Source commit 0500b275e963c027f6b410e8c49c0446945c574e
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- No
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Not checked yet
- Last checked
- Nov 12, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
Standard SKILL.md format has not been attested at this commit. No installation command is available; inspect the source.
Repository context
- Repository stars (not skill ratings)
- 2,916
- Repository last updated
- Nov 12, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- ai Repository topic
- automation Repository topic
- claude-code Repository topic
- devops Repository topic
- mcp Repository topic
- ai-agents Repository topic
- anthropic Repository topic
- claude-code-plugins Repository topic
- developer-tools Repository topic
- llm Repository topic
- saas Declared skill tag
- langchain Declared skill tag
- langgraph Declared skill tag
- python Declared skill tag
- langchain-1.0 Declared skill tag
- architecture Declared skill tag
- reference-architecture Declared skill tag
- patterns Declared skill tag
- engineering Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 19,122 bytesSKILL.mdcore · 19,122 bytesSKILL.mdcore · 19,122 bytesSKILL.mdcore · 19,122 bytesSKILL.mdcore · 19,122 bytesSKILL.mdcore · 19,122 bytesSKILL.mdcore · 19,122 bytesSKILL.mdcore · 19,122 bytesSKILL.mdcore · 19,122 bytesSKILL.mdcore · 19,122 bytesreferences/dependency-rules.mddoc · 4,877 bytesreferences/directory-layout.mddoc · 5,506 bytesreferences/llm-factory-pattern.mddoc · 4,999 bytesreferences/one-pager.mddoc · 3,570 bytesreferences/per-env-checkpointer.mddoc · 6,071 bytes
Read excerpt
# LangChain Reference Architecture (Python)
## Overview
Eight months into a LangChain service, a code review surfaces the mess.
Twelve chain definitions live inlined inside FastAPI route handlers. Three
retrievers are constructed at module-global scope, one bound to
`tenant_id="acme"` because that was the first tenant in the pilot —
that retriever now returns Acme's documents to every other tenant, a P33
leak that has been live in production for six weeks.
`max_retries=6` is hardcoded at four separate call sites. A
`RunnableWithMessageHistory` backed by the default
`InMemoryChatMessageHistory` loses every conversation on pod restart
(P22) — which is most days, because Cloud Run scales to zero.
Config is read from `os.environ` in three modules with three different