Python

Keeping the Coding Agent on the Straight and Narrow

A companion to the PKM Phase 1 post. The foundation was built by two AIs — Claude.ai for design, Claude Code for implementation — with a spec as the contract between them. Ten SPEC revisions in four days, and what the rules caught that 'pragmatic' would have missed.

essaysaipython

A Content-Addressed Foundation for Personal Knowledge

Eleven million words of personal documents, four canonical questions none of Khoj, Paperless-ngx, Obsidian, or Karpathy's LLM Wiki can answer, and a content-addressed extraction foundation that takes content-addressing seriously. Phase 1 of a multi-phase build.

essaysdataaipython

Teaching Zork to a Bayesian

A Bayesian agent plays text adventures with four information sources and a VOI gate on every query. The LLM recommends actions. The mathematics decides whether to listen.

pythonbayesianmachine-learningaiinteractive-fiction
Agentic AI Is Neither Intelligent Nor an Agent

Agentic AI Is Neither Intelligent Nor an Agent

I built a Bayesian agent and set it against LangChain on a tool-use benchmark. LangChain got more answers right and still lost — by 120 points.

pythonbayesianmachine-learningaiessays
Evolution Discovers How to Think: A Philosophical Journey in Code

Evolution Discovers How to Think: A Philosophical Journey in Code

Part 2 of the Bayesian agent series. We confront the question of what should be designed versus what should be allowed to emerge, and discover that it's agents all the way up and all the way down.

pythonbayesianevolutionsimulationphilosophy
Building a Bayesian Learning Agent That Teaches Itself to Eat

Building a Bayesian Learning Agent That Teaches Itself to Eat

A visual demonstration of Bayesian inference and the exploration-exploitation tradeoff. An agent navigates a grid world, learning which foods are safe through exact conjugate updates.

pythonbayesianmachine-learningsimulationeducation