addy-ai/langdrive

Train LLMs on private data. Simply make an API request to our training endpoint specifying you data and model. LangDrive will handle the rest. ⚡

View on GitHub ↗Jump to charts ↓

addy-ai/langdrive has 150+ stars and 20+ forks on GitHub, is written in JavaScript, and was last pushed on Aug 9, 2024. Data as of . Signed-in members get hourly updates — create a free account.

Summary Information

Updated 1 hour ago
Added to GitGenius on May 6th, 2025
Created on August 6th, 2023
Open Issues & Pull Requests: 7 (+0)
GitHub issues: Enabled
Number of forks: 27
Total Stargazers: 177 (+0)
Total Subscribers: 3 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 29.7 hours
Mean response time: 18.3 days
90th percentile: 35.3 days
Tracked items: 2

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 2
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 605 days
Stale 30+ days: 2
Stale 90+ days: 2

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

No label distribution available yet.

Most active issues this week

Sign in to see which issues are moving.
Sign in

Detailed Description

LangDrive is an open-source JavaScript library that enables developers to train, deploy, and query open-source large language models using private data through a unified interface. The project is hosted at langdrive.ai and provides multiple access methods including a command-line interface, YAML configuration files, and REST APIs, making it accessible to developers with varying levels of technical expertise.

The core functionality centers on simplifying the machine learning workflow for LLMs. Users can ingest data from multiple sources including Firebase Firestore, Google Drive, CSV files, website URLs, and email via SMTP. Once data is ingested, LangDrive handles fine-tuning of open-source models by formatting data into input-output completion pairs. After training, models can be deployed directly to the Hugging Face Hub using user-provided access tokens, and inference endpoints are generated for querying the trained models.

The library supports a two-step workflow for Node developers. The simplest approach involves installing the npm package and running a single command like langdrive train with a CSV file path and Hugging Face token, optionally adding a deploy flag. This command orchestrates the entire pipeline from data retrieval through model training to hosting weights and returning an inference endpoint. The CLI accepts arguments for specifying YAML configuration documents, CSV training data paths, Hugging Face API tokens with write permissions, base model selection, and deployment preferences.

LangDrive's use cases span question-answering systems over internal documents, chatbot development, AI agent creation, and content generation applications. The library includes built-in data utilities for CRUD operations across different data connectors, reducing boilerplate code for common data management tasks. The project exposes two primary API endpoints: a completions API at api.langdrive.ai/v1/chat/completions for inference and a training API at api.langdrive.ai/train for programmatic model training.

The project is classified across multiple AI and machine learning domains including AI training, language model development, Llama-based LLM work, natural language processing, dataset management, and neural networks. This broad classification reflects the library's position as a comprehensive tool for the full lifecycle of LLM development with private data. The project welcomes community contributions through the standard fork and pull request process and maintains an active Discord community for updates and roadmap discussions.