AgentsApplications 🇷🇺 04.08.2026 01:01

DocGen: Building an AI Assistant for System Analysts Without Losing Your Mind

A developer built DocGen, an AI assistant for system analysts that uses a chain of seven LLM agents to turn raw stakeholder input into a draft of software documentation. The system splits into two chains, includes a human-in-the-loop interview phase, and features a hybrid mode with LLM and programmatic PlantUML generators for diagrams. The project is in testing, and the author sees it as an enhancement, not a replacement, for analysts.
A developer created DocGen, an AI assistant for system analysts, which processes stakeholder requests through a chain of seven LLM agents to produce a draft of software documentation. The system is split into two independent chains: the first handles context assessment and interview question generation, the second processes interview answers to produce a document. Between the chains, there is a human factor where analysts conduct interviews. The architecture includes Agent 0 for context quality assessment and temperature recommendation, Agent 1 for stakeholder-specific question generation, Agent 2 for normalization of raw answers into structured data, Agent 3 for draft generation, Agent 4 for validation and consistency checking, and Agent 5 for formatting. A clarification loop allows re-running the pipeline up to three times if validation finds issues. The developer added a hybrid mode in version 1.0.9, combining LLM text generation with programmatic PlantUML generators for architectural and UML diagrams to ensure syntax validity. The system supports eight document types including SRS, Architecture, API Spec, README, Test Plan, and UML diagrams. The author notes that the project took about a week of iterations and is currently in testing; they see AI as augmenting rather than replacing analysts, as verbal communication and human judgment remain important.
Abbreviations
LLM = Large Language Model — Большая языковая модель
SRS = Software Requirements Specification — Спецификация требований к программному обеспечению
API = Application Programming Interface — Программный интерфейс приложения
QA = Quality Assurance — Обеспечение качества
UML = Unified Modeling Language — Унифицированный язык моделирования
Source: Habr — хаб ИИ — original
Our earlier posts on this topic ↓
Fresh news