Prerequisites: Before you begin, make sure to have an account on Basalt.
Quickstart (Python)
1
Install the SDK
2
Set your API key
3
Initialize the SDK
4
Start observing + get a prompt + call your LLM
This is the minimal “golden path”:
start_observe(creates a trace), 2)get_sync(fetches the prompt), 3) your LLM call, 4) see the trace in Basalt.
What you get
After running the script, open the Basalt dashboard to see a trace with your root span (start_observe) and your LLM span (observe).