Agents repairing agents! My latest experiment!
Using LangChain agents to diagnose and repair n8n workflow errors autonomously. I built this (and 8 other Langchain agents) to wow the hiring manager at Langchain in my interview with them this morning I run a lot of workflows in n8n. When one fails, a global error handler catches it and hands it to a LangGraph agent. The agent diagnoses the failure and drafts a fix with Anthropic, then passes that fix to a different model from OpenAI to review and approve before anything is written. That second step is the whole point, and the design is model agnostic. The proposer and the reviewer are just two seats, and you can drop any model into either one. Right now Claude drafts the fix and an OpenAI model approves it, so no single model marks its own homework. The fix only goes live after that independent, cross-vendor review. Then the agent applies it through the n8n API and re-runs the workflow to confirm it actually worked. In the demo I break a workflow on purpose and let the agent repair it end to end. It triaged the error, proposed the fix, got it approved, wrote it back, and the workflow ran clean. The whole thing cost under 6 cents, and every step is traceable in LangSmith. I triggered this run by hand so it was easy to follow, but the agent is set to run automatically the moment a new error lands. It is still in testing, and I am keeping it that way on purpose, but the autonomous loop is the point. That last part matters more than the fix. When agents act on their own inside your systems, you have to see exactly what they did. Observability is not a nice-to-have, it is the architecture. . #AIAgents #n8n #LangGraph #AIOps #Automation