HNHacker News
TopNewBestAskShowJobs

schmuhblaster

304 karma · joined November 15, 2025

submissionscomments
schmuhblaster··on Procedural Graphs: Self-Evolving Execution Structures for LLM Agents
Maybe I missed in when scanning the paper, but did they compare to a simple self modifying harness, e.g. instructing Pi to update some code or skill docs based on the results?
schmuhblaster··on Make SOPs executable: policies as deterministic logic programs with agent leaves
Turning 100+ page SOP documents into executable policies using DeepClause and DML.

Building on the self-modifying harness concept we show here how to use DeepClause to build more reliable agents for outsourcing work defined via SOPs and policies. Instead of taking a big markdown file and putting it into the system prompt, we let a coding agent convert policies into small executable logic programs in a DSL called “DML”. The “leaves” of these programs can either be deterministic rules or LLM-driven agent loops. DML programs run safely inside the WASM build of SWI-Prolog.

schmuhblaster··on I accidentally turned LLM memory into program analysis
Great work! If anyone is looking for a way to integrate something like this into their own harness or the pi coding agent, then you might be interested in DeepClause [0]. It comes with a Prolog-like language implemented on top of SWI-Prolog (WASM Version). The purpose of the project is to allow for broad experimentation around the intersection of LLMs/Agents and GOFAI. So you could use it to build memory systems like OP did, create executable specs, define graphs and loops for agents and subagents... It also comes with a pi extension that greatly simplifies getting started with it.

Opposed to OP, DeepClause uses Prolog semantics, so running some more complex queries on knowledgebases might cause some issues (which is the use case where a Datalog might be more useful). For smaller scales it should be fine though.

[0] https://github.com/deepclause/deepclause-sdk [1] https://github.com/deepclause/deepclause-pi

schmuhblaster··on AWS Acquires DuckDB
I've been super impressed by DuckDB ever since first trying it out about 3 three years ago. Congrats to the founders!
schmuhblaster··on GLM-5.3: Frontier coding with emergent cyber capabilities
I think that writing your own harness is a rite of passage now, just like writing your own search engine or database, rolling your own crypto…

Anyways, please try mine!

https://github.com/deepclause/deepclause-sdk

schmuhblaster··on Ask HN: What are you working on? (August 2026)
That should be possible. You can e.g. take a look at the deep research example skill.

The Prolog/DML lets you express any kind of loop, graph, whatever workflow.

schmuhblaster··on Ask HN: What are you working on? (August 2026)
I’ve been working on DeepClause [0], an agentic harness, the core of which is based on Prolog. Every interaction (conversation turn, plan, execute plan, etc.) triggers a small logic program that orchestrates one or more agent loops or prompts. All these programs are completely hackable, so you can easily adjust the core logic and behavior of your agents in a reliable manner. Also, instead of using markdown specs, you can “compile” your markdown into Prolog code. My hope is that this might unlock new possibilities for spec driven development.

It’s been a lot of fun and I am somewhat proud of Prolog/Typescript integration layer built on SWI Prolog’s WASM version.

Other than that, I am not sure how and if I will continue with it. Feedback welcome!

[0] https://github.com/deepclause/deepclause-sdk

schmuhblaster··on Is AI reasoning right for the wrong reasons?
Indeed, and maybe that's all there is to it. Still, I'd hope we will eventually better understand what's exactly happening in the wake of many repeated applications of f().
schmuhblaster··on Handbook.md shows that long policy documents do not reliably govern agents
Yes, I am the author and thanks so much for trying! Please do submit a github issue. My first suspicion about the speed is that maybe an inner loop is taking too many turns until the model finally realizes that a task is finished (so that in turn the runtime knows whether the predicate failed or not and can continue execution accordingly). Happy to take a closer look!

The point about multiline prompts is very valid obviously, that's on the todo list.

schmuhblaster··on Handbook.md shows that long policy documents do not reliably govern agents
Sorry, did not notice your comment until just now.

So far I am observing two things:

1. For smaller models, performance on Benchmarks such as DeepPlanning does increase significantly.

2. Context hygiene for sub agents becomes much simpler, since that can be expressed relatively concise and the mechanics are handled by the runtime automatically.

Still looking for a good test cases to study possible advantages, but running reliable benchmarks does take time and money...

schmuhblaster··on Handbook.md shows that long policy documents do not reliably govern agents
For my own (rather idiosyncratic) harness I've been experimenting [0] with "compiling" long markdown specifications into small executable logic programs. It's too early to tell for sure, but I believe that this approach does have its merits when you want some guarantees about how your agents behave for longer tasks.

[0] https://github.com/deepclause/deepclause-sdk

schmuhblaster··on Towards a harness that can do anything
You might like this: https://github.com/deepclause/deepclause-sdk.

It’s a DSL I’ve been working on to encode mixed deterministic/probabilisitic agent behavior.

schmuhblaster··on Meta caps internal AI token spending
Been building various LLM+PDF pipelines at work. As soon as you need to e.g. parse tables etc. it becomes a lot of hard work!
schmuhblaster··on America can switch off AI. Europe must switch gears before it's too late
As a European I have long given up on any meaningful change w.r.t AI. Imho the average European is much more risk averse than the average American or Chinese. That and a plethora of other factors that have been discussed over and over again, make it unlikely that we'll see things change within the next ten years or so. Only massive and immediate threats (e.g. he crisis in Ukraine) will make people and governments reconsider their fundamental beliefs (and even then the pace of change will be slow).
schmuhblaster··on Kb – Prolog Knowledge Base
Awesome work! If I understand it correctly, it loads relevant subgraphs from the DB and then runs queries in Prolog on it? Or is it more similar to datalog?
schmuhblaster··on Qwen 3.6 27B is the sweet spot for local development
It's my own (slightly idiosyncractic ;-) harness: https://github.com/deepclause/deepclause-sdk
schmuhblaster··on Qwen 3.6 27B is the sweet spot for local development
I've worked extensively with the slightly less able cousin, the 35B A3B model and tuned my own harness around making it work well with local or non-sota models. The results are quite promising [0], if one sticks to a plan-execute approach. After a bit of fiddling with llama.cpp I was able to get it to work through a small change on a real codebase from work on a 32GB M5 (typical python FastAPI backend, so nothing out of the ordinary). While that's somewhat encouraging, the whole local experience was still far from pleasant with all the noise and heat.

[0] https://deepclause.substack.com/p/how-to-make-small-models-p...

schmuhblaster··on AI in mathematics is forcing big questions
Mathematics has always been an experimental science to some extent. While Newton, Euler and Gauss would spend a lot time calculating numerical approximations by hand, modern mathematicians have been doing the same using computers and software. And once an a clear picture emerge about what’s going, you can start to formalize that and attempt to prove and communicate your results in the standard definition, proposition, lemma, theorem scheme. (Btw there is even a journal called Experimental Mathematics devoted to this approach).

I don’t see that LLMs will fundamentally change this, but rather accelerate the speed of mathematical research.

Some computer generated proofs might of course be hard to understand, but at least their existence gives another data point work with.

Doing Mathematics is more than proving something, that’s just the end of a long road spent pondering at one’s desk about how things could work out.

schmuhblaster··on Puzzling Success of Overparameterization: Lottery Tickets or Escape Dimensions?
> This trend dates back at least to the machine learning bible, Elements of Statistical Learning (2001).

Could you elaborate on this?

schmuhblaster··on For Most of the World, Open-Source AI Is the Only Way Forward
Indeed, and with some tinkering around the harness it can even punch way above its weight.
schmuhblaster··on There are a few things that I look back on as my mistakes in the early days
This somehow resonates with me and I feel this is one of the negative side effects of a CS/Maths dominated culture and mindset that strongly emphasizes intellectual achievement, but hasn’t yet matured enough to appreciate the more messy and irrational parts of our existence.
schmuhblaster··on Sakana Fugu
I’ve been working on my own harness / “orchestration layer”, not with the goal of reaching frontier level performance, but rather boosting performance of smaller (locally hostable) models. Unfortunately, I don’t have VC money to burn on running hundreds of evals, but some preliminary results do indicate that it could work[0].

https://deepclause.substack.com/p/how-to-make-small-models-p...

schmuhblaster··on Never Give Them Your Face
Hmm, that also happened to me. Scan face, account lost forever?
schmuhblaster··on AI demands more engineering discipline. Not less
What worries me personally is the dopamine hit I seem to get from watching my ideas get built in front of me. There is a big temptation to just add feature after feature without really checking what the code actually looks like. So yes, more discipline is needed.
schmuhblaster··on Running local models is good now
I’ve been playing around with qwen3.6-35b-a3b and managed to boost it significantly by leveraging my own custom harness [0].

It is quite astonishing to see how far local models have progressed, and I think that if you enjoy tinkering a bit, you can save a good bit of money (if you happen to have the hardware lying around anyways). Overall it’s still hard to beat the the cost/convenience combination of a cloud based model provider though.

[0] https://deepclause.substack.com/p/how-to-make-small-models-p...

schmuhblaster··on Ask HN: What are you working on? (June 2026)
Thank you very much!
schmuhblaster··on Ask HN: What are you working on? (June 2026)
I’ve been building a Prolog and WASM based LLM/Agent framework [0] , where reusable skills and core harness functionality is encoded in a logic programming language. Recently added a small TUI with a Borland Turbo Vision style design. My goal is to build a completely hackable harness that works well with smaller models and to further promote the combination of logic programming and LLMs.

[0] https://github.com/deepclause/deepclause-sdk

schmuhblaster··on How a new DSL may survive in the era of LLMs
Thank you! This looks very interesting!
schmuhblaster··on How a new DSL may survive in the era of LLMs
I've been working on DML, a Prolog-based DSL [0] used to define and orchestrate agents and LLM workflows. It's been quite fun, although - given the amazing capabilities of SOTA models - I am not so sure anymore how meaningful it will be to continue with this work. Anyways, the language and also supports DCGs, so it should allow for plenty of interesting ways to combine grammars, LLMs, agents etc.

[0] https://github.com/deepclause/deepclause-sdk

schmuhblaster··on Prolog Coding Horror
As someone who has developed a somewhat weird obsession with Prolog, I can highly recommend Markus Triska's other articles on Prolog. His article on meta-interpreters [0] was particularly inspiring for me.

[0] https://www.complang.tuwien.ac.at/ulrich/prolog_misc/acomip....

Page 1 of 2Next →