Total Recall
Persisting conversations to a database and compacting context so our agent never forgets
A collection of notes, essays, and technical deep dives by Ivan Leo.
Previously built general agents for knowledge work at Manus (acq by Meta). Embarking on a new adventure soon.
A comprehensive series on building AI coding agents from scratch, covering everything from basic tool integration to advanced features like agentic search and subagents.
Working through Stanford's CS336 and documenting what I learn at each step — from tokenization to training.
Persisting conversations to a database and compacting context so our agent never forgets
Deploying our agent on Telegram with ngrok so it can report back
Allowing an agent to modify itself with tools
Breaking down OpenClaw-style agents and the roadmap for building one from scratch
Turn regex IR into a graph-based automaton for fast next-step lookup
Going beyond a simple regex to an FSM for quick lookups
Build a recursive JSON Schema-to-regex compiler from first principles
Taste is all that matters.