frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Daemons – we pivoted from building agents to cleaning up after them

https://charlielabs.ai/
30•rileyt•2h ago
For almost two years, we've been developing Charlie, a coding agent that is autonomous, cloud-based, and focused primarily on TypeScript development. During that time, the explosion in growth and development of LLMs and agents has surpassed even our initially very bullish prognosis. When we started Charlie, we were one of the only teams we knew fully relying on agents to build all of our code. We all know how that has gone — the world has caught up, but working with agents hasn't been all kittens and rainbows, especially for fast moving teams.

The one thing we've noticed over the last 3 months is that the more you use agents, the more work they create. Dozens of pull requests means older code gets out of date quickly. Documentation drifts. Dependencies become stale. Developers are so focused on pushing out new code that this crucial work falls through the cracks. That's why we pivoted away from agents and invented what we think is the necessary next step for AI powered software development.

Today, we're introducing Daemons: a new product category built for teams dealing with operational drag from agent-created output. Named after the familiar background processes from Linux, Daemons are added to your codebase by adding an .md file to your repo, and run in a set-it-and-forget-it way that will make your lives easier and accelerate any project. For teams that use Claude, Codex, Cursor, Cline, or any other agent, we think you'll really enjoy what Daemons bring to the table.

Comments

handfuloflight•1h ago
How does this compare to OpenProse, it looks similar? https://openprose.ai/

Are the two competitive or additive?

rileyt•1h ago
hadn't seen this before, but it looks like the daemon schedules and watch conditions could be helpful for activating openprose contracts.
panosfilianos•1h ago
Why couldn't these just be callable skills?
rybosome•1h ago
Callable skills can’t activate on a schedule or listen for events. Making a daemon which invokes other callable skills is a great use case!

I’m an eng on the team that built this, in full disclosure.

Bootvis•43m ago
I do really like the idea.

But pardon my ignorance, but one could quite easily roll this themselves? Script the hooks and fire off a headless agent with a hook specific prompt.

rybosome•35m ago
Very fair question.

One could build a simple version of this easily - e.g. setup an endpoint that listens for the particular event you are concerned with, and fire off the headless agent with your hook specific prompt - but the amount of work involved to listen for that particular event while filtering out noise and orchestrating the task is actually not trivial.

Plus, that involves writing a lot of code. It's really magical to express all of this in natural language.

For example, this is the YAML frontmatter for a a daemon that keeps a GitHub PR in a mergeable state in the event of CI failures or branch base changes.

  ---
  id: pr-mergeability
  purpose: Keep non-draft pull requests mergeable and CI-green without changing PR intent/scope, while staying anchored to one trigger context per run.
  watch:
    - Branch sync and update events on non-draft PRs.
    - Check-status signals on non-draft PRs for checks that affect mergeability.
  routines:
    - Resolve mechanical merge conflicts when the safe resolution is clear and preserves PR intent/scope.
    - 'Apply low-risk mergeability fixes: snapshot updates, lockfile drift fixes, lint autofix, and flaky-test retries when tied to the trigger context.'
    - Escalate semantic/intention conflicts between base and branch instead of auto-resolving.
  deny:
    - When triggered by a check-status signal, do not fix or comment on unrelated failing checks.
    - Do not open new pull requests or new issues.
    - Do not review, approve, or request changes on pull requests.
    - Do not implement review-comment suggestion patches.
    - Avoid force-push by default; if force is absolutely required, use `--force-with-lease` only after fresh remote verification.
    - Do not make changes beyond mergeability maintenance.
  ---
Note the lack of any code or required knowledge of GitHub webhooks.
briandoll•1h ago
Daemons are autonomous. From the site:

> Daemons are self-initiated — they observe the environment, detect drift, and act without a prompt.

potter098•1h ago
The drift detection angle is interesting. I'd be curious how you handle cases where two daemons touch related files — is there a way to declare ordering constraints in the .md file, or do they run in isolated branches?
rybosome•1h ago
Each daemon runs in its own isolate, but the output is typically shared state; eg multiple daemons contribute to the same PR from separate container runtimes.

It’s possible to make naive daemons that stomp on each other (as with a UNIX daemon), but they’re highly responsive to coordination instructions and generally do very well at additive rather than competitive contribution.

jb_hn•1h ago
Looks really interesting -- quick question though: how does this differ from hooks (e.g., https://code.claude.com/docs/en/hooks)?
simonw•1h ago
Looks more similar to routines for me (just launched the other day): https://code.claude.com/docs/en/routines
rileyt•52m ago
simonw is right, daemons are closer to routines.

compared to routines:

- daemons are specified by a DAEMON.md file in the repo (like skills). it's version-controlled and team-owned, not hidden in a dashboard or linked to a single developers account.

- daemons have a specialized event pipeline that joins similar webhooks events into a single daemon activation and can inject late arriving events into a daemon that's already running (this is key to avoid duplicate work and noisy actions).

- the watch conditions are a more powerful activation method because they use semantic matching and can be mixed with cron schedules.

- daemons have access to the logs from their past runs (and soon proper memory) so they can learn from their own mistakes.

newsdeskx•1h ago
the hook model is event-driven - something happens, hook fires. daemons sound like they're proposing a different mental model where you have persistent processes that observe and react. the difference is the same as cron vs a running service. both work but the daemon approach makes sense when you need stateful observation across multiple events rather than just per-action triggers
razvanneculai•46m ago
Looks pretty interesting, will try it out and give you feedback! keep up the good work.
rileyt•46m ago
here are a few more resources:

- example daemon files: https://github.com/charlie-labs/daemons

- reference docs: https://docs.charlielabs.ai/daemons

happy to answer questions. all feedback appreciated.

wolttam•25m ago
The schedule is cute.

"Complete non-determinism for everything except the schedule it runs at."

rdme•24m ago
How would this work? One would connect it's repository to a cloud platform that would then act based on the existing daemons of the repo?
rybosome•16m ago
That's exactly right. Our cloud-based agent Charlie (https://charlielabs.ai/) supports this, and our hope is that other platform providers will offer support in the future as well.

Skills live in the repository, so it felt like a natural complement. It also lets other developers see what the active daemons are and collaborate on them. With proper context, agents are quite good at writing and editing these daemon files too.

rileyt•12m ago
DAEMONS.md is meant to be an open spec, like skills.

there's details on how other platforms can support it here: https://ai-daemons.com/spec/#provider-guide

The Vercel breach: OAuth attack exposes risk in platform environment variables

https://www.trendmicro.com/en_us/research/26/d/vercel-breach-oauth-supply-chain.html
64•queenelvis•1h ago•24 comments

Britannica11.org – a structured edition of the 1911 Encyclopædia Britannica

https://britannica11.org/
33•ahaspel•59m ago•25 comments

Laws of Software Engineering

https://lawsofsoftwareengineering.com
629•milanm081•7h ago•323 comments

A Periodic Map of Cheese

https://cheesemap.netlify.app/
53•sfrechtling•2h ago•24 comments

Show HN: GoModel – an open-source AI gateway in Go

https://github.com/ENTERPILOT/GOModel/
105•santiago-pl•4h ago•34 comments

Fusion Power Plant Simulator

https://www.fusionenergybase.com/fusion-power-plant-simulator
91•sam•4h ago•34 comments

Edit store price tags using Flipper Zero

https://github.com/i12bp8/TagTinker
136•trueduke•2d ago•146 comments

Show HN: VidStudio, a browser based video editor that doesn't upload your files

https://vidstudio.app/video-editor
196•kolx•6h ago•76 comments

Trellis AI (YC W24) Is hiring engineers to build self-improving agents

https://www.ycombinator.com/companies/trellis-ai/jobs/SvzJaTH-member-of-technical-staff-product-e...
1•macklinkachorn•1h ago

Kasane: New drop-in Kakoune front end with GPU rendering and WASM Plugins

https://github.com/Yus314/kasane
26•nsagent•2h ago•3 comments

Running a Minecraft Server and More on a 1960s Univac Computer

https://farlow.dev/2026/04/17/running-a-minecraft-server-and-more-on-a-1960s-univac-computer
130•brilee•3d ago•22 comments

Modern Front end Complexity: essential or accidental?

https://binaryigor.com/modern-frontend-complexity.html
22•gsky•2d ago•10 comments

Framework Laptop 13 Pro

https://frame.work/laptop13pro
49•Trollmann•32m ago•10 comments

Tindie store under "scheduled maintenance" for days

https://www.tindie.com/
87•somemisopaste•5h ago•42 comments

A type-safe, realtime collaborative Graph Database in a CRDT

https://codemix.com/graph
117•phpnode•7h ago•32 comments

Clojure: Transducers

https://clojure.org/reference/transducers
92•tosh•2d ago•25 comments

Anthropic says OpenClaw-style Claude CLI usage is allowed again

https://docs.openclaw.ai/providers/anthropic
414•jmsflknr•14h ago•238 comments

MNT Reform is an open hardware laptop, designed and assembled in Germany

http://mnt.stanleylieber.com/reform/
219•speckx•1d ago•85 comments

Original GrapheneOS responses to WIRED fact checker

https://discuss.grapheneos.org/d/34369-original-grapheneos-responses-to-wired-fact-checker
201•ChrisArchitect•3h ago•114 comments

Tim Cook's Impeccable Timing

https://stratechery.com/2026/tim-cooks-impeccable-timing/
223•hasheddan•7h ago•323 comments

Show HN: Mediator.ai – Using Nash bargaining and LLMs to systematize fairness

https://mediator.ai/
125•sanity•1d ago•63 comments

Show HN: Ctx – a /resume that works across Claude Code and Codex

https://github.com/dchu917/ctx
18•dchu17•1d ago•7 comments

Leonardo, Borgia, and Machiavelli: A Fateful Collusion

https://www.historytoday.com/archive/leonardo-borgia-and-machiavelli-fateful-collusion
32•apollinaire•5d ago•0 comments

Recommended GPU Repairshop in Europe (Germany)

21•DogRunner•2d ago•4 comments

Anthropic takes $5B from Amazon and pledges $100B in cloud spending in return

https://techcrunch.com/2026/04/20/anthropic-takes-5b-from-amazon-and-pledges-100b-in-cloud-spendi...
186•Brajeshwar•5h ago•189 comments

Slava's Monoid Zoo

https://factorcode.org/slava/monoids.html
50•luu•1d ago•8 comments

Show HN: Daemons – we pivoted from building agents to cleaning up after them

https://charlielabs.ai/
30•rileyt•2h ago•19 comments

Meta capturing employee mouse movements, keystrokes for AI training data

https://economictimes.indiatimes.com/tech/technology/meta-to-start-capturing-employee-mouse-movem...
23•dlx•52m ago•5 comments

Colorado River disappeared record for 5M years: now we know where it was

https://phys.org/news/2026-04-colorado-river-geological-million-years.html
17•wglb•1d ago•4 comments

Salmon exposed to cocaine and its main byproduct roam more widely

https://www.science.org/content/article/cocaine-pollution-gives-salmon-wanderlust
121•1659447091•13h ago•78 comments