Buckets:
| import{s as Pl,n as Al,o as Gl}from"../chunks/scheduler.409792a1.js";import{S as El,i as Ul,e as s,s as i,c as p,h as _l,a as o,d as l,b as a,f as Ll,g as d,j as r,l as Re,m as Zl,n,o as u,p as m,q as g,r as f}from"../chunks/index.92d389ff.js";import{C as Wl}from"../chunks/CopyLLMTxtMenu.dcf7fb47.js";import{C as kt}from"../chunks/CodeBlock.5ed269c1.js";import{H as h,E as Bl}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.0c189c7e.js";function Fl(Ve){let c,Lt,St,Pt,w,At,M,Gt,C,Qe='Hugging Face provides tools and protocols that connect AI agents directly to the Hub. Whether you’re chatting with Claude, building with Codex, or developing custom agents, you can access models, datasets, Spaces, and community tools. This page covers connecting your <a href="#chat-with-hugging-face">chat agents</a> and <a href="#coding-agents">coding agents</a> to the Hub.',Et,T,Xe='<thead><tr><th>Page</th> <th>Description</th></tr></thead> <tbody><tr><td><a href="./agents-cli">CLI</a></td> <td>Give your agent the <code>hf</code> CLI with a built-in Skill</td></tr> <tr><td><a href="./agents-mcp">MCP Server</a></td> <td>Connect any MCP-compatible client to the Hub</td></tr> <tr><td><a href="./agents-skills">Skills</a></td> <td>Task-specific guidance for AI/ML workflows</td></tr> <tr><td><a href="./agents-sdk">SDK</a></td> <td>Build agents programmatically with Python or JavaScript</td></tr> <tr><td><a href="./agents-local">Local Agents</a></td> <td>Run fully local agents with llama.cpp and Pi</td></tr> <tr><td><a href="./agent-traces">Agent Traces</a></td> <td>View Claude Code, Codex, and Pi sessions on the Hub</td></tr></tbody>',Ut,y,_t,b,Oe="Connect your AI assistant directly to the Hugging Face Hub using the Model Context Protocol (MCP). Once connected, you can search models, explore datasets, generate images, and use community tools—all from within your chat interface.",Zt,v,Wt,x,De="The HF MCP Server works with any MCP-compatible client:",Bt,J,Ke="<li><strong>ChatGPT</strong> (via plugins)</li> <li><strong>Claude Desktop</strong></li> <li><strong>Custom MCP clients</strong></li>",Ft,I,Nt,H,zt,k,tl='<img src="https://huggingface.co/huggingface/documentation-images/resolve/main/agents-docs/mcp-settings.png" alt="MCP Settings Example"/>',Yt,S,el='Visit <a href="https://huggingface.co/settings/mcp" rel="nofollow">huggingface.co/settings/mcp</a> while logged in.',qt,j,Rt,L,ll="Choose your MCP-compatible client from the list. The page shows client-specific instructions and a ready-to-copy configuration snippet.",Vt,P,Qt,A,nl="Copy the configuration snippet into your client’s MCP settings, save, and restart your client.",Xt,$,il="<p>The settings page generates the exact configuration your client expects. Use it rather than writing config by hand.</p>",Ot,G,Dt,E,al="Once connected, ask your assistant to use Hugging Face tools among the ones you selected in your configuration:",Kt,U,sl="<thead><tr><th>Task</th> <th>Example Prompt</th></tr></thead> <tbody><tr><td>Search models</td> <td>“Find Qwen 3 quantizations on Hugging Face”</td></tr> <tr><td>Explore datasets</td> <td>“Show datasets about weather time-series”</td></tr> <tr><td>Find Spaces</td> <td>“Find a Space that can transcribe audio files”</td></tr> <tr><td>Generate images</td> <td>“Create a 1024x1024 image of a cat in Ghibli style”</td></tr> <tr><td>Search papers</td> <td>“Find recent papers on vision-language models”</td></tr></tbody>",te,_,ol="Your assistant calls MCP tools exposed by the Hugging Face server and returns results with metadata, links, and context.",ee,Z,le,W,rl="Extend your setup with MCP-compatible Gradio Spaces:",ne,B,pl='<li>Browse <a href="https://huggingface.co/spaces?filter=mcp-server" rel="nofollow">Spaces with MCP support</a></li> <li>Add them in your <a href="https://huggingface.co/settings/mcp" rel="nofollow">MCP settings</a></li> <li>Restart your client to pick up new tools</li>',ie,F,dl="Gradio MCP apps expose their functions as tools with arguments and descriptions, so your assistant can call them directly.",ae,N,se,z,ul='<li><a href="./agents-mcp">MCP Server Guide</a> - Detailed setup and configuration</li> <li><a href="https://huggingface.co/settings/mcp" rel="nofollow">HF MCP Settings</a> - Configure your client</li> <li><a href="https://huggingface.co/spaces?filter=mcp-server" rel="nofollow">MCP-compatible Spaces</a> - Community tools</li>',oe,Y,re,q,ml="Integrate Hugging Face into your coding workflow with the MCP Server and Skills. Access models, datasets, and ML tools directly from your IDE or coding agent. For example, we cover these coding agents and more with MCP and/or Skills:",pe,R,gl='<thead><tr><th>Coding Agent</th> <th>Integration Method</th></tr></thead> <tbody><tr><td><a href="https://code.claude.com/docs" rel="nofollow">Claude Code</a></td> <td>MCP Server + Skills</td></tr> <tr><td><a href="https://openai.com/codex/" rel="nofollow">OpenAI Codex</a></td> <td>MCP Server + Skills</td></tr> <tr><td><a href="https://opencode.ai/" rel="nofollow">Open Code</a></td> <td>MCP Server + Skills</td></tr> <tr><td><a href="https://www.cursor.com/" rel="nofollow">Cursor</a></td> <td>MCP Server + Skills</td></tr> <tr><td><a href="https://code.visualstudio.com/" rel="nofollow">VS Code</a></td> <td>MCP Server</td></tr> <tr><td><a href="https://geminicli.com/" rel="nofollow">Gemini CLI</a></td> <td>MCP Server</td></tr> <tr><td><a href="https://zed.dev/" rel="nofollow">Zed</a></td> <td>MCP Server</td></tr></tbody>',de,V,ue,Q,me,X,fl="The MCP Server gives your coding agent access to Hub search, Spaces, and community tools.",ge,O,hl="<strong>Cursor / VS Code / Zed:</strong>",fe,D,cl='<li>Visit <a href="https://huggingface.co/settings/mcp" rel="nofollow">huggingface.co/settings/mcp</a></li> <li>Select your IDE from the list</li> <li>Copy the configuration snippet</li> <li>Add it to your IDE’s MCP settings</li> <li>Restart the IDE</li>',he,K,$l="<strong>Claude Code:</strong>",ce,tt,$e,et,we,lt,wl="Skills provide task-specific guidance for AI/ML workflows. They work alongside MCP or standalone.",Me,nt,Ce,it,Ml="Then, to install a Skill specification:",Te,at,ye,st,Cl='See the <a href="./agents-skills">Skills Guide</a> for available skills and usage.',be,ot,ve,rt,Tl="Once configured, your coding agent can:",xe,pt,yl="<thead><tr><th>Capability</th> <th>Example</th></tr></thead> <tbody><tr><td>Search the Hub</td> <td>“Find a code generation model under 7B parameters”</td></tr> <tr><td>Generate images</td> <td>“Create a diagram of a transformer architecture”</td></tr> <tr><td>Explore datasets</td> <td>“What datasets are available for sentiment analysis?”</td></tr> <tr><td>Run Spaces</td> <td>“Use the Whisper Space to transcribe this audio file”</td></tr> <tr><td>Get documentation</td> <td>“How do I fine-tune a model with transformers?”</td></tr></tbody>",Je,dt,Ie,ut,He,mt,bl="Set your Hugging Face token as an environment variable:",ke,gt,Se,ft,vl='Or authenticate via the <a href="./agents-cli">CLI</a>:',je,ht,Le,ct,Pe,$t,xl="Extend your setup with MCP-compatible Gradio Spaces:",Ae,wt,Jl='<li>Browse <a href="https://huggingface.co/spaces?filter=mcp-server" rel="nofollow">Spaces with MCP support</a></li> <li>Add them in your <a href="https://huggingface.co/settings/mcp" rel="nofollow">MCP settings</a></li> <li>Restart your IDE</li>',Ge,Mt,Ee,Ct,Ue,Tt,_e,yt,Il="Hugging Face maintains a public registry of agent harnesses, the coding agents and tools that interact with the Hub (Claude Code, Codex, Cursor, and more). When <code>huggingface_hub</code> detects it is running inside a registered harness, it reports it via the user agent on Hub requests. Registering your harness means this activity is attributed to your tool by name and gives your project a friendly display label, links back to your docs and repository, and a place in upcoming agent leaderboards.",Ze,bt,Hl='To register a harness, open a Pull Request adding an entry to <a href="https://github.com/huggingface/huggingface.js/blob/main/packages/tasks/src/agent-harnesses.ts" rel="nofollow"><code>agent-harnesses.ts</code></a> in the <code>@huggingface/tasks</code> package:',We,vt,kl=`<li>the harness id (the entry key) should be lowercased and hyphen-separated (example: <code>"claude-code"</code>).</li> <li>set <code>prettyLabel</code> with user-friendly casing (example: <code>Claude Code</code>).</li> <li>(optional) set <code>repoUrl</code> with a link to the harness source code (usually a GitHub repository).</li> <li>(optional) set <code>docsUrl</code> with a link to the harness documentation or website.</li> <li>(optional) set <code>description</code> with a short, one-line explanation of the harness.</li> <li>define how your harness is detected from the environment: | |
| <ul><li>If your harness sets one of the standard environment variables (<code>AI_AGENT</code> or <code>AGENT</code>), its value is used directly as the identifier and no extra config is needed.</li> <li>Otherwise, set <code>envVars</code> to map environment variable names to value patterns. Use <code>"*"</code> to match any non-empty value, an exact string for an exact match, or <code>"<prefix>*"</code> for prefix matching.</li></ul></li>`,Be,xt,Sl="And that’s it! Once the PR is merged, we will start tracking usage of the <code>hf</code> CLI by your agent harness.",Fe,Jt,Ne,It,jl='<li><a href="./agents-cli">CLI</a> - Command-line interface for Hub operations</li> <li><a href="./agents-mcp">MCP Server</a> - Connect any MCP-compatible AI assistant to the Hub</li> <li><a href="./agents-skills">Skills</a> - Pre-built capabilities for coding agents</li> <li><a href="./agents-sdk">SDK</a> - Python and JavaScript libraries for building agents</li>',ze,Ht,Ye,jt,qe;return w=new Wl({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),M=new h({props:{title:"Agents",local:"agents",headingTag:"h1"}}),y=new h({props:{title:"Chat with Hugging Face",local:"chat-with-hugging-face",headingTag:"h2"}}),v=new h({props:{title:"Supported Assistants",local:"supported-assistants",headingTag:"h3"}}),I=new h({props:{title:"Setup",local:"setup",headingTag:"h3"}}),H=new h({props:{title:"1. Open MCP Settings",local:"1-open-mcp-settings",headingTag:"h4"}}),j=new h({props:{title:"2. Select Your Client",local:"2-select-your-client",headingTag:"h4"}}),P=new h({props:{title:"3. Configure and Restart",local:"3-configure-and-restart",headingTag:"h4"}}),G=new h({props:{title:"What You Can Do",local:"what-you-can-do",headingTag:"h3"}}),Z=new h({props:{title:"Add Community Tools",local:"add-community-tools",headingTag:"h3"}}),N=new h({props:{title:"Learn More",local:"learn-more",headingTag:"h3"}}),Y=new h({props:{title:"Coding Agents",local:"coding-agents",headingTag:"h2"}}),V=new h({props:{title:"Quick Setup",local:"quick-setup",headingTag:"h3"}}),Q=new h({props:{title:"MCP Server",local:"mcp-server",headingTag:"h4"}}),tt=new kt({props:{code:"Y2xhdWRlJTIwbWNwJTIwYWRkJTIwaGYtbWNwLXNlcnZlciUyMC10JTIwaHR0cCUyMCUyMmh0dHBzJTNBJTJGJTJGaHVnZ2luZ2ZhY2UuY28lMkZtY3AlM0Zsb2dpbiUyMg==",highlighted:'claude mcp add hf-mcp-server -t http <span class="hljs-string">"https://huggingface.co/mcp?login"</span>',lang:"bash",wrap:!1}}),et=new h({props:{title:"Skills",local:"skills",headingTag:"h4"}}),nt=new kt({props:{code:"JTIzJTIwc3RhcnQlMjBjbGF1ZGUlMjAlMEFjbGF1ZGUlMEElMEElMjMlMjBpbnN0YWxsJTIwdGhlJTIwc2tpbGxzJTIwbWFya2V0cGxhY2UlMjBwbHVnaW4lMEElMkZwbHVnaW4lMjBtYXJrZXRwbGFjZSUyMGFkZCUyMGh1Z2dpbmdmYWNlJTJGc2tpbGxz",highlighted:`<span class="hljs-comment"># start claude </span> | |
| claude | |
| <span class="hljs-comment"># install the skills marketplace plugin</span> | |
| /plugin marketplace add huggingface/skills`,lang:"bash",wrap:!1}}),at=new kt({props:{code:"JTJGcGx1Z2luJTIwaW5zdGFsbCUyMGhmLWNsaSU0MGh1Z2dpbmdmYWNlJTJGc2tpbGxz",highlighted:"/plugin install hf-cli@huggingface/skills",lang:"bash",wrap:!1}}),ot=new h({props:{title:"What You Can Do",local:"what-you-can-do",headingTag:"h3"}}),dt=new h({props:{title:"Environment Configuration",local:"environment-configuration",headingTag:"h3"}}),ut=new h({props:{title:"Authentication",local:"authentication",headingTag:"h4"}}),gt=new kt({props:{code:"ZXhwb3J0JTIwSEZfVE9LRU4lM0QlMjJoZl8uLi4lMjI=",highlighted:'<span class="hljs-built_in">export</span> HF_TOKEN=<span class="hljs-string">"hf_..."</span>',lang:"bash",wrap:!1}}),ht=new kt({props:{code:"aGYlMjBhdXRoJTIwbG9naW4=",highlighted:"hf auth login",lang:"bash",wrap:!1}}),ct=new h({props:{title:"Adding Community Tools",local:"adding-community-tools",headingTag:"h4"}}),Mt=new h({props:{title:"Example Workflow",local:"example-workflow",headingTag:"h3"}}),Ct=new kt({props:{code:"WW91JTNBJTIwRmluZCUyMGElMjB0ZXh0JTIwY2xhc3NpZmljYXRpb24lMjBtb2RlbCUyMHRoYXQlMjB3b3JrcyUyMHdlbGwlMjBvbiUyMHNob3J0JTIwdGV4dHMlMEElMEFBZ2VudCUzQSUyMCU1QlNlYXJjaGVzJTIwSHVnZ2luZyUyMEZhY2UlMjBIdWIlNUQlMEElMjAlMjAlMjAlMjAlMjAlMjAlMjBGb3VuZCUyMHNldmVyYWwlMjBvcHRpb25zJTNBJTBBJTIwJTIwJTIwJTIwJTIwJTIwJTIwLSUyMGRpc3RpbGJlcnQtYmFzZS11bmNhc2VkLWZpbmV0dW5lZC1zc3QtMi1lbmdsaXNoJTIwKHNlbnRpbWVudCklMEElMjAlMjAlMjAlMjAlMjAlMjAlMjAtJTIwZmFjZWJvb2slMkZiYXJ0LWxhcmdlLW1ubGklMjAoemVyby1zaG90KSUwQSUyMCUyMCUyMCUyMCUyMCUyMCUyMC4uLiUwQSUwQVlvdSUzQSUyMFNob3clMjBtZSUyMGhvdyUyMHRvJTIwdXNlJTIwdGhlJTIwZmlyc3QlMjBvbmUlMEElMEFBZ2VudCUzQSUyMCU1QkZldGNoZXMlMjBkb2N1bWVudGF0aW9uJTVEJTBBJTIwJTIwJTIwJTIwJTIwJTIwJTIwSGVyZSdzJTIwaG93JTIwdG8lMjB1c2UlMjBpdCUyMHdpdGglMjB0cmFuc2Zvcm1lcnMlM0ElMEElMjAlMjAlMjAlMjAlMjAlMjAlMjAlMEElMjAlMjAlMjAlMjAlMjAlMjAlMjBmcm9tJTIwdHJhbnNmb3JtZXJzJTIwaW1wb3J0JTIwcGlwZWxpbmUlMEElMjAlMjAlMjAlMjAlMjAlMjAlMjBjbGFzc2lmaWVyJTIwJTNEJTIwcGlwZWxpbmUoJTIyc2VudGltZW50LWFuYWx5c2lzJTIyJTJDJTIwJTBBJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwbW9kZWwlM0QlMjJkaXN0aWxiZXJ0LWJhc2UtdW5jYXNlZC1maW5ldHVuZWQtc3N0LTItZW5nbGlzaCUyMiklMEElMjAlMjAlMjAlMjAlMjAlMjAlMjByZXN1bHQlMjAlM0QlMjBjbGFzc2lmaWVyKCUyMkklMjBsb3ZlJTIwdGhpcyUyMHByb2R1Y3QhJTIyKQ==",highlighted:`You: Find a text classification model that works well on short texts | |
| Agent: [Searches Hugging Face Hub] | |
| Found several options: | |
| - distilbert-base-uncased-finetuned-sst-2-english (sentiment) | |
| - facebook/bart-large-mnli (zero-shot) | |
| ... | |
| You: Show me how to use the first one | |
| Agent: [Fetches documentation] | |
| Here's how to use it with transformers: | |
| from transformers import pipeline | |
| classifier = pipeline("sentiment-analysis", | |
| model="distilbert-base-uncased-finetuned-sst-2-english") | |
| result = classifier("I love this product!")`,lang:"text",wrap:!1}}),Tt=new h({props:{title:"Register your agent harness",local:"register-your-agent-harness",headingTag:"h2"}}),Jt=new h({props:{title:"Next Steps",local:"next-steps",headingTag:"h2"}}),Ht=new Bl({props:{source:"https://github.com/huggingface/hub-docs/blob/main/docs/hub/agents-overview.md"}}),{c(){c=s("meta"),Lt=i(),St=s("p"),Pt=i(),p(w.$$.fragment),At=i(),p(M.$$.fragment),Gt=i(),C=s("p"),C.innerHTML=Qe,Et=i(),T=s("table"),T.innerHTML=Xe,Ut=i(),p(y.$$.fragment),_t=i(),b=s("p"),b.textContent=Oe,Zt=i(),p(v.$$.fragment),Wt=i(),x=s("p"),x.textContent=De,Bt=i(),J=s("ul"),J.innerHTML=Ke,Ft=i(),p(I.$$.fragment),Nt=i(),p(H.$$.fragment),zt=i(),k=s("p"),k.innerHTML=tl,Yt=i(),S=s("p"),S.innerHTML=el,qt=i(),p(j.$$.fragment),Rt=i(),L=s("p"),L.textContent=ll,Vt=i(),p(P.$$.fragment),Qt=i(),A=s("p"),A.textContent=nl,Xt=i(),$=s("blockquote"),$.innerHTML=il,Ot=i(),p(G.$$.fragment),Dt=i(),E=s("p"),E.textContent=al,Kt=i(),U=s("table"),U.innerHTML=sl,te=i(),_=s("p"),_.textContent=ol,ee=i(),p(Z.$$.fragment),le=i(),W=s("p"),W.textContent=rl,ne=i(),B=s("ol"),B.innerHTML=pl,ie=i(),F=s("p"),F.textContent=dl,ae=i(),p(N.$$.fragment),se=i(),z=s("ul"),z.innerHTML=ul,oe=i(),p(Y.$$.fragment),re=i(),q=s("p"),q.textContent=ml,pe=i(),R=s("table"),R.innerHTML=gl,de=i(),p(V.$$.fragment),ue=i(),p(Q.$$.fragment),me=i(),X=s("p"),X.textContent=fl,ge=i(),O=s("p"),O.innerHTML=hl,fe=i(),D=s("ol"),D.innerHTML=cl,he=i(),K=s("p"),K.innerHTML=$l,ce=i(),p(tt.$$.fragment),$e=i(),p(et.$$.fragment),we=i(),lt=s("p"),lt.textContent=wl,Me=i(),p(nt.$$.fragment),Ce=i(),it=s("p"),it.textContent=Ml,Te=i(),p(at.$$.fragment),ye=i(),st=s("p"),st.innerHTML=Cl,be=i(),p(ot.$$.fragment),ve=i(),rt=s("p"),rt.textContent=Tl,xe=i(),pt=s("table"),pt.innerHTML=yl,Je=i(),p(dt.$$.fragment),Ie=i(),p(ut.$$.fragment),He=i(),mt=s("p"),mt.textContent=bl,ke=i(),p(gt.$$.fragment),Se=i(),ft=s("p"),ft.innerHTML=vl,je=i(),p(ht.$$.fragment),Le=i(),p(ct.$$.fragment),Pe=i(),$t=s("p"),$t.textContent=xl,Ae=i(),wt=s("ol"),wt.innerHTML=Jl,Ge=i(),p(Mt.$$.fragment),Ee=i(),p(Ct.$$.fragment),Ue=i(),p(Tt.$$.fragment),_e=i(),yt=s("p"),yt.innerHTML=Il,Ze=i(),bt=s("p"),bt.innerHTML=Hl,We=i(),vt=s("ul"),vt.innerHTML=kl,Be=i(),xt=s("p"),xt.innerHTML=Sl,Fe=i(),p(Jt.$$.fragment),Ne=i(),It=s("ul"),It.innerHTML=jl,ze=i(),p(Ht.$$.fragment),Ye=i(),jt=s("p"),this.h()},l(t){const e=_l("svelte-u9bgzb",document.head);c=o(e,"META",{name:!0,content:!0}),e.forEach(l),Lt=a(t),St=o(t,"P",{}),Ll(St).forEach(l),Pt=a(t),d(w.$$.fragment,t),At=a(t),d(M.$$.fragment,t),Gt=a(t),C=o(t,"P",{"data-svelte-h":!0}),r(C)!=="svelte-1asqg57"&&(C.innerHTML=Qe),Et=a(t),T=o(t,"TABLE",{"data-svelte-h":!0}),r(T)!=="svelte-1palbi3"&&(T.innerHTML=Xe),Ut=a(t),d(y.$$.fragment,t),_t=a(t),b=o(t,"P",{"data-svelte-h":!0}),r(b)!=="svelte-i1ksck"&&(b.textContent=Oe),Zt=a(t),d(v.$$.fragment,t),Wt=a(t),x=o(t,"P",{"data-svelte-h":!0}),r(x)!=="svelte-gay1gs"&&(x.textContent=De),Bt=a(t),J=o(t,"UL",{"data-svelte-h":!0}),r(J)!=="svelte-1szp83t"&&(J.innerHTML=Ke),Ft=a(t),d(I.$$.fragment,t),Nt=a(t),d(H.$$.fragment,t),zt=a(t),k=o(t,"P",{"data-svelte-h":!0}),r(k)!=="svelte-tfnpib"&&(k.innerHTML=tl),Yt=a(t),S=o(t,"P",{"data-svelte-h":!0}),r(S)!=="svelte-1x3owm7"&&(S.innerHTML=el),qt=a(t),d(j.$$.fragment,t),Rt=a(t),L=o(t,"P",{"data-svelte-h":!0}),r(L)!=="svelte-142zgti"&&(L.textContent=ll),Vt=a(t),d(P.$$.fragment,t),Qt=a(t),A=o(t,"P",{"data-svelte-h":!0}),r(A)!=="svelte-1bl8eh9"&&(A.textContent=nl),Xt=a(t),$=o(t,"BLOCKQUOTE",{class:!0,"data-svelte-h":!0}),r($)!=="svelte-a9zrlp"&&($.innerHTML=il),Ot=a(t),d(G.$$.fragment,t),Dt=a(t),E=o(t,"P",{"data-svelte-h":!0}),r(E)!=="svelte-hm6uqf"&&(E.textContent=al),Kt=a(t),U=o(t,"TABLE",{"data-svelte-h":!0}),r(U)!=="svelte-1w1nwe1"&&(U.innerHTML=sl),te=a(t),_=o(t,"P",{"data-svelte-h":!0}),r(_)!=="svelte-7pimz0"&&(_.textContent=ol),ee=a(t),d(Z.$$.fragment,t),le=a(t),W=o(t,"P",{"data-svelte-h":!0}),r(W)!=="svelte-tw05na"&&(W.textContent=rl),ne=a(t),B=o(t,"OL",{"data-svelte-h":!0}),r(B)!=="svelte-mc1isj"&&(B.innerHTML=pl),ie=a(t),F=o(t,"P",{"data-svelte-h":!0}),r(F)!=="svelte-1sngx4r"&&(F.textContent=dl),ae=a(t),d(N.$$.fragment,t),se=a(t),z=o(t,"UL",{"data-svelte-h":!0}),r(z)!=="svelte-1pli8i"&&(z.innerHTML=ul),oe=a(t),d(Y.$$.fragment,t),re=a(t),q=o(t,"P",{"data-svelte-h":!0}),r(q)!=="svelte-1ksp7zx"&&(q.textContent=ml),pe=a(t),R=o(t,"TABLE",{"data-svelte-h":!0}),r(R)!=="svelte-19rjhsq"&&(R.innerHTML=gl),de=a(t),d(V.$$.fragment,t),ue=a(t),d(Q.$$.fragment,t),me=a(t),X=o(t,"P",{"data-svelte-h":!0}),r(X)!=="svelte-1ivqhiq"&&(X.textContent=fl),ge=a(t),O=o(t,"P",{"data-svelte-h":!0}),r(O)!=="svelte-1pcr6xk"&&(O.innerHTML=hl),fe=a(t),D=o(t,"OL",{"data-svelte-h":!0}),r(D)!=="svelte-1eh15re"&&(D.innerHTML=cl),he=a(t),K=o(t,"P",{"data-svelte-h":!0}),r(K)!=="svelte-klm3yk"&&(K.innerHTML=$l),ce=a(t),d(tt.$$.fragment,t),$e=a(t),d(et.$$.fragment,t),we=a(t),lt=o(t,"P",{"data-svelte-h":!0}),r(lt)!=="svelte-h5ar9n"&&(lt.textContent=wl),Me=a(t),d(nt.$$.fragment,t),Ce=a(t),it=o(t,"P",{"data-svelte-h":!0}),r(it)!=="svelte-bcczac"&&(it.textContent=Ml),Te=a(t),d(at.$$.fragment,t),ye=a(t),st=o(t,"P",{"data-svelte-h":!0}),r(st)!=="svelte-ythxy7"&&(st.innerHTML=Cl),be=a(t),d(ot.$$.fragment,t),ve=a(t),rt=o(t,"P",{"data-svelte-h":!0}),r(rt)!=="svelte-se730l"&&(rt.textContent=Tl),xe=a(t),pt=o(t,"TABLE",{"data-svelte-h":!0}),r(pt)!=="svelte-1uoo8wy"&&(pt.innerHTML=yl),Je=a(t),d(dt.$$.fragment,t),Ie=a(t),d(ut.$$.fragment,t),He=a(t),mt=o(t,"P",{"data-svelte-h":!0}),r(mt)!=="svelte-1adz6c8"&&(mt.textContent=bl),ke=a(t),d(gt.$$.fragment,t),Se=a(t),ft=o(t,"P",{"data-svelte-h":!0}),r(ft)!=="svelte-9lygye"&&(ft.innerHTML=vl),je=a(t),d(ht.$$.fragment,t),Le=a(t),d(ct.$$.fragment,t),Pe=a(t),$t=o(t,"P",{"data-svelte-h":!0}),r($t)!=="svelte-tw05na"&&($t.textContent=xl),Ae=a(t),wt=o(t,"OL",{"data-svelte-h":!0}),r(wt)!=="svelte-3pwrvo"&&(wt.innerHTML=Jl),Ge=a(t),d(Mt.$$.fragment,t),Ee=a(t),d(Ct.$$.fragment,t),Ue=a(t),d(Tt.$$.fragment,t),_e=a(t),yt=o(t,"P",{"data-svelte-h":!0}),r(yt)!=="svelte-1wbw09v"&&(yt.innerHTML=Il),Ze=a(t),bt=o(t,"P",{"data-svelte-h":!0}),r(bt)!=="svelte-1o8o8eo"&&(bt.innerHTML=Hl),We=a(t),vt=o(t,"UL",{"data-svelte-h":!0}),r(vt)!=="svelte-1fql799"&&(vt.innerHTML=kl),Be=a(t),xt=o(t,"P",{"data-svelte-h":!0}),r(xt)!=="svelte-ol16u0"&&(xt.innerHTML=Sl),Fe=a(t),d(Jt.$$.fragment,t),Ne=a(t),It=o(t,"UL",{"data-svelte-h":!0}),r(It)!=="svelte-1wb00it"&&(It.innerHTML=jl),ze=a(t),d(Ht.$$.fragment,t),Ye=a(t),jt=o(t,"P",{}),Ll(jt).forEach(l),this.h()},h(){Re(c,"name","hf:doc:metadata"),Re(c,"content",Nl),Re($,"class","tip")},m(t,e){Zl(document.head,c),n(t,Lt,e),n(t,St,e),n(t,Pt,e),u(w,t,e),n(t,At,e),u(M,t,e),n(t,Gt,e),n(t,C,e),n(t,Et,e),n(t,T,e),n(t,Ut,e),u(y,t,e),n(t,_t,e),n(t,b,e),n(t,Zt,e),u(v,t,e),n(t,Wt,e),n(t,x,e),n(t,Bt,e),n(t,J,e),n(t,Ft,e),u(I,t,e),n(t,Nt,e),u(H,t,e),n(t,zt,e),n(t,k,e),n(t,Yt,e),n(t,S,e),n(t,qt,e),u(j,t,e),n(t,Rt,e),n(t,L,e),n(t,Vt,e),u(P,t,e),n(t,Qt,e),n(t,A,e),n(t,Xt,e),n(t,$,e),n(t,Ot,e),u(G,t,e),n(t,Dt,e),n(t,E,e),n(t,Kt,e),n(t,U,e),n(t,te,e),n(t,_,e),n(t,ee,e),u(Z,t,e),n(t,le,e),n(t,W,e),n(t,ne,e),n(t,B,e),n(t,ie,e),n(t,F,e),n(t,ae,e),u(N,t,e),n(t,se,e),n(t,z,e),n(t,oe,e),u(Y,t,e),n(t,re,e),n(t,q,e),n(t,pe,e),n(t,R,e),n(t,de,e),u(V,t,e),n(t,ue,e),u(Q,t,e),n(t,me,e),n(t,X,e),n(t,ge,e),n(t,O,e),n(t,fe,e),n(t,D,e),n(t,he,e),n(t,K,e),n(t,ce,e),u(tt,t,e),n(t,$e,e),u(et,t,e),n(t,we,e),n(t,lt,e),n(t,Me,e),u(nt,t,e),n(t,Ce,e),n(t,it,e),n(t,Te,e),u(at,t,e),n(t,ye,e),n(t,st,e),n(t,be,e),u(ot,t,e),n(t,ve,e),n(t,rt,e),n(t,xe,e),n(t,pt,e),n(t,Je,e),u(dt,t,e),n(t,Ie,e),u(ut,t,e),n(t,He,e),n(t,mt,e),n(t,ke,e),u(gt,t,e),n(t,Se,e),n(t,ft,e),n(t,je,e),u(ht,t,e),n(t,Le,e),u(ct,t,e),n(t,Pe,e),n(t,$t,e),n(t,Ae,e),n(t,wt,e),n(t,Ge,e),u(Mt,t,e),n(t,Ee,e),u(Ct,t,e),n(t,Ue,e),u(Tt,t,e),n(t,_e,e),n(t,yt,e),n(t,Ze,e),n(t,bt,e),n(t,We,e),n(t,vt,e),n(t,Be,e),n(t,xt,e),n(t,Fe,e),u(Jt,t,e),n(t,Ne,e),n(t,It,e),n(t,ze,e),u(Ht,t,e),n(t,Ye,e),n(t,jt,e),qe=!0},p:Al,i(t){qe||(m(w.$$.fragment,t),m(M.$$.fragment,t),m(y.$$.fragment,t),m(v.$$.fragment,t),m(I.$$.fragment,t),m(H.$$.fragment,t),m(j.$$.fragment,t),m(P.$$.fragment,t),m(G.$$.fragment,t),m(Z.$$.fragment,t),m(N.$$.fragment,t),m(Y.$$.fragment,t),m(V.$$.fragment,t),m(Q.$$.fragment,t),m(tt.$$.fragment,t),m(et.$$.fragment,t),m(nt.$$.fragment,t),m(at.$$.fragment,t),m(ot.$$.fragment,t),m(dt.$$.fragment,t),m(ut.$$.fragment,t),m(gt.$$.fragment,t),m(ht.$$.fragment,t),m(ct.$$.fragment,t),m(Mt.$$.fragment,t),m(Ct.$$.fragment,t),m(Tt.$$.fragment,t),m(Jt.$$.fragment,t),m(Ht.$$.fragment,t),qe=!0)},o(t){g(w.$$.fragment,t),g(M.$$.fragment,t),g(y.$$.fragment,t),g(v.$$.fragment,t),g(I.$$.fragment,t),g(H.$$.fragment,t),g(j.$$.fragment,t),g(P.$$.fragment,t),g(G.$$.fragment,t),g(Z.$$.fragment,t),g(N.$$.fragment,t),g(Y.$$.fragment,t),g(V.$$.fragment,t),g(Q.$$.fragment,t),g(tt.$$.fragment,t),g(et.$$.fragment,t),g(nt.$$.fragment,t),g(at.$$.fragment,t),g(ot.$$.fragment,t),g(dt.$$.fragment,t),g(ut.$$.fragment,t),g(gt.$$.fragment,t),g(ht.$$.fragment,t),g(ct.$$.fragment,t),g(Mt.$$.fragment,t),g(Ct.$$.fragment,t),g(Tt.$$.fragment,t),g(Jt.$$.fragment,t),g(Ht.$$.fragment,t),qe=!1},d(t){t&&(l(Lt),l(St),l(Pt),l(At),l(Gt),l(C),l(Et),l(T),l(Ut),l(_t),l(b),l(Zt),l(Wt),l(x),l(Bt),l(J),l(Ft),l(Nt),l(zt),l(k),l(Yt),l(S),l(qt),l(Rt),l(L),l(Vt),l(Qt),l(A),l(Xt),l($),l(Ot),l(Dt),l(E),l(Kt),l(U),l(te),l(_),l(ee),l(le),l(W),l(ne),l(B),l(ie),l(F),l(ae),l(se),l(z),l(oe),l(re),l(q),l(pe),l(R),l(de),l(ue),l(me),l(X),l(ge),l(O),l(fe),l(D),l(he),l(K),l(ce),l($e),l(we),l(lt),l(Me),l(Ce),l(it),l(Te),l(ye),l(st),l(be),l(ve),l(rt),l(xe),l(pt),l(Je),l(Ie),l(He),l(mt),l(ke),l(Se),l(ft),l(je),l(Le),l(Pe),l($t),l(Ae),l(wt),l(Ge),l(Ee),l(Ue),l(_e),l(yt),l(Ze),l(bt),l(We),l(vt),l(Be),l(xt),l(Fe),l(Ne),l(It),l(ze),l(Ye),l(jt)),l(c),f(w,t),f(M,t),f(y,t),f(v,t),f(I,t),f(H,t),f(j,t),f(P,t),f(G,t),f(Z,t),f(N,t),f(Y,t),f(V,t),f(Q,t),f(tt,t),f(et,t),f(nt,t),f(at,t),f(ot,t),f(dt,t),f(ut,t),f(gt,t),f(ht,t),f(ct,t),f(Mt,t),f(Ct,t),f(Tt,t),f(Jt,t),f(Ht,t)}}}const Nl='{"title":"Agents","local":"agents","sections":[{"title":"Chat with Hugging Face","local":"chat-with-hugging-face","sections":[{"title":"Supported Assistants","local":"supported-assistants","sections":[],"depth":3},{"title":"Setup","local":"setup","sections":[{"title":"1. Open MCP Settings","local":"1-open-mcp-settings","sections":[],"depth":4},{"title":"2. Select Your Client","local":"2-select-your-client","sections":[],"depth":4},{"title":"3. Configure and Restart","local":"3-configure-and-restart","sections":[],"depth":4}],"depth":3},{"title":"What You Can Do","local":"what-you-can-do","sections":[],"depth":3},{"title":"Add Community Tools","local":"add-community-tools","sections":[],"depth":3},{"title":"Learn More","local":"learn-more","sections":[],"depth":3}],"depth":2},{"title":"Coding Agents","local":"coding-agents","sections":[{"title":"Quick Setup","local":"quick-setup","sections":[{"title":"MCP Server","local":"mcp-server","sections":[],"depth":4},{"title":"Skills","local":"skills","sections":[],"depth":4}],"depth":3},{"title":"What You Can Do","local":"what-you-can-do","sections":[],"depth":3},{"title":"Environment Configuration","local":"environment-configuration","sections":[{"title":"Authentication","local":"authentication","sections":[],"depth":4},{"title":"Adding Community Tools","local":"adding-community-tools","sections":[],"depth":4}],"depth":3},{"title":"Example Workflow","local":"example-workflow","sections":[],"depth":3}],"depth":2},{"title":"Register your agent harness","local":"register-your-agent-harness","sections":[],"depth":2},{"title":"Next Steps","local":"next-steps","sections":[],"depth":2}],"depth":1}';function zl(Ve){return Gl(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Xl extends El{constructor(c){super(),Ul(this,c,zl,Fl,Pl,{})}}export{Xl as component}; | |
Xet Storage Details
- Size:
- 26.5 kB
- Xet hash:
- a6bc8fba806e87d1e8a137786be81a5555d5857f1a517aa1e0a4b5e6e9da95aa
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.