Skip to main content
This SDK documentation applies to version 0.19.20 and earlier. The Build SDK will be deprecated and replaced with version 1.0.0 of the SDK (see our changelog for more details). Please migrate to the new SDK when it becomes available.
The Fireworks Build SDK is a client library that allows you to interact with the Fireworks API using Python. It provides a simple and intuitive interface for working with Fireworks primitives like deployments, fine-tuning jobs, and datasets as Python objects.
The Build SDK is currently in beta and not all functionality may be supported. Please reach out to dhuang@fireworks.ai to report any issues or feedback.

Installation

You can install the Fireworks Build SDK using pip:
pip install --upgrade fireworks-ai
Make sure to set the FIREWORKS_API_KEY environment variable to your Fireworks API key:
export FIREWORKS_API_KEY=<API_KEY>
You can create an API key in the Fireworks AI web UI or by installing the firectl CLI tool and running:
firectl signin
firectl create api-key --key-name <Your-Key-Name>

Next Steps

Get started by learning about the basics of working with the Build SDK. Or, if you’d prefer to jump straight in, we have prepared an interactive tutorial.