Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That is precisely how the dreamcoder [0] ai agent I built also works.

It has an event sourced architecture in SQLite and it resolves queries using recursive CTEs (and sneaky projections to speed things up) to deliver exactly that. Identical, stable message chains to AI and complete introspection.

Bonus points include a constraint-satisfaction solver for the tiling window manager so windows never shrink too small to read. And many other keyboard-friendly features.

[0] https://www.dreamcoder.ai/ [1] https://www.dreamcoder.ai/assets/graph.webp



why dont you mention that its your site instead of prenteding like something you discovered

to swelljoe below. they stealth edited it after my comment. see other examples.

https://news.ycombinator.com/item?id=49289293

https://news.ycombinator.com/item?id=49120753


They say "I built" in the first sentence. Seems pretty clear to me that it's their site and they're proud of it?


I'm curious, how does the context management work with event sourcing? What kind of events are you storing and how do you decide when to hydrate a new projection?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: