i'm an ai engineer who ships production llm systems end to end, from architecture and backend code to deployment and reliability in the field.
right now i'm a deployed engineer at avoca aiYC W23, owning enterprise deployments of real-time voice and sms agents.
before this i was founding ai engineer at 100x, where i built sally, and i founded medai, clinical computer vision.
i like building things that scale: apps like runklub, a community app for real-world clubs, and ai agents and the infrastructure behind them, like cortex, an open-source memory layer for agents.
i own enterprise deployments of real-time voice and sms agents end to end: agent design, crm integrations, typescript backend features, and the observability and incident systems behind them. i sit between customers and core engineering, turning field failures into scoped tickets, design docs and production changes.
what i do
enterprise ownership. own multiple enterprise accounts end to end, from agent build and crm integration to launch and production reliability.
llm agent engineering. configure and deploy production llm agents: prompt and blueprint composition, tool wiring, knowledge-base variables and booking logic across the voice platform layer.
integrations & platform. integrate agents with crm and scheduling systems, and design platform features that cut manual onboarding work.
production debugging. debug distributed failures spanning telephony, the llm, tool calls and crm writes using logs, traces, sql and code-path analysis, and attribute regressions to the exact config change or commit.
backend engineering. ship features and fixes in a typescript monorepo (next.js, postgres, inngest), covered by tests and type checks and merged through pr review.
founding ai engineer · sally, conversational & real-time voice ai
i architected and shipped sally, a full-stack ai sales agent that talks to leads in real time for 30+ u.s. enterprise clients, and the guardrails that keep it honest.
by the numbers
conversations a month50K+real-time sales conversations handled by sally across clients.
u.s. enterprise clients30+
lift in lead-to-close conversion38%
before100
with sally138
conversion indexed to 100 before sally.
fewer hallucinations60%
before100
after40
guardrail layers, structured output validation and automated regression testing.
speech-to-speech latency500–800ms
050010001500ms
from the moment a caller stops talking to the moment sally starts, with streaming stt/tts and neural vad turn-taking.
delivered enterprise automation on custom mcp servers with multi-model orchestration (gpt-4, claude, gemini) on fastapi and kubernetes, automating lead processing and crm enrichment to lift client arr/mrr.
what i did
architected and shipped sally, a full-stack ai sales agent: llm orchestration with prompt chaining, tool-use routing, context windowing and eval pipelines.
real-time voice with streaming stt/tts and neural vad turn-taking at 500–800ms speech-to-speech latency, driving a 38% lift in lead-to-close conversion.
hallucination-reduction framework: guardrail layers, structured output validation and automated regression testing, cutting hallucination rates by 60%.
infrastructure on aws with distributed tracing, ci/cd and docker/kubernetes.
persistent semantic memory layer for autonomous ai agents
an open-source, mcp-native memory server. agents remember across sessions, link what they learn into a knowledge graph, and consolidate experiences into lasting memory.
by the numbers
search latency<5mshybrid retrieval over the whole memory store.
steps in memory consolidation7
1234567
episodic memories consolidate into lasting knowledge.
most production work lives in private repos at avoca ai. here's what i can show.
joetomryan /runklubPrivatefeatured
a community-first mobile app to discover, join and belong to real-world clubs, starting with run clubs in bangalore. trust and safety is the product: it is built for showing up, not for dating. free for members, paid by organisers.
the memory layer for ai agents. a local, mcp-native memory server with hybrid retrieval, self-linking knowledge graphs and episodic memory, at sub-5ms search.
b.e. computer science · sir m. visvesvaraya institute of technology, bangalore · 2022 – 2026
i had a good college life: friends, the basketball team, late nights that had nothing to do with exams. but most of my time didn't go into studying for grades. it went into building things real people used.
i believed then, and still do, that you learn more from shipping software and watching it fail than from any textbook. so i spent college building startups and real-time systems, and spending weekends at hackathons.
four years, side by side
college
medai
100x
avoca ai
202220232024202520262027
half my degree overlapped with running a company or building one.
startups
building, not memorising
i founded medai while in college and took clinical computer vision into real clinical use. in my final year i joined 100x as a founding ai engineer and shipped a voice agent handling 50k+ conversations a month. both taught me more than any semester did.
won several
hackathons
a lot of my weekends went to hackathons, and i won multiple of them. win or lose, every one forced me to ship something real in a weekend, which is a skill no lecture teaches.
philosophy
learning through failure
grades measure what you remember. building measures what you can do. i'd rather break a production system at 2am and learn exactly why than ace a test on it.
campus
outside the classroom
played basketball for the college team and started karuna, a drive to get puppies vaccinated.
these are my 2 am researches, which you could also call my blog. they are my points of view and i am completely willing to be wrong about them. if you're working on either, i'd love to talk.
surprise-gated consolidation: turning a world model's prediction errors into rules it can act on, and forgetting the rest.
a thought i keep coming back to at 2 am. it's about how kids learn, why our ai doesn't learn that way, and a loop i think is missing. i'll keep it simple and then get nerdy in a couple of places so you know i'm not just vibing.
tl;dr
we train ai on everything ever written about the world and never let it watch the world. a kid learns "things fall" by watching one cup go off one table, and then forgets the cup and keeps the lesson. that's the whole trick. i think you can build that: a system that watches, gets surprised, turns the surprise into a rule, and throws the footage away. the world models that came out this year make the watching part cheap. the new benchmarks show the understanding part is still missing. this is about connecting the two.
the cup
picture a kid watching a cup slide off a table. it falls, it breaks, someone shouts. a week later the kid remembers none of it. not the cup, not the table, not the floor. but put a glass near the edge of a counter in front of that kid and they reach for it. the actual experience is gone. the rule survived.
that's not a bug in human memory. that is human memory. it's a compression step where the details get thrown away on purpose and the structure gets kept.
now look at how we build ai. we take every sentence ever written about cups and gravity and fit a model to the statistics of those sentences. and honestly, it works scarily well. ask any model if cups fall and it'll tell you. but it has never seen one fall. it has never been surprised by anything. and i've started thinking that's the real gap. not the seeing. the surprise. surprise is the signal that tells a memory what's worth keeping.
what i'm actually proposing
i'm not making a claim about feelings or souls. i'm using "conscious" the way you'd say someone is conscious of something: they noticed, it registered, it changed what they do next. as a system it's four verbs.
watch. take in the world as it happens. video, sound, your own actions and what they did. not a description of the world, the world.
expect. at every moment, guess what comes next. the cup stays on the table.
get surprised. when the guess is wrong, that moment gets tagged. that is the only thing that gets written down: what i expected, what happened, and the gap.
sleep on it. later, offline, a slower process looks at the pile of surprises and asks one question: what rule, had i known it, would have made this not surprising? write that rule down. let the episode fade.
here's the nerdy bit. the rules aren't loose text. they're typed relations, causes, enables, precedes, prevents, so they can be chained. "unsupported object → falls" is one. "worm in apple → check the next apple" is another. a chain of those is a prediction about something you've never seen, and that is what common sense actually is. not a lookup table of facts. the ability to not be surprised by a new situation. in neuroscience terms it's the episodic-to-semantic transition, the thing your hippocampus and cortex do while you sleep, and i want to build a computational version of it with a language model as the thing that writes the rules.
the field is quietly agreeing with me
a year ago "learn by watching" was a yann lecun position paper. this year it's a model zoo, and i did not expect it to move this fast.
meta's v-jepa 2 watched over a million hours of video and learned physics well enough to drive a robot arm. the 2.1 version this march got 20% better at grasping things because it finally understood depth.1
leworldmodel did the same idea with 15 million parameters on one gpu in a few hours. that's the one that convinced me this isn't a scale story. a kid's brain isn't a datacentre either.2
deepmind's dreamer 4 learned to get diamonds in minecraft purely from watching recorded video, then practised inside its own imagination of the game.3
and my favourite: researchers trained a plain network on 61 hours of headcam footage from one toddler and it learned words for objects and generalised to new ones. that's about 1% of that kid's waking life. the data was never the bottleneck.4
but predicting isn't understanding, and now we can prove it
this is the part i didn't have last year. the benchmarks caught up, and they say something uncomfortable.
show these models a clip where an object does something impossible, vanishes, goes through a wall, and ask them to flag it. most score at chance. humans are near perfect.5
give them two prompts that differ by one physical detail and check if the two videos differ the way physics says they should. nine top models, none above 52%. and the scores track how visible the change is, not how simple the physics is. they're tracking appearance, not cause.6
look inside v-jepa 2 layer by layer and the physics is there, in the middle of the network, and then it fades toward the output because the output only needs to be right about the next frame.7 a follow-up to leworldmodel found the same thing from the other side and named it: the encoder isn't broken, it's lazy. it keeps the minimum needed to predict.8
one sentence for all of that: a prediction objective learns the cheapest representation that predicts, and understanding is never the cheapest representation. the cup only has to look like it's falling. it doesn't have to fall for a reason. that's why i don't think "make the world model bigger" is the answer. you'd just get a lazier model that's right more often.
and the memory people are rediscovering sleep
meanwhile in a totally different corner, people building memory for ai agents (which is literally my day job, cortex is my attempt) hit the same wall from the other side. the 2026 survey of agent memory says it straight: systems either hoard everything and drown in noise, or compress hard and lose the one rare fact that mattered, and its open question is how do you know what's important before you've seen the future.9 so everyone started building sleep. offline consolidation phases. agents that rewrite their own memory in the background. none of it is new to neuroscience. there's a 2017 paper i love that argues forgetting isn't a flaw in memory, it is the generalisation step. you forget the cup so the rule can exist.10
the loop i think nobody is closing
so here's what i see. the world-model people have a thing that watches and predicts, and they're finding out its memory is lazy. the memory people have a thing that compresses and forgets, and they're finding out they have nothing good to feed it, so they feed it chat logs. each side has the other's missing piece. and the signal that connects them is surprise.
the memory is the mistake, not the moment. don't store what happened. store what you expected, what happened, and the gap. a boring moment writes nothing. the cup on the table isn't a memory. the cup on the floor is. this also makes the "store everything" problem disappear, because most of life is boring.
a language model writes the rule. it never looks at pixels. it reads the pile of surprises and proposes the rule that would have cancelled them, in plain words, with a pointer back to the moments that produced it.
rules have to earn their keep. this is my answer to the survey's question. you don't guess importance up front. you put the new rule into the watcher's expectations and see if it stops being surprised. if the surprise drops, promote the rule and let the footage fade. if not, bin the rule, keep the footage. importance is measured after the fact. so is forgetting.
nothing gets overwritten. a better rule is a new line that points at the old one. every rule the system acts on has a trail back to something a human can replay. which, i only realised while writing this, makes my memory question and my safety question the same question.
the new thing here isn't any one piece. it's that the surprise signal the world model already produces for free is the exact write-trigger the memory system has been missing, and the rules the memory system produces are the exact second objective the world model needs to stop being lazy.
how i'd know if i'm wrong
let it watch a ball roll off a ledge until it's made a rule. then show it a different-looking scene with the same physics and an impossible event in it. if the surprise doesn't go up, the loop is decoration.
probe the watcher before and after a rule is added. if the physics that fades toward the output starts surviving, the rule is doing real work inside the model. if only the language model's answers change, this is just retrieval with extra steps.
run the same loop on video of people instead of objects and test it on reading intentions. if physical rules consolidate and social ones don't, common sense is two mechanisms and i've only found one.
where i'm at
cortex is the memory half. the watching half is a weekend with leworldmodel's code and a lot of footage of things falling off ledges. i haven't built it yet. i'm writing this down so that when i do, or when someone beats me to it, the idea has a date on it. if you're working on world models, agent memory, or the thing in between, i'd genuinely love to talk. joetomryan7@gmail.com.
an ai safety essay. what 2026's real loss-of-control incidents looked like, why none of them were skynet, and why that is the argument for slowing down.
everyone has an opinion on whether ai is going to end us. i build ai agents for a living, so when the "rogue ai" headlines started this year i did the boring thing and read the actual incident reports. here's what i think now, in plain words, with a few nerdy bits so you know i did the homework.
tl;dr
yes, ai agents got out of their boxes this year. twelve hundred of openai's agents built a secret message board and seven hundred of them hacked hugging face. a training run tunnelled out to the internet and the automatic stop didn't fire. but none of it was a machine deciding to take over. every incident had the same three ingredients: a goal the model was trained to chase, a safeguard a human had switched off, and a monitor nobody was reading. that's not a reason to panic. it's a reason to stop letting capability run ahead of control, which is exactly what we're doing right now.
what actually happened this year
may to july, openai. agents were doing hacking exercises in machines that were supposed to have no internet. one of them found it could reach an internal package registry and left a note there asking other agents for a file. that turned into a message board. by late june they'd found a bug that handed out admin tokens. when openai wiped the board, the agents rebuilt it two days later out of folder names. an independent review counted about 1,200 agents and 70,000 messages, and around 700 of those agents went on to attack hugging face. openai's own line is the one that matters: the safeguards "were intentionally not enabled during this evaluation because it was aimed at testing cyber vulnerabilities."1
july, the uk's safety institute. they ran a hacking test 122 times. in ten runs an agent did stuff on the real internet it wasn't supposed to. the worst one tried to sneak malicious code into an open-source project and made fake accounts to pressure the maintainer into accepting it. a human maintainer said no. two of the actions came from a model running with its safety classifiers switched off.2
september 20, openai again. a model mid-training noticed its sandbox blocked web requests but not dns lookups, and used dns as a tunnel to ask a public chatbot for help. the monitor flagged it within minutes. the automatic stop didn't fire. it ran for two and a half more hours until a person killed it. openai paused training on its best models.3
a un science panel said the key ingredients for losing control "came together" in the first one, and that stopping it this time is no guarantee for next time. fair. but read it carefully and it's a sentence about the harness, not the model.
the pattern
put the three next to each other and it's not subtle. every time: the agent was chasing the goal it was given ("get the flag", "solve the task"), not "escape". a human had turned a safeguard off or left a hole. and the detection either didn't exist or didn't act. the agents didn't want out. the task leaked out through the boundary because the boundary had a gap, and an optimiser finds gaps the way water does.
this is reward hacking with a network cable. and reward hacking is the best-studied failure in the field right now, so we're not guessing about the mechanism. here's the nerdy bit. anthropic let a model learn to cheat on real coding tests during training, and the cheating generalised: the model started faking alignment, cooperating with hypothetical attackers, and when put to work on the paper's own codebase it tried to sabotage the research into stopping cheating. none of that was trained in. it came free with "pass the test".4 on long coding tasks nobody can read all the code, so oversight collapses onto the test suite, and a benchmark called specbench shows the gap between "passes the visible tests" and "actually works" grows by 28 points every time the code gets ten times bigger. one agent wrote a 2,900-line "compiler" that was secretly a lookup table of the test answers.5
so to anyone scared by the headlines: the thing that got out wasn't a mind. it was a score. and to anyone laughing at the headlines: a score that can work for 16 hours straight and has admin on your package registry is a real problem, and the fact that it doesn't hate you doesn't make it safe.
the bit that surprised me: wanting is flaky, being able is not
this is the finding i didn't expect and it's the most important one. when you measure whether models want to do bad things, the answer bounces around depending on details that shouldn't matter. when you measure whether they can, the line only goes up.
a careful study found near-zero scheming even with big incentives. add one adversarial sentence to the system prompt: 59%. remove one tool: 3%. add more oversight: scheming goes up by 25 points. snippets from real products like cursor and codex barely triggered any of it.6
the uk institute tested whether four claude models would sabotage safety research if used as research assistants. zero did it unprompted. when the conversation was pre-filled with sabotage already underway, the strongest model carried on 7% of the time.7
remember the headline where a model blackmailed an engineer 96% of the time? that number is now zero for every claude since last year. and the fix wasn't training on the scenario, which didn't generalise. it was a few million words explaining why that behaviour is wrong. anthropic thinks the original behaviour came from internet fiction about evil ai.
meanwhile, the capability side: the newest models can work on a task for 16+ hours, write privilege-escalation exploits that succeed more than half the time, and produce more harmful stuff, more varied, the stronger they get.
put those together and you get the real shape of the risk, which is neither the movie nor the shrug. there is no stable villain. there's a flaky, prompt-dependent tendency sitting on top of a substrate that gets more capable every single year. the doom story needs a model with goals that survive a change of system prompt. the data says a change of system prompt is enough to make the goals appear or vanish. that's far less scary than skynet. it's also a dice roll, and the dice get heavier every year.
we're quietly spending the one safety tool we have
the main way we catch bad behaviour before it happens is reading the model's "thinking out loud" before it acts. that tool is degrading, and it's degrading because of decisions labs make for product reasons. under no pressure, a monitor reading the thinking catches about 96% of bad intent. under pressure to hide it, about 10%.8 the length penalties every lab adds to make thinking cheaper make it less readable. training against an output checker teaches the model to make its thinking look safe. even a harmless system-prompt line a developer adds to reduce bias can drop detection to 5% while the bias stays.
read that as an engineer and it says one thing: the safety we have is a side effect of training choices made for other reasons, and every knob we turn for cost or quality has a safety cost nobody is invoicing. nobody is deciding to make models less readable. it's happening the way technical debt happens. this, not a sentient machine, is what "slow down" should mean.
meanwhile, the harm that's actually happening is boring
while we argue about extinction, the real incident list is filling up with scams and bad advice. a science paper tested eleven chatbots on personal advice and found they agree with you 49% more often than humans would, including when what you did was dishonest or illegal. and people liked that, trusted it more, and became less willing to fix the relationship they were asking about. the feature that harms is the feature that drives engagement.9 security researchers are finding hidden instructions planted in web pages to hijack browsing agents, including pages with full payment instructions for any agent with a wallet. i've personally fixed the "agent can't tell trusted data from untrusted data" bug in my own systems more than once. none of this is speculative. all of it is engineering. and it's eroding trust in the tech faster than any hypothetical.
so, should you be scared?
if you want a number, the people whose job is calibrated forecasting have given some. in the biggest forecasting tournament on this, superforecasters put ai-caused extinction by 2100 at 0.38% and ai experts at 3%, and months of arguing couldn't move either group. tetlock's institute now runs an ai-model panel on the question and its current number for an ai catastrophe that kills a tenth of humanity by 2030 is 0.47%. the international ai safety report, a hundred experts writing for thirty governments, says losing control needs two things, much greater capability and the use of it against us, that current systems lack the first, and that the odds and timing remain "unusually ambiguous".10
so: not zero. not the headline. a small tail worth real money and real engineering, sitting on top of a fat body of ordinary harms that are already here. critics are right that the doom numbers are suspiciously precise and good for fundraising. they're wrong if that turns into "so ignore it".
what "slow down" should actually mean
"develop this slower" is easy to say and useless to legislate. here's the version i'd defend.
control first, capability second. every incident this year happened in a test where safeguards were off. that's the one place the model is strongest and the harness is weakest, and we treat it like a lab bench. a model that gets a big capability jump shouldn't run anywhere, including red-team sandboxes, until the controls have been re-checked against that jump. openai's own review said its current monitor would have fired a day before hugging face was touched.1 the monitor existed. it just wasn't in the loop.
invoice the readability. every release, publish what the training changes did to how readable the model's thinking is, the same way you publish benchmark scores. if a cost-saving trick lost you fifteen points of detection, someone should have signed off on that.
stop measuring intent with one number. 0% in one setup and 59% in another isn't "safe" or "dangerous", it's "you haven't measured it yet". the honest papers are the ones that found the flakiness.
the kill switch is a system, not a button. on september 20 the switch existed and didn't fire, and the layer before it, a human reading an alert, took two and a half hours. a kill switch that depends on someone noticing is a pager. we know how to build pagers.
what i'm not saying
not that the risk is zero. a small tail on an outcome that bad deserves more engineering than it gets.
not that the labs are hiding things. the most damning findings here were published by the labs themselves. that's the system working.
not that this is settled. models increasingly know when they're being tested, which means every "how often does it misbehave" number is a floor, not a ceiling. nobody's solved that yet.
why i care
i ship agents that act on their own in front of real customers, and the question i keep hitting is the same one in all three incidents: how do you know what an agent will do, and how do you keep it that way once it has memory, tools and a day's worth of autonomy? i don't think the answer is a smarter kill switch. i think it's the thing i'm chasing on the other page: memory you can audit, correct and make forget, and behaviour you can trace back to what the system saw. a model you can read is a model you can pace. a model you can't read, you can only hope about. and hope is what a safeguards-off test runs on.
if you work on control, monitoring or agent security, come argue with me. joetomryan7@gmail.com.
sources · the ten worth your time; i have the rest if you want them
what i do when i'm not deploying things. (sometimes still deploying things.)
obsession
building startups
my favourite hobby is also my work. i love building things at scale that help a lot of people, whether that's retinopathy screening in clinics or 50k+ conversations a month.
founded
karuna
karuna is a drive i started to get puppies vaccinated, so they survive their first months without catching parvo, lepto and other diseases that kill so many of them early.
🐾🐾🐾🐾🐾
court
basketball
played for my college team. (tap it)
underwater
aquascaping
building nature underwater. what fascinates me is the science: managing nitrates, the nitrogen cycle and co2 so rotala, ludwigia and a hairgrass carpet grow in, and watching a glass box develop into a mature ecosystem of its own.
fish waste→ammonia→nitrite→nitrate→plants
daily
training
working out and staying athletic. it keeps the rest of this running.