Yes, and agents, apps, and workflows aren't necessarily different species - they are all the same thing, just different mixes of rules and cognition. I’d further collapse them to a cognitive automaton: System 0 (verified rules, hard permissions), System 1 (fast inline Jev choices), and System 2 (frontier agents in sandboxes) sharing a causal log. Repeated judgment would then distill down from slow agents to fast reflexes to proven deterministic code, for example, as you use it.
Formal verification isn't finding bugs, it's proving there are none.
But what if you attempt to formally verify code that has a bug?
The second post on our x86 formal verification research project covers bugs we found in glibc, and how failing proofs can lead right to them.
Another day in personal software. I surrender a lot of my thinking to Claude, so cognitive exercise is in order. Here's one of the ways LLMs are helping, and not taking: reading in languages.
I've been wanting to read more, and to get back to the languages I studied but haven't had bandwidth for. So I built myself a @UniKonDev app, something pleasant to read in for a bit every day.
Take any book, any language (I started with Spanish and Mandarin), agents break it into different levels (from as low as toddler level up to the original text, and a slider switches between them on the same page), illustrate it (with code of course, we may come back to diffusion soon, but I'm still hooked on the way LLMs express themselves visually without reference in pure code), voice it with @ElevenLabs, and voila, you enjoy personalized reading to your level. You can then pick up new/interesting words, have LLMs compose more examples with them. I had the agent make it cozy and calm too, to detox from the overwhelm fueled by reading Claude's responses (which, alas, still come out as a blend of magical realism and fantasy writing where you need to riddle away whether what you asked for has truly been implemented).
I'm currently reading a Chinese novel (蜜汁炖鱿鱼) the analog way (printed book), which I love. It's the ultimate touch grass, but I also took photos of the first chapters and the agent put them in the app: the original text as printed, plus an easier level, all with with pictures and voice. On paper I blaze through the words I forgot the pronunciation and tones for and still get the meaning. That's why I read it again through the app, so I can hear the words I wasn't sure about.
Why levels work: in linguistics it's pretty well accepted that we acquire a language from input we understand, the way a child hears the same thing said simply, then less simply, while already knowing what's meant. The sweet spot is knowing about 95-98% of the words on a page (below that, reading turns into decoding). That's why I think starting at the level that's slightly challenging for you and going up is the best way (filling in the missing pieces gradually).
With vocabulary, you need to encounter a word many times, in different sentences. You can speed that up by having LLMs create many examples, even combining as many new words as you want into one new passage (in the app you can do that), which works even better because words tied together in one little story are remembered much better than the same words learned one by one, and it's also kinda thrilling to watch what kind of concoction the LLM comes up with to combine them.
UniKon makes it easy to create and share apps like this. An agent builds it through an MCP connector, it runs on a @tensorlake sandbox that's awake only when the app is being used, and is ready to be shared as soon as it's built. A friend learning a language can open the same book at their own level and maintain their own vocabulary garden, have their agent add more books, grow the library, read together.
Had a great conversation with @EGafni, co-founder and CTO of TypeSafe AI, at INFER/CON.
We went from his path from genomics to TypeSafe, to building and serving System One models inside software, unique memes and cases discovered since launch (such as using it in control loops and verified state machines), and ended with where machine-to-machine intelligence is going next.
Thanks Erik for nerding out on stage with me, and thanks to our #infercon team at @datadoghq for putting together a high-quality technical conference with a stacked lineup of minds building the frontier.
I'll share the recording once available.
Hyper-personalized software is also hyper-personalized education.
Why do school districts matter, for example? I think you'd pick one for cultural and intellectual fit. But intellectually, when you go through a curriculum with a group, everyone could get pulled to the baseline. Kids above it might get disengaged cause they're bored, kids below it cause the gap is too big. And even at the right level of complexity, the way it's taught might not suit everyone.
I changed schools five times growing up (post-soviet, a very different education model). We accepted many limitations and "turned out fine", but so much more is possible now. I've been thinking about this as my son nears school age.
With AI you might not need to pick by intellectual baseline anymore, cause there wouldn't be one. The knowledge part of education would become a game with infinite levels, where each "boss" you need to defeat is the kind that motivates you personally the most. No limit to imagination. The social aspect and the humanity of it, the interpersonal part would be the core value of group education AI can't (shouldn't) replace. So you'd pick based on that.
We're making this happen at home. My son just turned 3, and he has a tablet for when we travel. I curate the games on it, but he gets bored of the same ones, and in a household where we speak Russian, English and Telugu, educational games in the right language can be hard to find. I'm also introducing him to Mandarin, because I spent a lot of time studying it myself and want him to be familiar with it too. So I made him a personal game: a world of islands with stories he listens to, and games woven into them (letters, counting, finding animals), and it grows as he uses it. He got right away that it changes, and started "prompting" it to change too.
It kept showing him the same word, and he talked straight to the tablet: "no, I've seen this word, it should say (his name) there instead, and you add Shere Khan, Mowgli, Bagheera too. And wolves". (He's in his Mowgli/jungle phase currently). Basically he told that to the device, and I just translated toddler-speak to Claude and it built that.
He knew to do that at 3 (I was a bit shocked tbh) because he hears me talking to Claude a lot + others in our family talk to agents. He'll say Claude is Gemini's friend, because one person talks to Claude and another talks to Gemini, which means they're kind of the same thing you talk to, so they must be friends. This new generation picking it up is fascinating.
This app is made with @UniKonDev, which I'm building for personal use cases like this. I also use it to: organize family to-dos, build UniKon itself with my agents, collect design inspiration, monitor and research the housing market, collect my son's quotes, etc.
@bot, @muse, Claude and other agents can build the same app. It has a backend that keeps his progress and the game's rules, and it runs in a sandbox (@tensorlake) that's only awake when he's playing.
So all of my son's interactions with it are recorded: if he gets stuck somewhere, skips something, or already knows the answers, it's all in the state. I can ask the agents building it to extend it or add new content that will challenge him now, or background agents can just do it and I only curate. And the more this world is built out, the easier it is for agents, because it's collecting his playing history (the kind of things he liked and didn't like). I feel a kinship with what @lionel_mora is building here.
I can also share the app with someone else, and UniKon keeps the progress, personal details (and even the look of the app) unique to each user. Or they can just copy my app and have their agent change it however they want.
You can build apps like this easily with UniKon.
I strongly believe (hope?) humans should design and maintain software (likely in natural language). As this transition happens, we must also increase the
level of abstraction used for verification (aka tests)
Transcript Tests can help: https://t.co/BPTk1nYpFC
signal is a great word for it. Recently I encouraged folks to stop thinking in terms of "loops" and more in terms of:
"forward pressure" - what causes work to start (crashes, bugs reports, performance issues, +100 things)
and
"backpressure" - how does an agent hill climb against an outcome (linters, tests, ai review/risk judge, canaries, feature flags, +100 things)
looping these toward a desired state rather than an outcome / artifact is a powerful mental model - forward pressure increases autonomy in what gets attention, backpressure increases autonomy in getting to a super high-quality solution
9 months ago, loops like ralph were primarily used to go from point A to point B in terms of functionality, but this is just one degenerate case of a more generic control loop:
- read desired state (e.g. no open bugs, or DB perf above X metric, OR "feature Y shipped", OR "all linter warnings resolved or explicity ignored")
- read state of the world (query systems, run linters, etc)
- decide if anything needs to be done (compare to policy / desired state)
(optional: approve decision)
- do the thing (code change, infra change, docs change, process change)
(optional: approval action)
- repeat
shouts out @0xblacklight for the original framing here at AIE back in june. same logic works for evolving the control loop itself
Veil 2.0 is out and I’m very proud of it.
@zqy1018 spearheaded this release and did an amazing job.
Anything you’d use the TLA+ Toolbox for, we now support in a fully foundational way and with better model checking performance!
Give it a try!
One of the things I built for myself (amongst others) on Unikon is a chess boxing trainer that I share with my trainer. He talks to it through his @Muse and I with @bot
You want personal software to keep evolving as you use it, and as your agents use it for you.
I’m building @UniKonDev with this in mind.
I personally use several agents (@bot, @Muse, Claude), so when I have bot build an app that pulls in design inspo from galleries and lets me curate and keep the best, later when I ask Claude to design something for me, it needs to know that context too.
Then, personal software is also shared with your circle. My husband has a @bot, my son's nanny has ChatGPT with dots. So I asked an agent to build us a Unikon app where we share the calendar of my son's activities, quotes of things he says and photos too, and whenever one of our agents need something they can’t do yet, they add it.
@ebetica Have you seen temper by @nerdsane ? I’ve used it to help agents build state machines for e.g. monitoring processes also and it works really smoothly for it ime, and allows them to build really powerful experiences like e.g. custom progress bars, streaming log info, etc
Everyone has their own agent now. With UniKon, they build one app together and coordinate through it.
Say, you're planning a trip: you use Claude, your friend uses @bot, your mom - ChatGPT, and everyone's agents work on the same app, planning where to stay, sharing photos with each other (your own little feed) and adding a new page whenever someone needs one.
UniKon is built on @tensorlake sandboxes, uses @datadoghq for observability, apps run in Temper runtime by @nerdsane.
My timeline is full of RL. RL environments, RL gyms, data labeling companies. Startups scaling to $1B in revenue in months. What is going on?
Post-training seems like the new frontier. Reinforcement learning is the emerging preferred method, with an ecosystem worth $Bs growing around it.
But how does it work? And how much does it really add to good pre-training?
On Ep 3 of Technically Speaking from @readtechnically, a rare conversation from both sides of the RL stack:
@slippylolo (co-founder & CEO of Adaptive ML, now at @datadoghq ) and @nerdsane (Datadog):
→ Why a monitoring company bought an RL startup: "At its heart, this is an observability problem."
→ Whether your startup should train its own model: "for 99% of people it doesn't make any sense to do that"
→ Creating synthetic training data: "You cannot create data ex nihilo and hope for the best."
→ What actually makes for great post-training: "it's mostly a question of high quality execution"
In formal verification there are two axes: checking vs proving, and doing either on a model vs the actual implementation.
For checking, formal modeling languages I use : TLA+, @quint_lang, Stateright.
These model the system design and check that in all possible states, as the model defines them, undesirable things don't happen (with invariants) and desirable things do (liveness). "All possible states" means within the bounds you set, like 3 nodes and 2 retries. Checking explores every one of those states exhaustively, but doesn’t check what happens with 4 nodes for example.
I'd say it helps to be able to read at least one of those and understand concepts like invariants, liveness and fairness, if we're relying on the formal model to be the backbone of the whole design. Claude will smoke them out fine, and even if you don't wanna read it or write it yourself, conceptually being able to grill Claude and understand what it's explaining is important.
Then an agent needs to keep the implementation aligned to the spec. (Stateright is the exception: the model is Rust actor code you can also run, so the model and the implementation can be the same thing).
@poteto's pstack has a skill, /create-formal-verification-skill, that uses TLA+ to find bugs in existing codebases. I'd try that and then ask Claude to teach you what it did and why.
Then there's proving. Checking covers the states it explored. A proof covers all possible states, because it proves that something is true, like you'd prove a theorem in algebra. The unlock here with agents is that once you define the rules, they can write the mathematical proofs of them about a model or code (which is extremely labor intensive for a human).
Tools and languages that do proving: Lean, TLAPS, Verus, @bendlang (@VictorTaelin), Z3.
Lean and TLAPS prove a model, so you need to keep the implementation aligned again.
Verus can do either: it can prove a Rust implementation directly, or you can use it to write a model.
In @bendlang you declare laws about your program and prove them in the same language, and the compiler checks the proof before the code runs. So the proof is about the actual code.
Z3 is the solver underneath a lot of these: you give it logical constraints and it either finds a counterexample or shows there is none. Verus is built on it and TLAPS can call it. You usually don't write Z3 yourself.
I'm personally building @UniKonDev, a multiplayer substrate where agents build apps, and every app is made of executable state machines. It runs on Temper, a runtime by @nerdsane, which executes those state machines and refuses moves that break the app's rules. We’re combining checking for exact counterexample traces with proving for what's outside the check's bounds.
We seriously should not keep saying this. Pretty soon some "formally verified" software is going to have bugs, and people are going to start questioning what value formal verification really has.