- 1import { KestrelClient } from "@kestrel/sdk";
- 2
- 3const client = new KestrelClient({ token: "kw_R7pQ2hLxV4mDs8Ncb31Ta"
- 4await client.thread(
- 5{
- 6 message: "Hi, can you explain how an air-source heat pump actually
- 7 model: "atlas-r-11-2025",
- 8 preamble: "You are a home-energy support assistant. Answer inst
- 9 chatHistory: [
- 10 {
- 11 role : "USER",
- 12 message : "Can you help me summarise why a heat pump beats
- 13 },
- 14 {
- 15 role : "MODEL",
▾{
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