fynk使用CopilotKit重构AI助手,削减万行代码并贡献Vue端口
Start here
2026年11月,fynk团队分享了采用CopilotKit与AG-UI协议重构应用内AI助手的实践。该方案成功替代了约11,000行自研聊天协议与状态机代码。由于fynk使用Vue技术栈,而CopilotKit原生仅支持React,团队工程师借助编码Agent开发了62,517行的Vue端口,并已贡献给官方合并为@copilotkit/vue。
AI-generated from reports · Updated 17 hours ago
Report timeline
Follow the reports to see different sides of the story.
- Hacker News · AISelectedfynk Refactors In-App AI Assistant with CopilotKit and AG-UI Protocol, Cutting 11,000 Lines of Code
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.
Story heat trend
Current heat 6·Comparable peak 10(Nov 3 02:00)·Comparable change, last 24 hours–
Trends compare only the same parties observed continuously, so the scope can be narrower than current heat counts. Move the pointer or tap the chart to see hourly heat; use the left and right arrow keys on a keyboard.