Unlocking the Power of Specialized Agents — How Vercel’s Andrew Qu Overcame Agent Building Challenges

When Andrew Qu first introduced Vercel’s internal data science agent to its initial users, the feedback was brutally honest. Despite Qu’s initial confidence, the agent was performing subpar, passing only a small fraction of its evaluations. However, this wasn’t a deterrent—it was the first step in a transformative journey to revolutionize how Vercel approached agent building.

Andrew Qu, the Chief of Software at Vercel, began his pursuit by probing marketing, sales, finance, and legal teams to identify their job’s most significant pain points. The clearest response came from the data team. While lean, this team soon became a bottleneck in Vercel’s rapid growth, constantly juggling numerous queries about customers and products, which required them to pause their ongoing tasks to deliver insights.

Based on content from AI Engineer

To address this issue, Qu initially developed a ‘mega prompt’ solution—essentially a single overarching sequence incorporating a Snowflake schema, which required manual SQL execution. Although a step forward, this approach was soon deemed inefficient. Subsequently, Qu and his team transitioned to a more modular system involving a chain of narrowly scoped agents, each designed for specific tasks such as planning, execution, and reporting, eventually evolving into a model where a singular agent managed its own state.

The turning point came with the introduction of Claude Code, which natively managed inquiries more efficiently without elaborate pre-coded instructions. Realizing the potential of file system-based solutions, Qu redesigned the agent’s framework, leveraging simple file manipulations alongside robust execution capabilities, which significantly boosted its evaluation performance.

This new framework, named Eve, was designed to incorporate the streamlined file system conventions of Next.js, Vercel’s renowned web framework. By integrating this into agent design, Qu was able to enhance agent functionality and capability significantly. Now, a recurring job synthesizes frequent queries into a skill set, enabling agents to initiate operations with a foundation of accumulated context. This fine-tuning has resulted in approximately a hundred actionable skills currently enriching Vercel’s internal ecosystem.

Qu advocates for agents densely packed with company-specific expertise rather than generalized models. This targeted specialization has culminated in the deployment of around twenty such agents within Vercel, tailored to deliver maximum operational efficiency.

With the introduction of Eve, Vercel aims to simplify agent development, offering a framework where developers merely need to follow structured folder conventions to achieve sophisticated, fully functional agents. In culmination, Qu’s journey from problem identification to resolution in agent building signifies not just technological advancement, but a cultural shift in how businesses can approach operational efficiency using AI-powered agents.

For more insights on this transformation at Vercel, visit Andrew Qu’s website.

Frank

#DataScientist, #DataEngineer, Blogger, Vlogger, Podcaster at http://DataDriven.tv . Back @Microsoft to help customers leverage #AI Opinions mine. #武當派 fan. I blog to help you become a better data scientist/ML engineer Opinions are mine. All mine.