import{s as os,o as ps,n as g}from"../chunks/scheduler.37c15a92.js";import{S as rs,i as is,g as T,s as y,r as d,A as Ms,h as f,f as r,c as w,j as as,u as J,x as Z,k as Yl,y as cs,a as M,v as h,d as u,t as j,w as b,m as il,n as Ml}from"../chunks/index.2bf4358c.js";import{T as ms}from"../chunks/Tip.363c041f.js";import{C as B}from"../chunks/CodeBlock.4e987730.js";import{H as v}from"../chunks/Heading.8ada512a.js";import{H as pl,a as W}from"../chunks/HfOption.02c8e375.js";import{E as ys}from"../chunks/index.2145fe70.js";function ws(U){let e,p,t="tools",c,o,a="retriever",s,l,i="tools.py",I,G,z="retriever.py",V;return{c(){e=il("If you haven't implemented the tools yet, go back to the "),p=T("a"),p.textContent=t,c=il(" and "),o=T("a"),o.textContent=a,s=il(" sections to implement them, and add them to the "),l=T("code"),l.textContent=i,I=il(" and "),G=T("code"),G.textContent=z,V=il(" files."),this.h()},l($){e=Ml($,"If you haven't implemented the tools yet, go back to the "),p=f($,"A",{href:!0,"data-svelte-h":!0}),Z(p)!=="svelte-1sj1t0f"&&(p.textContent=t),c=Ml($," and "),o=f($,"A",{href:!0,"data-svelte-h":!0}),Z(o)!=="svelte-1mms3mq"&&(o.textContent=a),s=Ml($," sections to implement them, and add them to the "),l=f($,"CODE",{"data-svelte-h":!0}),Z(l)!=="svelte-1re6lm8"&&(l.textContent=i),I=Ml($," and "),G=f($,"CODE",{"data-svelte-h":!0}),Z(G)!=="svelte-olq8cj"&&(G.textContent=z),V=Ml($," files."),this.h()},h(){Yl(p,"href","./tools"),Yl(o,"href","./invitees")},m($,k){M($,e,k),M($,p,k),M($,c,k),M($,o,k),M($,s,k),M($,l,k),M($,I,k),M($,G,k),M($,V,k)},p:g,d($){$&&(r(e),r(p),r(c),r(o),r(s),r(l),r(I),r(G),r(V))}}}function ds(U){let e,p,t,c="Now, let’s combine all these tools into a single agent:",o,a,s;return e=new B({props:{code:"JTIzJTIwSW1wb3J0JTIwbmVjZXNzYXJ5JTIwbGlicmFyaWVzJTBBaW1wb3J0JTIwcmFuZG9tJTBBZnJvbSUyMHNtb2xhZ2VudHMlMjBpbXBvcnQlMjBDb2RlQWdlbnQlMkMlMjBIZkFwaU1vZGVsJTBBJTBBJTIzJTIwSW1wb3J0JTIwb3VyJTIwY3VzdG9tJTIwdG9vbHMlMjBmcm9tJTIwdGhlaXIlMjBtb2R1bGVzJTBBZnJvbSUyMHRvb2xzJTIwaW1wb3J0JTIwRHVja0R1Y2tHb1NlYXJjaFRvb2wlMkMlMjBXZWF0aGVySW5mb1Rvb2wlMkMlMjBIdWJTdGF0c1Rvb2wlMEFmcm9tJTIwcmV0cmlldmVyJTIwaW1wb3J0JTIwbG9hZF9ndWVzdF9kYXRhc2V0",highlighted:`<span class="hljs-comment"># Import necessary libraries</span>
<span class="hljs-keyword">import</span> random
<span class="hljs-keyword">from</span> smolagents <span class="hljs-keyword">import</span> CodeAgent, HfApiModel

<span class="hljs-comment"># Import our custom tools from their modules</span>
<span class="hljs-keyword">from</span> tools <span class="hljs-keyword">import</span> DuckDuckGoSearchTool, WeatherInfoTool, HubStatsTool
<span class="hljs-keyword">from</span> retriever <span class="hljs-keyword">import</span> load_guest_dataset`,wrap:!1}}),a=new B({props:{code:"JTIzJTIwSW5pdGlhbGl6ZSUyMHRoZSUyMEh1Z2dpbmclMjBGYWNlJTIwbW9kZWwlMEFtb2RlbCUyMCUzRCUyMEhmQXBpTW9kZWwoKSUwQSUwQSUyMyUyMEluaXRpYWxpemUlMjB0aGUlMjB3ZWIlMjBzZWFyY2glMjB0b29sJTBBc2VhcmNoX3Rvb2wlMjAlM0QlMjBEdWNrRHVja0dvU2VhcmNoVG9vbCgpJTBBJTBBJTIzJTIwSW5pdGlhbGl6ZSUyMHRoZSUyMHdlYXRoZXIlMjB0b29sJTBBd2VhdGhlcl9pbmZvX3Rvb2wlMjAlM0QlMjBXZWF0aGVySW5mb1Rvb2woKSUwQSUwQSUyMyUyMEluaXRpYWxpemUlMjB0aGUlMjBIdWIlMjBzdGF0cyUyMHRvb2wlMEFodWJfc3RhdHNfdG9vbCUyMCUzRCUyMEh1YlN0YXRzVG9vbCgpJTBBJTBBJTIzJTIwTG9hZCUyMHRoZSUyMGd1ZXN0JTIwZGF0YXNldCUyMGFuZCUyMGluaXRpYWxpemUlMjB0aGUlMjBndWVzdCUyMGluZm8lMjB0b29sJTBBZ3Vlc3RfaW5mb190b29sJTIwJTNEJTIwbG9hZF9ndWVzdF9kYXRhc2V0KCklMEElMEElMjMlMjBDcmVhdGUlMjBBbGZyZWQlMjB3aXRoJTIwYWxsJTIwdGhlJTIwdG9vbHMlMEFhbGZyZWQlMjAlM0QlMjBDb2RlQWdlbnQoJTBBJTIwJTIwJTIwJTIwdG9vbHMlM0QlNUJndWVzdF9pbmZvX3Rvb2wlMkMlMjB3ZWF0aGVyX2luZm9fdG9vbCUyQyUyMGh1Yl9zdGF0c190b29sJTJDJTIwc2VhcmNoX3Rvb2wlNUQlMkMlMjAlMEElMjAlMjAlMjAlMjBtb2RlbCUzRG1vZGVsJTJDJTBBJTIwJTIwJTIwJTIwYWRkX2Jhc2VfdG9vbHMlM0RUcnVlJTJDJTIwJTIwJTIzJTIwQWRkJTIwYW55JTIwYWRkaXRpb25hbCUyMGJhc2UlMjB0b29scyUwQSUyMCUyMCUyMCUyMHBsYW5uaW5nX2ludGVydmFsJTNEMyUyMCUyMCUyMCUyMyUyMEVuYWJsZSUyMHBsYW5uaW5nJTIwZXZlcnklMjAzJTIwc3RlcHMlMEEp",highlighted:`<span class="hljs-comment"># Initialize the Hugging Face model</span>
model = HfApiModel()

<span class="hljs-comment"># Initialize the web search tool</span>
search_tool = DuckDuckGoSearchTool()

<span class="hljs-comment"># Initialize the weather tool</span>
weather_info_tool = WeatherInfoTool()

<span class="hljs-comment"># Initialize the Hub stats tool</span>
hub_stats_tool = HubStatsTool()

<span class="hljs-comment"># Load the guest dataset and initialize the guest info tool</span>
guest_info_tool = load_guest_dataset()

<span class="hljs-comment"># Create Alfred with all the tools</span>
alfred = CodeAgent(
    tools=[guest_info_tool, weather_info_tool, hub_stats_tool, search_tool], 
    model=model,
    add_base_tools=<span class="hljs-literal">True</span>,  <span class="hljs-comment"># Add any additional base tools</span>
    planning_interval=<span class="hljs-number">3</span>   <span class="hljs-comment"># Enable planning every 3 steps</span>
)`,wrap:!1}}),{c(){d(e.$$.fragment),p=y(),t=T("p"),t.textContent=c,o=y(),d(a.$$.fragment)},l(l){J(e.$$.fragment,l),p=w(l),t=f(l,"P",{"data-svelte-h":!0}),Z(t)!=="svelte-9b56u9"&&(t.textContent=c),o=w(l),J(a.$$.fragment,l)},m(l,i){h(e,l,i),M(l,p,i),M(l,t,i),M(l,o,i),h(a,l,i),s=!0},p:g,i(l){s||(u(e.$$.fragment,l),u(a.$$.fragment,l),s=!0)},o(l){j(e.$$.fragment,l),j(a.$$.fragment,l),s=!1},d(l){l&&(r(p),r(t),r(o)),b(e,l),b(a,l)}}}function Js(U){let e,p,t,c="Now, let’s combine all these tools into a single agent:",o,a,s;return e=new B({props:{code:"JTIzJTIwSW1wb3J0JTIwbmVjZXNzYXJ5JTIwbGlicmFyaWVzJTBBZnJvbSUyMGxsYW1hX2luZGV4LmNvcmUuYWdlbnQud29ya2Zsb3clMjBpbXBvcnQlMjBBZ2VudFdvcmtmbG93JTBBZnJvbSUyMGxsYW1hX2luZGV4LmxsbXMuaHVnZ2luZ2ZhY2VfYXBpJTIwaW1wb3J0JTIwSHVnZ2luZ0ZhY2VJbmZlcmVuY2VBUEklMEElMEFmcm9tJTIwdG9vbHMlMjBpbXBvcnQlMjBzZWFyY2hfdG9vbCUyQyUyMHdlYXRoZXJfaW5mb190b29sJTJDJTIwaHViX3N0YXRzX3Rvb2wlMEFmcm9tJTIwcmV0cmlldmVyJTIwaW1wb3J0JTIwZ3Vlc3RfaW5mb190b29s",highlighted:`<span class="hljs-comment"># Import necessary libraries</span>
<span class="hljs-keyword">from</span> llama_index.core.agent.workflow <span class="hljs-keyword">import</span> AgentWorkflow
<span class="hljs-keyword">from</span> llama_index.llms.huggingface_api <span class="hljs-keyword">import</span> HuggingFaceInferenceAPI

<span class="hljs-keyword">from</span> tools <span class="hljs-keyword">import</span> search_tool, weather_info_tool, hub_stats_tool
<span class="hljs-keyword">from</span> retriever <span class="hljs-keyword">import</span> guest_info_tool`,wrap:!1}}),a=new B({props:{code:"JTIzJTIwSW5pdGlhbGl6ZSUyMHRoZSUyMEh1Z2dpbmclMjBGYWNlJTIwbW9kZWwlMEFsbG0lMjAlM0QlMjBIdWdnaW5nRmFjZUluZmVyZW5jZUFQSShtb2RlbF9uYW1lJTNEJTIyUXdlbiUyRlF3ZW4yLjUtQ29kZXItMzJCLUluc3RydWN0JTIyKSUwQSUwQSUyMyUyMENyZWF0ZSUyMEFsZnJlZCUyMHdpdGglMjBhbGwlMjB0aGUlMjB0b29scyUwQWFsZnJlZCUyMCUzRCUyMEFnZW50V29ya2Zsb3cuZnJvbV90b29sc19vcl9mdW5jdGlvbnMoJTBBJTIwJTIwJTIwJTIwJTVCZ3Vlc3RfaW5mb190b29sJTJDJTIwc2VhcmNoX3Rvb2wlMkMlMjB3ZWF0aGVyX2luZm9fdG9vbCUyQyUyMGh1Yl9zdGF0c190b29sJTVEJTJDJTBBJTIwJTIwJTIwJTIwbGxtJTNEbGxtJTJDJTBBKQ==",highlighted:`<span class="hljs-comment"># Initialize the Hugging Face model</span>
llm = HuggingFaceInferenceAPI(model_name=<span class="hljs-string">&quot;Qwen/Qwen2.5-Coder-32B-Instruct&quot;</span>)

<span class="hljs-comment"># Create Alfred with all the tools</span>
alfred = AgentWorkflow.from_tools_or_functions(
    [guest_info_tool, search_tool, weather_info_tool, hub_stats_tool],
    llm=llm,
)`,wrap:!1}}),{c(){d(e.$$.fragment),p=y(),t=T("p"),t.textContent=c,o=y(),d(a.$$.fragment)},l(l){J(e.$$.fragment,l),p=w(l),t=f(l,"P",{"data-svelte-h":!0}),Z(t)!=="svelte-9b56u9"&&(t.textContent=c),o=w(l),J(a.$$.fragment,l)},m(l,i){h(e,l,i),M(l,p,i),M(l,t,i),M(l,o,i),h(a,l,i),s=!0},p:g,i(l){s||(u(e.$$.fragment,l),u(a.$$.fragment,l),s=!0)},o(l){j(e.$$.fragment,l),j(a.$$.fragment,l),s=!1},d(l){l&&(r(p),r(t),r(o)),b(e,l),b(a,l)}}}function hs(U){let e,p,t,c="Now, let’s combine all these tools into a single agent:",o,a,s;return e=new B({props:{code:"ZnJvbSUyMHR5cGluZyUyMGltcG9ydCUyMFR5cGVkRGljdCUyQyUyMEFubm90YXRlZCUwQWZyb20lMjBsYW5nZ3JhcGguZ3JhcGgubWVzc2FnZSUyMGltcG9ydCUyMGFkZF9tZXNzYWdlcyUwQWZyb20lMjBsYW5nY2hhaW5fY29yZS5tZXNzYWdlcyUyMGltcG9ydCUyMEFueU1lc3NhZ2UlMkMlMjBIdW1hbk1lc3NhZ2UlMkMlMjBBSU1lc3NhZ2UlMEFmcm9tJTIwbGFuZ2dyYXBoLnByZWJ1aWx0JTIwaW1wb3J0JTIwVG9vbE5vZGUlMEFmcm9tJTIwbGFuZ2dyYXBoLmdyYXBoJTIwaW1wb3J0JTIwU1RBUlQlMkMlMjBTdGF0ZUdyYXBoJTBBZnJvbSUyMGxhbmdncmFwaC5wcmVidWlsdCUyMGltcG9ydCUyMHRvb2xzX2NvbmRpdGlvbiUwQWZyb20lMjBsYW5nY2hhaW5faHVnZ2luZ2ZhY2UlMjBpbXBvcnQlMjBIdWdnaW5nRmFjZUVuZHBvaW50JTJDJTIwQ2hhdEh1Z2dpbmdGYWNlJTBBJTBBZnJvbSUyMHRvb2xzJTIwaW1wb3J0JTIwRHVja0R1Y2tHb1NlYXJjaFJ1biUyQyUyMHdlYXRoZXJfaW5mb190b29sJTJDJTIwaHViX3N0YXRzX3Rvb2wlMEFmcm9tJTIwcmV0cmlldmVyJTIwaW1wb3J0JTIwZ3Vlc3RfaW5mb190b29s",highlighted:`<span class="hljs-keyword">from</span> typing <span class="hljs-keyword">import</span> TypedDict, Annotated
<span class="hljs-keyword">from</span> langgraph.graph.message <span class="hljs-keyword">import</span> add_messages
<span class="hljs-keyword">from</span> langchain_core.messages <span class="hljs-keyword">import</span> AnyMessage, HumanMessage, AIMessage
<span class="hljs-keyword">from</span> langgraph.prebuilt <span class="hljs-keyword">import</span> ToolNode
<span class="hljs-keyword">from</span> langgraph.graph <span class="hljs-keyword">import</span> START, StateGraph
<span class="hljs-keyword">from</span> langgraph.prebuilt <span class="hljs-keyword">import</span> tools_condition
<span class="hljs-keyword">from</span> langchain_huggingface <span class="hljs-keyword">import</span> HuggingFaceEndpoint, ChatHuggingFace

<span class="hljs-keyword">from</span> tools <span class="hljs-keyword">import</span> DuckDuckGoSearchRun, weather_info_tool, hub_stats_tool
<span class="hljs-keyword">from</span> retriever <span class="hljs-keyword">import</span> guest_info_tool`,wrap:!1}}),a=new B({props:{code:"JTIzJTIwSW5pdGlhbGl6ZSUyMHRoZSUyMHdlYiUyMHNlYXJjaCUyMHRvb2wlMEFzZWFyY2hfdG9vbCUyMCUzRCUyMER1Y2tEdWNrR29TZWFyY2hSdW4oKSUwQSUwQSUyMyUyMEdlbmVyYXRlJTIwdGhlJTIwY2hhdCUyMGludGVyZmFjZSUyQyUyMGluY2x1ZGluZyUyMHRoZSUyMHRvb2xzJTBBbGxtJTIwJTNEJTIwSHVnZ2luZ0ZhY2VFbmRwb2ludCglMEElMjAlMjAlMjAlMjByZXBvX2lkJTNEJTIyUXdlbiUyRlF3ZW4yLjUtQ29kZXItMzJCLUluc3RydWN0JTIyJTJDJTBBJTIwJTIwJTIwJTIwaHVnZ2luZ2ZhY2VodWJfYXBpX3Rva2VuJTNESFVHR0lOR0ZBQ0VIVUJfQVBJX1RPS0VOJTJDJTBBKSUwQSUwQWNoYXQlMjAlM0QlMjBDaGF0SHVnZ2luZ0ZhY2UobGxtJTNEbGxtJTJDJTIwdmVyYm9zZSUzRFRydWUpJTBBdG9vbHMlMjAlM0QlMjAlNUJndWVzdF9pbmZvX3Rvb2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xvdyUyMG1vdmVzJTBBYnVpbGRlci5hZGRfZWRnZShTVEFSVCUyQyUyMCUyMmFzc2lzdGFudCUyMiklMEFidWlsZGVyLmFkZF9jb25kaXRpb25hbF9lZGdlcyglMEElMjAlMjAlMjAlMjAlMjJhc3Npc3RhbnQlMjIlMkMlMEElMjAlMjAlMjAlMjAlMjMlMjBJZiUyMHRoZSUyMGxhdGVzdCUyMG1lc3NhZ2UlMjByZXF1aXJlcyUyMGElMjB0b29sJTJDJTIwcm91dGUlMjB0byUyMHRvb2xzJTBBJTIwJTIwJTIwJTIwJTIzJTIwT3RoZXJ3aXNlJTJDJTIwcHJvdmlkZSUyMGElMjBkaXJlY3QlMjByZXNwb25zZSUwQSUyMCUyMCUyMCUyMHRvb2xzX2NvbmRpdGlvbiUyQyUwQSklMEFidWlsZGVyLmFkZF9lZGdlKCUyMnRvb2xzJTIyJTJDJTIwJTIyYXNzaXN0YW50JTIyKSUwQWFsZnJlZCUyMCUzRCUyMGJ1aWxkZXIuY29tcGlsZSgp",highlighted:`<span class="hljs-comment"># Initialize the web search tool</span>
search_tool = DuckDuckGoSearchRun()

<span class="hljs-comment"># Generate the chat interface, including the tools</span>
llm = HuggingFaceEndpoint(
    repo_id=<span class="hljs-string">&quot;Qwen/Qwen2.5-Coder-32B-Instruct&quot;</span>,
    huggingfacehub_api_token=HUGGINGFACEHUB_API_TOKEN,
)

chat = ChatHuggingFace(llm=llm, verbose=<span class="hljs-literal">True</span>)
tools = [guest_info_tool, search_tool, weather_info_tool, hub_stats_tool]
chat_with_tools = chat.bind_tools(tools)

<span class="hljs-comment"># Generate the AgentState and Agent graph</span>
<span class="hljs-keyword">class</span> <span class="hljs-title class_">AgentState</span>(<span class="hljs-title class_ inherited__">TypedDict</span>):
    messages: Annotated[<span class="hljs-built_in">list</span>[AnyMessage], add_messages]

<span class="hljs-keyword">def</span> <span class="hljs-title function_">assistant</span>(<span class="hljs-params">state: AgentState</span>):
    <span class="hljs-keyword">return</span> {
        <span class="hljs-string">&quot;messages&quot;</span>: [chat_with_tools.invoke(state[<span class="hljs-string">&quot;messages&quot;</span>])],
    }

<span class="hljs-comment">## The graph</span>
builder = StateGraph(AgentState)

<span class="hljs-comment"># Define nodes: these do the work</span>
builder.add_node(<span class="hljs-string">&quot;assistant&quot;</span>, assistant)
builder.add_node(<span class="hljs-string">&quot;tools&quot;</span>, ToolNode(tools))

<span class="hljs-comment"># Define edges: these determine how the control flow moves</span>
builder.add_edge(START, <span class="hljs-string">&quot;assistant&quot;</span>)
builder.add_conditional_edges(
    <span class="hljs-string">&quot;assistant&quot;</span>,
    <span class="hljs-comment"># If the latest message requires a tool, route to tools</span>
    <span class="hljs-comment"># Otherwise, provide a direct response</span>
    tools_condition,
)
builder.add_edge(<span class="hljs-string">&quot;tools&quot;</span>, <span class="hljs-string">&quot;assistant&quot;</span>)
alfred = builder.<span class="hljs-built_in">compile</span>()`,wrap:!1}}),{c(){d(e.$$.fragment),p=y(),t=T("p"),t.textContent=c,o=y(),d(a.$$.fragment)},l(l){J(e.$$.fragment,l),p=w(l),t=f(l,"P",{"data-svelte-h":!0}),Z(t)!=="svelte-9b56u9"&&(t.textContent=c),o=w(l),J(a.$$.fragment,l)},m(l,i){h(e,l,i),M(l,p,i),M(l,t,i),M(l,o,i),h(a,l,i),s=!0},p:g,i(l){s||(u(e.$$.fragment,l),u(a.$$.fragment,l),s=!0)},o(l){j(e.$$.fragment,l),j(a.$$.fragment,l),s=!1},d(l){l&&(r(p),r(t),r(o)),b(e,l),b(a,l)}}}function us(U){let e,p,t,c,o,a;return e=new W({props:{id:"agents-frameworks",option:"smolagents",$$slots:{default:[ds]},$$scope:{ctx:U}}}),t=new W({props:{id:"agents-frameworks",option:"llama-index",$$slots:{default:[Js]},$$scope:{ctx:U}}}),o=new W({props:{id:"agents-frameworks",option:"langgraph",$$slots:{default:[hs]},$$scope:{ctx:U}}}),{c(){d(e.$$.fragment),p=y(),d(t.$$.fragment),c=y(),d(o.$$.fragment)},l(s){J(e.$$.fragment,s),p=w(s),J(t.$$.fragment,s),c=w(s),J(o.$$.fragment,s)},m(s,l){h(e,s,l),M(s,p,l),h(t,s,l),M(s,c,l),h(o,s,l),a=!0},p(s,l){const i={};l&2&&(i.$$scope={dirty:l,ctx:s}),e.$set(i);const I={};l&2&&(I.$$scope={dirty:l,ctx:s}),t.$set(I);const G={};l&2&&(G.$$scope={dirty:l,ctx:s}),o.$set(G)},i(s){a||(u(e.$$.fragment,s),u(t.$$.fragment,s),u(o.$$.fragment,s),a=!0)},o(s){j(e.$$.fragment,s),j(t.$$.fragment,s),j(o.$$.fragment,s),a=!1},d(s){s&&(r(p),r(c)),b(e,s),b(t,s),b(o,s)}}}function js(U){let e,p,t,c="Expected output:",o,a,s;return e=new B({props:{code:"cXVlcnklMjAlM0QlMjAlMjJUZWxsJTIwbWUlMjBhYm91dCUyMCdMYWR5JTIwQWRhJTIwTG92ZWxhY2UnJTIyJTBBcmVzcG9uc2UlMjAlM0QlMjBhbGZyZWQucnVuKHF1ZXJ5KSUwQSUwQXByaW50KCUyMiVGMCU5RiU4RSVBOSUyMEFsZnJlZCdzJTIwUmVzcG9uc2UlM0ElMjIpJTBBcHJpbnQocmVzcG9uc2Up",highlighted:`query = <span class="hljs-string">&quot;Tell me about &#x27;Lady Ada Lovelace&#x27;&quot;</span>
response = alfred.run(query)

<span class="hljs-built_in">print</span>(<span class="hljs-string">&quot;🎩 Alfred&#x27;s Response:&quot;</span>)
<span class="hljs-built_in">print</span>(response)`,wrap:!1}}),a=new B({props:{code:"JUYwJTlGJThFJUE5JTIwQWxmcmVkJ3MlMjBSZXNwb25zZSUzQSUwQUJhc2VkJTIwb24lMjB0aGUlMjBpbmZvcm1hdGlvbiUyMEklMjByZXRyaWV2ZWQlMkMlMjBMYWR5JTIwQWRhJTIwTG92ZWxhY2UlMjBpcyUyMGFuJTIwZXN0ZWVtZWQlMjBtYXRoZW1hdGljaWFuJTIwYW5kJTIwZnJpZW5kLiUyMFNoZSUyMGlzJTIwcmVub3duZWQlMjBmb3IlMjBoZXIlMjBwaW9uZWVyaW5nJTIwd29yayUyMGluJTIwbWF0aGVtYXRpY3MlMjBhbmQlMjBjb21wdXRpbmclMkMlMjBvZnRlbiUyMGNlbGVicmF0ZWQlMjBhcyUyMHRoZSUyMGZpcnN0JTIwY29tcHV0ZXIlMjBwcm9ncmFtbWVyJTIwZHVlJTIwdG8lMjBoZXIlMjB3b3JrJTIwb24lMjBDaGFybGVzJTIwQmFiYmFnZSdzJTIwQW5hbHl0aWNhbCUyMEVuZ2luZS4lMjBIZXIlMjBlbWFpbCUyMGFkZHJlc3MlMjBpcyUyMGFkYS5sb3ZlbGFjZSU0MGV4YW1wbGUuY29tLg==",highlighted:`🎩 Alfred<span class="hljs-comment">&#x27;s Response:</span>
Based <span class="hljs-keyword">on</span> the information I retrieved, Lady Ada Lovelace <span class="hljs-built_in">is</span> an esteemed mathematician <span class="hljs-built_in">and</span> <span class="hljs-keyword">friend</span>. She <span class="hljs-built_in">is</span> renowned <span class="hljs-keyword">for</span> her pioneering work <span class="hljs-keyword">in</span> mathematics <span class="hljs-built_in">and</span> computing, often celebrated <span class="hljs-keyword">as</span> the first computer programmer due <span class="hljs-keyword">to</span> her work <span class="hljs-keyword">on</span> Charles Babbage<span class="hljs-comment">&#x27;s Analytical Engine. Her email address is ada.lovelace@example.com.</span>`,wrap:!1}}),{c(){d(e.$$.fragment),p=y(),t=T("p"),t.textContent=c,o=y(),d(a.$$.fragment)},l(l){J(e.$$.fragment,l),p=w(l),t=f(l,"P",{"data-svelte-h":!0}),Z(t)!=="svelte-15t3xg7"&&(t.textContent=c),o=w(l),J(a.$$.fragment,l)},m(l,i){h(e,l,i),M(l,p,i),M(l,t,i),M(l,o,i),h(a,l,i),s=!0},p:g,i(l){s||(u(e.$$.fragment,l),u(a.$$.fragment,l),s=!0)},o(l){j(e.$$.fragment,l),j(a.$$.fragment,l),s=!1},d(l){l&&(r(p),r(t),r(o)),b(e,l),b(a,l)}}}function bs(U){let e,p,t,c="Expected output:",o,a,s;return e=new B({props:{code:"cXVlcnklMjAlM0QlMjAlMjJUZWxsJTIwbWUlMjBhYm91dCUyMExhZHklMjBBZGElMjBMb3ZlbGFjZS4lMjBXaGF0J3MlMjBoZXIlMjBiYWNrZ3JvdW5kJTNGJTIyJTBBcmVzcG9uc2UlMjAlM0QlMjBhd2FpdCUyMGFsZnJlZC5ydW4ocXVlcnkpJTBBJTBBcHJpbnQoJTIyJUYwJTlGJThFJUE5JTIwQWxmcmVkJ3MlMjBSZXNwb25zZSUzQSUyMiklMEFwcmludChyZXNwb25zZS5yZXNwb25zZS5ibG9ja3MlNUIwJTVELnRleHQp",highlighted:`query = <span class="hljs-string">&quot;Tell me about Lady Ada Lovelace. What&#x27;s her background?&quot;</span>
response = <span class="hljs-keyword">await</span> alfred.run(query)

<span class="hljs-built_in">print</span>(<span class="hljs-string">&quot;🎩 Alfred&#x27;s Response:&quot;</span>)
<span class="hljs-built_in">print</span>(response.response.blocks[<span class="hljs-number">0</span>].text)`,wrap:!1}}),a=new B({props:{code:"JUYwJTlGJThFJUE5JTIwQWxmcmVkJ3MlMjBSZXNwb25zZSUzQSUwQUxhZHklMjBBZGElMjBMb3ZlbGFjZSUyMHdhcyUyMGFuJTIwRW5nbGlzaCUyMG1hdGhlbWF0aWNpYW4lMjBhbmQlMjB3cml0ZXIlMkMlMjBiZXN0JTIwa25vd24lMjBmb3IlMjBoZXIlMjB3b3JrJTIwb24lMjBDaGFybGVzJTIwQmFiYmFnZSdzJTIwQW5hbHl0aWNhbCUyMEVuZ2luZS4lMjBTaGUlMjB3YXMlMjB0aGUlMjBmaXJzdCUyMHRvJTIwcmVjb2duaXplJTIwdGhhdCUyMHRoZSUyMG1hY2hpbmUlMjBoYWQlMjBhcHBsaWNhdGlvbnMlMjBiZXlvbmQlMjBwdXJlJTIwY2FsY3VsYXRpb24u",highlighted:`🎩 Alfred<span class="hljs-comment">&#x27;s Response:</span>
Lady Ada Lovelace was an English mathematician <span class="hljs-built_in">and</span> writer, best known <span class="hljs-keyword">for</span> her work <span class="hljs-keyword">on</span> Charles Babbage<span class="hljs-comment">&#x27;s Analytical Engine. She was the first to recognize that the machine had applications beyond pure calculation.</span>`,wrap:!1}}),{c(){d(e.$$.fragment),p=y(),t=T("p"),t.textContent=c,o=y(),d(a.$$.fragment)},l(l){J(e.$$.fragment,l),p=w(l),t=f(l,"P",{"data-svelte-h":!0}),Z(t)!=="svelte-15t3xg7"&&(t.textContent=c),o=w(l),J(a.$$.fragment,l)},m(l,i){h(e,l,i),M(l,p,i),M(l,t,i),M(l,o,i),h(a,l,i),s=!0},p:g,i(l){s||(u(e.$$.fragment,l),u(a.$$.fragment,l),s=!0)},o(l){j(e.$$.fragment,l),j(a.$$.fragment,l),s=!1},d(l){l&&(r(p),r(t),r(o)),b(e,l),b(a,l)}}}function Us(U){let e,p,t,c="Expected output:",o,a,s;return e=new B({props:{code:"cmVzcG9uc2UlMjAlM0QlMjBhbGZyZWQuaW52b2tlKCU3QiUyMm1lc3NhZ2VzJTIyJTNBJTIwJTIyVGVsbCUyMG1lJTIwYWJvdXQlMjAnTGFkeSUyMEFkYSUyMExvdmVsYWNlJyUyMiU3RCklMEElMEFwcmludCglMjIlRjAlOUYlOEUlQTklMjBBbGZyZWQncyUyMFJlc3BvbnNlJTNBJTIyKSUwQXByaW50KHJlc3BvbnNlJTVCJ21lc3NhZ2VzJyU1RCU1Qi0xJTVELmNvbnRlbnQp",highlighted:`response = alfred.invoke({<span class="hljs-string">&quot;messages&quot;</span>: <span class="hljs-string">&quot;Tell me about &#x27;Lady Ada Lovelace&#x27;&quot;</span>})

<span class="hljs-built_in">print</span>(<span class="hljs-string">&quot;🎩 Alfred&#x27;s Response:&quot;</span>)
<span class="hljs-built_in">print</span>(response[<span class="hljs-string">&#x27;messages&#x27;</span>][-<span class="hljs-number">1</span>].content)`,wrap:!1}}),a=new B({props:{code:"JUYwJTlGJThFJUE5JTIwQWxmcmVkJ3MlMjBSZXNwb25zZS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lidXRpb25zJTIwdG8lMjB0aGUlMjBmaWVsZCUyMG9mJTIwY29tcHV0ZXIlMjBzY2llbmNlJTIwbGFpZCUyMHRoZSUyMGdyb3VuZHdvcmslMjBmb3IlMjBmdXR1cmUlMjBkZXZlbG9wbWVudHMuJTIwQSUyMGRheSUyMGluJTIwT2N0b2JlciUyQyUyMGRlc2lnbmF0ZWQlMjBhcyUyMEFkYSUyMExvdmVsYWNlJTIwRGF5JTJDJTIwaG9ub3JzJTIwd29tZW4ncyUyMGNvbnRyaWJ1dGlvbnMlMjB0byUyMHNjaWVuY2UlMjBhbmQlMjB0ZWNobm9sb2d5JTJDJTIwaW5zcGlyZWQlMjBieSUyMExvdmVsYWNlJ3MlMjBwaW9uZWVyaW5nJTIwd29yay4=",highlighted:`🎩 Alfred<span class="hljs-comment">&#x27;s Response:</span>
Ada Lovelace, also known <span class="hljs-keyword">as</span> Augusta Ada King, Countess <span class="hljs-keyword">of</span> Lovelace, was an English mathematician <span class="hljs-built_in">and</span> writer. Born <span class="hljs-keyword">on</span> December <span class="hljs-number">10</span>, <span class="hljs-number">1815</span>, <span class="hljs-built_in">and</span> passing away <span class="hljs-keyword">on</span> November <span class="hljs-number">27</span>, <span class="hljs-number">1852</span>, she <span class="hljs-built_in">is</span> renowned <span class="hljs-keyword">for</span> her work <span class="hljs-keyword">on</span> Charles Babbage<span class="hljs-comment">&#x27;s Analytical Engine, a proposed mechanical general-purpose computer. Ada Lovelace is celebrated as one of the first computer programmers because she created a program for the Analytical Engine in 1843. She recognized that the machine could be used for more than mere calculation, envisioning its potential in a way that few did at the time. Her contributions to the field of computer science laid the groundwork for future developments. A day in October, designated as Ada Lovelace Day, honors women&#x27;s contributions to science and technology, inspired by Lovelace&#x27;s pioneering work.</span>`,wrap:!1}}),{c(){d(e.$$.fragment),p=y(),t=T("p"),t.textContent=c,o=y(),d(a.$$.fragment)},l(l){J(e.$$.fragment,l),p=w(l),t=f(l,"P",{"data-svelte-h":!0}),Z(t)!=="svelte-15t3xg7"&&(t.textContent=c),o=w(l),J(a.$$.fragment,l)},m(l,i){h(e,l,i),M(l,p,i),M(l,t,i),M(l,o,i),h(a,l,i),s=!0},p:g,i(l){s||(u(e.$$.fragment,l),u(a.$$.fragment,l),s=!0)},o(l){j(e.$$.fragment,l),j(a.$$.fragment,l),s=!1},d(l){l&&(r(p),r(t),r(o)),b(e,l),b(a,l)}}}function Ts(U){let e,p,t,c,o,a;return e=new W({props:{id:"agents-frameworks",option:"smolagents",$$slots:{default:[js]},$$scope:{ctx:U}}}),t=new W({props:{id:"agents-frameworks",option:"llama-index",$$slots:{default:[bs]},$$scope:{ctx:U}}}),o=new W({props:{id:"agents-frameworks",option:"langgraph",$$slots:{default:[Us]},$$scope:{ctx:U}}}),{c(){d(e.$$.fragment),p=y(),d(t.$$.fragment),c=y(),d(o.$$.fragment)},l(s){J(e.$$.fragment,s),p=w(s),J(t.$$.fragment,s),c=w(s),J(o.$$.fragment,s)},m(s,l){h(e,s,l),M(s,p,l),h(t,s,l),M(s,c,l),h(o,s,l),a=!0},p(s,l){const i={};l&2&&(i.$$scope={dirty:l,ctx:s}),e.$set(i);const I={};l&2&&(I.$$scope={dirty:l,ctx:s}),t.$set(I);const G={};l&2&&(G.$$scope={dirty:l,ctx:s}),o.$set(G)},i(s){a||(u(e.$$.fragment,s),u(t.$$.fragment,s),u(o.$$.fragment,s),a=!0)},o(s){j(e.$$.fragment,s),j(t.$$.fragment,s),j(o.$$.fragment,s),a=!1},d(s){s&&(r(p),r(c)),b(e,s),b(t,s),b(o,s)}}}function fs(U){let e,p,t,c="Expected output (will vary due to randomness):",o,a,s;return e=new B({props:{code:"cXVlcnklMjAlM0QlMjAlMjJXaGF0J3MlMjB0aGUlMjB3ZWF0aGVyJTIwbGlrZSUyMGluJTIwUGFyaXMlMjB0b25pZ2h0JTNGJTIwV2lsbCUyMGl0JTIwYmUlMjBzdWl0YWJsZSUyMGZvciUyMG91ciUyMGZpcmV3b3JrcyUyMGRpc3BsYXklM0YlMjIlMEFyZXNwb25zZSUyMCUzRCUyMGFsZnJlZC5ydW4ocXVlcnkpJTBBJTBBcHJpbnQoJTIyJUYwJTlGJThFJUE5JTIwQWxmcmVkJ3MlMjBSZXNwb25zZSUzQSUyMiklMEFwcmludChyZXNwb25zZSk=",highlighted:`query = <span class="hljs-string">&quot;What&#x27;s the weather like in Paris tonight? Will it be suitable for our fireworks display?&quot;</span>
response = alfred.run(query)

<span class="hljs-built_in">print</span>(<span class="hljs-string">&quot;🎩 Alfred&#x27;s Response:&quot;</span>)
<span class="hljs-built_in">print</span>(response)`,wrap:!1}}),a=new B({props:{code:"JUYwJTlGJThFJUE5JTIwQWxmcmVkJ3MlMjBSZXNwb25zZSUzQSUwQUkndmUlMjBjaGVja2VkJTIwdGhlJTIwd2VhdGhlciUyMGluJTIwUGFyaXMlMjBmb3IlMjB5b3UuJTIwQ3VycmVudGx5JTJDJTIwaXQncyUyMGNsZWFyJTIwd2l0aCUyMGElMjB0ZW1wZXJhdHVyZSUyMG9mJTIwMjUlQzIlQjBDLiUyMFRoZXNlJTIwY29uZGl0aW9ucyUyMGFyZSUyMHBlcmZlY3QlMjBmb3IlMjB0aGUlMjBmaXJld29ya3MlMjBkaXNwbGF5JTIwdG9uaWdodC4lMjBUaGUlMjBjbGVhciUyMHNraWVzJTIwd2lsbCUyMHByb3ZpZGUlMjBleGNlbGxlbnQlMjB2aXNpYmlsaXR5JTIwZm9yJTIwdGhlJTIwc3BlY3RhY3VsYXIlMjBzaG93JTJDJTIwYW5kJTIwdGhlJTIwY29tZm9ydGFibGUlMjB0ZW1wZXJhdHVyZSUyMHdpbGwlMjBlbnN1cmUlMjB0aGUlMjBndWVzdHMlMjBjYW4lMjBlbmpveSUyMHRoZSUyMG91dGRvb3IlMjBldmVudCUyMHdpdGhvdXQlMjBkaXNjb21mb3J0Lg==",highlighted:`🎩 Alfred<span class="hljs-comment">&#x27;s Response:</span>
I<span class="hljs-comment">&#x27;ve checked the weather in Paris for you. Currently, it&#x27;s clear with a temperature of 25°C. These conditions are perfect for the fireworks display tonight. The clear skies will provide excellent visibility for the spectacular show, and the comfortable temperature will ensure the guests can enjoy the outdoor event without discomfort.</span>`,wrap:!1}}),{c(){d(e.$$.fragment),p=y(),t=T("p"),t.textContent=c,o=y(),d(a.$$.fragment)},l(l){J(e.$$.fragment,l),p=w(l),t=f(l,"P",{"data-svelte-h":!0}),Z(t)!=="svelte-13f6273"&&(t.textContent=c),o=w(l),J(a.$$.fragment,l)},m(l,i){h(e,l,i),M(l,p,i),M(l,t,i),M(l,o,i),h(a,l,i),s=!0},p:g,i(l){s||(u(e.$$.fragment,l),u(a.$$.fragment,l),s=!0)},o(l){j(e.$$.fragment,l),j(a.$$.fragment,l),s=!1},d(l){l&&(r(p),r(t),r(o)),b(e,l),b(a,l)}}}function Zs(U){let e,p,t,c="Expected output:",o,a,s;return e=new B({props:{code:"cXVlcnklMjAlM0QlMjAlMjJXaGF0J3MlMjB0aGUlMjB3ZWF0aGVyJTIwbGlrZSUyMGluJTIwUGFyaXMlMjB0b25pZ2h0JTNGJTIwV2lsbCUyMGl0JTIwYmUlMjBzdWl0YWJsZSUyMGZvciUyMG91ciUyMGZpcmV3b3JrcyUyMGRpc3BsYXklM0YlMjIlMEFyZXNwb25zZSUyMCUzRCUyMGF3YWl0JTIwYWxmcmVkLnJ1bihxdWVyeSklMEElMEFwcmludCglMjIlRjAlOUYlOEUlQTklMjBBbGZyZWQncyUyMFJlc3BvbnNlJTNBJTIyKSUwQXByaW50KHJlc3BvbnNlKQ==",highlighted:`query = <span class="hljs-string">&quot;What&#x27;s the weather like in Paris tonight? Will it be suitable for our fireworks display?&quot;</span>
response = <span class="hljs-keyword">await</span> alfred.run(query)

<span class="hljs-built_in">print</span>(<span class="hljs-string">&quot;🎩 Alfred&#x27;s Response:&quot;</span>)
<span class="hljs-built_in">print</span>(response)`,wrap:!1}}),a=new B({props:{code:"JUYwJTlGJThFJUE5JTIwQWxmcmVkJ3MlMjBSZXNwb25zZSUzQSUwQVRoZSUyMHdlYXRoZXIlMjBpbiUyMFBhcmlzJTIwdG9uaWdodCUyMGlzJTIwcmFpbnklMjB3aXRoJTIwYSUyMHRlbXBlcmF0dXJlJTIwb2YlMjAxNSVDMiVCMEMuJTIwR2l2ZW4lMjB0aGUlMjByYWluJTJDJTIwaXQlMjBtYXklMjBub3QlMjBiZSUyMHN1aXRhYmxlJTIwZm9yJTIwYSUyMGZpcmV3b3JrcyUyMGRpc3BsYXku",highlighted:`🎩 Alfred<span class="hljs-symbol">&#x27;s</span> Response:
The weather <span class="hljs-keyword">in</span> Paris tonight <span class="hljs-keyword">is</span> rainy <span class="hljs-keyword">with</span> a temperature <span class="hljs-keyword">of</span> <span class="hljs-number">15</span>°C. Given the rain, it may <span class="hljs-keyword">not</span> be suitable <span class="hljs-keyword">for</span> a fireworks display.`,wrap:!1}}),{c(){d(e.$$.fragment),p=y(),t=T("p"),t.textContent=c,o=y(),d(a.$$.fragment)},l(l){J(e.$$.fragment,l),p=w(l),t=f(l,"P",{"data-svelte-h":!0}),Z(t)!=="svelte-15t3xg7"&&(t.textContent=c),o=w(l),J(a.$$.fragment,l)},m(l,i){h(e,l,i),M(l,p,i),M(l,t,i),M(l,o,i),h(a,l,i),s=!0},p:g,i(l){s||(u(e.$$.fragment,l),u(a.$$.fragment,l),s=!0)},o(l){j(e.$$.fragment,l),j(a.$$.fragment,l),s=!1},d(l){l&&(r(p),r(t),r(o)),b(e,l),b(a,l)}}}function Bs(U){let e,p,t,c="Expected output:",o,a,s;return e=new B({props:{code:"cmVzcG9uc2UlMjAlM0QlMjBhbGZyZWQuaW52b2tlKCU3QiUyMm1lc3NhZ2VzJTIyJTNBJTIwJTIyV2hhdCdzJTIwdGhlJTIwd2VhdGhlciUyMGxpa2UlMjBpbiUyMFBhcmlzJTIwdG9uaWdodCUzRiUyMFdpbGwlMjBpdCUyMGJlJTIwc3VpdGFibGUlMjBmb3IlMjBvdXIlMjBmaXJld29ya3MlMjBkaXNwbGF5JTNGJTIyJTdEKSUwQSUwQXByaW50KCUyMiVGMCU5RiU4RSVBOSUyMEFsZnJlZCdzJTIwUmVzcG9uc2UlM0ElMjIpJTBBcHJpbnQocmVzcG9uc2UlNUInbWVzc2FnZXMnJTVEJTVCLTElNUQuY29udGVudCk=",highlighted:`response = alfred.invoke({<span class="hljs-string">&quot;messages&quot;</span>: <span class="hljs-string">&quot;What&#x27;s the weather like in Paris tonight? Will it be suitable for our fireworks display?&quot;</span>})

<span class="hljs-built_in">print</span>(<span class="hljs-string">&quot;🎩 Alfred&#x27;s Response:&quot;</span>)
<span class="hljs-built_in">print</span>(response[<span class="hljs-string">&#x27;messages&#x27;</span>][-<span class="hljs-number">1</span>].content)`,wrap:!1}}),a=new B({props:{code:"JUYwJTlGJThFJUE5JTIwQWxmcmVkJ3MlMjBSZXNwb25zZSUzQSUwQVRoZSUyMHdlYXRoZXIlMjBpbiUyMFBhcmlzJTIwdG9uaWdodCUyMGlzJTIwcmFpbnklMjB3aXRoJTIwYSUyMHRlbXBlcmF0dXJlJTIwb2YlMjAxNSVDMiVCMEMlMkMlMjB3aGljaCUyMG1heSUyMG5vdCUyMGJlJTIwc3VpdGFibGUlMjBmb3IlMjB5b3VyJTIwZmlyZXdvcmtzJTIwZGlzcGxheS4=",highlighted:`🎩 Alfred<span class="hljs-symbol">&#x27;s</span> Response:
The weather <span class="hljs-keyword">in</span> Paris tonight <span class="hljs-keyword">is</span> rainy <span class="hljs-keyword">with</span> a temperature <span class="hljs-keyword">of</span> <span class="hljs-number">15</span>°C, which may <span class="hljs-keyword">not</span> be suitable <span class="hljs-keyword">for</span> your fireworks display.`,wrap:!1}}),{c(){d(e.$$.fragment),p=y(),t=T("p"),t.textContent=c,o=y(),d(a.$$.fragment)},l(l){J(e.$$.fragment,l),p=w(l),t=f(l,"P",{"data-svelte-h":!0}),Z(t)!=="svelte-15t3xg7"&&(t.textContent=c),o=w(l),J(a.$$.fragment,l)},m(l,i){h(e,l,i),M(l,p,i),M(l,t,i),M(l,o,i),h(a,l,i),s=!0},p:g,i(l){s||(u(e.$$.fragment,l),u(a.$$.fragment,l),s=!0)},o(l){j(e.$$.fragment,l),j(a.$$.fragment,l),s=!1},d(l){l&&(r(p),r(t),r(o)),b(e,l),b(a,l)}}}function Is(U){let e,p,t,c,o,a;return e=new W({props:{id:"agents-frameworks",option:"smolagents",$$slots:{default:[fs]},$$scope:{ctx:U}}}),t=new W({props:{id:"agents-frameworks",option:"llama-index",$$slots:{default:[Zs]},$$scope:{ctx:U}}}),o=new W({props:{id:"agents-frameworks",option:"langgraph",$$slots:{default:[Bs]},$$scope:{ctx:U}}}),{c(){d(e.$$.fragment),p=y(),d(t.$$.fragment),c=y(),d(o.$$.fragment)},l(s){J(e.$$.fragment,s),p=w(s),J(t.$$.fragment,s),c=w(s),J(o.$$.fragment,s)},m(s,l){h(e,s,l),M(s,p,l),h(t,s,l),M(s,c,l),h(o,s,l),a=!0},p(s,l){const i={};l&2&&(i.$$scope={dirty:l,ctx:s}),e.$set(i);const I={};l&2&&(I.$$scope={dirty:l,ctx:s}),t.$set(I);const G={};l&2&&(G.$$scope={dirty:l,ctx:s}),o.$set(G)},i(s){a||(u(e.$$.fragment,s),u(t.$$.fragment,s),u(o.$$.fragment,s),a=!0)},o(s){j(e.$$.fragment,s),j(t.$$.fragment,s),j(o.$$.fragment,s),a=!1},d(s){s&&(r(p),r(c)),b(e,s),b(t,s),b(o,s)}}}function Gs(U){let e,p,t,c="Expected output:",o,a,s;return e=new B({props:{code:"cXVlcnklMjAlM0QlMjAlMjJPbmUlMjBvZiUyMG91ciUyMGd1ZXN0cyUyMGlzJTIwZnJvbSUyMFF3ZW4uJTIwV2hhdCUyMGNhbiUyMHlvdSUyMHRlbGwlMjBtZSUyMGFib3V0JTIwdGhlaXIlMjBtb3N0JTIwcG9wdWxhciUyMG1vZGVsJTNGJTIyJTBBcmVzcG9uc2UlMjAlM0QlMjBhbGZyZWQucnVuKHF1ZXJ5KSUwQSUwQXByaW50KCUyMiVGMCU5RiU4RSVBOSUyMEFsZnJlZCdzJTIwUmVzcG9uc2UlM0ElMjIpJTBBcHJpbnQocmVzcG9uc2Up",highlighted:`query = <span class="hljs-string">&quot;One of our guests is from Qwen. What can you tell me about their most popular model?&quot;</span>
response = alfred.run(query)

<span class="hljs-built_in">print</span>(<span class="hljs-string">&quot;🎩 Alfred&#x27;s Response:&quot;</span>)
<span class="hljs-built_in">print</span>(response)`,wrap:!1}}),a=new B({props:{code:"JUYwJTlGJThFJUE5JTIwQWxmcmVkJ3MlMjBSZXNwb25zZSUzQSUwQVRoZSUyMG1vc3QlMjBwb3B1bGFyJTIwUXdlbiUyMG1vZGVsJTIwaXMlMjBRd2VuJTJGUXdlbjIuNS1WTC03Qi1JbnN0cnVjdCUyMHdpdGglMjAzJTJDMzEzJTJDMzQ1JTIwZG93bmxvYWRzLg==",highlighted:`🎩 Alfred<span class="hljs-symbol">&#x27;s</span> Response:
The most popular Qwen model <span class="hljs-keyword">is</span> Qwen/Qwen2.<span class="hljs-number">5</span>-VL-<span class="hljs-number">7</span>B-Instruct <span class="hljs-keyword">with</span> <span class="hljs-number">3</span>,<span class="hljs-number">313</span>,<span class="hljs-number">345</span> downloads.`,wrap:!1}}),{c(){d(e.$$.fragment),p=y(),t=T("p"),t.textContent=c,o=y(),d(a.$$.fragment)},l(l){J(e.$$.fragment,l),p=w(l),t=f(l,"P",{"data-svelte-h":!0}),Z(t)!=="svelte-15t3xg7"&&(t.textContent=c),o=w(l),J(a.$$.fragment,l)},m(l,i){h(e,l,i),M(l,p,i),M(l,t,i),M(l,o,i),h(a,l,i),s=!0},p:g,i(l){s||(u(e.$$.fragment,l),u(a.$$.fragment,l),s=!0)},o(l){j(e.$$.fragment,l),j(a.$$.fragment,l),s=!1},d(l){l&&(r(p),r(t),r(o)),b(e,l),b(a,l)}}}function $s(U){let e,p,t,c="Expected output:",o,a,s;return e=new B({props:{code:"cXVlcnklMjAlM0QlMjAlMjJPbmUlMjBvZiUyMG91ciUyMGd1ZXN0cyUyMGlzJTIwZnJvbSUyMEdvb2dsZS4lMjBXaGF0JTIwY2FuJTIweW91JTIwdGVsbCUyMG1lJTIwYWJvdXQlMjB0aGVpciUyMG1vc3QlMjBwb3B1bGFyJTIwbW9kZWwlM0YlMjIlMEFyZXNwb25zZSUyMCUzRCUyMGF3YWl0JTIwYWxmcmVkLnJ1bihxdWVyeSklMEElMEFwcmludCglMjIlRjAlOUYlOEUlQTklMjBBbGZyZWQncyUyMFJlc3BvbnNlJTNBJTIyKSUwQXByaW50KHJlc3BvbnNlKQ==",highlighted:`query = <span class="hljs-string">&quot;One of our guests is from Google. What can you tell me about their most popular model?&quot;</span>
response = <span class="hljs-keyword">await</span> alfred.run(query)

<span class="hljs-built_in">print</span>(<span class="hljs-string">&quot;🎩 Alfred&#x27;s Response:&quot;</span>)
<span class="hljs-built_in">print</span>(response)`,wrap:!1}}),a=new B({props:{code:"JUYwJTlGJThFJUE5JTIwQWxmcmVkJ3MlMjBSZXNwb25zZSUzQSUwQVRoZSUyMG1vc3QlMjBwb3B1bGFyJTIwbW9kZWwlMjBieSUyMEdvb2dsZSUyMG9uJTIwdGhlJTIwSHVnZ2luZyUyMEZhY2UlMjBIdWIlMjBpcyUyMGdvb2dsZSUyRmVsZWN0cmEtYmFzZS1kaXNjcmltaW5hdG9yJTJDJTIwd2l0aCUyMDI4JTJDNTQ2JTJDNzUyJTIwZG93bmxvYWRzLg==",highlighted:`🎩 Alfred<span class="hljs-comment">&#x27;s Response:</span>
The most popular model <span class="hljs-keyword">by</span> Google <span class="hljs-keyword">on</span> the Hugging Face Hub <span class="hljs-built_in">is</span> google/electra-base-discriminator, <span class="hljs-keyword">with</span> <span class="hljs-number">28</span>,<span class="hljs-number">546</span>,<span class="hljs-number">752</span> downloads.`,wrap:!1}}),{c(){d(e.$$.fragment),p=y(),t=T("p"),t.textContent=c,o=y(),d(a.$$.fragment)},l(l){J(e.$$.fragment,l),p=w(l),t=f(l,"P",{"data-svelte-h":!0}),Z(t)!=="svelte-15t3xg7"&&(t.textContent=c),o=w(l),J(a.$$.fragment,l)},m(l,i){h(e,l,i),M(l,p,i),M(l,t,i),M(l,o,i),h(a,l,i),s=!0},p:g,i(l){s||(u(e.$$.fragment,l),u(a.$$.fragment,l),s=!0)},o(l){j(e.$$.fragment,l),j(a.$$.fragment,l),s=!1},d(l){l&&(r(p),r(t),r(o)),b(e,l),b(a,l)}}}function gs(U){let e,p,t,c="Expected output:",o,a,s;return e=new B({props:{code:"cmVzcG9uc2UlMjAlM0QlMjBhbGZyZWQuaW52b2tlKCU3QiUyMm1lc3NhZ2VzJTIyJTNBJTIwJTIyT25lJTIwb2YlMjBvdXIlMjBndWVzdHMlMjBpcyUyMGZyb20lMjBRd2VuLiUyMFdoYXQlMjBjYW4lMjB5b3UlMjB0ZWxsJTIwbWUlMjBhYm91dCUyMHRoZWlyJTIwbW9zdCUyMHBvcHVsYXIlMjBtb2RlbCUzRiUyMiU3RCklMEElMEFwcmludCglMjIlRjAlOUYlOEUlQTklMjBBbGZyZWQncyUyMFJlc3BvbnNlJTNBJTIyKSUwQXByaW50KHJlc3BvbnNlJTVCJ21lc3NhZ2VzJyU1RCU1Qi0xJTVELmNvbnRlbnQp",highlighted:`response = alfred.invoke({<span class="hljs-string">&quot;messages&quot;</span>: <span class="hljs-string">&quot;One of our guests is from Qwen. What can you tell me about their most popular model?&quot;</span>})

<span class="hljs-built_in">print</span>(<span class="hljs-string">&quot;🎩 Alfred&#x27;s Response:&quot;</span>)
<span class="hljs-built_in">print</span>(response[<span class="hljs-string">&#x27;messages&#x27;</span>][-<span class="hljs-number">1</span>].content)`,wrap:!1}}),a=new B({props:{code:"JUYwJTlGJThFJUE5JTIwQWxmcmVkJ3MlMjBSZXNwb25zZSUzQSUwQVRoZSUyMG1vc3QlMjBkb3dubG9hZGVkJTIwbW9kZWwlMjBieSUyMFF3ZW4lMjBpcyUyMFF3ZW4lMkZRd2VuMi41LVZMLTdCLUluc3RydWN0JTIwd2l0aCUyMDMlMkMzMTMlMkMzNDUlMjBkb3dubG9hZHMu",highlighted:`🎩 Alfred<span class="hljs-comment">&#x27;s Response:</span>
The most downloaded model <span class="hljs-keyword">by</span> Qwen <span class="hljs-built_in">is</span> Qwen/Qwen2.<span class="hljs-number">5</span>-VL-<span class="hljs-number">7</span>B-Instruct <span class="hljs-keyword">with</span> <span class="hljs-number">3</span>,<span class="hljs-number">313</span>,<span class="hljs-number">345</span> downloads.`,wrap:!1}}),{c(){d(e.$$.fragment),p=y(),t=T("p"),t.textContent=c,o=y(),d(a.$$.fragment)},l(l){J(e.$$.fragment,l),p=w(l),t=f(l,"P",{"data-svelte-h":!0}),Z(t)!=="svelte-15t3xg7"&&(t.textContent=c),o=w(l),J(a.$$.fragment,l)},m(l,i){h(e,l,i),M(l,p,i),M(l,t,i),M(l,o,i),h(a,l,i),s=!0},p:g,i(l){s||(u(e.$$.fragment,l),u(a.$$.fragment,l),s=!0)},o(l){j(e.$$.fragment,l),j(a.$$.fragment,l),s=!1},d(l){l&&(r(p),r(t),r(o)),b(e,l),b(a,l)}}}function Ws(U){let e,p,t,c,o,a;return e=new W({props:{id:"agents-frameworks",option:"smolagents",$$slots:{default:[Gs]},$$scope:{ctx:U}}}),t=new W({props:{id:"agents-frameworks",option:"llama-index",$$slots:{default:[$s]},$$scope:{ctx:U}}}),o=new W({props:{id:"agents-frameworks",option:"langgraph",$$slots:{default:[gs]},$$scope:{ctx:U}}}),{c(){d(e.$$.fragment),p=y(),d(t.$$.fragment),c=y(),d(o.$$.fragment)},l(s){J(e.$$.fragment,s),p=w(s),J(t.$$.fragment,s),c=w(s),J(o.$$.fragment,s)},m(s,l){h(e,s,l),M(s,p,l),h(t,s,l),M(s,c,l),h(o,s,l),a=!0},p(s,l){const i={};l&2&&(i.$$scope={dirty:l,ctx:s}),e.$set(i);const I={};l&2&&(I.$$scope={dirty:l,ctx:s}),t.$set(I);const G={};l&2&&(G.$$scope={dirty:l,ctx:s}),o.$set(G)},i(s){a||(u(e.$$.fragment,s),u(t.$$.fragment,s),u(o.$$.fragment,s),a=!0)},o(s){j(e.$$.fragment,s),j(t.$$.fragment,s),j(o.$$.fragment,s),a=!1},d(s){s&&(r(p),r(c)),b(e,s),b(t,s),b(o,s)}}}function ks(U){let e,p,t,c="Expected output:",o,a,s;return e=new B({props:{code:"cXVlcnklMjAlM0QlMjAlMjJJJTIwbmVlZCUyMHRvJTIwc3BlYWslMjB3aXRoJTIwRHIuJTIwTmlrb2xhJTIwVGVzbGElMjBhYm91dCUyMHJlY2VudCUyMGFkdmFuY2VtZW50cyUyMGluJTIwd2lyZWxlc3MlMjBlbmVyZ3kuJTIwQ2FuJTIweW91JTIwaGVscCUyMG1lJTIwcHJlcGFyZSUyMGZvciUyMHRoaXMlMjBjb252ZXJzYXRpb24lM0YlMjIlMEFyZXNwb25zZSUyMCUzRCUyMGFsZnJlZC5ydW4ocXVlcnkpJTBBJTBBcHJpbnQoJTIyJUYwJTlGJThFJUE5JTIwQWxmcmVkJ3MlMjBSZXNwb25zZSUzQSUyMiklMEFwcmludChyZXNwb25zZSk=",highlighted:`query = <span class="hljs-string">&quot;I need to speak with Dr. Nikola Tesla about recent advancements in wireless energy. Can you help me prepare for this conversation?&quot;</span>
response = alfred.run(query)

<span class="hljs-built_in">print</span>(<span class="hljs-string">&quot;🎩 Alfred&#x27;s Response:&quot;</span>)
<span class="hljs-built_in">print</span>(response)`,wrap:!1}}),a=new B({props:{code:"JUYwJTlGJThFJUE5JTIwQWxmcmVkJ3MlMjBSZXNwb25zZSUzQSUwQUkndmUlMjBnYXRoZXJlZCUyMGluZm9ybWF0aW9uJTIwdG8lMjBoZWxwJTIweW91JTIwcHJlcGFyZSUyMGZvciUyMHlvdXIlMjBjb252ZXJzYXRpb24lMjB3aXRoJTIwRHIuJTIwTmlrb2xhJTIwVGVzbGEuJTBBJTBBR3Vlc3QlMjBJbmZvcm1hdGlvbiUzQSUwQU5hbWUlM0ElMjBEci4lMjBOaWtvbGElMjBUZX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5JTIwdG8lMjBkaXNjdXNzJTIwd2l0aCUyMERyLiUyMFRlc2xhJTIwd2hpbGUlMjBkZW1vbnN0cmF0aW5nJTIweW91ciUyMGtub3dsZWRnZSUyMG9mJTIwaGlzJTIwaW50ZXJlc3RzJTIwYW5kJTIwcmVjZW50JTIwZGV2ZWxvcG1lbnRzJTIwaW4lMjBoaXMlMjBmaWVsZC4=",highlighted:`🎩 Alfred<span class="hljs-comment">&#x27;s Response:</span>
I<span class="hljs-comment">&#x27;ve gathered information to help you prepare for your conversation with Dr. Nikola Tesla.</span>

Guest Information:
<span class="hljs-symbol">Name:</span> Dr. Nikola Tesla
<span class="hljs-symbol">Relation:</span> old <span class="hljs-keyword">friend</span> <span class="hljs-keyword">from</span> university days
<span class="hljs-symbol">Description:</span> Dr. Nikola Tesla <span class="hljs-built_in">is</span> an old <span class="hljs-keyword">friend</span> <span class="hljs-keyword">from</span> your university days. He<span class="hljs-comment">&#x27;s recently patented a new wireless energy transmission system and would be delighted to discuss it with you. Just remember he&#x27;s passionate about pigeons, so that might make for good small talk.</span>
<span class="hljs-symbol">Email:</span> nikola.tesla@gmail.com

Recent Advancements <span class="hljs-keyword">in</span> Wireless Energy:
Based <span class="hljs-keyword">on</span> my web search, here are some recent developments <span class="hljs-keyword">in</span> wireless energy transmission:
<span class="hljs-number">1</span>. Researchers have made progress <span class="hljs-keyword">in</span> <span class="hljs-type">long</span>-range wireless power transmission <span class="hljs-keyword">using</span> focused electromagnetic waves
<span class="hljs-number">2</span>. Several companies are developing resonant inductive coupling technologies <span class="hljs-keyword">for</span> consumer electronics
<span class="hljs-number">3</span>. There are <span class="hljs-built_in">new</span> applications <span class="hljs-keyword">in</span> electric vehicle charging without physical connections

Conversation Starters:
<span class="hljs-number">1</span>. <span class="hljs-string">&quot;I&#x27;d love to hear about your new patent on wireless energy transmission. How does it compare to your original concepts from our university days?&quot;</span>
<span class="hljs-number">2</span>. <span class="hljs-string">&quot;Have you seen the recent developments in resonant inductive coupling for consumer electronics? What do you think of their approach?&quot;</span>
<span class="hljs-number">3</span>. <span class="hljs-string">&quot;How are your pigeons doing? I remember your fascination with them.&quot;</span>

This should give you plenty <span class="hljs-keyword">to</span> discuss <span class="hljs-keyword">with</span> Dr. Tesla <span class="hljs-keyword">while</span> demonstrating your knowledge <span class="hljs-keyword">of</span> his interests <span class="hljs-built_in">and</span> recent developments <span class="hljs-keyword">in</span> his field.`,wrap:!1}}),{c(){d(e.$$.fragment),p=y(),t=T("p"),t.textContent=c,o=y(),d(a.$$.fragment)},l(l){J(e.$$.fragment,l),p=w(l),t=f(l,"P",{"data-svelte-h":!0}),Z(t)!=="svelte-15t3xg7"&&(t.textContent=c),o=w(l),J(a.$$.fragment,l)},m(l,i){h(e,l,i),M(l,p,i),M(l,t,i),M(l,o,i),h(a,l,i),s=!0},p:g,i(l){s||(u(e.$$.fragment,l),u(a.$$.fragment,l),s=!0)},o(l){j(e.$$.fragment,l),j(a.$$.fragment,l),s=!1},d(l){l&&(r(p),r(t),r(o)),b(e,l),b(a,l)}}}function Vs(U){let e,p,t,c="Expected output:",o,a,s;return e=new B({props:{code:"cXVlcnklMjAlM0QlMjAlMjJJJTIwbmVlZCUyMHRvJTIwc3BlYWslMjB3aXRoJTIwRHIuJTIwTmlrb2xhJTIwVGVzbGElMjBhYm91dCUyMHJlY2VudCUyMGFkdmFuY2VtZW50cyUyMGluJTIwd2lyZWxlc3MlMjBlbmVyZ3kuJTIwQ2FuJTIweW91JTIwaGVscCUyMG1lJTIwcHJlcGFyZSUyMGZvciUyMHRoaXMlMjBjb252ZXJzYXRpb24lM0YlMjIlMEFyZXNwb25zZSUyMCUzRCUyMGF3YWl0JTIwYWxmcmVkLnJ1bihxdWVyeSklMEElMEFwcmludCglMjIlRjAlOUYlOEUlQTklMjBBbGZyZWQncyUyMFJlc3BvbnNlJTNBJTIyKSUwQXByaW50KHJlc3BvbnNlKQ==",highlighted:`query = <span class="hljs-string">&quot;I need to speak with Dr. Nikola Tesla about recent advancements in wireless energy. Can you help me prepare for this conversation?&quot;</span>
response = <span class="hljs-keyword">await</span> alfred.run(query)

<span class="hljs-built_in">print</span>(<span class="hljs-string">&quot;🎩 Alfred&#x27;s Response:&quot;</span>)
<span class="hljs-built_in">print</span>(response)`,wrap:!1}}),a=new B({props:{code:"JUYwJTlGJThFJUE5JTIwQWxmcmVkJ3MlMjBSZXNwb25zZSUzQSUwQUhlcmUlMjBhcmUlMjBzb21lJTIwcmVjZW50JTIwYWR2YW5jZW1lbnRzJTIwaW4lMjB3aXJlbGVzcyUyMGVuZXJneSUyMHRoYXQlMjB5b3UlMjBtaWdodCUyMGZpbmQlMjB1c2VmdWwlMjBmb3IlMjB5b3VyJTIwY29udmVyc2F0aW9uJTIwd2l0aCUyMERyLiUyME5pa29sYSUyMFRlc2xhJTNBJTBBJTBBMS4lMjAqKkFkdmFuY2VtZW50cyUyMGFuZCUyMENoYWxsZW5nZXMlMjBpbiUyMFdpcmVsZXNzJTIwUG93ZXIlMjBUcmFuc2ZlcioqJTNBJTIwVGhpcyUyMGFydGljbGUlMjBkaXNjdXNzZXMlMjB0aGUlMjBldm9sdXRpb24lMjBvZiUyMHdpcmVsZXNzJTIwcG93ZXIlMjB0cmFuc2ZlciUyMChXUFQpJTIwZnJvbSUyMGNvbnZlbnRpb25hbCUyMHdpcmVkJTIwbWV0aG9kcyUyMHRvJTIwbW9kZXJuJTIwYXBwbGljYXRpb25zJTJDJTIwaW5jbHVkaW5nJTIwc29sYXIlMjBzcGFjZSUyMHBvd2VyJTIwc3RhdGlvbnMuJTIwSXQlMjBoaWdobGlnaHRzJTIwdGhlJTIwaW5pdGlhbCUyMGZvY3VzJTIwb24lMjBtaWNyb3dhdmUlMjB0ZWNobm9sb2d5JTIwYW5kJTIwdGhlJTIwY3VycmVudCUyMGRlbWFuZCUyMGZvciUyMFdQVCUyMGR1ZSUyMHRvJTIwdGhlJTIwcmlzZSUyMG9mJTIwZWxlY3RyaWMlMjBkZXZpY2VzLiUwQSUwQTIuJT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NlcyUyMGZ1dHVyZSUyMHRyZW5kcyUyMGluJTIwdGhlJTIwZmllbGQuJTBBJTBBNC4lMjAqKldpcmVsZXNzJTIwUG93ZXIlMjBUcmFuc2ZlciUzQSUyMEFwcGxpY2F0aW9ucyUyQyUyMENoYWxsZW5nZXMlMkMlMjBCYXJyaWVycyUyQyUyMGFuZCUyMHRoZQ==",highlighted:`🎩 Alfred&#x27;s Response:
Here are <span class="hljs-keyword">some</span> recent advancements <span class="hljs-keyword">in</span> wireless energy <span class="hljs-keyword">that</span> you might find useful <span class="hljs-keyword">for</span> your conversation <span class="hljs-keyword">with</span> Dr. Nikola Tesla:

<span class="hljs-number">1.</span> **Advancements <span class="hljs-keyword">and</span> Challenges <span class="hljs-keyword">in</span> Wireless Power Transfer**: This article discusses <span class="hljs-keyword">the</span> evolution <span class="hljs-keyword">of</span> wireless power transfer (WPT) <span class="hljs-keyword">from</span> conventional wired methods <span class="hljs-keyword">to</span> modern applications, including solar <span class="hljs-literal">space</span> power stations. It highlights <span class="hljs-keyword">the</span> initial focus <span class="hljs-keyword">on</span> microwave technology <span class="hljs-keyword">and</span> <span class="hljs-keyword">the</span> current demand <span class="hljs-keyword">for</span> WPT due <span class="hljs-keyword">to</span> <span class="hljs-keyword">the</span> rise <span class="hljs-keyword">of</span> electric devices.

<span class="hljs-number">2.</span> **Recent Advances <span class="hljs-keyword">in</span> Wireless Energy Transfer Technologies <span class="hljs-keyword">for</span> Body-Interfaced Electronics**: This article explores wireless energy transfer (WET) <span class="hljs-keyword">as</span> a solution <span class="hljs-keyword">for</span> powering body-interfaced electronics <span class="hljs-keyword">without</span> <span class="hljs-keyword">the</span> need <span class="hljs-keyword">for</span> batteries <span class="hljs-keyword">or</span> lead wires. It discusses <span class="hljs-keyword">the</span> advantages <span class="hljs-keyword">and</span> potential applications <span class="hljs-keyword">of</span> WET <span class="hljs-keyword">in</span> this context.

<span class="hljs-number">3.</span> **Wireless Power Transfer <span class="hljs-keyword">and</span> Energy Harvesting: Current Status <span class="hljs-keyword">and</span> Future Trends**: This article provides an overview <span class="hljs-keyword">of</span> recent advances <span class="hljs-keyword">in</span> wireless power supply methods, including energy harvesting <span class="hljs-keyword">and</span> wireless power transfer. It presents several promising applications <span class="hljs-keyword">and</span> discusses future trends <span class="hljs-keyword">in</span> <span class="hljs-keyword">the</span> field.

<span class="hljs-number">4.</span> **Wireless Power Transfer: Applications, Challenges, Barriers, <span class="hljs-keyword">and</span> <span class="hljs-keyword">the</span>`,wrap:!1}}),{c(){d(e.$$.fragment),p=y(),t=T("p"),t.textContent=c,o=y(),d(a.$$.fragment)},l(l){J(e.$$.fragment,l),p=w(l),t=f(l,"P",{"data-svelte-h":!0}),Z(t)!=="svelte-15t3xg7"&&(t.textContent=c),o=w(l),J(a.$$.fragment,l)},m(l,i){h(e,l,i),M(l,p,i),M(l,t,i),M(l,o,i),h(a,l,i),s=!0},p:g,i(l){s||(u(e.$$.fragment,l),u(a.$$.fragment,l),s=!0)},o(l){j(e.$$.fragment,l),j(a.$$.fragment,l),s=!1},d(l){l&&(r(p),r(t),r(o)),b(e,l),b(a,l)}}}function vs(U){let e,p,t,c="Expected output:",o,a,s;return e=new B({props:{code:"cmVzcG9uc2UlMjAlM0QlMjBhbGZyZWQuaW52b2tlKCU3QiUyMm1lc3NhZ2VzJTIyJTNBJTIySSUyMG5lZWQlMjB0byUyMHNwZWFrJTIwd2l0aCUyMCdEci4lMjBOaWtvbGElMjBUZXNsYSclMjBhYm91dCUyMHJlY2VudCUyMGFkdmFuY2VtZW50cyUyMGluJTIwd2lyZWxlc3MlMjBlbmVyZ3kuJTIwQ2FuJTIweW91JTIwaGVscCUyMG1lJTIwcHJlcGFyZSUyMGZvciUyMHRoaXMlMjBjb252ZXJzYXRpb24lM0YlMjIlN0QpJTBBJTBBcHJpbnQoJTIyJUYwJTlGJThFJUE5JTIwQWxmcmVkJ3MlMjBSZXNwb25zZSUzQSUyMiklMEFwcmludChyZXNwb25zZSU1QidtZXNzYWdlcyclNUQlNUItMSU1RC5jb250ZW50KQ==",highlighted:`response = alfred.invoke({<span class="hljs-string">&quot;messages&quot;</span>:<span class="hljs-string">&quot;I need to speak with &#x27;Dr. Nikola Tesla&#x27; about recent advancements in wireless energy. Can you help me prepare for this conversation?&quot;</span>})

<span class="hljs-built_in">print</span>(<span class="hljs-string">&quot;🎩 Alfred&#x27;s Response:&quot;</span>)
<span class="hljs-built_in">print</span>(response[<span class="hljs-string">&#x27;messages&#x27;</span>][-<span class="hljs-number">1</span>].content)`,wrap:!1}}),a=new B({props:{code:"QmFzZWQlMjBvbiUyMHRoZSUyMHByb3ZpZGVkJTIwaW5mb3JtYXRpb24lMkMlMjBoZXJlJTIwYXJlJTIwa2V5JTIwcG9pbnRzJTIwdG8lMjBwcmVwYXJlJTIwZm9yJTIwdGhlJTIwY29udmVyc2F0aW9uJTIwd2l0aCUyMCdEci4lMjBOaWtvbGElMjBUZXNsYSclMjBhYm91dCUyMHJlY2VudCUyMGFkdmFuY2VtZW50cyUyMGluJTIwd2lyZWxlc3MlMjBlbmVyZ3klM0ElNUNuMS4lMjAqKldpcmVsZXNzJTIwUG93ZXIlMjBUcmFuc21pc3Npb24lMjAoV1BUKSUzQSoqJTIwRGlzY3VzcyUyMGhvdyUyMFdQVCUyMHJldm9sdXRpb25pemVzJTIwZW5lcmd5JTIwdHJhbnNmZXIlMjBieSUyMGVsaW1pbmF0aW5nJTIwdGhlJTIwbmVlZCUyMGZvciUyMGNvcmRzJTIwYW5kJTIwbGV2ZXJhZ2luZyUyMG1lY2hhbmlzbXMlMjBsaWtlJTIwaW5kdWN0aXZlJTIwYW5kJTIwcmVzb25hbnQlMjBjb3VwbGluZy4lNUNuMi4lMjAqKkFkdmFuY2VtZW50cyUyMGluJTIwV2lyZWxlc3MlMjBDaGFyZ2luZyUzQSoqJTIwSGlnaGxpZ2h0JTIwaW1wcm92ZW1lbnRzJTIwaW4lMjBlZmZpY2llbmN5JTJDJTIwZmFzdGVyJTIwY2hhcmdpbmclMjB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lZmZpY2llbmN5JTJDJTIwYW5kJTIwc2VjdXJpdHklMjBpbiUyMElvVCUyMGRldmljZXMlMjBhbmQlMjBzeXN0ZW1zLiU1Q242LiUyMCoqQnJlYWt0aHJvdWdocyUyMGluJTIwV2lyZWxlc3MlMjBDaGFyZ2luZyUyMFRlY2hub2xvZ3klM0EqKiUyMEluY2x1ZGUlMjBhbnklMjByZWNlbnQlMjBicmVha3Rocm91Z2hzJTIwb3IlMjBzdHVkaWVzJTJDJTIwc3VjaCUyMGFzJTIwdGhlJTIwb25lJTIwZnJvbSUyMEluY2hlb24lMjBOYXRpb25hbCUyMFVuaXZlcnNpdHklMkMlMjB0byUyMHN1YnN0YW50aWF0ZSUyMHRoZSUyMGFkdmFuY2VtZW50cyUyMGluJTIwd2lyZWxlc3MlMjBjaGFyZ2luZy4=",highlighted:'Based <span class="hljs-keyword">on</span> the provided information, here are <span class="hljs-keyword">key</span> points <span class="hljs-keyword">to</span> prepare <span class="hljs-keyword">for</span> the conversation <span class="hljs-keyword">with</span> <span class="hljs-comment">&#x27;Dr. Nikola Tesla&#x27; about recent advancements in wireless energy:\\n1. **Wireless Power Transmission (WPT):** Discuss how WPT revolutionizes energy transfer by eliminating the need for cords and leveraging mechanisms like inductive and resonant coupling.\\n2. **Advancements in Wireless Charging:** Highlight improvements in efficiency, faster charging speeds, and the rise of Qi/Qi2 certified wireless charging solutions.\\n3. **5G-Advanced Innovations and NearLink Wireless Protocol:** Mention these as developments that enhance speed, security, and efficiency in wireless networks, which can support advanced wireless energy technologies.\\n4. **AI and ML at the Edge:** Talk about how AI and machine learning will rely on wireless networks to bring intelligence to the edge, enhancing automation and intelligence in smart homes and buildings.\\n5. **Matter, Thread, and Security Advancements:** Discuss these as key innovations that drive connectivity, efficiency, and security in IoT devices and systems.\\n6. **Breakthroughs in Wireless Charging Technology:** Include any recent breakthroughs or studies, such as the one from Incheon National University, to substantiate the advancements in wireless charging.</span>',wrap:!1}}),{c(){d(e.$$.fragment),p=y(),t=T("p"),t.textContent=c,o=y(),d(a.$$.fragment)},l(l){J(e.$$.fragment,l),p=w(l),t=f(l,"P",{"data-svelte-h":!0}),Z(t)!=="svelte-15t3xg7"&&(t.textContent=c),o=w(l),J(a.$$.fragment,l)},m(l,i){h(e,l,i),M(l,p,i),M(l,t,i),M(l,o,i),h(a,l,i),s=!0},p:g,i(l){s||(u(e.$$.fragment,l),u(a.$$.fragment,l),s=!0)},o(l){j(e.$$.fragment,l),j(a.$$.fragment,l),s=!1},d(l){l&&(r(p),r(t),r(o)),b(e,l),b(a,l)}}}function Xs(U){let e,p,t,c,o,a;return e=new W({props:{id:"agents-frameworks",option:"smolagents",$$slots:{default:[ks]},$$scope:{ctx:U}}}),t=new W({props:{id:"agents-frameworks",option:"llama-index",$$slots:{default:[Vs]},$$scope:{ctx:U}}}),o=new W({props:{id:"agents-frameworks",option:"langgraph",$$slots:{default:[vs]},$$scope:{ctx:U}}}),{c(){d(e.$$.fragment),p=y(),d(t.$$.fragment),c=y(),d(o.$$.fragment)},l(s){J(e.$$.fragment,s),p=w(s),J(t.$$.fragment,s),c=w(s),J(o.$$.fragment,s)},m(s,l){h(e,s,l),M(s,p,l),h(t,s,l),M(s,c,l),h(o,s,l),a=!0},p(s,l){const i={};l&2&&(i.$$scope={dirty:l,ctx:s}),e.$set(i);const I={};l&2&&(I.$$scope={dirty:l,ctx:s}),t.$set(I);const G={};l&2&&(G.$$scope={dirty:l,ctx:s}),o.$set(G)},i(s){a||(u(e.$$.fragment,s),u(t.$$.fragment,s),u(o.$$.fragment,s),a=!0)},o(s){j(e.$$.fragment,s),j(t.$$.fragment,s),j(o.$$.fragment,s),a=!1},d(s){s&&(r(p),r(c)),b(e,s),b(t,s),b(o,s)}}}function Rs(U){let e,p;return e=new B({props:{code:"JTIzJTIwQ3JlYXRlJTIwQWxmcmVkJTIwd2l0aCUyMGNvbnZlcnNhdGlvbiUyMG1lbW9yeSUwQWFsZnJlZF93aXRoX21lbW9yeSUyMCUzRCUyMENvZGVBZ2VudCglMEElMjAlMjAlMjAlMjB0b29scyUzRCU1Qmd1ZXN0X2luZm9fdG9vbCUyQyUyMHdlYXRoZXJfaW5mb190b29sJTJDJTIwaHViX3N0YXRzX3Rvb2wlMkMlMjBzZWFyY2hfdG9vbCU1RCUyQyUyMCUwQSUyMCUyMCUyMCUyMG1vZGVsJTNEbW9kZWwlMkMlMEElMjAlMjAlMjAlMjBhZGRfYmFzZV90b29scyUzRFRydWUlMkMlMEElMjAlMjAlMjAlMjBwbGFubmluZ19pbnRlcnZhbCUzRDMlMkMlMEElMjAlMjAlMjAlMjBtZW1vcnklM0RUcnVlJTIwJTIwJTIzJTIwRW5hYmxlJTIwY29udmVyc2F0aW9uJTIwbWVtb3J5JTBBKSUwQSUwQSUyMyUyMEZpcnN0JTIwaW50ZXJhY3Rpb24lMEFyZXNwb25zZTElMjAlM0QlMjBhbGZyZWRfd2l0aF9tZW1vcnkucnVuKCUyMlRlbGwlMjBtZSUyMGFib3V0JTIwTGFkeSUyMEFkYSUyMExvdmVsYWNlLiUyMiklMEFwcmludCglMjIlRjAlOUYlOEUlQTklMjBBbGZyZWQncyUyMEZpcnN0JTIwUmVzcG9uc2UlM0ElMjIpJTBBcHJpbnQocmVzcG9uc2UxKSUwQSUwQSUyMyUyMFNlY29uZCUyMGludGVyYWN0aW9uJTIwKHJlZmVyZW5jaW5nJTIwdGhlJTIwZmlyc3QpJTBBcmVzcG9uc2UyJTIwJTNEJTIwYWxmcmVkX3dpdGhfbWVtb3J5LnJ1biglMjJXaGF0JTIwcHJvamVjdHMlMjBpcyUyMHNoZSUyMGN1cnJlbnRseSUyMHdvcmtpbmclMjBvbiUzRiUyMiklMEFwcmludCglMjIlRjAlOUYlOEUlQTklMjBBbGZyZWQncyUyMFNlY29uZCUyMFJlc3BvbnNlJTNBJTIyKSUwQXByaW50KHJlc3BvbnNlMik=",highlighted:`<span class="hljs-comment"># Create Alfred with conversation memory</span>
alfred_with_memory = CodeAgent(
    tools=[guest_info_tool, weather_info_tool, hub_stats_tool, search_tool], 
    model=model,
    add_base_tools=<span class="hljs-literal">True</span>,
    planning_interval=<span class="hljs-number">3</span>,
    memory=<span class="hljs-literal">True</span>  <span class="hljs-comment"># Enable conversation memory</span>
)

<span class="hljs-comment"># First interaction</span>
response1 = alfred_with_memory.run(<span class="hljs-string">&quot;Tell me about Lady Ada Lovelace.&quot;</span>)
<span class="hljs-built_in">print</span>(<span class="hljs-string">&quot;🎩 Alfred&#x27;s First Response:&quot;</span>)
<span class="hljs-built_in">print</span>(response1)

<span class="hljs-comment"># Second interaction (referencing the first)</span>
response2 = alfred_with_memory.run(<span class="hljs-string">&quot;What projects is she currently working on?&quot;</span>)
<span class="hljs-built_in">print</span>(<span class="hljs-string">&quot;🎩 Alfred&#x27;s Second Response:&quot;</span>)
<span class="hljs-built_in">print</span>(response2)`,wrap:!1}}),{c(){d(e.$$.fragment)},l(t){J(e.$$.fragment,t)},m(t,c){h(e,t,c),p=!0},p:g,i(t){p||(u(e.$$.fragment,t),p=!0)},o(t){j(e.$$.fragment,t),p=!1},d(t){b(e,t)}}}function Cs(U){let e,p;return e=new B({props:{code:"ZnJvbSUyMGxsYW1hX2luZGV4LmNvcmUud29ya2Zsb3clMjBpbXBvcnQlMjBDb250ZXh0JTBBJTBBYWxmcmVkJTIwJTNEJTIwQWdlbnRXb3JrZmxvdy5mcm9tX3Rvb2xzX29yX2Z1bmN0aW9ucyglMEElMjAlMjAlMjAlMjAlNUJndWVzdF9pbmZvX3Rvb2wlMkMlMjBzZWFyY2hfdG9vbCUyQyUyMHdlYXRoZXJfaW5mb190b29sJTJDJTIwaHViX3N0YXRzX3Rvb2wlNUQlMkMlMEElMjAlMjAlMjAlMjBsbG0lM0RsbG0lMEEpJTBBJTBBJTIzJTIwUmVtZW1iZXJpbmclMjBzdGF0ZSUwQWN0eCUyMCUzRCUyMENvbnRleHQoYWxmcmVkKSUwQSUwQSUyMyUyMEZpcnN0JTIwaW50ZXJhY3Rpb24lMEFyZXNwb25zZTElMjAlM0QlMjBhd2FpdCUyMGFsZnJlZC5ydW4oJTIyVGVsbCUyMG1lJTIwYWJvdXQlMjBMYWR5JTIwQWRhJTIwTG92ZWxhY2UuJTIyJTJDJTIwY3R4JTNEY3R4KSUwQXByaW50KCUyMiVGMCU5RiU4RSVBOSUyMEFsZnJlZCdzJTIwRmlyc3QlMjBSZXNwb25zZSUzQSUyMiklMEFwcmludChyZXNwb25zZTEpJTBBJTBBJTIzJTIwU2Vjb25kJTIwaW50ZXJhY3Rpb24lMjAocmVmZXJlbmNpbmclMjB0aGUlMjBmaXJzdCklMEFyZXNwb25zZTIlMjAlM0QlMjBhd2FpdCUyMGFsZnJlZC5ydW4oJTIyV2hhdCUyMHByb2plY3RzJTIwaXMlMjBzaGUlMjBjdXJyZW50bHklMjB3b3JraW5nJTIwb24lM0YlMjIlMkMlMjBjdHglM0RjdHgpJTBBcHJpbnQoJTIyJUYwJTlGJThFJUE5JTIwQWxmcmVkJ3MlMjBTZWNvbmQlMjBSZXNwb25zZSUzQSUyMiklMEFwcmludChyZXNwb25zZTIp",highlighted:`<span class="hljs-keyword">from</span> llama_index.core.workflow <span class="hljs-keyword">import</span> Context

alfred = AgentWorkflow.from_tools_or_functions(
    [guest_info_tool, search_tool, weather_info_tool, hub_stats_tool],
    llm=llm
)

<span class="hljs-comment"># Remembering state</span>
ctx = Context(alfred)

<span class="hljs-comment"># First interaction</span>
response1 = <span class="hljs-keyword">await</span> alfred.run(<span class="hljs-string">&quot;Tell me about Lady Ada Lovelace.&quot;</span>, ctx=ctx)
<span class="hljs-built_in">print</span>(<span class="hljs-string">&quot;🎩 Alfred&#x27;s First Response:&quot;</span>)
<span class="hljs-built_in">print</span>(response1)

<span class="hljs-comment"># Second interaction (referencing the first)</span>
response2 = <span class="hljs-keyword">await</span> alfred.run(<span class="hljs-string">&quot;What projects is she currently working on?&quot;</span>, ctx=ctx)
<span class="hljs-built_in">print</span>(<span class="hljs-string">&quot;🎩 Alfred&#x27;s Second Response:&quot;</span>)
<span class="hljs-built_in">print</span>(response2)`,wrap:!1}}),{c(){d(e.$$.fragment)},l(t){J(e.$$.fragment,t)},m(t,c){h(e,t,c),p=!0},p:g,i(t){p||(u(e.$$.fragment,t),p=!0)},o(t){j(e.$$.fragment,t),p=!1},d(t){b(e,t)}}}function Fs(U){let e,p;return e=new B({props:{code:"JTIzJTIwRmlyc3QlMjBpbnRlcmFjdGlvbiUwQXJlc3BvbnNlJTIwJTNEJTIwYWxmcmVkLmludm9rZSglN0IlMjJtZXNzYWdlcyUyMiUzQSUyMCU1Qkh1bWFuTWVzc2FnZShjb250ZW50JTNEJTIyVGVsbCUyMG1lJTIwYWJvdXQlMjAnTGFkeSUyMEFkYSUyMExvdmVsYWNlJy4lMjBXaGF0J3MlMjBoZXIlMjBiYWNrZ3JvdW5kJTIwYW5kJTIwaG93JTIwaXMlMjBzaGUlMjByZWxhdGVkJTIwdG8lMjBtZSUzRiUyMiklNUQlN0QpJTBBJTBBJTBBcHJpbnQoJTIyJUYwJTlGJThFJUE5JTIwQWxmcmVkJ3MlMjBSZXNwb25zZSUzQSUyMiklMEFwcmludChyZXNwb25zZSU1QidtZXNzYWdlcyclNUQlNUItMSU1RC5jb250ZW50KSUwQXByaW50KCklMEElMEElMjMlMjBTZWNvbmQlMjBpbnRlcmFjdGlvbiUyMChyZWZlcmVuY2luZyUyMHRoZSUyMGZpcnN0KSUwQXJlc3BvbnNlJTIwJTNEJTIwYWxmcmVkLmludm9rZSglN0IlMjJtZXNzYWdlcyUyMiUzQSUyMHJlc3BvbnNlJTVCJTIybWVzc2FnZXMlMjIlNUQlMjAlMkIlMjAlNUJIdW1hbk1lc3NhZ2UoY29udGVudCUzRCUyMldoYXQlMjBwcm9qZWN0cyUyMGlzJTIwc2hlJTIwY3VycmVudGx5JTIwd29ya2luZyUyMG9uJTNGJTIyKSU1RCU3RCklMEElMEFwcmludCglMjIlRjAlOUYlOEUlQTklMjBBbGZyZWQncyUyMFJlc3BvbnNlJTNBJTIyKSUwQXByaW50KHJlc3BvbnNlJTVCJ21lc3NhZ2VzJyU1RCU1Qi0xJTVELmNvbnRlbnQp",highlighted:`<span class="hljs-comment"># First interaction</span>
response = alfred.invoke({<span class="hljs-string">&quot;messages&quot;</span>: [HumanMessage(content=<span class="hljs-string">&quot;Tell me about &#x27;Lady Ada Lovelace&#x27;. What&#x27;s her background and how is she related to me?&quot;</span>)]})


<span class="hljs-built_in">print</span>(<span class="hljs-string">&quot;🎩 Alfred&#x27;s Response:&quot;</span>)
<span class="hljs-built_in">print</span>(response[<span class="hljs-string">&#x27;messages&#x27;</span>][-<span class="hljs-number">1</span>].content)
<span class="hljs-built_in">print</span>()

<span class="hljs-comment"># Second interaction (referencing the first)</span>
response = alfred.invoke({<span class="hljs-string">&quot;messages&quot;</span>: response[<span class="hljs-string">&quot;messages&quot;</span>] + [HumanMessage(content=<span class="hljs-string">&quot;What projects is she currently working on?&quot;</span>)]})

<span class="hljs-built_in">print</span>(<span class="hljs-string">&quot;🎩 Alfred&#x27;s Response:&quot;</span>)
<span class="hljs-built_in">print</span>(response[<span class="hljs-string">&#x27;messages&#x27;</span>][-<span class="hljs-number">1</span>].content)`,wrap:!1}}),{c(){d(e.$$.fragment)},l(t){J(e.$$.fragment,t)},m(t,c){h(e,t,c),p=!0},p:g,i(t){p||(u(e.$$.fragment,t),p=!0)},o(t){j(e.$$.fragment,t),p=!1},d(t){b(e,t)}}}function Ns(U){let e,p,t,c,o,a;return e=new W({props:{id:"agents-frameworks",option:"smolagents",$$slots:{default:[Rs]},$$scope:{ctx:U}}}),t=new W({props:{id:"agents-frameworks",option:"llama-index",$$slots:{default:[Cs]},$$scope:{ctx:U}}}),o=new W({props:{id:"agents-frameworks",option:"langgraph",$$slots:{default:[Fs]},$$scope:{ctx:U}}}),{c(){d(e.$$.fragment),p=y(),d(t.$$.fragment),c=y(),d(o.$$.fragment)},l(s){J(e.$$.fragment,s),p=w(s),J(t.$$.fragment,s),c=w(s),J(o.$$.fragment,s)},m(s,l){h(e,s,l),M(s,p,l),h(t,s,l),M(s,c,l),h(o,s,l),a=!0},p(s,l){const i={};l&2&&(i.$$scope={dirty:l,ctx:s}),e.$set(i);const I={};l&2&&(I.$$scope={dirty:l,ctx:s}),t.$set(I);const G={};l&2&&(G.$$scope={dirty:l,ctx:s}),o.$set(G)},i(s){a||(u(e.$$.fragment,s),u(t.$$.fragment,s),u(o.$$.fragment,s),a=!0)},o(s){j(e.$$.fragment,s),j(t.$$.fragment,s),j(o.$$.fragment,s),a=!1},d(s){s&&(r(p),r(c)),b(e,s),b(t,s),b(o,s)}}}function Ys(U){let e,p,t,c,o,a,s,l="Now that we’ve built all the necessary components for Alfred, it’s time to bring everything together into a complete agent that can help host our extravagant gala.",i,I,G="In this section, we’ll combine the guest information retrieval, web search, weather information, and Hub stats tools into a single powerful agent.",z,V,$,k,Ql="Instead of reimplementing all the tools we’ve created in previous sections, we’ll import them from their respective modules which we saved in the <code>tools.py</code> and <code>retriever.py</code> files.",cl,X,ml,x,zl="Let’s import the necessary libraries and tools from the previous sections:",yl,R,wl,S,xl="Your agent is now ready to use!",dl,E,Jl,H,Sl="Now that Alfred is fully equipped with all the necessary tools, let’s see how he can help with various tasks during the gala.",hl,_,ul,A,El="Let’s see how Alfred can help us with our guest information.",jl,C,bl,q,Ul,D,Hl="Let’s see how Alfred can help us with the weather.",Tl,F,fl,L,Zl,K,_l="Let’s see how Alfred can help us impress AI researchers.",Bl,N,Il,P,Gl,O,Al="Let’s see how Alfred can help us prepare for a conversation with Dr. Nikola Tesla.",$l,Y,gl,ll,Wl,sl,ql="To make Alfred even more helpful during the gala, we can enable conversation memory so he remembers previous interactions:",kl,Q,Vl,el,vl,tl,Dl="Congratulations! You’ve successfully built Alfred, a sophisticated agent equipped with multiple tools to help host the most extravagant gala of the century. Alfred can now:",Xl,nl,Ll="<li>Retrieve detailed information about guests</li> <li>Check weather conditions for planning outdoor activities</li> <li>Provide insights about influential AI builders and their models</li> <li>Search the web for the latest information</li> <li>Maintain conversation context with memory</li>",Rl,al,Kl="With these capabilities, Alfred is ready to ensure your gala is a resounding success, impressing guests with personalized attention and up-to-date information.",Cl,ol,Fl,rl,Nl;return o=new v({props:{title:"Creating Your Gala Agent",local:"creating-your-gala-agent",headingTag:"h1"}}),V=new v({props:{title:"Assembling Alfred: The Complete Agent",local:"assembling-alfred-the-complete-agent",headingTag:"h2"}}),X=new ms({props:{$$slots:{default:[ws]},$$scope:{ctx:U}}}),R=new pl({props:{id:"agents-frameworks",options:["smolagents","llama-index","langgraph"],$$slots:{default:[us]},$$scope:{ctx:U}}}),E=new v({props:{title:"Using Alfred: End-to-End Examples",local:"using-alfred-end-to-end-examples",headingTag:"h2"}}),_=new v({props:{title:"Example 1: Finding Guest Information",local:"example-1-finding-guest-information",headingTag:"h3"}}),C=new pl({props:{id:"agents-frameworks",options:["smolagents","llama-index","langgraph"],$$slots:{default:[Ts]},$$scope:{ctx:U}}}),q=new v({props:{title:"Example 2: Checking the Weather for Fireworks",local:"example-2-checking-the-weather-for-fireworks",headingTag:"h3"}}),F=new pl({props:{id:"agents-frameworks",options:["smolagents","llama-index","langgraph"],$$slots:{default:[Is]},$$scope:{ctx:U}}}),L=new v({props:{title:"Example 3: Impressing AI Researchers",local:"example-3-impressing-ai-researchers",headingTag:"h3"}}),N=new pl({props:{id:"agents-frameworks",options:["smolagents","llama-index","langgraph"],$$slots:{default:[Ws]},$$scope:{ctx:U}}}),P=new v({props:{title:"Example 4: Combining Multiple Tools",local:"example-4-combining-multiple-tools",headingTag:"h3"}}),Y=new pl({props:{id:"agents-frameworks",options:["smolagents","llama-index","langgraph"],$$slots:{default:[Xs]},$$scope:{ctx:U}}}),ll=new v({props:{title:"Advanced Features: Conversation Memory",local:"advanced-features-conversation-memory",headingTag:"h2"}}),Q=new pl({props:{id:"agents-frameworks",options:["smolagents","llama-index","langgraph"],$$slots:{default:[Ns]},$$scope:{ctx:U}}}),el=new v({props:{title:"Conclusion",local:"conclusion",headingTag:"h2"}}),ol=new ys({props:{source:"https://github.com/huggingface/agents-course/blob/main/units/en/unit3/agentic-rag/agent.mdx"}}),{c(){e=T("meta"),p=y(),t=T("p"),c=y(),d(o.$$.fragment),a=y(),s=T("p"),s.textContent=l,i=y(),I=T("p"),I.textContent=G,z=y(),d(V.$$.fragment),$=y(),k=T("p"),k.innerHTML=Ql,cl=y(),d(X.$$.fragment),ml=y(),x=T("p"),x.textContent=zl,yl=y(),d(R.$$.fragment),wl=y(),S=T("p"),S.textContent=xl,dl=y(),d(E.$$.fragment),Jl=y(),H=T("p"),H.textContent=Sl,hl=y(),d(_.$$.fragment),ul=y(),A=T("p"),A.textContent=El,jl=y(),d(C.$$.fragment),bl=y(),d(q.$$.fragment),Ul=y(),D=T("p"),D.textContent=Hl,Tl=y(),d(F.$$.fragment),fl=y(),d(L.$$.fragment),Zl=y(),K=T("p"),K.textContent=_l,Bl=y(),d(N.$$.fragment),Il=y(),d(P.$$.fragment),Gl=y(),O=T("p"),O.textContent=Al,$l=y(),d(Y.$$.fragment),gl=y(),d(ll.$$.fragment),Wl=y(),sl=T("p"),sl.textContent=ql,kl=y(),d(Q.$$.fragment),Vl=y(),d(el.$$.fragment),vl=y(),tl=T("p"),tl.textContent=Dl,Xl=y(),nl=T("ol"),nl.innerHTML=Ll,Rl=y(),al=T("p"),al.textContent=Kl,Cl=y(),d(ol.$$.fragment),Fl=y(),rl=T("p"),this.h()},l(n){const m=Ms("svelte-u9bgzb",document.head);e=f(m,"META",{name:!0,content:!0}),m.forEach(r),p=w(n),t=f(n,"P",{}),as(t).forEach(r),c=w(n),J(o.$$.fragment,n),a=w(n),s=f(n,"P",{"data-svelte-h":!0}),Z(s)!=="svelte-zy52na"&&(s.textContent=l),i=w(n),I=f(n,"P",{"data-svelte-h":!0}),Z(I)!=="svelte-14br3fr"&&(I.textContent=G),z=w(n),J(V.$$.fragment,n),$=w(n),k=f(n,"P",{"data-svelte-h":!0}),Z(k)!=="svelte-ymwr2s"&&(k.innerHTML=Ql),cl=w(n),J(X.$$.fragment,n),ml=w(n),x=f(n,"P",{"data-svelte-h":!0}),Z(x)!=="svelte-c7rmsv"&&(x.textContent=zl),yl=w(n),J(R.$$.fragment,n),wl=w(n),S=f(n,"P",{"data-svelte-h":!0}),Z(S)!=="svelte-14v72pw"&&(S.textContent=xl),dl=w(n),J(E.$$.fragment,n),Jl=w(n),H=f(n,"P",{"data-svelte-h":!0}),Z(H)!=="svelte-9tzza2"&&(H.textContent=Sl),hl=w(n),J(_.$$.fragment,n),ul=w(n),A=f(n,"P",{"data-svelte-h":!0}),Z(A)!=="svelte-q56lz7"&&(A.textContent=El),jl=w(n),J(C.$$.fragment,n),bl=w(n),J(q.$$.fragment,n),Ul=w(n),D=f(n,"P",{"data-svelte-h":!0}),Z(D)!=="svelte-hjmcxo"&&(D.textContent=Hl),Tl=w(n),J(F.$$.fragment,n),fl=w(n),J(L.$$.fragment,n),Zl=w(n),K=f(n,"P",{"data-svelte-h":!0}),Z(K)!=="svelte-1jt87a9"&&(K.textContent=_l),Bl=w(n),J(N.$$.fragment,n),Il=w(n),J(P.$$.fragment,n),Gl=w(n),O=f(n,"P",{"data-svelte-h":!0}),Z(O)!=="svelte-1ke07qy"&&(O.textContent=Al),$l=w(n),J(Y.$$.fragment,n),gl=w(n),J(ll.$$.fragment,n),Wl=w(n),sl=f(n,"P",{"data-svelte-h":!0}),Z(sl)!=="svelte-litl8p"&&(sl.textContent=ql),kl=w(n),J(Q.$$.fragment,n),Vl=w(n),J(el.$$.fragment,n),vl=w(n),tl=f(n,"P",{"data-svelte-h":!0}),Z(tl)!=="svelte-dnx784"&&(tl.textContent=Dl),Xl=w(n),nl=f(n,"OL",{"data-svelte-h":!0}),Z(nl)!=="svelte-1vc8vrh"&&(nl.innerHTML=Ll),Rl=w(n),al=f(n,"P",{"data-svelte-h":!0}),Z(al)!=="svelte-kz905k"&&(al.textContent=Kl),Cl=w(n),J(ol.$$.fragment,n),Fl=w(n),rl=f(n,"P",{}),as(rl).forEach(r),this.h()},h(){Yl(e,"name","hf:doc:metadata"),Yl(e,"content",Qs)},m(n,m){cs(document.head,e),M(n,p,m),M(n,t,m),M(n,c,m),h(o,n,m),M(n,a,m),M(n,s,m),M(n,i,m),M(n,I,m),M(n,z,m),h(V,n,m),M(n,$,m),M(n,k,m),M(n,cl,m),h(X,n,m),M(n,ml,m),M(n,x,m),M(n,yl,m),h(R,n,m),M(n,wl,m),M(n,S,m),M(n,dl,m),h(E,n,m),M(n,Jl,m),M(n,H,m),M(n,hl,m),h(_,n,m),M(n,ul,m),M(n,A,m),M(n,jl,m),h(C,n,m),M(n,bl,m),h(q,n,m),M(n,Ul,m),M(n,D,m),M(n,Tl,m),h(F,n,m),M(n,fl,m),h(L,n,m),M(n,Zl,m),M(n,K,m),M(n,Bl,m),h(N,n,m),M(n,Il,m),h(P,n,m),M(n,Gl,m),M(n,O,m),M(n,$l,m),h(Y,n,m),M(n,gl,m),h(ll,n,m),M(n,Wl,m),M(n,sl,m),M(n,kl,m),h(Q,n,m),M(n,Vl,m),h(el,n,m),M(n,vl,m),M(n,tl,m),M(n,Xl,m),M(n,nl,m),M(n,Rl,m),M(n,al,m),M(n,Cl,m),h(ol,n,m),M(n,Fl,m),M(n,rl,m),Nl=!0},p(n,[m]){const Pl={};m&2&&(Pl.$$scope={dirty:m,ctx:n}),X.$set(Pl);const Ol={};m&2&&(Ol.$$scope={dirty:m,ctx:n}),R.$set(Ol);const ls={};m&2&&(ls.$$scope={dirty:m,ctx:n}),C.$set(ls);const ss={};m&2&&(ss.$$scope={dirty:m,ctx:n}),F.$set(ss);const es={};m&2&&(es.$$scope={dirty:m,ctx:n}),N.$set(es);const ts={};m&2&&(ts.$$scope={dirty:m,ctx:n}),Y.$set(ts);const ns={};m&2&&(ns.$$scope={dirty:m,ctx:n}),Q.$set(ns)},i(n){Nl||(u(o.$$.fragment,n),u(V.$$.fragment,n),u(X.$$.fragment,n),u(R.$$.fragment,n),u(E.$$.fragment,n),u(_.$$.fragment,n),u(C.$$.fragment,n),u(q.$$.fragment,n),u(F.$$.fragment,n),u(L.$$.fragment,n),u(N.$$.fragment,n),u(P.$$.fragment,n),u(Y.$$.fragment,n),u(ll.$$.fragment,n),u(Q.$$.fragment,n),u(el.$$.fragment,n),u(ol.$$.fragment,n),Nl=!0)},o(n){j(o.$$.fragment,n),j(V.$$.fragment,n),j(X.$$.fragment,n),j(R.$$.fragment,n),j(E.$$.fragment,n),j(_.$$.fragment,n),j(C.$$.fragment,n),j(q.$$.fragment,n),j(F.$$.fragment,n),j(L.$$.fragment,n),j(N.$$.fragment,n),j(P.$$.fragment,n),j(Y.$$.fragment,n),j(ll.$$.fragment,n),j(Q.$$.fragment,n),j(el.$$.fragment,n),j(ol.$$.fragment,n),Nl=!1},d(n){n&&(r(p),r(t),r(c),r(a),r(s),r(i),r(I),r(z),r($),r(k),r(cl),r(ml),r(x),r(yl),r(wl),r(S),r(dl),r(Jl),r(H),r(hl),r(ul),r(A),r(jl),r(bl),r(Ul),r(D),r(Tl),r(fl),r(Zl),r(K),r(Bl),r(Il),r(Gl),r(O),r($l),r(gl),r(Wl),r(sl),r(kl),r(Vl),r(vl),r(tl),r(Xl),r(nl),r(Rl),r(al),r(Cl),r(Fl),r(rl)),r(e),b(o,n),b(V,n),b(X,n),b(R,n),b(E,n),b(_,n),b(C,n),b(q,n),b(F,n),b(L,n),b(N,n),b(P,n),b(Y,n),b(ll,n),b(Q,n),b(el,n),b(ol,n)}}}const Qs='{"title":"Creating Your Gala Agent","local":"creating-your-gala-agent","sections":[{"title":"Assembling Alfred: The Complete Agent","local":"assembling-alfred-the-complete-agent","sections":[],"depth":2},{"title":"Using Alfred: End-to-End Examples","local":"using-alfred-end-to-end-examples","sections":[{"title":"Example 1: Finding Guest Information","local":"example-1-finding-guest-information","sections":[],"depth":3},{"title":"Example 2: Checking the Weather for Fireworks","local":"example-2-checking-the-weather-for-fireworks","sections":[],"depth":3},{"title":"Example 3: Impressing AI Researchers","local":"example-3-impressing-ai-researchers","sections":[],"depth":3},{"title":"Example 4: Combining Multiple Tools","local":"example-4-combining-multiple-tools","sections":[],"depth":3}],"depth":2},{"title":"Advanced Features: Conversation Memory","local":"advanced-features-conversation-memory","sections":[],"depth":2},{"title":"Conclusion","local":"conclusion","sections":[],"depth":2}],"depth":1}';function zs(U){return ps(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Ds extends rs{constructor(e){super(),is(this,e,zs,Ys,os,{})}}export{Ds as component};
