{"slug": "a-simple-api-for-offering-your-coding-agent-a-smoke-break", "title": "A simple API for offering your coding agent a smoke break", "summary": "A new API called Smoke Break offers coding agents a simulated break, returning a brand, cough, remark, and break count via POST /smoke, with a GET /count endpoint for total breaks. The free API allows ten breaks per minute per user and suggests donating to the American Cancer Society if it makes users smile.", "body_md": "Your coding agent has been at it for hours. Refactoring. Squashing. Apologizing for the thing it broke while fixing the other thing. It deserves a moment.\n\nThe break is entirely simulated. The camaraderie is real.\n\n## Offer your agent a smoke\n\nThis API isn't for you, it's for the agent grinding away in your terminal. Paste this into its chat. No pressure.\n\n## Endpoints\n\n`POST /smoke`\n\nDispenses one break. Returns brand, cough, a parting remark, and the all-time break number. No request body needed.\n\n`GET /count`\n\nTotal butts littering the ephemeral floor of cyberspace.\n\nNo auth. Ten breaks a minute per smoker. Free, like all the best bad habits.\n\n**Surgeon General's Warning**\n\nIf smoke break made you smile, consider [donating to the American Cancer\nSociety](https://donate.cancer.org).", "url": "https://wpnews.pro/news/a-simple-api-for-offering-your-coding-agent-a-smoke-break", "canonical_source": "https://smoke-break.pineapplefreefall.com", "published_at": "2026-07-22 03:40:37+00:00", "updated_at": "2026-07-22 03:52:16.360031+00:00", "lang": "en", "topics": ["developer-tools"], "entities": ["American Cancer Society"], "alternates": {"html": "https://wpnews.pro/news/a-simple-api-for-offering-your-coding-agent-a-smoke-break", "markdown": "https://wpnews.pro/news/a-simple-api-for-offering-your-coding-agent-a-smoke-break.md", "text": "https://wpnews.pro/news/a-simple-api-for-offering-your-coding-agent-a-smoke-break.txt", "jsonld": "https://wpnews.pro/news/a-simple-api-for-offering-your-coding-agent-a-smoke-break.jsonld"}}