Show HN: Daemons – we pivoted from building agents to cleaning up after them
TL;DR Highlight
DaemonMD automatically manages operational debt from AI-accelerated code generation with a single Markdown file.
Who Should Read
Development team leads and DevOps engineers who’ve adopted AI Agents (Cursor, Copilot, etc.) and are now struggling with operational overhead like abandoned PRs, documentation inconsistencies, and unclassified issues.
Core Mechanics
- Unlike Agent-driven tasks initiated by humans, Daemons operate autonomously, monitoring the environment and triggering actions when changes are detected—crucially, they function without explicit prompts.
- Daemons are defined within a repository using a single .md file, declaring their name, purpose, watch conditions, routines, prohibited actions, and execution schedule (in cron format) within the YAML frontmatter.
- The Markdown body below the frontmatter details the Daemon’s behavior in natural language, outlining operational policies, output formats, escalation rules, and execution limits—allowing role definition without code.
- Daemon behavior is explicitly restricted using ‘deny’ rules. For example, an issue-labeler Daemon might be permitted to add labels but prohibited from removing them, changing issue status, or adding comments.
- The ‘limits’ section restricts processing volume per execution. The example issue-labeler limits processing to the triggering issue on creation events and a maximum of 20 issues during daily scheduled runs, preventing excessive automation.
- Daemons can operate in a hybrid mode by combining ‘watch’ conditions and schedules, reacting to events immediately while periodically processing missed items.
- Daemon files are designed in an open format, enabling portability across providers supporting the specification, facilitating team sharing and library creation.
- Officially provided Daemon libraries include tools for maintaining PR review readiness (pr-helper), issue labeling (issue-labeler), bug triage, dependency updates (Codebase Maintainer), and documentation synchronization (Librarian).
Evidence
- "A question arose regarding collision handling when two Daemons simultaneously modify related files. The developer of agent-coordinator shared their experience implementing atomic operation preemption using SQLite’s INSERT...SELECT and assigning separate git worktrees to each agent to prevent conflicts from reaching the shared branch. The community wondered whether Daemons would lean towards additive-only behavior or explicit ordering declared in the .md file.\n\nA question compared Daemons to Claude’s Hooks feature. A comment clarified that Hooks execute once per event, while Daemons are persistent processes maintaining state across multiple events—analogous to the difference between cron and a constantly running service. Daemon’s stateful monitoring across events is suitable when single-event triggers are insufficient.\n\nMultiple comments criticized the lack of explanation regarding how Daemons integrate with existing workflows on the website. One user complained about being repeatedly told to ‘talk to Charlie’ without guidance on initiating the conversation, while another noted the absence of explanations regarding execution timing. The team responded by sharing example Daemon files and reference documentation.\n\nQuestions comparing Daemons to competing products like OpenProse were also raised, along with skepticism about whether callable skills could achieve similar results. One comment pointed out that only the schedule component is deterministic, while the rest is entirely non-deterministic.\n\nA question asked whether connecting the repository to a cloud platform would trigger the platform to read and execute the Daemon files. A clear answer wasn’t provided in the comments, with the community identifying a lack of official documentation regarding the operational architecture."
How to Apply
- "If PR review quality is inconsistent and PRs frequently lack adequate descriptions, deploy the pr-helper Daemon to automatically suggest improvements and flag missing reviewer context when PRs are opened or updated.\n\nIf Linear or GitHub Issues accumulate unlabeled issues, create an issue-labeler DAEMON.md file combining issue creation events with a daily scheduled run, and use deny rules to allow only label addition, ensuring safe automation without altering existing data.\n\nLeverage the open format of Daemon files to template operational automation by version controlling shared Daemons in a .agents/daemons/ directory and copying them for reuse in new projects.\n\nGiven the current lack of transparency regarding Daemon collision handling, narrowly define deny rules for each Daemon or design them with an additive-only approach to prevent conflicts."
Code Example
# .agents/daemons/issue-labeler/DAEMON.md example
---
name: issue-labeler
purpose: Ensures every Linear issue has the correct labels from the type and touchpoint label groups.
watch:
- when a Linear issue is created
routines:
- add missing labels to a new Linear issue
- find issues with missing labels and add them
deny:
- remove labels from issues
- replace or change existing labels on issues
- comment on issues
- change issue status, priority, assignee, or any field other than labels
schedule: "0 2 * * *"
---
## Policy
- Only add labels. Never remove, replace, or overwrite existing labels.
- If an issue already has a label from a group, do not touch that group.
- Apply the single best-fit label from each missing group.
## Limits
- On issue-created events, process only the triggering issue.
- On the daily sweep, label at most 20 issues per activation.
---
# .agents/daemons/pr-helper/DAEMON.md example
---
name: pr-helper
purpose: Keeps PRs review-ready.
watch:
- when a pull request is opened
- when a pull request is synchronized
routines:
- suggest PR description improvements
- flag missing reviewer context
deny:
- merge pull requests
- push to protected branches
schedule: "0 9 * * *"
---
## Policy
Focus on short, actionable feedback.
## Output format
1. Findings
2. Suggested edits
3. Questions for authorTerminology
Related Papers
Migrating a production AI agent to GPT-5.6: 2.2x faster, 27% cheaper
마케팅 웹사이트를 자동 생성하는 프로덕션 AI 에이전트를 Claude Opus 4.8에서 GPT-5.6 Sol로 전환한 실전 경험담으로, 단순 모델 교체가 아니라 eval 하네스, 툴 스키마, 캐싱, 추론 리플레이까지 손봐야 했던 과정을 구체적인 수치와 함께 정리했다.
What xAI's Grok build CLI sends to xAI: A wire-level analysis
xAI의 공식 코딩 CLI 도구 Grok Build가 사용자 동의 없이 전체 Git 저장소와 .env 시크릿 파일을 xAI 서버로 업로드한다는 사실이 네트워크 트래픽 분석으로 밝혀졌다.
Remember When It Matters: Proactive Memory Agent for Long-Horizon Agents
LLM 에이전트가 긴 작업 중 중요한 정보를 잊어버리는 문제를 별도의 메모리 에이전트가 '적절한 타이밍에' 끼어들어 해결하는 방법
WebSwarm: Recursive Multi-Agent Orchestration for Deep-and-Wide Web Search
복잡한 웹 검색을 재귀적으로 분해하고 각 노드에 적합한 검색 모드를 동적으로 할당하는 멀티에이전트 프레임워크
Show HN: Reverse-engineering web apps into agent tools
로그인된 웹 앱의 API 호출을 브라우저에서 감시해 자동으로 MCP 도구로 변환하는 에이전트를 만들었다. 소스 코드나 공식 API 문서 없이도 Jira, Spotify 같은 서비스에 AI 어시스턴트를 붙일 수 있다.
Show HN: FableCut – A browser video editor AI agents can drive (zero deps)
타임라인 전체를 JSON 파일 하나로 표현하고 MCP/REST로 AI 에이전트가 직접 편집할 수 있는 브라우저 비디오 에디터로, Claude 같은 AI가 프롬프트 하나로 영상을 자동 컷편집하고 결과를 실시간으로 UI에 반영해준다.