MarkTechPost ★ 81 6 min

CopilotKit Releases CLiF: A Continual Learning Platform That Turns Agent Traces and User Actions into Skills, Evals, and Fine-Tuning Data

Agentic AIAI AgentsAI InfrastructureComputer-UseEnterprise AIFor DevsPromoteSoftware EngineeringSponsoredUncategorized

🔗 https://www.marktechpost.com/2026/10/15/copilotkit-releases-clif-a-continual-learning-platform-that-turns-agent-traces-and-user-actions-into-skills-evals-and-fine-tuning-data/

📌 把使用者的真實操作,教回給 Agent

TL;DR:CopilotKit 推出早期產品 CLiF,用 AG-UI 協定同時記錄 agent 與使用者行為,自動生成技能、評測與微調資料。

🎣 多數團隊以為 agent 做不好任務是因為 prompt 寫得不夠細,但真正知道「正確步驟該怎麼走」的人,其實每天都在產品裡操作,只是這些動作從來沒被記錄成 agent 能讀懂的格式。

🤔 Tracing 看得到 agent,看不到使用者怎麼做對

目前多數 agent observability 工具聚焦在 agent 本身:prompt、tool call、模型輸出,這能看出 agent 哪裡做錯,卻看不到正確路徑長什麼樣子。另一邊的 product analytics 則記錄點擊、流程轉換與 session replay,但這些資料是為了給人看儀表板,不是為了教 agent 做事或測試 agent。CopilotKit 觀察到,在大部分生產環境裡,這兩種資料從未出現在同一條時間軸上。

🧩 核心原語:full-stack trajectory

CLiF 是 CopilotKit Intelligence 的一部分,建立在單一原語之上:full-stack trajectory。它透過 CopilotKit 自家開發的開放協定 AG-UI(Agent-User Interaction Protocol)擷取,因為 AG-UI 本身就架在 agent 與使用者介面之間,所以能同時看到雙方的行為,並把一次使用者 session 整理成一條可以逐步重播的軌跡,點擊、伺服器請求、agent 訊息依照發生順序排列。

CopilotKit 把學習迴圈拆成四個階段:

  1. Capture:軌跡依照 getTrajectoryLearningContainerIds callback 被分派到不同的 learning container(例如帳務支援、新用戶導覽各自一個),每個 container 只從自己的 session 學習。
  2. Find patterns:當 container 累積的新 session 數達到門檻,分析會自動排程執行(也能手動觸發),從凍結的 session 快照中找出重複出現的請求與「使用者悄悄繞過的摩擦點」,每一個 Insight 都附上引用的事件與原始軌跡連結。
  3. Review:若證據支持一個可重複使用的教訓,CLiF 會提議寫成一份 SKILL.md,但分析服務自己不能發布,必須由人在 Intelligence UI 或 CLI 核准或拒絕,已發布的技能有版本號,也能隨時下架。
  4. Deliver & export:技能發布後 agent 不需重新部署就能取得,也可以把 agent 鎖定在固定的技能版本上;其他 agent 或 MCP server 則能用 copilotkit skills download —output 把技能下載成純檔案,原始軌跡本身也能從 Intelligence 儀表板匯出成事件資料。

💡 技能只是其中一個產出

同一批軌跡在 early access 階段還會產出評測候選案例與微調資料集,四種產出都能匯出接進團隊現有的 eval 與觀測工具,CopilotKit 的立場是:不需要換掉現有工具鏈,CLiF 補的是這些工具一直缺的資料。在 agent 端,CLiF 建立在 CopilotKit Intelligence 既有的 Automatic Learning 能力之上,透過 AG-UI Streams 完整保存每一次對話(訊息、tool call、生成式 UI、state、審批、檔案),開發者用 getLearningContainerId callback 決定哪些對話算數,也能從既有的 LangGraph Server 或 LangSmith Deployment 匯入歷史對話,不必從零開始。技能的傳遞透過 LangGraph(Python / TypeScript)、Mastra、Google ADK、Microsoft Agent Framework 與 CopilotKit 內建 agent 的 adapter 完成,adapter 會加上一個技能目錄與 copilotkit_load_skill、copilotkit_read_skill_file 兩個工具,模型在任務需要時自行載入;開發者預先寫好的指令仍具有最高優先權,技能不能覆寫 agent 的角色、安全規則或工具限制。

⚠️ 目前所有說法都來自 CopilotKit 自己

素材中並未提供獨立第三方的評測數據或量化效果,CLiF 也仍在 early access 階段,它要解決的問題(agent 與使用者行為資料不在同一時間軸)確實存在,但實際抓取的「摩擦點訊號」品質如何、資料隱私與安全如何處理,都需要團隊自己接進去後驗證。

🎯 實務啟示

如果團隊已經在用 CopilotKit 或 AG-UI 架 agent,這套 trajectory capture 的思路值得評估:比起不斷手寫 eval case,從使用者已經在做的事情裡挖出可重複使用的技能,可能是更省力的路徑;但技能不能覆寫安全規則這個設計,也提醒我們:自動學到的知識,終究要有人把關才能上線。

🔗 來源

#CopilotKit #AgentObservability #ContinualLearning #AGUI #AIAgents #SkillLearning #FineTuning #LLMEval #OpenSource #AgenticAI

原始資料 MarkTechPost · 收集於 2026-10-15
來源原標題
CopilotKit Releases CLiF: A Continual Learning Platform That Turns Agent Traces and User Actions into Skills, Evals, and Fine-Tuning Data
作者
Asif Razzaq
原始標籤
Agentic AI · AI Agents · AI Infrastructure · AI Shorts · Applications · Artificial Intelligence · Computer-Use · Editors Pick · Enterprise AI · For Devs · New Releases · Promote · Software Engineering · Sponsored · Staff · Tech News · Technology · Uncategorized
原始連結
https://www.marktechpost.com/2026/10/15/copilotkit-releases-clif-a-continual-learning-platform-that-turns-agent-traces-and-user-actions-into-skills-evals-and-fine-tuning-data/

摘要原文

Teams shipping AI agents at scale keep running into the same pattern. Even agents built on top-tier models like Fable and Astra struggle to carry out complex, end-to-end tasks inside a specific product consistently enough to deploy. So teams grind out evals for the workflows that matter most, often hundreds or thousands of hand-written cases, and then improve the agent bit by bit through prompt edits, harness fixes, and special cases until it passes enough of them to go live. Meanwhile, the product’s own users carry out those same tasks every day, and know which actions to take and in what order. CopilotKit, the company behind the open-source CopilotKit framework and the AG-UI protocol, released CLiF , a platform for continual learning from full-stack trajectories, in early access . CLiF securely captures what the agent does and what users do in the product, and turns that record into skills, production-based evals, and fine-tuning datasets, all exportable along with the raw trajectories. CopilotKit is open source , with more than 38,000 stars on GitHub. Most agent observability today is centered on the agent. Tracing tools capture prompts, tool calls, and model outputs, which shows where the agent went wrong while leaving the correct path out of view. Product analytics covers the other side with clicks, funnels, and session replays, though that data is built for a person reading a dashboard rather than for teaching an agent a task or testing it. In most production agent stacks, the two never end up on the same timeline. That gap matters because the agent learns a product from prompts, skills, tool descriptions, and exposed APIs, and has to work out on its own how those pieces fit together for a real task. The people using the product have already solved that, often hundreds of times. CopilotKit’s view, laid out in its explainer on agent learning , is that how users actually get work done is the most valuable dataset any agent team has, and that it is rarely captured in a form an agent can learn from. CLiF is part of CopilotKit Intelligence and is built around a single primitive, the full-stack trajectory. It is captured through AG-UI (Agent-User Interaction Protocol) , the open protocol CopilotKit created to connect agents to user-facing applications. Because AG-UI sits between the agent and the user on any surface, it can see both sides of a task: Together, that is a full-stack trajectory. AG-UI already streams the agent’s events to the frontend, so securely capturing user actions over the same protocol puts both halves in one stream from the start, with no separate analytics pipeline to stitch them together later. Each user session becomes a single trajectory that a team can open in CopilotKit Intelligence and replay step by step, with clicks, server requests, and agent messages in the order they happened. CopilotKit describes the learning loop in four stages. 1. Capture. Trajectories stream into CopilotKit Intelligence and are assigned to learning containers, which scope learning to one kind of work, such as billing support or customer onboarding. The runtime picks the container for each session through the getTrajectoryLearningContainerIds callback, and sessions can be moved in or out of a container later in the Intelligence UI. Each container learns only from its own sessions. 2. Find patterns. Analysis runs on a schedule once a container passes a set threshold of new sessions, and teams can also trigger it manually. Each run works from a frozen snapshot of the container’s sessions and surfaces Insights: recurring requests, repeated corrections, and the friction users quietly work around. CopilotKit sees that friction as the strongest signal, since it tends to repeat across thousands of sessions and shows exactly what the agent should learn next. Every Insight cites the specific events behind it and links straight to the source trajectory. 3. Review. When the evidence supports a reusable lesson, CLiF proposes it as a skill, written as a plain SKILL.md file. The analysis service cannot publish anything on its own: a person approves or rejects each proposal, either in the Intelligence UI or through the CopilotKit CLI. Published skills are versioned and can be retired at any time. 4. Deliver and export. Published skills reach the agent without a redeploy, and teams that need stability can pin the agent to a fixed skill revision. For any other agent or MCP server, skills can be downloaded as plain files with copilotkit skills download <container> –output <dir>. The trajectories themselves can be exported as raw event data from the Intelligence dashboard. For early access teams, the same pipeline also produces eval candidates and fine-tuning datasets from these trajectories. On the agent side, CLiF builds on Automatic Learning , the capability in CopilotKit Intelligence that CopilotKit also positions as the foundation for self-improving agents . Automatic Learning learns from the conversations users have with the agent. CLiF extends the same loop to product trajectories, so it also learns from the work users do directly in the product, outside the chat. Every agent conversation is stored in full through AG-UI Streams : messages, tool calls, generative UI, state, approvals, and files. Developers choose which threads count as evidence by returning a container ID from the getLearningContainerId callback on the CopilotKit runtime, which is the agent-side counterpart to the trajectory callback. Teams that already have an agent in production can import existing history from a LangGraph Server or LangSmith Deployment instead of starting from zero. Skill delivery works through adapters for LangGraph (Python and TypeScript), Mastra, Google ADK, Microsoft Agent Framework, CopilotKit’s built-in agent, and more. The adapter adds a catalog and two tools, copilotkit_load_skill and copilotkit_read_skill_file, and the model loads a skill when the task calls for it. Developer instructions keep precedence, so skills cannot override the agent’s role, safety rules, or tool restrictions. Skills are only the first output. The same trajectories feed four outputs in total, all exportable into a team’s existing stack: CopilotKit’s view is that teams should keep the eval and observability tools they already use, and CLiF supplies the data those tools have been missing. Say you’re the CTO of a project management platform similar to Linear, where engineering teams plan sprints and track issues. You want agents to take over routine work in your product and do it reliably, both your own built-in agent and external agents like Claude that customers connect through your MCP server. Sprint close-out is one of the first tasks on the list. Your platform already has a one-click option that moves every unfinished issue into the next sprint, and your docs describe close-out exactly that way. So an agent asked to close out a sprint does just that, and moves every unfinished issue forward. Once CLiF is securely capturing product trajectories, thousands of close-outs show that team leads on your platform do more than that. Most use the one-click option, then spend the next few minutes fixing the result: Nobody on your team designed this routine, and few users would describe it if asked. It exists only in the clicks and requests that follow the one-click move. Agent traces never see it, because users do it themselves. Product analytics records the extra clicks without their meaning, and spotting the pattern in session replays would mean watching thousands of recordings. CLiF surfaces the routine as an Insight, citing the exact sessions behind it, and proposes a skill for the full close-out. After your team reviews and publishes it, your built-in agent picks it up without a redeploy, and you ship the same skill with your MCP server so Claude and other connected agents follow it too.

由 claude-code/sonnet 自動生成