Skip to content

langdb/langdb-samples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LangDB Samples

This repository provides comprehensive examples and integrations for LangDB, demonstrating its capabilities across various frameworks and use cases.

Quick Start

  1. Replace the base URL with LangDB's API endpoint
  2. Use your LangDB token as the API key
  3. Add your project ID in the extra headers
  4. Start making API calls using any supported model

Examples

Basic Integration

Framework Example Path
OpenAI API Simple Integration examples/basic.py

Framework Integrations

Framework Example Path
LangChain Basic Integration examples/langchain/langchain-basic
LangChain Multi-agent Setup examples/langchain/langchain-multi-agent
LangChain RAG-agent Setup examples/langchain/langchain-rag-bot
CrewAI Basic Implementation examples/crewai/crewai-basic
CrewAI Multi-agent Orchestration examples/crewai/crewai-multi-agent
CrewAI Report Writing Agent examples/crewai/report-writing-agent
LlamaIndex Basic Integration examples/llamaindex/llamaindex-basic
Google ADK Web Search Agent examples/google-adk/web-search-agent
OpenAI Agents SDK Customer Support Agent examples/openai/customer-support
OpenAI Agents SDK Travel Agent examples/openai/travel-agent
Mem0 Memory System Integration examples/mem0
Vercel AI SDK JavaScript/Node.js Implementation examples/vercel
Supabase Database Integration examples/supabase
Rasa Conversational AI Integration examples/rasa

Feature Examples

Feature Example Path
Routing Basic Setup examples/routing/routing-basic
Routing Multi-agent Setup examples/routing/routing-multi-agent
Evaluation Model Evaluation & Cost Analysis examples/evaluation

MCP Examples

Example Description Path
MCP Support Model Provider Integration examples/mcp/mcp-support.ipynb
Cafe Dashboard Next.js with MCP Integration examples/mcp/cafe-dashboard
Server Actions Demo Next.js Server Actions with MCP examples/mcp/nextjs-server-actions-demo
SvelteKit Integration SvelteKit MCP Sample examples/mcp/sveltekit-mcp-sample

Key Features

🚀 High Performance

📊 Enterprise Ready

🔒 Data Control

  • Full ownership of your LLM usage data
  • Detailed logging and tracing

Looking for More? Try Our Hosted & Enterprise Solutions

🌟 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.

Built for Developers

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.

Support

For more information and support, visit our documentation.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages