Hi all, sharing a short from my series on building AI agents for production.
My AI chat has two threads: what a person reads and what the model remembers. I stored them as two copies, and got a bug with no correct recovery.
My cat reacts when it breaks 🐈
Hi all, sharing a short from my series on building AI agents for production.
Six tools, each deleting a class of agent bugs: Pydantic AI, LangGraph, chanx, OpenTelemetry, mocked tests and evals. One idea behind them: every boundary is declared.
My cat reacts when it breaks 🐈
Hi all, sharing a short from my series on building AI agents for production.
If the only map of your agent is its code, it won't survive its second engineer. Declare it instead: the flow as a graph, schemas for tools, a typed output.
My cat reacts when it breaks 🐈
Hi all, sharing a short from my series on building AI agents for production.
You can't make an LLM deterministic. What you can do is make everything around it deterministic: give the model one job, return a declared type.
My cat reacts when it breaks 🐈
Hi all, sharing a short from my series on building AI agents for production.
My first agent graph was wrong: two nodes wrote the same field, and I needed a reducer, a rule for merging two writes. The fix was a small rewrite, not a patch.
My cat reacts when it breaks 🐈
Hi all, sharing a short from my series on building AI agents for production.
The model said "searching", my code checked for "search", and the request fell into the else with no error. The fix: make the agent's output type the routing table.
My cat reacts when it breaks 🐈
Hi all, sharing a video from my series on building AI agents for production 🐈
My first AI product was an intent classifier and a pile of if/elif, and nobody could trace one message from start to answer. This one is about what was missing.
Links in the reply.
Hi all, sharing a video from my series on building AI agents for production.
Before "agent" was a word, my team shipped an AI product that was an intent classifier and a pile of if/elif. Onboarding a teammate took weeks. This one is about what was missing.
Links in the reply.
New series: Agent Graph Engineering, on building production agent systems you can maintain, trace and test.
Part 0 is the story behind it: an AI product that was really a tree of if statements, and the state machine hiding inside it.
https://t.co/s0CnL6sWll