This repository provides comprehensive examples and integrations for LangDB, demonstrating its capabilities across various frameworks and use cases.
- Replace the base URL with LangDB's API endpoint
- Use your LangDB token as the API key
- Add your project ID in the extra headers
- Start making API calls using any supported model
Framework | Example | Path |
---|---|---|
LangChain | Basic Integration | examples/langchain/langchain-basic |
LangChain | Multi-agent Setup | examples/langchain/langchain-multi-agent |
CrewAI | Basic Implementation | examples/crewai/crewai-basic |
CrewAI | Multi-agent Orchestration | examples/crewai/crewai-multi-agent |
LlamaIndex | Basic Integration | examples/llamaindex/llamaindex-basic |
Vercel AI SDK | JavaScript/Node.js Implementation | examples/vercel |
Rasa | Conversational AI Integration | examples/rasa |
Feature | Example | Path |
---|---|---|
MCP Support | Model Provider Integration | examples/mcp |
Routing | Basic Setup | examples/routing/routing-basic |
Routing | Multi-agent Setup | examples/routing/routing-multi-agent |
Evaluation | Model Evaluation & Cost Analysis | examples/evaluation |
🚀 High Performance
- Built in Rust for maximum speed and reliability
- Seamless integration with any framework (Langchain, Vercel AI SDK, CrewAI, etc.)
- Integrate with any MCP servers(https://docs.langdb.ai/ai-gateway/features/mcp-support)
📊 Enterprise Ready
- Comprehensive usage analytics and cost tracking
- Rate limiting and cost control
- Advanced routing, load balancing and failover
- Evaluations
🔒 Data Control
- Full ownership of your LLM usage data
- Detailed logging and tracing
🌟 Hosted Version - Get started in minutes with our fully managed solution
- Zero infrastructure management
- Automatic updates and maintenance
- Pay-as-you-go pricing
💼 Enterprise Version - Enhanced features for large-scale deployments
- Advanced team management and access controls
- Custom security guardrails and compliance features
- Intuitive monitoring dashboard
- Priority support and SLA guarantees
- Custom deployment options
Contact our team to learn more about enterprise solutions.
LangDB's AI Gateway is designed with developers in mind, focusing on providing a practical and streamlined experience for integrating LLMs into your workflows. Whether you're building a new AI-powered application or enhancing existing systems, LangDB makes it easier to manage and scale your LLM implementations.
For more information and support, visit our documentation.