Hacker News AI· 0cool·· 13 days agoAI score58
We replaced 11,000 lines of AI chat code with CopilotKit and AG-UI
We replaced 11,000 lines of AI chat code with CopilotKit and AG-UI
AI summary
fynk describes replacing its custom AI chat with the open AG-UI protocol and CopilotKit, removing about 11,000 lines of its own code. Because CopilotKit was React-only and fynk is a Vue app, engineer Abel Enekes contributed a Vue port (62,517 lines across 244 files) that was merged on 13 May 2026 and published as @copilotkit/vue. The post details the assistant's shared state, tool-call traces, human-in-the-loop confirmations, generative UI, and in-house citations and permissions, and advises adopting what every agent needs while building what differentiates the product.
Source: Hacker News AI · fynk.com