Skip to content
Hacker News · AI· 0cool·· 18 hours agoSelectedAI score66

fynk Refactors In-App AI Assistant with CopilotKit and AG-UI Protocol, Cutting 11,000 Lines of Code

We replaced 11,000 lines of AI chat code with CopilotKit and AG-UI

AI guide

The fynk team shared their experience refactoring their in-app AI assistant using CopilotKit and the AG-UI protocol, successfully replacing roughly 11,000 lines of proprietary chat protocol and state machine code. Because fynk runs on Vue while CopilotKit natively supported only React, the team used coding agents to build a 62,517-line Vue port, which was upstreamed and merged as @copilotkit/vue.

Why it matters

The post reviews the engineering boundaries of replacing custom architectures with standard protocols, offering insights into how to draw the line between in-house development and open-source frameworks for in-app agents.

Source:Hacker News · AI · fynk.com