<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: yx j</title>
    <description>The latest articles on DEV Community by yx j (@yx_j_6d54bf353387b14652ff).</description>
    <link>https://dev.to/yx_j_6d54bf353387b14652ff</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3705190%2F6826f2d2-4d62-4666-b6f5-e2095097c86f.png</url>
      <title>DEV Community: yx j</title>
      <link>https://dev.to/yx_j_6d54bf353387b14652ff</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/yx_j_6d54bf353387b14652ff"/>
    <language>en</language>
    <item>
      <title>I built a Multi-Agent Academic Tutor using Next.js 14 &amp; App Router</title>
      <dc:creator>yx j</dc:creator>
      <pubDate>Sun, 11 Jan 2026 12:08:46 +0000</pubDate>
      <link>https://dev.to/yx_j_6d54bf353387b14652ff/i-built-a-multi-agent-academic-tutor-using-nextjs-14-app-router-11pn</link>
      <guid>https://dev.to/yx_j_6d54bf353387b14652ff/i-built-a-multi-agent-academic-tutor-using-nextjs-14-app-router-11pn</guid>
      <description>&lt;p&gt;Hey developers! 👋&lt;/p&gt;

&lt;p&gt;I've spent the last few months building &lt;strong&gt;Study Tutor&lt;/strong&gt;, a complex multi-agent system designed to help students with academic tasks.&lt;/p&gt;

&lt;p&gt;It’s live now at &lt;strong&gt;&lt;a href="https://verla.io/" rel="noopener noreferrer"&gt;Verla.io&lt;/a&gt;&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1yl1bjyqwpwq3jish9ko.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1yl1bjyqwpwq3jish9ko.jpeg" alt=" " width="800" height="436"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I wanted to share the tech stack and the architecture behind it, as building a real-time agent workflow on the frontend was quite a challenge.&lt;/p&gt;

&lt;h3&gt;
  
  
  🚀 What is Verla.io?
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://verla.io/" rel="noopener noreferrer"&gt;Verla.io&lt;/a&gt; is not just a chatbot. It's a workflow-based platform where multiple AI agents collaborate to plan, research, and write academic papers or assignments.&lt;/p&gt;

&lt;p&gt;Users can create tasks, upload reference files (PDF/PPT), and watch as different agents break down the requirements and execute them step-by-step.&lt;/p&gt;

&lt;h3&gt;
  
  
  🛠️ The Tech Stack
&lt;/h3&gt;

&lt;p&gt;I chose a modern stack to handle real-time updates and rich text editing:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;Framework&lt;/strong&gt;: Next.js 14 (App Router)&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Language&lt;/strong&gt;: TypeScript&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Styling&lt;/strong&gt;: Tailwind CSS + Shadcn UI&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Auth&lt;/strong&gt;: Clerk (Custom integration with &lt;code&gt;AuthProvider&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Editor&lt;/strong&gt;: TipTap (Custom extensions for academic writing)&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;State&lt;/strong&gt;: Real-time polling for agent workflows&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  💡 Key Technical Challenges
&lt;/h3&gt;

&lt;h4&gt;
  
  
  1. Visualizing the Multi-Agent Workflow
&lt;/h4&gt;

&lt;p&gt;The core feature of &lt;a href="https://verla.io/" rel="noopener noreferrer"&gt;Verla&lt;/a&gt; is the &lt;strong&gt;Workflow Page&lt;/strong&gt;. I needed to show users exactly what each agent is doing in real-time.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  I implemented a polling mechanism on &lt;code&gt;/task/detail&lt;/code&gt; to fetch the status of active agents.&lt;/li&gt;
&lt;li&gt;  The UI renders a dynamic Kanban board and timeline view to track sub-tasks.&lt;/li&gt;
&lt;li&gt;  We handle huge JSON outputs from agents and render them cleanly using a custom Markdown parser.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  2. The "Smart" Editor
&lt;/h4&gt;

&lt;p&gt;We didn't want a simple text area. The editor (built on &lt;strong&gt;TipTap&lt;/strong&gt;) needs to:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  Convert Markdown from agents into editable rich text blocks server-side (&lt;code&gt;/api/markdown-to-tiptap&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;  Support drag-and-drop image uploads directly to our storage.&lt;/li&gt;
&lt;li&gt;  Export to PDF/Word with academic formatting.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  3. Handling File Context
&lt;/h4&gt;

&lt;p&gt;Users can upload massive PDFs. We process these files (convert to Base64 -&amp;gt; Upload -&amp;gt; Vectorize) so the agents can "read" the course material before answering.&lt;/p&gt;

&lt;h3&gt;
  
  
  🔮 What's Next?
&lt;/h3&gt;

&lt;p&gt;I'm currently working on optimizing the PDF structured editing feature.&lt;/p&gt;

&lt;p&gt;If you are interested in Next.js 14 architectures or AI agents, feel free to check out the project here:&lt;/p&gt;

&lt;p&gt;👉 &lt;strong&gt;&lt;a href="https://verla.io/" rel="noopener noreferrer"&gt;https://verla.io/&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Let me know what you think about the UI! I tried to keep it clean despite the complex data working in the background.&lt;/p&gt;

&lt;p&gt;Happy coding!&lt;/p&gt;

</description>
      <category>showdev</category>
      <category>webdev</category>
      <category>ai</category>
      <category>nextjs</category>
    </item>
  </channel>
</rss>
