Today I announce Cantrip: On summoning entities from language in circles. In this book I unify the paradigm behind base models, chatbots, coding agents, RLMs, and RL agents, through the metaphor of magic. Code is provided. deepfates.com/cantrip
Post
I've been creating cantrips in one way or another for a decade now. From the Markov chains of pkd_head, to early transformer/ReAct agents like @berduck.deepfates.com , to the marginalia geists on my website, and much more. Cantrip is the grimoire I wish I had then. www.deepfates.com/deepfates-we...
The template repo contains generated versions in Python, Elixir, and Clojure, along with the original TypeScript version I built to test my theory; the spec and tests which you can use to generate your own; and READMEs for quickstart github.com/deepfates/ca...
0 reposts6 likes
Cantrip recognizes that what we call artificial intelligence now is at all levels a loop of language: predict next token, next message, next command, next sub-agent, in a feedback loop with your own effects. The static intelligence of language come alive www.deepfates.com/recursive-la...