AI in Production: Why Multi-Agent Systems Are Moving to Plain Python

A LangChain-in-production teardown: the author built a multi-agent system in plain Python and shows where the framework starts to get in the way. The main failure points are model switching, fallback to YandexGPT, RAG and tool calling. The conclusion is blunt but practical: for a live service, transparent contracts, validation and control over every step matter more than a ready-made universal wrapper.

AI-processed from Habr AI; edited by Hamidun News
AI in Production: Why Multi-Agent Systems Are Moving to Plain Python
Source: Habr AI. Collage: Hamidun News.
Listen to article

Deploying AI in production systems takes a specific approach: Habr AI examined why multi-agent systems are moving away from LangChain in favor of plain Python.

Why doesn't LangChain always work in production?

According to the article, LangChain's universal LLM abstractions do not save time and they undermine predictability in real services. The promise of "switching models with one line" almost never works that simply. Even models from the same provider behave differently: the expensive version reliably returns JSON, while the cheaper one changes keys and forgets system instructions.

How do you use AI in production systems without LangChain?

The author describes a plain-Python stack in which the developer has direct control over model behavior instead of relying on framework abstractions.

Story

Key Questions Answered

Why doesn't LangChain always work in production?

According to the article, LangChain's universal LLM abstractions do not save time and they undermine predictability in real services. The promise of "switching models with one line" almost never works that simply. Even models from the same provider behave differently: the expensive version reliably returns JSON, while the cheaper one changes keys and forgets system instructions.

How do you use AI in production systems without LangChain?

The author describes a plain-Python stack in which the developer has direct control over model behavior instead of relying on framework abstractions.

ZK
Zhemal Khamidun — CPO at Alpina Digital, product manager of AlpinaGPT. Building AI products since 2019. Hamidun News is a pet project that grew into a production aggregator with 6,000+ readers.
✦ Private AI Builders Community · Vibe Club

Ship AI Faster with Founders, Engineers & Weekly Architecture Reviews

Inside Vibe Club (hamidun.com/club) — weekly live masterminds with Zhemal Khamidun, Tech Radar, full LMS access, and 370+ production Claude Code skills.

Join Vibe Club →Explore Hamidun Academy
What do you think?
Loading comments…