Pinterest's Medic AI Tames Spark Failures
Pinterest's Drasko Profirovic details Medic, an AI agent designed to diagnose and fix Apache Spark job failures, highlighting the evolution from prototype to a sophisticated multi-agent system.

Visual TL;DR
complex, time-consuming troubleshooting in distributed systems like Apache Spark
From the article 2 mentionsTo address this challenge, Pinterest has developed Medic, an agentic diagnostics tool designed to streamline the process of identifying and resolving Spark job failures.
sifting disparate data, ambiguous priorities, difficult for newcomers to diagnose
AI agent designed to diagnose and fix Apache Spark job failures
From the article 9+ mentionsDrasko Profirovic, a Staff Engineer at Pinterest, explained the motivation for building Medic.
evolution from initial prototype to sophisticated multi-agent system architecture
From the article 2 mentionsThe system was further refined by moving from a single ReAct agent to a multi-agent architecture, built on LangGraph's deep agent library.
improvements in processing and interpreting diverse log and metric data sources
leveraging multiple specialized agents for comprehensive diagnostics and solutions
From the article 2 mentionsProfirovic shared key learnings, emphasizing the success of the multi-agent architecture and the importance of improving signal-to-noise ratios for logs.
From the articleTo address this challenge, Pinterest has developed Medic, an agentic diagnostics tool designed to streamline the process of identifying and resolving Spark job failures.
significantly reducing the time and effort needed to fix job failures
Contents(6)
© 2026 StartupHub.ai. All rights reserved. You may not republish this article in full without a license. Search engines and AI research tools may crawl and summarize for reference. Bulk reproduction or model training requires a license. See our terms.
Written by
Daniel SingerEditor, StartupHub.ai
Daniel Singer is the editor of StartupHub.ai, a technology expert and thought leader on AI and its applications across sectors, from fintech and healthcare to developer tooling and consumer software. He writes and tests the tools covered here thoroughly and regularly, and built StartupHub.ai to give founders, operators and buyers a clearer read on what they are actually being sold.
More from Daniel Singer