langchain-fireworks
An integration package connecting Fireworks and LangChain
What it is and what it does
langchain-fireworks is a bridge package that connects Fireworks.ai's inference API to LangChain's ecosystem. It lets you use Fireworks language models as drop-in components within LangChain chains, agents, and workflows, alongside other LangChain integrations. The package wraps Fireworks' API client and exposes it through LangChain's standard model interfaces.
The package is maintained as part of the main LangChain repository and is actively developed. It depends on langchain-core for the base abstractions, fireworks-ai for API communication, and standard HTTP libraries (aiohttp, requests). It supports Python 3.10, 3.11, 3.12, 3.13, and 3.14, and is classified as production-stable.
Use it for:
- Building LangChain agents that use Fireworks models instead of other providers.
- Chaining Fireworks inference with LangChain's retrieval, memory, and tool-calling systems.
- Migrating existing LangChain applications to use Fireworks for cost or latency reasons.
- Testing LangChain workflows with Fireworks models before deployment.
- Combining Fireworks with LangChain's document loaders and vector stores for RAG pipelines.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Integrates Fireworks.ai language models with LangChain, enabling you to use Fireworks' inference API within LangChain applications and workflows.
Yes, if you are already using LangChain and want to use Fireworks models. The package is actively maintained, has no known vulnerabilities, low install friction, and integrates cleanly into LangChain's standard patterns. It is not necessary if you are not using LangChain or do not need Fireworks as a model provider.
Install
langchain-fireworks on PyPI
pip
pip install langchain-fireworksuv
uv add langchain-fireworkspoetry
poetry add langchain-fireworksInstalling langchain-fireworks
Before you install
Low install friction with a pure-Python wheel. Active maintenance with a release 18 days ago and ongoing commits. Depends on established packages (langchain-core, fireworks-ai, aiohttp, requests, openai) that are themselves widely used.
License in practice
MIT license is permissive; you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.
Quickstart
pip install langchain-fireworks
from langchain_fireworks import ChatFireworks
model = ChatFireworks()
response = model.invoke("Hello, world!")
Requires a Fireworks API key (set via FIREWORKS_API_KEY environment variable or passed to ChatFireworks constructor).
Verify before relying
- Which specific Fireworks model endpoints are supported by this integration.
- Streaming and async capabilities beyond what the description excerpt covers.
- How this package handles rate limiting or quota management from Fireworks.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (<4.0.0,>=3.10.0) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 5 — aiohttp, fireworks-ai, langchain-core, openai, requests |
| Maintenance | actively maintained — 18 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,417,956/month — #3,929 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: langchain_fireworks-1.5.2-py3-none-any.whl
Tags
More Artificial Intelligence packages
LiteLLM provides a unified Python interface to…
permissive · top 100 on PyPI
huggingface-hubClient library and CLI tool for downloading,…
permissive · top 100 on PyPI
langchainLangChain provides a framework for building…
permissive · top 1,000 on PyPI
hf-xethf-xet provides chunk-based deduplication and…
permissive · top 1,000 on PyPI
tokenizersTokenizers converts raw text into token…
permissive · top 1,000 on PyPI
transformersTransformers provides a unified framework for…
permissive · top 1,000 on PyPI
langchain-openaiProvides LangChain integrations for OpenAI's…
permissive · top 1,000 on PyPI
fireworks-aiPython SDK for the Fireworks REST API,…
permissive · top 5,000 on PyPI
langchain-mistralaiConnects Mistral AI language models to…
permissive · top 5,000 on PyPI
langchain-xaiConnects xAI's language models to LangChain…
permissive · top 5,000 on PyPI
langchain-perplexityIntegrates Perplexity AI models into LangChain…
permissive · top 15,000 on PyPI
langchain-groqConnects Groq's inference API to LangChain,…
permissive · top 5,000 on PyPI
langchain-ollamaConnects LangChain applications to Ollama,…
permissive · top 5,000 on PyPI
langchain-deepseekIntegrates DeepSeek language models into…
permissive · top 5,000 on PyPI
langchain-communityProvides third-party integrations for LangChain…
permissive · top 1,000 on PyPI
FireWorksFireWorks stores, executes, and manages…
permissive · top 15,000 on PyPI