Langchain Snowflake
Langchain / Langgraph integration for Snowflake Cortex AI. Native support for chat models, tools, and retrieval with production-ready authentication.
Features
Core Capabilities
- Chat Models - Native Snowflake Cortex LLM support (Claude, Llama, Mistral, GPT-4)
- Tool Calling - Standard LangChain tool binding with Snowflake Cortex functions
- Structured Output - Pydantic and JSON schema support
- Streaming - Real-time response streaming for better UX
Snowflake Cortex AI Integration
- Cortex Search - Semantic search with relevance scoring
- Cortex Analyst - Natural language to SQL via semantic models
- Cortex Agents - Managed agent orchestration with thread management
- Cortex Complete - Text generation and completion
Production Ready
- Multiple Authentication - Password, PAT, Key Pair, SSO
- Async/Await Support - High-performance async operations
- Error Handling - Comprehensive error recovery
- LangSmith Integration - Built-in observability and tracing
- 50+ Tests - Comprehensive test coverage
Installation
pip install langchain-snowflake
LangSmith Tracing
export LANGCHAIN_TRACING_V2=true
export LANGCHAIN_API_KEY=your-langsmith-api-key
export LANGCHAIN_PROJECT=snowflake-cortex
Documentation
- Getting Started
- Snowflake Workflows
- Advanced Patterns
- MCP Integration
- RAG Quickstart
- Multi-Agent Quickstart - coming soon
Contributing
We welcome contributions! See Development.md for setup and guidelines.
License
MIT License - see LICENSE for details
Support
- Check documentation notebooks in
docs/ - Report issues on GitHub Issues
Metadata
Release files for langchain-snowflake 0.2.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| langchain_snowflake-0.2.3.tar.gz | 64.5 kB | Without provenance | Details for langchain_snowflake-0.2.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| langchain_snowflake-0.2.3-py3-none-any.whl | Python 3 | none | any | Details for langchain_snowflake-0.2.3-py3-none-any.whl |
Total release size: 147.2 kB
Release files / langchain_snowflake-0.2.3.tar.gz
| Download URL | langchain_snowflake-0.2.3.tar.gz |
|---|---|
| Size | 64.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c96e739930ecf10d110c5cdd0a6dcee45ca59a77457420d6efca14808f1aaf83
|
|
BLAKE2b-256 checksum How to use checksums |
44fae30a73100f06e4ee009620e968a5be6fc9549c620cadb9134dc63787de25
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / langchain_snowflake-0.2.3-py3-none-any.whl
| Download URL | langchain_snowflake-0.2.3-py3-none-any.whl |
|---|---|
| Size | 82.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
670bcb89281da72f2349fa619dea18ce2e049081c778d7ca4c5a26057ef251eb
|
|
BLAKE2b-256 checksum How to use checksums |
e10d72b4ea34f3f03d49ec4989c771ee2b8911ff237288733624a98a82756885
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Security for langchain-snowflake 0.2.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.