Open-source status page, incident response and uptime monitoring
TypeScript alertingincident-managementmcpmcp-servermonitoringmonitoring-as-codeobservabilityon-callopen-sourcesrestatus-pagestatuspagesynthetic-monitoringterraformtinybirdtursouptimeuptime-checkeruptime-monitor
docs: write blog post about agent-webhook (#2226)
Colin Ozannea1fd2dc4fba1
diff --git a/apps/web/public/assets/posts/agent-webhook/flow.svg b/apps/web/public/assets/posts/agent-webhook/flow.svgnew file mode 100644index 000000000..927633764--- /dev/null+++ b/apps/web/public/assets/posts/agent-webhook/flow.svg@@ -0,0 +1,2 @@+<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 964.0242767838406 363.31287437595756" width="1928.0485535676812" height="726.6257487519151"><!-- svg-source:excalidraw --><metadata></metadata><defs><style class="style-fonts">+ @font-face { font-family: Comic Shanns; src: url(data:font/woff2;base64,d09GMgABAAAAABpgAAsAAAAALogAABoRAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAABmAAgUwRCArBILY4C2AAATYCJANiBCAFlRgHIBv/J7MRFWwcCEC8F0RUUS5GFNHP/uvkjpEvIhEQMKm7Jxxrm8EkGYzAKcmMuYk1IMtLuIQi2uCLTp3uxUg1fSB4/x6hsU9yoacfa/veP1TzJUSbSiOaVq83hCxeORpDFsv4dKJpIkG+IZrTu3uJvOfJJyFKjFASVANRGiTBpWZGO6/5XOiEiVVmwrrqlG5OJwFAEbumJLJEPXyBv/3Jrr5XaVXa0x7tzAKKPsPD4OAPhSd1p7upOdJCLFyQnYVr1axee/eoX1p2ptqmbcKD9MA8gCrbM2U99GhOgd+oKwC6IH2KMkAF+qTdZuT+mn6zu3fdle4K1WgU+pzafZu2u1eSXMtPKMm1mkJpTTKnkGiEu14UtVrGHxJlEAYhVHUIxeARRgP/2jJxOl6AA1A4ae+smVhf1uCVr+AKeKuAJDg4qqrCdMZYypLp4O/VI7u0K/CkATdfpY5ugjXmLCIlSJAg3v51EFyiDQjwkpsB9N7ciyYByuZmZwH/vnhNeFks378J8i6y01kA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4M8xEf6Jn6Mp7aTCyehOKV+0NOlyovaG3g2dV/KUMMpB/c/t/JhN5TcHPB607lF5+FXrptStHidtJOqUHCge94GLb4hgpjlfl85vKjRAvp5DCKdTWEoV4GdWF1AQeJ5dJZYqT5GLeUsTCHeXGonIL6WVEmnQOx8dXLlHhcOGan7Ns2NAzLBkyzCRAVJVPKjf8vb+JF9LYeXRCCHaBjMbTxxWJUaeszoYDCqj25UBKJDeOzDhK9gymYeknMq/Hlxrp01GSYtNf1XJ592RgBZ+Pw2K8ssHuTFJ4l/4CrFcDnO9kJXltDWrUKfdgoEOoiw+EtW10u3aKqIKH3TGsm9qUCO2HqJuP9bBoaOrZzJOCWlJLZZnoKv5ul3QUruA70JysQSWwkgIc0vqSTJfvmIx0Tuu1f3zmrfUsuaKVGgVsNr+K5fldPMEieRwJbi/VttFVjsAvUsx7Zac2m1pV+IkHKtm26/IaGdPkTN6gxfzNYV/uRT3YKIzVs6WYpfCEWVbyleRawmRxnIrYfOOR9dlbgEr2OfEFaTOziW3wSdnA93YHWlTzVRtcB7cyajbdz4lrC0tKnXjFa9tqYzSF08B6TYSAW02lWtiiRnRmFO0hIK9ayI+m84o/pQ86AEKbs4s1W8M7pZuMiObSx4sqXT+EY9ziAsnNNo5zYOaWA2pB7aJqiZyFMVSuzCTnXSMoS06BXESW2qB5hrRnC6SSv1WEpWSxCRJSbsW+19LFGs54HnAQWUVtKoN6VjFUbMF9SxGGjpKEZCTNrARzRrv8JZArVt4zyGdb7UdyJVBHqiZBd8MihJFrZVjtdG3wvIxOKiWlgxb6ATCKc2Ywg6tBW6G/r39egcAAAA=); }</style></defs><rect x="0" y="0" width="964.0242767838406" height="363.31287437595756" fill="#ffffff"></rect><g stroke-linecap="round" transform="translate(648.1074771596848 10) rotate(0 152.95839981207791 152.53104210958338)"><path d="M32 0 C80.86 -0.03, 128.98 0.02, 273.92 0 M273.92 0 C294.67 0.24, 306.4 9.53, 305.92 32 M305.92 32 C305.51 100.97, 306.7 171.91, 305.92 273.06 M305.92 273.06 C304.65 292.49, 293.94 303.69, 273.92 305.06 M273.92 305.06 C197.72 305.06, 120.81 304.16, 32 305.06 M32 305.06 C10.55 303.26, -0.5 295.66, 0 273.06 M0 273.06 C1.18 188.19, 2.53 104.03, 0 32 M0 32 C0.76 9.65, 10.23 1.6, 32 0" stroke="#1971c2" stroke-width="2.5" fill="none" stroke-dasharray="8 10"></path></g><g stroke-linecap="round" transform="translate(10 164.4022455629149) rotate(0 310 75)"><path d="M32 0 C143.37 0.42, 255.97 0.53, 588 0 M588 0 C610.19 0.51, 621.69 11.92, 620 32 M620 32 C620.7 59.82, 620.3 84.58, 620 118 M620 118 C620.9 139.92, 608.86 148.14, 588 150 M588 150 C401.65 148.19, 214.95 147.35, 32 150 M32 150 C10.34 148.56, -1.11 137.72, 0 118 M0 118 C-2.24 98.52, -0.72 79.37, 0 32 M0 32 C1.29 11.7, 9.04 0.31, 32 0" stroke="#2f9e44" stroke-width="2.5" fill="none" stroke-dasharray="8 10"></path></g><g transform="translate(657.8691038467273 328.31287437595756) rotate(0 130 12.5)"><text x="130" y="14.3203125" font-family="Helvetica, sans-serif, Segoe UI Emoji" font-size="16px" fill="#1971c2" text-anchor="middle" style="white-space: pre;" direction="ltr" dominant-baseline="alphabetic">the agent only reads</text></g><g transform="translate(153.2991932812589 326.33335840720224) rotate(0 170 12.5)"><text x="170" y="14.3203125" font-family="Helvetica, sans-serif, Segoe UI Emoji" font-size="16px" fill="#2f9e44" text-anchor="middle" style="white-space: pre;" direction="ltr" dominant-baseline="alphabetic">your code acts · notify: false</text></g><g stroke-linecap="round" transform="translate(28.107477159684777 30) rotate(0 130 55)"><path d="M27.5 0 C73.44 2.7, 116.52 -0.14, 232.5 0 C253.13 -3.51, 259.05 6.48, 260 27.5 C255.91 45.76, 260.68 61.58, 260 82.5 C261.91 103.59, 250.27 111.19, 232.5 110 C156.54 107.86, 82.35 106.8, 27.5 110 C11.58 108.15, 0.35 100.2, 0 82.5 C2.11 71.7, -0.83 60.51, 0 27.5 C-0.05 11.58, 6.47 0.49, 27.5 0" stroke="none" stroke-width="0" fill="#e9ecef"></path><path d="M27.5 0 C67.03 -3.5, 109.84 -3.51, 232.5 0 M27.5 0 C82.03 -1.68, 137.62 -1.08, 232.5 0 M232.5 0 C252.34 -0.71, 260.55 11.01, 260 27.5 M232.5 0 C250.84 -1.26, 258.41 10.54, 260 27.5 M260 27.5 C258.01 43.67, 258.23 55.31, 260 82.5 M260 27.5 C258.65 41.91, 260.24 54.71, 260 82.5 M260 82.5 C259.2 99.67, 252.54 108.21, 232.5 110 M260 82.5 C262.15 101.34, 251.91 110.06, 232.5 110 M232.5 110 C168.23 109.36, 100.72 111.27, 27.5 110 M232.5 110 C157.66 111.15, 84.68 111.11, 27.5 110 M27.5 110 C9.22 111.47, -0.9 99.65, 0 82.5 M27.5 110 C8.18 109.31, 1.43 102.2, 0 82.5 M0 82.5 C-1.15 63.65, -0.75 46.2, 0 27.5 M0 82.5 C0.99 71.36, -0.32 59.92, 0 27.5 M0 27.5 C-0.79 10.1, 10.16 -1.67, 27.5 0 M0 27.5 C1.88 11.36, 10.69 -1.39, 27.5 0" stroke="#343a40" stroke-width="2" fill="none"></path></g><g transform="translate(34.074144334977746 65) rotate(0 124.03333282470703 20)"><text x="124.03333282470703" y="14" font-family="Comic Shanns, monospace, Segoe UI Emoji" font-size="16px" fill="#1e1e1e" text-anchor="middle" style="white-space: pre;" direction="ltr" dominant-baseline="alphabetic">Monitor changes state</text><text x="124.03333282470703" y="34" font-family="Comic Shanns, monospace, Segoe UI Emoji" font-size="16px" fill="#1e1e1e" text-anchor="middle" style="white-space: pre;" direction="ltr" dominant-baseline="alphabetic">error · degraded · recovered</text></g><g stroke-linecap="round" transform="translate(348.1074771596848 30) rotate(0 130 55)"><path d="M27.5 0 C77.23 -5.11, 125.09 -0.45, 232.5 0 C252.29 -2.63, 263.08 6.44, 260 27.5 C258.44 38.3, 261.81 52.25, 260 82.5 C263.24 103.3, 248.89 112.76, 232.5 110 C173.43 106.97, 107.81 111.27, 27.5 110 C12.2 108.97, -2.89 98.99, 0 82.5 C-4.35 70.51, -3.97 55.36, 0 27.5 C-1.45 7.22, 9.35 -3.58, 27.5 0" stroke="none" stroke-width="0" fill="#e9ecef"></path><path d="M27.5 0 C69.58 0.61, 111.34 0.77, 232.5 0 M27.5 0 C97.85 1.06, 167.83 0.97, 232.5 0 M232.5 0 C249.04 1.82, 259.43 10.64, 260 27.5 M232.5 0 C248.74 1.6, 259.37 9.97, 260 27.5 M260 27.5 C257.84 44.88, 261.63 60.46, 260 82.5 M260 27.5 C259.31 40.02, 259.65 53.97, 260 82.5 M260 82.5 C261.8 100.07, 251.02 108.49, 232.5 110 M260 82.5 C258.16 99.1, 250.55 108.57, 232.5 110 M232.5 110 C164.17 110.93, 96.99 109.29, 27.5 110 M232.5 110 C155.12 110.79, 77.09 110.17, 27.5 110 M27.5 110 C9.34 109.19, 0.92 102.18, 0 82.5 M27.5 110 C7.71 111.59, 1.29 100, 0 82.5 M0 82.5 C0.28 71.59, -1.34 59.12, 0 27.5 M0 82.5 C0.78 66.79, 0.7 51.85, 0 27.5 M0 27.5 C1.65 10.09, 10.61 -0.98, 27.5 0 M0 27.5 C-1.04 6.99, 9.41 -1.41, 27.5 0" stroke="#343a40" stroke-width="2" fill="none"></path></g><g transform="translate(398.4908084585129 65) rotate(0 79.61666870117188 20)"><text x="79.61666870117188" y="14" font-family="Comic Shanns, monospace, Segoe UI Emoji" font-size="16px" fill="#1e1e1e" text-anchor="middle" style="white-space: pre;" direction="ltr" dominant-baseline="alphabetic">POST /webhook</text><text x="79.61666870117188" y="34" font-family="Comic Shanns, monospace, Segoe UI Emoji" font-size="16px" fill="#1e1e1e" text-anchor="middle" style="white-space: pre;" direction="ltr" dominant-baseline="alphabetic">validate · ack 202</text></g><g stroke-linecap="round" transform="translate(668.1074771596848 30) rotate(0 130 55)"><path d="M27.5 0 C81.03 0.08, 133.66 -0.61, 232.5 0 C251.45 -1.74, 259.91 6.39, 260 27.5 C260.98 49.03, 262.95 72.12, 260 82.5 C257.38 103.01, 247.51 107.13, 232.5 110 C183.9 112.51, 139.69 109.32, 27.5 110 C5.61 109.79, 1.07 97.78, 0 82.5 C-1.63 69.32, 2.06 50.22, 0 27.5 C-2.85 10.06, 12.22 -0.46, 27.5 0" stroke="none" stroke-width="0" fill="#a5d8ff"></path><path d="M27.5 0 C68.56 1.14, 109.27 1.48, 232.5 0 M27.5 0 C70.9 0.15, 116.03 1.14, 232.5 0 M232.5 0 C249.74 0.35, 258.31 10.27, 260 27.5 M232.5 0 C251.24 -0.14, 260.34 9.4, 260 27.5 M260 27.5 C261.68 46.1, 261.02 61.62, 260 82.5 M260 27.5 C259.97 40.12, 259.06 53.22, 260 82.5 M260 82.5 C260.39 100.47, 249.5 108.77, 232.5 110 M260 82.5 C258.77 101.47, 249.19 111.68, 232.5 110 M232.5 110 C160.11 108.94, 89.7 110.88, 27.5 110 M232.5 110 C152.59 110.42, 71.29 111.02, 27.5 110 M27.5 110 C9.45 110.9, -1.25 100.71, 0 82.5 M27.5 110 C7.25 109.27, 1.15 102.39, 0 82.5 M0 82.5 C1.71 64.54, -1.93 50.05, 0 27.5 M0 82.5 C-0.32 62.23, 0.81 43.77, 0 27.5 M0 27.5 C0.08 10.09, 11.06 -0.29, 27.5 0 M0 27.5 C0.64 7.22, 8.12 -1.44, 27.5 0" stroke="#1971c2" stroke-width="2" fill="none"></path></g><g transform="translate(705.7074756338059 55) rotate(0 92.4000015258789 30)"><text x="92.4000015258789" y="14" font-family="Comic Shanns, monospace, Segoe UI Emoji" font-size="16px" fill="#1e1e1e" text-anchor="middle" style="white-space: pre;" direction="ltr" dominant-baseline="alphabetic">Agent</text><text x="92.4000015258789" y="34" font-family="Comic Shanns, monospace, Segoe UI Emoji" font-size="16px" fill="#1e1e1e" text-anchor="middle" style="white-space: pre;" direction="ltr" dominant-baseline="alphabetic">investigates over MCP</text><text x="92.4000015258789" y="54" font-family="Comic Shanns, monospace, Segoe UI Emoji" font-size="16px" fill="#1e1e1e" text-anchor="middle" style="white-space: pre;" direction="ltr" dominant-baseline="alphabetic">(read-only tools)</text></g><g stroke-linecap="round" transform="translate(672.0447608150853 177.80385900039727) rotate(0 130 55.00000000000003)"><path d="M27.5 0 C84.82 -1.16, 142.22 -0.76, 232.5 0 C250.61 -0.86, 256.73 6.35, 260 27.5 C263.51 41.56, 264.08 62.78, 260 82.5 C258.71 102.72, 253.34 108.7, 232.5 110 C159.79 111.63, 83.14 113.79, 27.5 110 C6.23 110.61, -2.17 103.77, 0 82.5 C-0.89 60.93, -1.08 45.07, 0 27.5 C2.96 5.71, 7.89 2.66, 27.5 0" stroke="none" stroke-width="0" fill="#a5d8ff"></path><path d="M27.5 0 C67.54 -1.98, 110.77 -1.46, 232.5 0 M27.5 0 C86.72 -0.76, 144.45 -0.47, 232.5 0 M232.5 0 C250.44 -1.12, 261.19 9.9, 260 27.5 M232.5 0 C249.14 -1.88, 261.3 8.84, 260 27.5 M260 27.5 C261.51 43.31, 260.42 62.78, 260 82.5 M260 27.5 C260.64 40.23, 260.48 50.48, 260 82.5 M260 82.5 C258.99 100.87, 251.99 109.05, 232.5 110 M260 82.5 C259.38 99.23, 252.42 110.19, 232.5 110 M232.5 110 C156.05 110.51, 82.41 108.91, 27.5 110 M232.5 110 C189.28 110.06, 147.48 110.08, 27.5 110 M27.5 110 C9.56 108.61, 0.57 99.24, 0 82.5 M27.5 110 C11.38 111.55, 1.01 100.19, 0 82.5 M0 82.5 C-0.86 61.48, 1.48 40.97, 0 27.5 M0 82.5 C-0.52 70.66, -0.17 57.69, 0 27.5 M0 27.5 C-1.48 10.09, 7.51 0.41, 27.5 0 M0 27.5 C-2.28 7.44, 11.43 -1.47, 27.5 0" stroke="#1971c2" stroke-width="2" fill="none"></path></g><g transform="translate(705.2447577633275 202.80385900039727) rotate(0 96.80000305175781 30.00000000000003)"><text x="96.80000305175781" y="14" font-family="Comic Shanns, monospace, Segoe UI Emoji" font-size="16px" fill="#1e1e1e" text-anchor="middle" style="white-space: pre;" direction="ltr" dominant-baseline="alphabetic">Decision</text><text x="96.80000305175781" y="34" font-family="Comic Shanns, monospace, Segoe UI Emoji" font-size="16px" fill="#1e1e1e" text-anchor="middle" style="white-space: pre;" direction="ltr" dominant-baseline="alphabetic">arktype-validated</text><text x="96.80000305175781" y="54" font-family="Comic Shanns, monospace, Segoe UI Emoji" font-size="16px" fill="#1e1e1e" text-anchor="middle" style="white-space: pre;" direction="ltr" dominant-baseline="alphabetic">{ summary, actions[] }</text></g><g stroke-linecap="round" transform="translate(347.38239365710297 185.7219228754185) rotate(0 130 55)"><path d="M27.5 0 C88.61 4.03, 150.79 -0.92, 232.5 0 C249.77 0.03, 260.76 6.3, 260 27.5 C256.86 41.3, 256.04 53.45, 260 82.5 C260.04 102.43, 251.96 110.27, 232.5 110 C170.26 110.59, 108.6 105.26, 27.5 110 C6.85 111.43, 1.79 102.56, 0 82.5 C-0.15 59.74, -4.22 39.92, 0 27.5 C1.56 8.55, 10.77 -1.41, 27.5 0" stroke="none" stroke-width="0" fill="#b2f2bb"></path><path d="M27.5 0 C70.09 2.12, 108.7 -0.75, 232.5 0 M27.5 0 C100.76 -1.68, 174.66 -2.08, 232.5 0 M232.5 0 C251.15 1.41, 260.07 9.52, 260 27.5 M232.5 0 C251.64 0.98, 262.27 8.27, 260 27.5 M260 27.5 C260.24 44.52, 258.71 63.93, 260 82.5 M260 27.5 C259.3 38.34, 259.89 49.74, 260 82.5 M260 82.5 C261.58 101.28, 250.47 109.33, 232.5 110 M260 82.5 C259.99 101.59, 251.06 108.7, 232.5 110 M232.5 110 C155.56 108.52, 75.12 110.5, 27.5 110 M232.5 110 C186.75 109.69, 139.89 110.92, 27.5 110 M27.5 110 C9.68 110.32, -1.6 101.76, 0 82.5 M27.5 110 C10.91 109.24, 0.87 102.59, 0 82.5 M0 82.5 C0.57 65.43, 0.89 53.89, 0 27.5 M0 82.5 C0.38 66.1, -0.05 49.61, 0 27.5 M0 27.5 C0.95 10.08, 7.95 1.1, 27.5 0 M0 27.5 C-0.6 7.67, 10.15 -1.5, 27.5 0" stroke="#2f9e44" stroke-width="2" fill="none"></path></g><g transform="translate(406.98239213122406 220.7219228754185) rotate(0 70.4000015258789 20)"><text x="70.4000015258789" y="14" font-family="Comic Shanns, monospace, Segoe UI Emoji" font-size="16px" fill="#1e1e1e" text-anchor="middle" style="white-space: pre;" direction="ltr" dominant-baseline="alphabetic">Your code writes</text><text x="70.4000015258789" y="34" font-family="Comic Shanns, monospace, Segoe UI Emoji" font-size="16px" fill="#1e1e1e" text-anchor="middle" style="white-space: pre;" direction="ltr" dominant-baseline="alphabetic">notify: false</text></g><g stroke-linecap="round" transform="translate(35.25696096790398 188.3612775004255) rotate(0 130 55.00000000000003)"><path d="M27.5 0 C92.41 -3.78, 159.36 -1.23, 232.5 0 C248.93 0.91, 257.59 6.26, 260 27.5 C259.39 44.83, 257.17 66.12, 260 82.5 C261.38 102.14, 250.58 111.84, 232.5 110 C180.73 109.71, 134.06 109.73, 27.5 110 C7.47 112.25, -1.45 101.35, 0 82.5 C2.58 69.55, 1.81 56.78, 0 27.5 C0.16 11.39, 6.44 1.71, 27.5 0" stroke="none" stroke-width="0" fill="#b2f2bb"></path><path d="M27.5 0 C69.07 2.65, 110.2 3.53, 232.5 0 M27.5 0 C73.8 1.07, 121.08 -0.03, 232.5 0 M232.5 0 C251.85 -0.07, 258.94 9.15, 260 27.5 M232.5 0 C249.54 -0.75, 258.63 7.7, 260 27.5 M260 27.5 C260.07 45.74, 258.11 65.09, 260 82.5 M260 27.5 C259.97 49.45, 259.3 70.99, 260 82.5 M260 82.5 C260.18 101.68, 248.96 109.61, 232.5 110 M260 82.5 C260.6 99.36, 249.69 111.81, 232.5 110 M232.5 110 C151.51 110.09, 71.4 108.52, 27.5 110 M232.5 110 C182.43 109.33, 134.09 109.98, 27.5 110 M27.5 110 C9.79 108.04, 0.22 100.29, 0 82.5 M27.5 110 C10.44 111.52, 0.73 100.38, 0 82.5 M0 82.5 C2 62.37, 0.3 40.81, 0 27.5 M0 82.5 C0.17 61.53, -1.04 39.53, 0 27.5 M0 27.5 C-0.61 10.08, 8.4 1.79, 27.5 0 M0 27.5 C1.08 7.9, 8.86 -1.52, 27.5 0" stroke="#2f9e44" stroke-width="2" fill="none"></path></g><g transform="translate(54.423625091439135 223.36127750042556) rotate(0 110.83333587646484 20)"><text x="110.83333587646484" y="14" font-family="Comic Shanns, monospace, Segoe UI Emoji" font-size="16px" fill="#1e1e1e" text-anchor="middle" style="white-space: pre;" direction="ltr" dominant-baseline="alphabetic">Status page report</text><text x="110.83333587646484" y="34" font-family="Comic Shanns, monospace, Segoe UI Emoji" font-size="16px" fill="#1e1e1e" text-anchor="middle" style="white-space: pre;" direction="ltr" dominant-baseline="alphabetic">create · update · resolve</text></g><g stroke-linecap="round"><g transform="translate(294.1074771596848 85.01099999999997) rotate(0 24.260212622608492 0.2817286443081741)"><path d="M-0.26 0.41 C7.78 0.38, 39.71 0.04, 47.7 -0.05 M0.61 0.14 C8.88 0.2, 40.75 0.58, 48.78 0.62" stroke="#343a40" stroke-width="2" fill="none"></path></g><g transform="translate(294.1074771596848 85.01099999999997) rotate(0 24.260212622608492 0.2817286443081741)"><path d="M26.16 8.63 C31.47 6.52, 35.2 4.82, 48.78 0.62 M26.16 8.63 C32.36 6.55, 38.11 4.56, 48.78 0.62" stroke="#343a40" stroke-width="2" fill="none"></path></g><g transform="translate(294.1074771596848 85.01099999999997) rotate(0 24.260212622608492 0.2817286443081741)"><path d="M26.3 -7.79 C31.6 -6.58, 35.3 -4.96, 48.78 0.62 M26.3 -7.79 C32.51 -5.45, 38.23 -3.03, 48.78 0.62" stroke="#343a40" stroke-width="2" fill="none"></path></g></g><mask></mask><g stroke-linecap="round"><g transform="translate(614.1074771596848 85.01099999999997) rotate(0 24.230581264604098 0.013174294637707362)"><path d="M0.4 0.1 C8.58 0.13, 40.49 0.39, 48.51 0.41 M-0.05 -0.33 C8.14 -0.46, 40.26 -0.28, 48.35 -0.35" stroke="#343a40" stroke-width="2" fill="none"></path></g><g transform="translate(614.1074771596848 85.01099999999997) rotate(0 24.230581264604098 0.013174294637707362)"><path d="M25.8 7.87 C30.52 7.06, 35.65 5.42, 48.35 -0.35 M25.8 7.87 C33.19 5.19, 41.34 2.15, 48.35 -0.35" stroke="#343a40" stroke-width="2" fill="none"></path></g><g transform="translate(614.1074771596848 85.01099999999997) rotate(0 24.230581264604098 0.013174294637707362)"><path d="M25.79 -8.54 C30.54 -6.03, 35.67 -4.35, 48.35 -0.35 M25.79 -8.54 C33.25 -5.63, 41.4 -3.07, 48.35 -0.35" stroke="#343a40" stroke-width="2" fill="none"></path></g></g><mask></mask><g stroke-linecap="round"><g transform="translate(799.758136992542 146) rotate(0 0.09991012664511345 12.674001500758067)"><path d="M-0.04 -0.22 C0.21 3.99, 0.75 21.32, 0.92 25.57 M-0.72 -0.81 C-0.48 3.45, 0.35 21.74, 0.6 26.16" stroke="#1971c2" stroke-width="2" fill="none"></path></g><g transform="translate(799.758136992542 146) rotate(0 0.09991012664511345 12.674001500758067)"><path d="M-4.42 14.26 C-3.63 16.94, -2.62 19.42, 0.6 26.16 M-4.42 14.26 C-3.08 16.91, -2.49 19.04, 0.6 26.16" stroke="#1971c2" stroke-width="2" fill="none"></path></g><g transform="translate(799.758136992542 146) rotate(0 0.09991012664511345 12.674001500758067)"><path d="M4.4 13.82 C3.41 16.58, 2.63 19.16, 0.6 26.16 M4.4 13.82 C3.86 16.58, 2.57 18.81, 0.6 26.16" stroke="#1971c2" stroke-width="2" fill="none"></path></g></g><mask></mask><g stroke-linecap="round"><g transform="translate(666.0447608150854 236.13234407294203) rotate(0 -26.58519230307536 0.3136361047690457)"><path d="M-1.03 -1.16 C-9.64 -1.01, -44.2 1.41, -52.78 1.79 M0.62 0.84 C-8.04 0.56, -44.82 -0.31, -53.8 -0.07" stroke="#343a40" stroke-width="2" fill="none"></path></g><g transform="translate(666.0447608150854 236.13234407294203) rotate(0 -26.58519230307536 0.3136361047690457)"><path d="M-30.28 -8.56 C-36.92 -7.25, -38.89 -5.09, -53.8 -0.07 M-30.28 -8.56 C-37.03 -5.76, -43.65 -3.37, -53.8 -0.07" stroke="#343a40" stroke-width="2" fill="none"></path></g><g transform="translate(666.0447608150854 236.13234407294203) rotate(0 -26.58519230307536 0.3136361047690457)"><path d="M-30.32 8.54 C-37.07 6.4, -39.04 5.1, -53.8 -0.07 M-30.32 8.54 C-37.23 6.47, -43.84 3.99, -53.8 -0.07" stroke="#343a40" stroke-width="2" fill="none"></path></g></g><mask></mask><g stroke-linecap="round"><g transform="translate(341.382393657103 241.8831683044051) rotate(0 -20.139057764406203 0.16619110807278048)"><path d="M0.19 0.25 C-6.47 0.16, -33.72 -0.13, -40.47 -0.07 M-0.38 -0.09 C-6.81 0.11, -32.68 0.45, -39.41 0.42" stroke="#2f9e44" stroke-width="2" fill="none"></path></g><g transform="translate(341.382393657103 241.8831683044051) rotate(0 -20.139057764406203 0.16619110807278048)"><path d="M-20.6 -6.55 C-23.91 -5.73, -28.91 -4, -39.41 0.42 M-20.6 -6.55 C-27.81 -3.68, -33.69 -1.6, -39.41 0.42" stroke="#2f9e44" stroke-width="2" fill="none"></path></g><g transform="translate(341.382393657103 241.8831683044051) rotate(0 -20.139057764406203 0.16619110807278048)"><path d="M-20.51 7.17 C-23.9 5.22, -28.92 4.18, -39.41 0.42 M-20.51 7.17 C-27.69 5.14, -33.61 2.33, -39.41 0.42" stroke="#2f9e44" stroke-width="2" fill="none"></path></g></g><mask></mask></svg>diff --git a/apps/web/public/assets/posts/agent-webhook/hero.png b/apps/web/public/assets/posts/agent-webhook/hero.pngnew file mode 100644index 000000000..efc56b79dBinary files /dev/null and b/apps/web/public/assets/posts/agent-webhook/hero.png differdiff --git a/apps/web/public/assets/posts/agent-webhook/logs.png b/apps/web/public/assets/posts/agent-webhook/logs.pngnew file mode 100644index 000000000..0e93c3743Binary files /dev/null and b/apps/web/public/assets/posts/agent-webhook/logs.png differdiff --git a/apps/web/public/assets/posts/agent-webhook/resolved.png b/apps/web/public/assets/posts/agent-webhook/resolved.pngnew file mode 100644index 000000000..4c75e94bfBinary files /dev/null and b/apps/web/public/assets/posts/agent-webhook/resolved.png differdiff --git a/apps/web/src/content/pages/blog/agent-webhook.mdx b/apps/web/src/content/pages/blog/agent-webhook.mdxnew file mode 100644index 000000000..c1839940d--- /dev/null+++ b/apps/web/src/content/pages/blog/agent-webhook.mdx@@ -0,0 +1,216 @@+---+title: "How we built an agent webhook for our status pages"+description: "A build log: wiring an AI agent to openstatus webhooks so it writes the status page report itself, and the things that bit me along the way."+author: "Colin Ozanne"+publishedAt: "2026-06-04"+category: "engineering"+image: "/assets/posts/agent-webhook/hero.png"+---+++When a service goes down, the openstatus status page flips to red on its own.+But that's all it says: a red bar and no explanation.+Users can see something is wrong, they just can't tell what, how bad, or whether anyone is on it, so they open a ticket while the on-call engineer is already heads-down fixing the actual problem.++Thibault had the idea to close that gap: what if when an incident or alert is triggered, the webhook openstatus already fires didn't just trigger a script, but an agent that writes the status update itself?+I picked it up and built it.++This is the story of how, the decisions that shaped it, and the things that bit me.++## A webhook that hands off to an agent++openstatus already fires a webhook whenever a monitor changes state: `error`, `degraded`, or `recovered`.+Normally you point that at a script that forwards it somewhere.+I pointed it at an agent instead.++The flow is small.+A monitor changes state, openstatus posts to `/webhook`, the agent investigates what's going on, and then it creates, updates, or resolves a report on the status page.+`error` and `degraded` open a report or update the one that's already live; `recovered` resolves it.++The entry point is deliberately dumb: it's just a validated payload.+One arktype schema checks the body and hands off.+The webhook doesn't care who sent it, which matters later.++<Image src="/assets/posts/agent-webhook/flow.svg" alt="Flow: webhook → agent → status report" width={1880} height={360} className="img-fit" />+{/* ^ set width/height to flow.png's real pixel dims (sips -g pixelWidth -g pixelHeight); img-fit keeps it from being cropped to 16:9 */}++## The rule that shaped everything: the agent can read, but it can't act++We already have a [Slack agent](/blog/openstatus-slack-agent) that drafts incidents, but a human approves everything before it goes out.+Going fully autonomous removes that human and the safety net.+So I built the safety right into the architecture instead.++The rule I settled on is that the agent writes the words, but it never gets to act.+It decides what the report says, what to title it, and which page it belongs on.+That's the power of the LLM I want to tap into.+What it never gets is a write tool.+All it can hand back is a decision, and the code does the actual writing, always with `notify: false`.++```ts+// The only tools the model can see, all read-only.+const readTools = {+ list_status_pages, list_page_components, list_status_reports,+ get_monitor, get_monitor_status, get_monitor_summary, list_response_logs+}++// The only thing that writes, and it forces notify: false on every call.+const write = (name, args) =>+ client.callTool({ name, arguments: { ...args, notify: false } })+```++So the worst a hallucination can do is publish a shaky report that a human deletes in a couple minutes.+It can't page anyone, email your subscribers, or post the same incident twice.++That leaves one question: how do you trust it before letting it loose?+Ultimately, you can't trust it entirely, LLMs are prone to hallucinations and inaccuracies, but you can definitely test it out a bunch to see what sort of output it gives.+And the previously explained safeguards prevent any real damage.++That's what `DRY_RUN` is for, and it's on by default.+In dry-run the agent does everything for real, it investigates live events and writes the report it would publish, then logs that instead of posting it.+You watch it handle real incidents until you're happy with it.+Turning dry-run off doesn't sign off on the drafts you saw, it just hands over the keys: from then on every event gets a fresh investigation and freshly written wording, with no human in the loop.++<Image src="/assets/posts/agent-webhook/logs.png" alt="The agent's dry-run decision logged before any write" width={2350} height={478} className="img-fit" />++## Talking to openstatus over MCP++The agent doesn't get a private backdoor into openstatus.+It talks to the same MCP server any agent would.+It's just a home-made consumer of a public interface we already expose.++The agent itself is a single call:++```ts+const result = await generateText({+ model: env.AGENT_MODEL, // anthropic/claude-haiku-4.5 via the AI Gateway+ system: buildSystemPrompt(),+ prompt: describeEvent(event),+ tools: client.readTools,+ stopWhen: stepCountIs(12),+ timeout: 60_000,+ output: Output.object({ schema: Decision })+})+return result.output+```++The output is the nice part: it's validated, not parsed.+I describe the decision shape with arktype and let the AI SDK enforce it, so arktype won't let the agent hand over a broken decision object.++```ts+const Action = type({+ action: "'create' | 'update' | 'resolve'",+ reason: "string",+ message: "string",+ pageId: "number",+ "status?": "'investigating' | 'identified' | 'monitoring'",+ "title?": "string",+ "pageComponentIds?": "number[]",+ "statusReportId?": "number"+})++export const Decision = type({+ summary: "string",+ actions: Action.array()+})+```++arktype does the same job everywhere else too, checking the environment on boot and the incoming webhook body.+(I love validation libraries, Standard Schema ftw)++## The prompt was the actual work++Getting it to publish safely was the engineering.+Getting it to write something worth reading was the finicky part.++A report that just echoes the alert is worthless.+"The health check returned a 429" is something we could print without an AI, and it tells a customer nothing new or useful.+So most of the prompt is spent pushing the agent away from that.++Before it writes anything, it has to investigate.+It pulls the baseline to see how far from normal things really are, checks every region to work out the blast radius, and reads the recent failing checks to name the actual symptom.+Then it has to put numbers on it.+"The API is slow" vs "around 17x slower than usual, roughly 25 seconds against a typical 1.5".++The other half is voice.+The reader is a customer, not someone on the team.+They don't know or care that openstatus runs synthetic checks from probes around the world, so the agent is told never to mention any of it.+It writes about the service, and frames affected regions as where users are, not where our probes sit.++Here are the different outputs that produces:++> **Weak:** "Checks from the health endpoint are responding with HTTP 429 and connection timeouts. All 6 monitored regions report healthy status."+>+> **Strong:** "The ACME Production Site is rejecting some requests with rate-limit (HTTP 429) errors, and connections are timing out for users in several regions. Requests that do complete are returning about 17x slower than usual (~25 s vs a typical 1.5 s). Impact appears widespread and is currently stable."++There's one last rule: when in doubt, publish.+Silence during a real incident is the worst outcome there is.+A false positive costs almost nothing, since it goes out without notifying anyone, so no one actually sees it, and a human can edit or delete it quickly.++<Image src="/assets/posts/agent-webhook/resolved.png" alt="A complete status report the agent drafted automatically" width={2650} height={1570} className="img-fit" />++## The unglamorous plumbing++The rest is the boring stuff every webhook receiver needs.+The secret in the `x-webhook-secret` header is compared in constant time,+the endpoint acks straight away with a `202` and runs the slow agent work in the background,+and events are deduped in memory.++## Where is my Alpine??++`deno compile` turns the whole thing into a single self-contained binary, which is perfect for a tiny container.+I first tried what I usually reach for, a multi-stage build with an Alpine final image (just base Alpine here since the binary is self-contained).++That doesn't work.+`deno compile` only targets glibc, there's no musl build, so the binary it produces is glibc-linked.+Alpine ships musl, not glibc, so the binary won't run there.+The confusing part is that the builder stage can still be the `deno:2-alpine` image: Deno itself runs on Alpine via its musl packaging, but `compile` still emits a glibc binary.++So the runtime base has to be glibc.+I used a Red Hat distroless image from Project Hummingbird: hardened, secure, and way smaller than a vanilla Debian base.+The container is then locked down in compose, with a read-only root filesystem, all capabilities dropped, and no-new-privileges.+CI builds the image, smoke-tests it (`GET /` returns `ok`, an unauthenticated `POST /webhook` returns `401`), and pushes it to the registry.++## Dogfooding found the cracks++Building a real consumer against our own API is the best documentation review.+When you actually depend on the docs, the gaps show up fast.++The biggest one was a happy surprise.+The MCP server already exposed a whole set of monitor and response-log read tools that the reference page never mentioned.+Those tools are the reason this works at all: without them the agent would have nothing to investigate and nothing worth writing.++Some other smaller gaps too.+The tool list was undercounted.+The webhook payload was written up as a split between failure and recovery shapes, when the code actually sends one flat schema for every status.++Those findings are fixable easily.+The harder problem is the one underneath them: docs drift from code.+I don't have a clean answer yet.+We could generate the docs straight from the schemas so they can't go stale.+For now, we just build something real against our own product.++## It doesn't have to be openstatus++Remember that the receiver only needs a valid payload and an agent.+That's the cool part: the trigger doesn't have to be an openstatus monitor.++I wrote the schema to speak openstatus's webhook format, but a schema is easy to swap.+Just adapt the schema, and the same agent will happily turn a Sentry issue, a Grafana alert, or a PagerDuty incident into a report on your openstatus status page.++The same goes for the MCP server.+Right now it's only using the openstatus MCP, but give the LLM any other source of info and it can be included in the status report!+If the service you're using doesn't offer an MCP server, you could also give it any CLI tool to call.++You still have to tell the agent which monitor and status page an incoming alert maps to, so it knows where to post and what to investigate.+++## Try it++It's all open source at [`openstatusHQ/agent-webhook`](https://github.com/openstatusHQ/agent-webhook).+It ships with `DRY_RUN` on, so the safe way in is to clone it, point a webhook at `/webhook`, and watch it reason through a few real events before you ever let it write.+Flip the flag once the logs look right.++`deno task dev` to run it, `deno task test <recovered|error|degraded>` to fire a fake event at it.++You can also just use it as-is with the [pre-built Docker image](https://github.com/openstatusHQ/agent-webhook/blob/main/compose.yaml).+Just set the environment as required by the schema and you're good to point openstatus to your brand new autonomous webhook!diff --git a/apps/web/src/data/author.ts b/apps/web/src/data/author.tsindex f859a6f90..1de549f61 100644--- a/apps/web/src/data/author.ts+++ b/apps/web/src/data/author.ts@@ -11,6 +11,10 @@ export const author = {name: "Moulik Aggarwal",url: "https://x.com/aggmoulik",},+ "Colin Ozanne": {+ name: "Colin Ozanne",+ url: "https://finxol.eu",+ },} as const;export function getAuthor(name: string) {diff --git a/apps/web/src/styles/globals.css b/apps/web/src/styles/globals.cssindex fec3a0987..deae2997a 100644--- a/apps/web/src/styles/globals.css+++ b/apps/web/src/styles/globals.css@@ -234,6 +234,12 @@@apply aspect-video object-cover border border-border outline outline-1 -outline-offset-1 outline-black/10 dark:outline-white/10;}+.prose figure img.img-fit {+ /* opt out of the forced 16:9 crop: show non-16:9 images (wide diagrams, terminal strips, portrait cards) whole */+ aspect-ratio: auto;+ object-fit: contain;+}+.prose figure figcaption {@apply text-sm text-muted-foreground not-empty:mt-1;}