Independent project · Feb–May 2026
Multi-Agent Maintenance Report Generator
When a piece of mine equipment raises the same alarm repeatedly, the clues may be scattered across manuals and maintenance logs. I built a lead agent that delegates those lookups, brings the evidence together, and checks the draft before exporting a report.
- 76% → 93%
- Tool-routing accuracy
- −65%
- Redundant tool calls
- −42%
- Token usage
- 91%+
- Key parameter coverage
Architecture and implementation
Why the workflow exists
A maintenance report can require a manual, historic work orders and current background information. The workflow turns one task brief into a structured report the user can download.
Planning and delegation
The lead agent outlines the report and delegates to assistants for Tavily search, read-only MySQL queries, and RAGFlow knowledge retrieval. It reconciles the source results before writing.
Context and tool controls
The system limits tool calls and caches repeated requests. It can save long results to files and work from summaries and paths. The review step checks the draft against source material and follows up on missing items.
Delivery and evaluation
The task reports progress while it runs and exports Markdown or PDF. The resume records that reports exceeding 3,000 Chinese characters took under 45 seconds on average, alongside measures of routing accuracy, tool calls, token use, and coverage.
Workflow walkthrough
Follow a drainage pump alarm review from the equipment records and manual to the final report.
LEAD AGENT
Turn a request into an evidence plan
The review starts with the equipment ID, model, and date range, then breaks the task into alarms, work orders, and manual evidence.
Report demo
Mine drainage pump alarm and maintenance report
The demo uses a synthetic maintenance ledger and equipment manual. The report shows the alarm timeline, relevant work orders and manual passages, and what still needs to be checked.