import{s as xt,n as vt,o as _t}from"../chunks/scheduler.37c15a92.js";import{S as ht,i as Mt,g as a,s as i,r as J,A as gt,h as o,f as l,c as s,j as Ct,u as Q,x as p,k as $t,y as Pt,a as n,v as V,d as W,t as X,w as Y}from"../chunks/index.2bf4358c.js";import{H as Z}from"../chunks/Heading.8ada512a.js";import{E as ct}from"../chunks/getInferenceSnippets.d4d07d1e.js";function At(tt){let r,b,T,d,m,k,f,et="Agentic AI 是一个快速发展的领域，了解基础协议对于构建智能自主系统至关重要。",y,u,lt="你应该熟悉的两个重要标准是：",E,C,nt="<li><strong>模型上下文协议 (MCP)</strong></li> <li><strong>代理对代理协议 (A2A)</strong></li>",U,$,I,x,it="Anthropic 的 <strong>模型上下文协议 (MCP)</strong> 是一个开放标准，使 AI 模型能够安全无缝地<strong>连接外部工具、数据源和应用程序</strong>，从而使代理更加智能和自主。",S,v,st="可以将 MCP 想象为一个<strong>通用适配器</strong>，就像 USB-C 接口一样，使 AI 模型能够插入各种数字环境<strong>而无需为每一个进行定制集成</strong>。",z,_,at="MCP 正在迅速获得行业关注，开始被OpenAI 和谷歌等大公司所采用它。",O,h,ot="📚 了解更多：",j,M,pt='<li><a href="https://www.anthropic.com/news/model-context-protocol" rel="nofollow">Anthropic 的官方公告和文档</a></li> <li><a href="https://en.wikipedia.org/wiki/Model_Context_Protocol" rel="nofollow">MCP - 维基百科</a></li> <li><a href="https://huggingface.co/blog/Kseniase/mcp" rel="nofollow">MCP - 博客</a></li>',q,g,B,P,rt="谷歌开发了 <strong>代理对代理 (A2A) 协议</strong>，作为 Anthropic 的模型上下文协议 (MCP) 的补充。",G,c,mt="虽然 MCP 连接代理与外部工具，<strong>A2A 则连接代理之间</strong>，为多智能体系统之间的协作铺平道路，使其能够协同工作以解决复杂问题。",K,A,ft="📚 深入了解 A2A：",N,w,ut='<li><a href="https://developers.googleblog.com/en/a2a-a-new-era-of-agent-interoperability/" rel="nofollow">谷歌的 A2A 公告</a></li>',R,L,D,H,F;return m=new Z({props:{title:"那现在呢？我应该学习哪些主题？",local:"那现在呢我应该学习哪些主题",headingTag:"h1"}}),$=new Z({props:{title:"🔌 模型上下文协议 (MCP)",local:"-模型上下文协议-mcp",headingTag:"h2"}}),g=new Z({props:{title:"🤝 代理对代理 (A2A) 协议",local:"-代理对代理-a2a-协议",headingTag:"h2"}}),L=new ct({props:{source:"https://github.com/huggingface/agents-course/blob/main/units/zh-CN/unit4/additional-readings.mdx"}}),{c(){r=a("meta"),b=i(),T=a("p"),d=i(),J(m.$$.fragment),k=i(),f=a("p"),f.textContent=et,y=i(),u=a("p"),u.textContent=lt,E=i(),C=a("ul"),C.innerHTML=nt,U=i(),J($.$$.fragment),I=i(),x=a("p"),x.innerHTML=it,S=i(),v=a("p"),v.innerHTML=st,z=i(),_=a("p"),_.textContent=at,O=i(),h=a("p"),h.textContent=ot,j=i(),M=a("ul"),M.innerHTML=pt,q=i(),J(g.$$.fragment),B=i(),P=a("p"),P.innerHTML=rt,G=i(),c=a("p"),c.innerHTML=mt,K=i(),A=a("p"),A.textContent=ft,N=i(),w=a("ul"),w.innerHTML=ut,R=i(),J(L.$$.fragment),D=i(),H=a("p"),this.h()},l(t){const e=gt("svelte-u9bgzb",document.head);r=o(e,"META",{name:!0,content:!0}),e.forEach(l),b=s(t),T=o(t,"P",{}),Ct(T).forEach(l),d=s(t),Q(m.$$.fragment,t),k=s(t),f=o(t,"P",{"data-svelte-h":!0}),p(f)!=="svelte-x2364"&&(f.textContent=et),y=s(t),u=o(t,"P",{"data-svelte-h":!0}),p(u)!=="svelte-11kh737"&&(u.textContent=lt),E=s(t),C=o(t,"UL",{"data-svelte-h":!0}),p(C)!=="svelte-fpbo1v"&&(C.innerHTML=nt),U=s(t),Q($.$$.fragment,t),I=s(t),x=o(t,"P",{"data-svelte-h":!0}),p(x)!=="svelte-18hpx8t"&&(x.innerHTML=it),S=s(t),v=o(t,"P",{"data-svelte-h":!0}),p(v)!=="svelte-mcncim"&&(v.innerHTML=st),z=s(t),_=o(t,"P",{"data-svelte-h":!0}),p(_)!=="svelte-1fu66y7"&&(_.textContent=at),O=s(t),h=o(t,"P",{"data-svelte-h":!0}),p(h)!=="svelte-15b6p2i"&&(h.textContent=ot),j=s(t),M=o(t,"UL",{"data-svelte-h":!0}),p(M)!=="svelte-b86r3m"&&(M.innerHTML=pt),q=s(t),Q(g.$$.fragment,t),B=s(t),P=o(t,"P",{"data-svelte-h":!0}),p(P)!=="svelte-1h74fb8"&&(P.innerHTML=rt),G=s(t),c=o(t,"P",{"data-svelte-h":!0}),p(c)!=="svelte-1kxwwrk"&&(c.innerHTML=mt),K=s(t),A=o(t,"P",{"data-svelte-h":!0}),p(A)!=="svelte-ocos24"&&(A.textContent=ft),N=s(t),w=o(t,"UL",{"data-svelte-h":!0}),p(w)!=="svelte-1nivi90"&&(w.innerHTML=ut),R=s(t),Q(L.$$.fragment,t),D=s(t),H=o(t,"P",{}),Ct(H).forEach(l),this.h()},h(){$t(r,"name","hf:doc:metadata"),$t(r,"content",wt)},m(t,e){Pt(document.head,r),n(t,b,e),n(t,T,e),n(t,d,e),V(m,t,e),n(t,k,e),n(t,f,e),n(t,y,e),n(t,u,e),n(t,E,e),n(t,C,e),n(t,U,e),V($,t,e),n(t,I,e),n(t,x,e),n(t,S,e),n(t,v,e),n(t,z,e),n(t,_,e),n(t,O,e),n(t,h,e),n(t,j,e),n(t,M,e),n(t,q,e),V(g,t,e),n(t,B,e),n(t,P,e),n(t,G,e),n(t,c,e),n(t,K,e),n(t,A,e),n(t,N,e),n(t,w,e),n(t,R,e),V(L,t,e),n(t,D,e),n(t,H,e),F=!0},p:vt,i(t){F||(W(m.$$.fragment,t),W($.$$.fragment,t),W(g.$$.fragment,t),W(L.$$.fragment,t),F=!0)},o(t){X(m.$$.fragment,t),X($.$$.fragment,t),X(g.$$.fragment,t),X(L.$$.fragment,t),F=!1},d(t){t&&(l(b),l(T),l(d),l(k),l(f),l(y),l(u),l(E),l(C),l(U),l(I),l(x),l(S),l(v),l(z),l(_),l(O),l(h),l(j),l(M),l(q),l(B),l(P),l(G),l(c),l(K),l(A),l(N),l(w),l(R),l(D),l(H)),l(r),Y(m,t),Y($,t),Y(g,t),Y(L,t)}}}const wt='{"title":"那现在呢？我应该学习哪些主题？","local":"那现在呢我应该学习哪些主题","sections":[{"title":"🔌 模型上下文协议 (MCP)","local":"-模型上下文协议-mcp","sections":[],"depth":2},{"title":"🤝 代理对代理 (A2A) 协议","local":"-代理对代理-a2a-协议","sections":[],"depth":2}],"depth":1}';function Lt(tt){return _t(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class kt extends ht{constructor(r){super(),Mt(this,r,Lt,At,xt,{})}}export{kt as component};
