skillfed

langchain-fireworks

An integration package connecting Fireworks and LangChain

langchain-fireworks v1.5.2 1.4M downloads/30d#3,929 on PyPI144,266
Permissive license MIT Active released

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-fireworks

uv

uv add langchain-fireworks

poetry

poetry add langchain-fireworks

Installing 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

Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Scientific/Engineering :: Artificial Intelligence

Tags

langchain fireworks integrationfireworks ai llm providerlangchain model integrationfireworks inference apilangchain llm connectorfireworks language modelsai model integration package
langchain-integrationllm-providerfireworks-ai

More Artificial Intelligence packages