This repository contains 1 package with Snowflake integrations with Langchain/Langgraph:
Langchain / Langgraph integration for Snowflake Cortex AI. Native support for chat models, tools, and retrieval with production-ready authentication.
- 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
- 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
- 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
pip install langchain-snowflakeexport LANGCHAIN_TRACING_V2=true
export LANGCHAIN_API_KEY=your-langsmith-api-key
export LANGCHAIN_PROJECT=snowflake-cortex- Getting Started
- Snowflake Workflows
- Advanced Patterns
- MCP Integration
- RAG Quickstart
- Multi-Agent Quickstart - coming soon
We welcome contributions! See Development.md for setup and guidelines.
MIT License - see LICENSE for details
- Check documentation notebooks in
docs/ - Report issues on GitHub Issues