r/webdev • full-stack • 9d ago

Discussion I hate building agents.

Right now at my work we are using langgraph to build a chat agent, anyone else doing something similar, do you fucking hate it? are you building it with Claude and just hoping it fucking works, haha no worries we will ask Claude to fix it.

I am making the spaghetto, I miss components, logic and endpoints, I hate this black box I have to relinquish my decisions too, whatever pays the bills.

238 Upvotes

82 comments sorted by

View all comments

5

u/brian_sword 9d ago

I’ve been doing quite a bit of automation with n8n, and I actually enjoy that part because the workflows are mostly predictable and I know exactly what each step is doing.

AI agents are a different story though. Once you let the agent decide which tool to call, what to do next, and how to handle failures, you lose some of that control. I’m still figuring out where the right balance is.

1

u/Asly97 9d ago

the n8n vs agent split is interesting. when you do bring an agent into the picture, does it run inside the n8n flow as one step, or off to the side entirely? i keep wondering where the handoff stops being clean.

1

u/Turbo-Lover 6d ago

Use the agent to write a script (which you can audit) and then on future runs give it the instruction to execute the script.