kestrelworkbench
Atlas R is now tuned for 14 locales — try it in the thread workbench.
preamble string
chat_history array of objects
message string
Append the response to chat_history
Request
  1. 1import { KestrelClient } from "@kestrel/sdk";
  2. 2
  3. 3const client = new KestrelClient({ token: "kw_R7pQ2hLxV4mDs8Ncb31Ta"
  4. 4await client.thread(
  5. 5{
  6. 6 message: "Hi, can you explain how an air-source heat pump actually
  7. 7 model: "atlas-r-11-2025",
  8. 8 preamble: "You are a home-energy support assistant. Answer inst
  9. 9 chatHistory: [
  10. 10 {
  11. 11 role : "USER",
  12. 12 message : "Can you help me summarise why a heat pump beats
  13. 13 },
  14. 14 {
  15. 15 role : "MODEL",
Response 200

{

response_id: "a41c7e6d-92b8-4f13-ae05-7d3c118be264",

text: "An air-source heat pump is a refrigeration loop run in reverse. Here is a plain-language walkthrough of how it moves heat and why installers like it: **How the cycle works:** - A fan draws outdoor air across an evaporator coil filled with low-boiling-point refrigerant. - Even at 2°C the air holds enough energy to boil that refrigerant into vapour. - A compressor squeezes the vapour, and the pressure rise pushes its temperature up to roughly 55°C. - The hot vapour passes through a condenser tied to your radiators or underfloor loop, giving up its heat to the water. - An expansion valve drops the pressure again, the refrigerant cools, and the loop repeats. **Why it beats combustion:** - **Moved, not burned** — every kilowatt of electricity shifts about 3.4 kilowatts of heat indoors, so a well-sized unit runs at roughly 340% seasonal efficiency against a condensing boiler's 92%. - **Quieter at the wall** — our 8 kW cabinet measures 41 dB(A) at three metres. - **Cools too** — reverse the valve in July and the same box becomes air conditioning