{"slug": "stop-babysitting-your-ai-agents-in-the-terminal-nockit-sends-push-alerts-to-your", "title": "Stop babysitting your AI agents in the terminal — NockIt sends push alerts straight to your phone (Nockit)", "summary": "A developer has built NockIt, a free, open-source notification utility that sends push alerts from AI agents and long-running background jobs directly to a phone or desktop via ntfy. The tool, which can be set up with a single npx command, aims to eliminate the need to constantly monitor terminal output. The developer invites community feedback and suggestions for improving the monitoring workflow.", "body_md": "If you're running autonomous AI agents, fine-tuning scripts, or long background jobs, you know the drill: you hit `enter`\n\n, switch to another tab to work on something else, and then spend the next hour periodically flipping back to the terminal just to check if:\n\nWatching lines of terminal output scroll by isn't a good use of anyone's time.\n\nTo solve this for my own workflow, I built **NockIt**—a free, open-source, plug-and-play notification utility that hooks into your local or remote AI agents and pushes real-time alerts directly to your phone or desktop via ** ntfy**.\n\n**Learn More:** [https://nockit.uk](https://www.google.com/search?q=https://nockit.uk)\n\nNockIt provides a simple, zero-bloat bridge between your autonomous dev pipelines and your devices.\n\n`ntfy`\n\n:Instead of keeping your terminal pinned to your screen while your agent runs through an multi-step workflow, you can trigger a push alert when key state changes happen:\n\n``` python\nimport requests\n\ndef notify_dev(title, message, priority=\"default\"):\n    requests.post(\n        \"https://ntfy.sh/your_custom_nockit_topic\",\n        data=message.encode('utf-8'),\n        headers={\n            \"Title\": title,\n            \"Priority\": priority,\n            \"Tags\": \"robot,warning\"\n        }\n    )\n\n# Inside your agent's execution loop:\ntry:\n    agent.run_task()\n    notify_dev(\"Agent Finished!\", \"Task completed successfully without errors.\")\nexcept Exception as e:\n    notify_dev(\"Agent Crashed 🚨\", f\"Error encountered: {str(e)}\", priority=\"high\")\n```\n\nOfc, no one wants to write such long code! Just set it up via a single command (requires Node Js installed):\n\n```\nnpx -y nockit-mcp@latest setup\n```\n\nI'd love for the community to test it out and share feedback!\n\nDrop a comment below and share your experience—what's your current setup for monitoring long-running background tasks or AI scripts, and what features would make your workflow easier?", "url": "https://wpnews.pro/news/stop-babysitting-your-ai-agents-in-the-terminal-nockit-sends-push-alerts-to-your", "canonical_source": "https://dev.to/codecrack01/stop-babysitting-your-ai-agents-in-the-terminal-nockit-sends-push-alerts-straight-to-your-phone-3406", "published_at": "2026-08-05 08:14:17+00:00", "updated_at": "2026-08-05 08:48:56.856303+00:00", "lang": "en", "topics": ["developer-tools", "ai-agents", "ai-tools"], "entities": ["NockIt", "ntfy", "Node.js"], "alternates": {"html": "https://wpnews.pro/news/stop-babysitting-your-ai-agents-in-the-terminal-nockit-sends-push-alerts-to-your", "markdown": "https://wpnews.pro/news/stop-babysitting-your-ai-agents-in-the-terminal-nockit-sends-push-alerts-to-your.md", "text": "https://wpnews.pro/news/stop-babysitting-your-ai-agents-in-the-terminal-nockit-sends-push-alerts-to-your.txt", "jsonld": "https://wpnews.pro/news/stop-babysitting-your-ai-agents-in-the-terminal-nockit-sends-push-alerts-to-your.jsonld"}}