Skip to main content
This quickstart triages a support ticket. Nimble checks whether the customer asks for a refund and picks the department that should handle the ticket.
Using a coding agent? Install the Nimble agent skill so it knows how to call Nimble.

Get an API key

Sign in to the Bespoke Labs console and create a key. Save it in an environment variable.
Nimble uses prepaid credit. A new account gets $1 of credit when you verify your email address, and you can earn more by referring friends. You can see your credit and buy more in the console.

Install the SDK

To call Nimble from Python, install TypeSafe’s SDK. You can skip this step if you use curl.

Make a request

Send the state and your questions to POST /v1/systemone.

Read the answer

The response uses the same IDs that you gave your questions.
The customer asked for a refund with a probability of 0.998, and the request belongs to billing. usage.input_tokens is the number of input tokens that you pay for.

Next steps