Open the Terminal and create a python virtual environment.
python3 -m venv .venvsource .venv/bin/activate
python3 -m venv .venv.venv/scripts/activate
2
Set your API key
export DEEPINFRA_API_KEY=xxx
3
Install libraries
pip install -U openai ddgs agno
4
Run Agent
python cookbook/models/deepinfra/tool_use.py
python cookbook/models/deepinfra/tool_use.py
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Agno","colors":{"primary":"#FF4017","light":"#FF4017","dark":"#FF4017"},"logo":{"light":"https://mintcdn.com/spacesail/j6oZ21rFI_VtZleU/logo/black.svg?fit=max\u0026auto=format\u0026n=j6oZ21rFI_VtZleU\u0026q=85\u0026s=79ef09842b7e6f9a9d6593bd98ac9297","dark":"https://mintcdn.com/spacesail/j6oZ21rFI_VtZleU/logo/white.svg?fit=max\u0026auto=format\u0026n=j6oZ21rFI_VtZleU\u0026q=85\u0026s=f593cf49400914e7f56127b14e32f2b6"},"favicon":"/favicon.png","background":{"color":{"light":"#FFFFFF","dark":"#111113"}},"navbar":{"links":[{"label":"Home","icon":"home","href":"https://www.agno.com/"},{"label":"Github","icon":"github","href":"https://github.com/agno-agi/agno"}],"primary":{"type":"button","label":"Try AgentOS","href":"https://os.agno.com"}},"footer":{"socials":{"x":"https://x.com/AgnoAgi","github":"https://github.com/agno-agi/agno","discord":"https://agno.link/discord","youtube":"https://agno.link/youtube","website":"https://agno.com"}},"fonts":{"heading":{"family":"Inter","weight":750},"body":{"family":"Inter","weight":400}},"integrations":{"gtm":{"tagId":"GTM-WBTFNG7M"}},"contextual":{"options":["copy","mcp","cursor","chatgpt","claude"]},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"spacesail","hasAudioNarration":false,"actualSubdomain":"spacesail","customDomains":[],"gitSource":{"type":"github","owner":"coshpr","repo":"agno-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae941bfed8a723d642031c0:success","clientVersion":"0.0.4087","searchFilterCounts":[{"language":"default","tag":"Examples","count":1031},{"language":"default","tag":"Concepts","count":615},{"language":"default","tag":"Models","count":431},{"language":"default","tag":"Documentation","count":367},{"language":"default","tag":"Learn","count":356},{"language":"default","tag":"Tools","count":253},{"language":"default","tag":"Knowledge","count":189},{"language":"default","tag":"AgentOS","count":133},{"language":"default","tag":"Reference","count":128},{"language":"default","tag":"Agent","count":120}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"examples/models/deepinfra/tool_use","slug":"/examples/models/deepinfra/tool_use","pageMetadata":{"title":"Agent with Tools","description":null,"href":"/examples/models/deepinfra/tool_use"},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Heading,Step,Steps}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`code`,children:`Code`}),`\n`,_jsx(CodeBlock,{filename:`cookbook/models/deepinfra/tool_use.py`,numberOfLines:`11`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`11`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` agno.agent `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Agent `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# noqa`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` agno.models.deepinfra `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` DeepInfra `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# noqa`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` agno.tools.duckduckgo `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` DuckDuckGoTools `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# noqa`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`agent `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Agent(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` model`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`DeepInfra(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`id`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"meta-llama/Llama-2-70b-chat-hf\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`),`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` tools`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[DuckDuckGoTools()],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` markdown`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`True`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`agent.print_response(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Whats happening in France?\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`stream`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`True`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`usage`,children:`Usage`}),`\n`,_jsxs(Steps,{children:[_jsxs(Step,{title:`Create a virtual environment`,children:[_jsxs(_components.p,{children:[`Open the `,_jsx(_components.code,{children:`Terminal`}),` and create a python virtual environment.`]}),_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Mac`,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`python3`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -m`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` venv`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` .venv`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`source`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` .venv/bin/activate`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Windows`,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`python3`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -m`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` venv`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` .venv`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`.venv/scripts/activate`})}),`\n`]})})})]})]}),_jsx(Step,{title:`Set your API key`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`export`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` DEEPINFRA_API_KEY`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`xxx`})]}),`\n`]})})})}),_jsx(Step,{title:`Install libraries`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`pip`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` install`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -U`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` openai`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ddgs`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` agno`})]}),`\n`]})})})}),_jsx(Step,{title:`Run Agent`,children:_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Mac`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`python`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` cookbook/models/deepinfra/tool_use.py`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Windows`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`python`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` cookbook/models/deepinfra/tool_use.py`})]}),`\n`]})})})]})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Agent with Tools","description":null,"href":"/examples/models/deepinfra/tool_use"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Code","slug":"code","depth":2,"children":[]},{"title":"Usage","slug":"usage","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"spacesail","siteName":"Agno","title":"Agent with Tools - Agno","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"originalFileLocation":"examples/models/deepinfra/tool_use.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"application-name\" content=\"Agno\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/spacesail/R3tJL8w0yLY0dsHF/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/spacesail/R3tJL8w0yLY0dsHF/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/spacesail/R3tJL8w0yLY0dsHF/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/spacesail/R3tJL8w0yLY0dsHF/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/spacesail/R3tJL8w0yLY0dsHF/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/spacesail/R3tJL8w0yLY0dsHF/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/spacesail/R3tJL8w0yLY0dsHF/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/spacesail/R3tJL8w0yLY0dsHF/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/spacesail/R3tJL8w0yLY0dsHF/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Agent with Tools - Agno\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Agno\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://spacesail.mintlify.app/examples/models/deepinfra/tool_use\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://spacesail.mintlify.site/_mintlify/api/og/v2?division=DeepInfra\u0026amp;title=Agent+with+Tools\u0026amp;theme=0d57e9981e85b99047e75951\u0026amp;signature=dbd981c6afc1c268e3d67f43d20f0299898cccb845a508c4f134e6d3e84ee608\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Agent with Tools - Agno\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://spacesail.mintlify.site/_mintlify/api/og/v2?division=DeepInfra\u0026amp;title=Agent+with+Tools\u0026amp;theme=0d57e9981e85b99047e75951\u0026amp;signature=dbd981c6afc1c268e3d67f43d20f0299898cccb845a508c4f134e6d3e84ee608\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/spacesail/R3tJL8w0yLY0dsHF/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Agno\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#FF4017\">\u003clink data-mint-head rel=\"canonical\" href=\"https://spacesail.mintlify.app/examples/models/deepinfra/tool_use\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/examples/models/deepinfra/tool_use.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://spacesail.mintlify.app/#organization\",\"name\":\"Agno\",\"url\":\"https://spacesail.mintlify.app\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/spacesail/j6oZ21rFI_VtZleU/logo/black.svg?fit=max\u0026auto=format\u0026n=j6oZ21rFI_VtZleU\u0026q=85\u0026s=79ef09842b7e6f9a9d6593bd98ac9297\"}},{\"@type\":\"WebSite\",\"@id\":\"https://spacesail.mintlify.app#website\",\"name\":\"Agno\",\"url\":\"https://spacesail.mintlify.app\",\"publisher\":{\"@id\":\"https://spacesail.mintlify.app/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://spacesail.mintlify.app/examples/models/deepinfra/tool_use#webpage\",\"url\":\"https://spacesail.mintlify.app/examples/models/deepinfra/tool_use\",\"name\":\"Agent with Tools\",\"isPartOf\":{\"@id\":\"https://spacesail.mintlify.app#website\"},\"breadcrumb\":{\"@id\":\"https://spacesail.mintlify.app/examples/models/deepinfra/tool_use#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://spacesail.mintlify.app/examples/models/deepinfra/tool_use#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Models\",\"item\":\"https://spacesail.mintlify.app/examples/models/anthropic/basic\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"DeepInfra\",\"item\":\"https://spacesail.mintlify.app/examples/models/deepinfra/basic\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Agent with Tools\",\"item\":\"https://spacesail.mintlify.app/examples/models/deepinfra/tool_use\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://spacesail.mintlify.app/examples/models/deepinfra/tool_use#article\",\"headline\":\"Agent with Tools\",\"name\":\"Agent with Tools\",\"url\":\"https://spacesail.mintlify.app/examples/models/deepinfra/tool_use\",\"mainEntityOfPage\":{\"@id\":\"https://spacesail.mintlify.app/examples/models/deepinfra/tool_use#webpage\"},\"publisher\":{\"@id\":\"https://spacesail.mintlify.app/#organization\"},\"isPartOf\":{\"@id\":\"https://spacesail.mintlify.app#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Agno\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Agno","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"AgentOS","pages":[{"title":"AgentOS","href":"/agent-os/introduction"}]},{"tab":"Tutorials","hidden":true,"pages":[{"title":"Tutorials","href":"/tutorials/overview"}]},{"tab":"Examples","groups":[{"group":"Overview","pages":[{"title":"Examples Gallery","sidebarTitle":"Overview","href":"/examples/introduction"},{"group":"Getting Started","pages":[{"title":"Introduction","href":"/examples/getting-started/introduction"},{"title":"Basic Agent","href":"/examples/getting-started/01-basic-agent"},{"title":"Agent with Tools","href":"/examples/getting-started/02-agent-with-tools"},{"title":"Agent with Knowledge","href":"/examples/getting-started/03-agent-with-knowledge"},{"title":"Write Your Own Tool","href":"/examples/getting-started/04-write-your-own-tool"},{"title":"Structured Output","href":"/examples/getting-started/05-structured-output"},{"title":"Agent with Storage","href":"/examples/getting-started/06-agent-with-storage"},{"title":"Agent State","href":"/examples/getting-started/07-agent-state"},{"title":"Agent Context","href":"/examples/getting-started/08-agent-context"},{"title":"Agent Session","href":"/examples/getting-started/09-agent-session"},{"title":"User Memories and Session Summaries","href":"/examples/getting-started/10-user-memories-and-summaries"},{"title":"Retry Function Call","href":"/examples/getting-started/11-retry-function-call"},{"title":"Human in the Loop","href":"/examples/getting-started/12-human-in-the-loop"},{"title":"Image Agent","href":"/examples/getting-started/13-image-agent"},{"title":"Image Generation","href":"/examples/getting-started/14-image-generation"},{"title":"Video Generation","href":"/examples/getting-started/15-video-generation"},{"title":"Audio Input-Output Agent","href":"/examples/getting-started/16-audio-agent"},{"title":"Agent Team","href":"/examples/getting-started/17-agent-team"},{"title":"Research Agent","href":"/examples/getting-started/18-research-agent-exa"},{"title":"Research Workflow","href":"/examples/getting-started/19-blog-generator-workflow"}]}]},{"group":"Use Cases","pages":[{"group":"Agents","pages":[{"title":"Agno Assist","href":"/examples/use-cases/agents/agno_assist"},{"title":"Airbnb Mcp","href":"/examples/use-cases/agents/airbnb_mcp"},{"title":"Books Recommender","href":"/examples/use-cases/agents/books-recommender"},{"title":"Competitor Analysis Agent","href":"/examples/use-cases/agents/competitor_analysis_agent"},{"title":"Deep Knowledge","href":"/examples/use-cases/agents/deep_knowledge"},{"title":"Deep Research Agent","href":"/examples/use-cases/agents/deep_research_agent_exa"},{"title":"Legal Consultant","href":"/examples/use-cases/agents/legal_consultant"},{"title":"Media Trend Analysis Agent","href":"/examples/use-cases/agents/media_trend_analysis_agent"},{"title":"Meeting Summarizer Agent","href":"/examples/use-cases/agents/meeting_summarizer_agent"},{"title":"Movie Recommender","href":"/examples/use-cases/agents/movie-recommender"},{"title":"Readme Generator","href":"/examples/use-cases/agents/readme_generator"},{"title":"Recipe Creator","href":"/examples/use-cases/agents/recipe-creator"},{"title":"Recipe Rag Image","href":"/examples/use-cases/agents/recipe_rag_image"},{"title":"Reddit Post Generator","href":"/examples/use-cases/agents/reddit-post-generator"},{"title":"Research Agent","href":"/examples/use-cases/agents/research-agent"},{"title":"Research Agent using Exa","href":"/examples/use-cases/agents/research-agent-exa"},{"title":"Run As Cli","href":"/examples/use-cases/agents/run_as_cli"},{"title":"Shopping Partner","href":"/examples/use-cases/agents/shopping_partner"},{"title":"Social Media Agent","href":"/examples/use-cases/agents/social_media_agent"},{"title":"Startup Analyst Agent","href":"/examples/use-cases/agents/startup-analyst-agent"},{"title":"Study Partner","href":"/examples/use-cases/agents/study-partner"},{"title":"Travel Agent","href":"/examples/use-cases/agents/travel-planner"},{"title":"Tweet Analysis Agent","href":"/examples/use-cases/agents/tweet-analysis-agent"},{"title":"Translation Agent","href":"/examples/use-cases/agents/translation_agent"},{"title":"Web Extraction Agent","href":"/examples/use-cases/agents/web_extraction_agent"},{"title":"Youtube Agent","href":"/examples/use-cases/agents/youtube-agent"}]},{"group":"Teams","pages":[{"title":"Collaboration Team","href":"/examples/use-cases/teams/discussion_team"},{"title":"Autonomous Startup Team","href":"/examples/use-cases/teams/autonomous_startup_team"},{"title":"Content Team","href":"/examples/use-cases/teams/content_team"},{"title":"HackerNews Team","href":"/examples/use-cases/teams/hackernews_team"},{"title":"News Agency Team","href":"/examples/use-cases/teams/news_agency_team"},{"title":"Reasoning Team","href":"/examples/use-cases/teams/reasoning_team"},{"title":"AI Support Team","href":"/examples/use-cases/teams/ai_support_team"},{"title":"Multi Language Team","href":"/examples/use-cases/teams/multi_language_team"}]},{"group":"Workflows","pages":[{"title":"Company Description Workflow","href":"/examples/use-cases/workflows/company-description"},{"title":"Blog Post Generator","href":"/examples/use-cases/workflows/blog-post-generator"},{"title":"Employee Recruiter","href":"/examples/use-cases/workflows/employee-recruiter"},{"title":"Investment Report Generator","href":"/examples/use-cases/workflows/investment-report-generator"},{"title":"Startup Idea Validator","href":"/examples/use-cases/workflows/startup-idea-validator"},{"title":"Notion Knowledge Manager","href":"/examples/use-cases/workflows/notion-knowledge-manager"}]}]},{"group":"Concepts","pages":[{"group":"Agent","pages":[{"group":"Agentic Search","pages":[{"title":"Agentic RAG with Hybrid Search and Reranking","href":"/examples/concepts/agent/agentic_search/agentic_rag"},{"title":"Agentic RAG with Reasoning Tools","href":"/examples/concepts/agent/agentic_search/agentic_rag_with_reasoning"},{"title":"Agentic RAG with Infinity Reranker","href":"/examples/concepts/agent/agentic_search/agentic_rag_infinity_reranker"},{"title":"Agentic RAG with LightRAG","href":"/examples/concepts/agent/agentic_search/lightrag/agentic_rag_with_lightrag"}]},{"group":"Async","pages":[{"title":"Basic Async Agent Usage","href":"/examples/concepts/agent/async/basic"},{"title":"Async Data Analyst Agent with DuckDB","href":"/examples/concepts/agent/async/data_analyst"},{"title":"Async Agent with Structured Output","href":"/examples/concepts/agent/async/structured_output"},{"title":"Async Agent with Reasoning Capabilities","href":"/examples/concepts/agent/async/reasoning"},{"title":"Gathering Multiple Async Agents","href":"/examples/concepts/agent/async/gather_agents"},{"title":"Async Agents with Delayed Execution","href":"/examples/concepts/agent/async/delay"},{"title":"Async Agent Streaming Responses","href":"/examples/concepts/agent/async/streaming"},{"title":"Async Agent with Tool Usage","href":"/examples/concepts/agent/async/tool_use"}]},{"group":"Context Management","pages":[{"title":"Context Management with DateTime Instructions","href":"/examples/concepts/agent/context_management/datetime_instructions"},{"title":"Dynamic Instructions Based on Session State","href":"/examples/concepts/agent/context_management/dynamic_instructions"},{"title":"Few-Shot Learning with Additional Input","href":"/examples/concepts/agent/context_management/few_shot_learning"},{"title":"Managing Tool Calls","href":"/examples/concepts/agent/context_management/filter_tool_calls_from_history"},{"title":"Basic Agent Instructions","href":"/examples/concepts/agent/context_management/instructions"},{"title":"Dynamic Instructions via Function","href":"/examples/concepts/agent/context_management/instructions_via_function"},{"title":"Location-Aware Agent Instructions","href":"/examples/concepts/agent/context_management/location_instructions"}]},{"group":"Dependencies","pages":[{"title":"Add Dependencies to Agent Run","href":"/examples/concepts/agent/dependencies/add_dependencies_run"},{"title":"Add Dependencies to Agent Context","href":"/examples/concepts/agent/dependencies/add_dependencies_to_context"},{"title":"Access Dependencies in Tool","href":"/examples/concepts/agent/dependencies/access_dependencies_in_tool"}]},{"group":"Events","pages":[{"title":"Basic Agent Events Handling","href":"/examples/concepts/agent/events/basic_agent_events"},{"title":"Reasoning Agent Events Handling","href":"/examples/concepts/agent/events/reasoning_agent_events"},{"title":"Custom Events","href":"/examples/concepts/agent/events/custom_events"}]},{"group":"Hooks","pages":[{"title":"Input Validation Pre-Hook","href":"/examples/concepts/agent/hooks/input_validation_pre_hook"},{"title":"Input Transformation Pre-Hook","href":"/examples/concepts/agent/hooks/input_transformation_pre_hook"},{"title":"Output Validation Post-Hook","href":"/examples/concepts/agent/hooks/output_validation_post_hook"},{"title":"Output Transformation Post-Hook","href":"/examples/concepts/agent/hooks/output_transformation_post_hook"}]},{"group":"Guardrails","pages":[{"title":"PII Detection Guardrail","href":"/examples/concepts/agent/guardrails/pii_detection"},{"title":"Prompt Injection Guardrail","href":"/examples/concepts/agent/guardrails/prompt_injection"},{"title":"OpenAI Moderation Guardrail","href":"/examples/concepts/agent/guardrails/openai_moderation"}]},{"group":"Human-in-the-Loop","pages":[{"title":"Agentic User Input with Control Flow","href":"/examples/concepts/agent/human_in_the_loop/agentic_user_input"},{"title":"Tool Confirmation Required","href":"/examples/concepts/agent/human_in_the_loop/confirmation_required"},{"title":"Async Tool Confirmation Required","href":"/examples/concepts/agent/human_in_the_loop/confirmation_required_async"},{"title":"Confirmation Required with Mixed Tools","href":"/examples/concepts/agent/human_in_the_loop/confirmation_required_mixed_tools"},{"title":"Confirmation Required with Multiple Tools","href":"/examples/concepts/agent/human_in_the_loop/confirmation_required_multiple_tools"},{"title":"Confirmation Required with Streaming","href":"/examples/concepts/agent/human_in_the_loop/confirmation_required_stream"},{"title":"Confirmation Required with Async Streaming","href":"/examples/concepts/agent/human_in_the_loop/confirmation_required_stream_async"},{"title":"Confirmation Required with Toolkit","href":"/examples/concepts/agent/human_in_the_loop/confirmation_required_toolkit"},{"title":"Confirmation Required with History","href":"/examples/concepts/agent/human_in_the_loop/confirmation_required_with_history"},{"title":"Confirmation Required with Run ID","href":"/examples/concepts/agent/human_in_the_loop/confirmation_required_with_run_id"},{"title":"External Tool Execution","href":"/examples/concepts/agent/human_in_the_loop/external_tool_execution"},{"title":"External Tool Execution Async","href":"/examples/concepts/agent/human_in_the_loop/external_tool_execution_async"},{"title":"External Tool Execution Async Responses","href":"/examples/concepts/agent/human_in_the_loop/external_tool_execution_async_responses"},{"title":"External Tool Execution Stream","href":"/examples/concepts/agent/human_in_the_loop/external_tool_execution_stream"},{"title":"External Tool Execution Stream Async","href":"/examples/concepts/agent/human_in_the_loop/external_tool_execution_stream_async"},{"title":"External Tool Execution Toolkit","href":"/examples/concepts/agent/human_in_the_loop/external_tool_execution_toolkit"},{"title":"User Input Required for Tool Execution","href":"/examples/concepts/agent/human_in_the_loop/user_input_required"},{"title":"User Input Required All Fields","href":"/examples/concepts/agent/human_in_the_loop/user_input_required_all_fields"},{"title":"User Input Required Async","href":"/examples/concepts/agent/human_in_the_loop/user_input_required_async"},{"title":"User Input Required Stream","href":"/examples/concepts/agent/human_in_the_loop/user_input_required_stream"},{"title":"User Input Required Stream Async","href":"/examples/concepts/agent/human_in_the_loop/user_input_required_stream_async"}]},{"group":"Input and Output","pages":[{"title":"Agent Input as Dictionary","href":"/examples/concepts/agent/input_and_output/input_as_dict"},{"title":"Agent Input as List","href":"/examples/concepts/agent/input_and_output/input_as_list"},{"title":"Agent Input as Message Object","href":"/examples/concepts/agent/input_and_output/input_as_message"},{"title":"Agent Input as Messages List","href":"/examples/concepts/agent/input_and_output/input_as_messages_list"},{"title":"Agent with Input Schema","href":"/examples/concepts/agent/input_and_output/input_schema_on_agent"},{"title":"Agent with Input Schema as TypedDict","href":"/examples/concepts/agent/input_and_output/input_schema_on_agent_as_typed_dict"},{"title":"Agent with Output Model","href":"/examples/concepts/agent/input_and_output/output_model"},{"title":"Parser Model for Structured Output","href":"/examples/concepts/agent/input_and_output/parser_model"},{"title":"Agent with Ollama Parser Model","href":"/examples/concepts/agent/input_and_output/parser_model_ollama"},{"title":"Streaming Agent with Parser Model","href":"/examples/concepts/agent/input_and_output/parser_model_stream"},{"title":"Capturing Agent Response as Variable","href":"/examples/concepts/agent/input_and_output/response_as_variable"},{"title":"Structured Input with Pydantic Models","href":"/examples/concepts/agent/input_and_output/structured_input"}]},{"group":"Multimodal","pages":[{"title":"Image to Text Analysis","href":"/examples/concepts/agent/multimodal/image_to_text"},{"title":"Image to Structured Output","href":"/examples/concepts/agent/multimodal/image_to_structured_output"},{"title":"High Fidelity Image Input","href":"/examples/concepts/agent/multimodal/image_input_high_fidelity"},{"title":"Image to Image Generation Agent","href":"/examples/concepts/agent/multimodal/image_to_image_agent"},{"title":"File Input for Tools","href":"/examples/concepts/agent/multimodal/file_input_for_tool"},{"title":"Image Input for Tools","href":"/examples/concepts/agent/multimodal/image_input_for_tool"},{"title":"Image to Audio Story Generation","href":"/examples/concepts/agent/multimodal/image_to_audio"},{"title":"Audio to Text Transcription","href":"/examples/concepts/agent/multimodal/audio_to_text"},{"title":"Audio Input Output","href":"/examples/concepts/agent/multimodal/audio_input_output"},{"title":"Audio Multi Turn","href":"/examples/concepts/agent/multimodal/audio_multi_turn"},{"title":"Audio Sentiment Analysis","href":"/examples/concepts/agent/multimodal/audio_sentiment_analysis"},{"title":"Audio Streaming","href":"/examples/concepts/agent/multimodal/audio_streaming"},{"title":"Video Caption Generator Agent","href":"/examples/concepts/agent/multimodal/video_caption_agent"},{"title":"Video to Shorts Generation","href":"/examples/concepts/agent/multimodal/video_to_shorts"},{"title":"Generate Image with Intermediate Steps","href":"/examples/concepts/agent/multimodal/generate_image_with_intermediate_steps"},{"title":"Generate Video Using ModelsLab","href":"/examples/concepts/agent/multimodal/generate_video_using_models_lab"},{"title":"Generate Video Using Replicate","href":"/examples/concepts/agent/multimodal/generate_video_using_replicate"},{"title":"Agent Same Run Image Analysis","href":"/examples/concepts/agent/multimodal/agent_same_run_image_analysis"},{"title":"Agent Using Multimodal Tool Response in Runs","href":"/examples/concepts/agent/multimodal/agent_using_multimodal_tool_response_in_runs"}]},{"group":"Other","pages":[{"title":"Agent Extra Metrics","href":"/examples/concepts/agent/other/agent_extra_metrics"},{"title":"Agent Metrics and Performance Monitoring","href":"/examples/concepts/agent/other/agent_metrics"},{"title":"Agent Run Metadata","href":"/examples/concepts/agent/other/agent_run_metadata"},{"title":"Cancel Agent Run","href":"/examples/concepts/agent/other/cancel_a_run"},{"title":"Agent Debug Mode","href":"/examples/concepts/agent/other/debug"},{"title":"Debug Level","href":"/examples/concepts/agent/other/debug_level"},{"title":"Agent Intermediate Steps Streaming","href":"/examples/concepts/agent/other/intermediate_steps"},{"title":"Run Response Events","href":"/examples/concepts/agent/other/run_response_events"},{"title":"Scenario Testing","href":"/examples/concepts/agent/other/scenario_testing"},{"title":"Tool Call Limit","href":"/examples/concepts/agent/other/tool_call_limit"}]},{"group":"RAG","pages":[{"title":"Agentic RAG with LanceDB","href":"/examples/concepts/agent/rag/agentic_rag_lancedb"},{"title":"Agentic RAG with PgVector","href":"/examples/concepts/agent/rag/agentic_rag_pgvector"},{"title":"Agentic RAG with Reranking","href":"/examples/concepts/agent/rag/agentic_rag_with_reranking"},{"title":"RAG with Sentence Transformer Reranker","href":"/examples/concepts/agent/rag/rag_sentence_transformer"},{"title":"RAG with LanceDB and SQLite Storage","href":"/examples/concepts/agent/rag/rag_with_lance_db_and_sqlite"},{"title":"Traditional RAG with LanceDB","href":"/examples/concepts/agent/rag/traditional_rag_lancedb"},{"title":"Traditional RAG with PgVector","href":"/examples/concepts/agent/rag/traditional_rag_pgvector"}]},{"group":"Session","pages":[{"title":"Persistent Session Storage","href":"/examples/concepts/agent/session/01_persistent_session"},{"title":"Persistent Session with History Limit","href":"/examples/concepts/agent/session/02_persistent_session_history"},{"title":"Session Summary Management","href":"/examples/concepts/agent/session/03_session_summary"},{"title":"Session Summary with References","href":"/examples/concepts/agent/session/04_session_summary_references"},{"title":"Chat History Management","href":"/examples/concepts/agent/session/05_chat_history"},{"title":"Session Name Management","href":"/examples/concepts/agent/session/06_rename_session"},{"title":"In-Memory Database Storage","href":"/examples/concepts/agent/session/07_in_memory_db"},{"title":"Session Caching","href":"/examples/concepts/agent/session/08_cache_session"},{"title":"Disable Storing History Messages","href":"/examples/concepts/agent/session/09_disable_storing_history_messages"},{"title":"Disable Storing Tool Messages","href":"/examples/concepts/agent/session/10_disable_storing_tool_messages"}]},{"group":"State","pages":[{"title":"Basic Session State Management","href":"/examples/concepts/agent/state/session_state_basic"},{"title":"Session State In Instructions","href":"/examples/concepts/agent/state/session_state_in_instructions"},{"title":"Session State In Context","href":"/examples/concepts/agent/state/session_state_in_context"},{"title":"Advanced Session State Management","href":"/examples/concepts/agent/state/session_state_advanced"},{"title":"Session State for Multiple Users","href":"/examples/concepts/agent/state/session_state_multiple_users"},{"title":"Agentic Session State","href":"/examples/concepts/agent/state/agentic_session_state"},{"title":"Dynamic Session State","href":"/examples/concepts/agent/state/dynamic_session_state"},{"title":"Change State On Run","href":"/examples/concepts/agent/state/change_state_on_run"},{"title":"Last N Session Messages","href":"/examples/concepts/agent/state/last_n_session_messages"}]}]},{"group":"Teams","pages":[{"group":"Basic Flows","pages":[{"title":"Basic Team Coordination","sidebarTitle":"Basic Coordination","href":"/examples/concepts/teams/basic/basic_coordination"},{"title":"Router Team with Direct Response","sidebarTitle":"Router Team","href":"/examples/concepts/teams/basic/respond_directly_router_team"},{"title":"Delegate to All Members (Cooperation)","sidebarTitle":"Cooperation Mode","href":"/examples/concepts/teams/basic/delegate_to_all_members_cooperation"},{"title":"Model Inheritance","sidebarTitle":"Model Inheritance","href":"/examples/concepts/teams/basic/model_inheritance"}]},{"group":"History","pages":[{"title":"Direct Response with Team History","sidebarTitle":"Direct Response + History","href":"/examples/concepts/teams/basic/respond_directly_with_history"},{"title":"Team History for Members","sidebarTitle":"Team History for Members","href":"/examples/concepts/teams/basic/team_history"},{"title":"Member-Level History","sidebarTitle":"Member-Level History","href":"/examples/concepts/teams/basic/history_of_members"},{"title":"Share Member Interactions","sidebarTitle":"Share Member Interactions","href":"/examples/concepts/teams/basic/share_member_interactions"}]},{"group":"Async","pages":[{"title":"Async Coordinated Team","href":"/examples/concepts/teams/async/async_coordination_team"},{"title":"Async Collaborative Team","href":"/examples/concepts/teams/async/async_delegate_to_all_members"},{"title":"Async Multi-Language Team","href":"/examples/concepts/teams/async/async_respond_directly"}]},{"group":"Context Management","pages":[{"title":"Managing Tool Calls","href":"/examples/concepts/teams/context_management/filter_tool_calls_from_history"}]},{"group":"Dependencies","pages":[{"title":"Adding Dependencies to Team Run","href":"/examples/concepts/teams/dependencies/add_dependencies_run"},{"title":"Adding Dependencies to Team Context","href":"/examples/concepts/teams/dependencies/add_dependencies_to_context"},{"title":"Using Reference Dependencies in Team Instructions","href":"/examples/concepts/teams/dependencies/reference_dependencies"},{"title":"Access Dependencies in Team Tool","href":"/examples/concepts/teams/dependencies/access_dependencies_in_tool"}]},{"group":"Distributed RAG","pages":[{"title":"Distributed RAG with PgVector","href":"/examples/concepts/teams/distributed_rag/distributed_rag_pgvector"},{"title":"Distributed RAG with LanceDB","href":"/examples/concepts/teams/distributed_rag/distributed_rag_lancedb"},{"title":"Distributed RAG with Advanced Reranking","href":"/examples/concepts/teams/distributed_rag/distributed_rag_with_reranking"}]},{"group":"Events","pages":[{"title":"Custom Events","href":"/examples/concepts/teams/events/custom_events"}]},{"group":"Hooks","pages":[{"title":"Input Validation Pre-Hook","href":"/examples/concepts/teams/hooks/input_validation_pre_hook"},{"title":"Input Transformation Pre-Hook","href":"/examples/concepts/teams/hooks/input_transformation_pre_hook"},{"title":"Output Validation Post-Hook","href":"/examples/concepts/teams/hooks/output_validation_post_hook"},{"title":"Output Transformation Post-Hook","href":"/examples/concepts/teams/hooks/output_transformation_post_hook"}]},{"group":"Guardrails","pages":[{"title":"PII Detection Guardrail","href":"/examples/concepts/teams/guardrails/pii_detection"},{"title":"Prompt Injection Guardrail","href":"/examples/concepts/teams/guardrails/prompt_injection"},{"title":"OpenAI Moderation Guardrail","href":"/examples/concepts/teams/guardrails/openai_moderation"}]},{"group":"Knowledge","pages":[{"title":"Team with Knowledge Base","href":"/examples/concepts/teams/knowledge/team_with_knowledge"},{"title":"Team with Knowledge Filters","href":"/examples/concepts/teams/knowledge/team_with_knowledge_filters"},{"title":"Team with Agentic Knowledge Filters","href":"/examples/concepts/teams/knowledge/team_with_agentic_knowledge_filters"}]},{"group":"Memory","pages":[{"title":"Team with Memory Manager","href":"/examples/concepts/teams/memory/team_with_memory_manager"},{"title":"Team with Agentic Memory","href":"/examples/concepts/teams/memory/team_with_agentic_memory"}]},{"group":"Metrics","pages":[{"title":"Team Metrics Analysis","href":"/examples/concepts/teams/metrics/team_metrics"}]},{"group":"Multimodal","pages":[{"title":"Audio Sentiment Analysis Team","href":"/examples/concepts/teams/multimodal/audio_sentiment_analysis"},{"title":"Audio to Text Transcription Team","href":"/examples/concepts/teams/multimodal/audio_to_text"},{"title":"Collaborative Image Generation Team","href":"/examples/concepts/teams/multimodal/generate_image_with_team"},{"title":"AI Image Transformation Team","href":"/examples/concepts/teams/multimodal/image_to_image_transformation"},{"title":"Image to Structured Movie Script Team","href":"/examples/concepts/teams/multimodal/image_to_structured_output"},{"title":"Image to Fiction Story Team","href":"/examples/concepts/teams/multimodal/image_to_text"},{"title":"Video Caption Generation Team","href":"/examples/concepts/teams/multimodal/video_caption_generation"}]},{"group":"Reasoning","pages":[{"title":"Multi-Purpose Reasoning Team","href":"/examples/concepts/teams/reasoning/reasoning_multi_purpose_team"},{"title":"Async Multi-Purpose Reasoning Team","href":"/examples/concepts/teams/reasoning/async_multi_purpose_reasoning_team"}]},{"group":"Search Coordination","pages":[{"title":"Coordinated Agentic RAG Team","href":"/examples/concepts/teams/search_coordination/coordinated_agentic_rag"},{"title":"Coordinated Reasoning RAG Team","href":"/examples/concepts/teams/search_coordination/coordinated_reasoning_rag"},{"title":"Distributed Search with Infinity Reranker","href":"/examples/concepts/teams/search_coordination/distributed_infinity_search"}]},{"group":"Session","pages":[{"title":"Persistent Session with Database","href":"/examples/concepts/teams/session/persistent_session"},{"title":"Persistent Session with History Context","href":"/examples/concepts/teams/session/persistent_session_history"},{"title":"Session Summary Management","href":"/examples/concepts/teams/session/session_summary"},{"title":"Session Summary with Context References","href":"/examples/concepts/teams/session/session_summary_references"},{"title":"Chat History Retrieval","href":"/examples/concepts/teams/session/chat_history"},{"title":"Session Name Management","href":"/examples/concepts/teams/session/rename_session"},{"title":"In-Memory Database Session","href":"/examples/concepts/teams/session/in_memory_db"},{"title":"Session Caching for Performance","href":"/examples/concepts/teams/session/cache_session"}]},{"group":"Shared State","pages":[{"title":"Agentic Session State","href":"/examples/concepts/teams/state/agentic_session_state"},{"title":"Change Session State on Run","href":"/examples/concepts/teams/state/change_state_on_run"},{"title":"Session State in Instructions","href":"/examples/concepts/teams/state/session_state_in_instructions"},{"title":"Share Member Interactions","href":"/examples/concepts/teams/state/share_member_interactions"},{"title":"Team with Nested Shared State","href":"/examples/concepts/teams/state/team_with_nested_shared_state"}]},{"group":"Streaming","pages":[{"title":"Team Streaming Responses","href":"/examples/concepts/teams/streaming/team_streaming"},{"title":"Team Events Monitoring","href":"/examples/concepts/teams/streaming/events"},{"title":"Route Mode Team Events","href":"/examples/concepts/teams/streaming/route_mode_events"},{"title":"Async Team Streaming","href":"/examples/concepts/teams/streaming/async_team_streaming"},{"title":"Async Team Events Monitoring","href":"/examples/concepts/teams/streaming/async_team_events"}]},{"group":"Structured Input/Output","pages":[{"title":"Pydantic Models as Team Output","href":"/examples/concepts/teams/structured_input_output/pydantic_model_output"},{"title":"Pydantic Models as Team Input","href":"/examples/concepts/teams/structured_input_output/pydantic_model_as_input"},{"title":"Team with Parser Model","href":"/examples/concepts/teams/structured_input_output/team_with_parser_model"},{"title":"Team with Output Model","href":"/examples/concepts/teams/structured_input_output/team_with_output_model"},{"title":"Structured Output Streaming","href":"/examples/concepts/teams/structured_input_output/structured_output_streaming"},{"title":"Async Structured Output Streaming","href":"/examples/concepts/teams/structured_input_output/async_structured_output_streaming"},{"title":"Team Input Schema Validation","href":"/examples/concepts/teams/structured_input_output/input_schema_on_team"}]},{"group":"Tools","pages":[{"title":"Team with Custom Tools","href":"/examples/concepts/teams/tools/team_with_custom_tools"},{"title":"Team with Tool Hooks","href":"/examples/concepts/teams/tools/team_with_tool_hooks"},{"title":"Async Team with Tools","href":"/examples/concepts/teams/tools/async_team_with_tools"}]},{"group":"Advanced Input and Output","pages":[{"title":"Input as Dictionary","href":"/examples/concepts/teams/other/input_as_dict"},{"title":"Team Input as Image List","href":"/examples/concepts/teams/other/input_as_list"},{"title":"Team Input as Messages List","href":"/examples/concepts/teams/other/input_as_messages_list"},{"title":"Capturing Team Responses as Variables","href":"/examples/concepts/teams/other/response_as_variable"},{"title":"Few-Shot Learning with Customer Support Team","href":"/examples/concepts/teams/other/few_shot_learning"},{"title":"Interactive CLI Writing Team","href":"/examples/concepts/teams/other/run_as_cli"},{"title":"Team Run Cancellation","href":"/examples/concepts/teams/other/team_cancel_a_run"},{"title":"Team with Exponential Backoff","href":"/examples/concepts/teams/other/team_exponential_backoff"}]}]},{"group":"Workflows","pages":[{"group":"Basic Workflows","pages":[{"title":"Function instead of steps","href":"/examples/concepts/workflows/01-basic-workflows/function_instead_of_steps"},{"title":"Sequence of functions and agents","href":"/examples/concepts/workflows/01-basic-workflows/sequence_of_functions_and_agents"},{"title":"Sequence of steps","href":"/examples/concepts/workflows/01-basic-workflows/sequence_of_steps"},{"title":"Step with function","href":"/examples/concepts/workflows/01-basic-workflows/step_with_function"},{"title":"Step with custom function streaming on AgentOS","href":"/examples/concepts/workflows/01-basic-workflows/step_with_function_streaming_agentos"},{"title":"Class-based Executor","href":"/examples/concepts/workflows/01-basic-workflows/class_based_executor"},{"title":"Async Events Streaming","href":"/examples/concepts/workflows/01-basic-workflows/async_events_streaming"},{"title":"Workflow using steps","href":"/examples/concepts/workflows/01-basic-workflows/workflow_using_steps"},{"title":"Workflow using Steps with Nested Pattern","href":"/examples/concepts/workflows/01-basic-workflows/workflow_using_steps_nested"}]},{"group":"Conditional Execution","pages":[{"title":"Condition steps workflow","href":"/examples/concepts/workflows/02-workflows-conditional-execution/condition_steps_workflow_stream"},{"title":"Condition with list of steps","href":"/examples/concepts/workflows/02-workflows-conditional-execution/condition_with_list_of_steps"},{"title":"Condition and Parallel Steps Workflow","href":"/examples/concepts/workflows/02-workflows-conditional-execution/condition_and_parallel_steps_stream"}]},{"group":"Parallel Execution","pages":[{"title":"Parallel Steps Workflow","href":"/examples/concepts/workflows/04-workflows-parallel-execution/parallel_steps_workflow"},{"title":"Parallel and custom function step streaming on AgentOS","href":"/examples/concepts/workflows/04-workflows-parallel-execution/parallel_and_custom_function_step_streaming_agentos"}]},{"group":"Loop Execution","pages":[{"title":"Loop Steps Workflow","href":"/examples/concepts/workflows/03_workflows_loop_execution/loop_steps_workflow"},{"title":"Loop with Parallel Steps Workflow","href":"/examples/concepts/workflows/03_workflows_loop_execution/loop_with_parallel_steps_stream"}]},{"group":"Conditional Branching (Router)","pages":[{"title":"Conditional Branching Workflow","href":"/examples/concepts/workflows/05_workflows_conditional_branching/router_steps_workflow"},{"title":"Router with Loop Steps Workflow","href":"/examples/concepts/workflows/05_workflows_conditional_branching/router_with_loop_steps"},{"title":"Selector for Image Video Generation Pipelines","href":"/examples/concepts/workflows/05_workflows_conditional_branching/selector_for_image_video_generation_pipelines"}]},{"group":"Workflow History","pages":[{"title":"Single Step Continuous Execution Workflow","href":"/examples/concepts/workflows/06_workflows_advanced_concepts/workflow_history/01_single_step_continuous_execution_workflow"},{"title":"Workflow with History Enabled for Steps","href":"/examples/concepts/workflows/06_workflows_advanced_concepts/workflow_history/02_workflow_with_history_enabled_for_steps"},{"title":"Enable History for Specific Steps","href":"/examples/concepts/workflows/06_workflows_advanced_concepts/workflow_history/03_enable_history_for_step"},{"title":"Get History in Function","href":"/examples/concepts/workflows/06_workflows_advanced_concepts/workflow_history/04_get_history_in_function"},{"title":"Multi Purpose CLI App with Workflow History","href":"/examples/concepts/workflows/06_workflows_advanced_concepts/workflow_history/05_multi_purpose_cli"},{"title":"Intent Routing with Workflow History","href":"/examples/concepts/workflows/06_workflows_advanced_concepts/workflow_history/06_intent_routing_with_history"}]},{"group":"Conversational Workflows","pages":[{"title":"Basic Conversational Workflow","href":"/examples/concepts/workflows/06_workflows_advanced_concepts/conversational_workflows/basic_workflow_agent"},{"title":"Conversational Workflow with Conditional Step","href":"/examples/concepts/workflows/06_workflows_advanced_concepts/conversational_workflows/conversational_workflow_with_conditional_step"}]},{"group":"Advanced Concepts","pages":[{"title":"Early Stop a Workflow","href":"/examples/concepts/workflows/06_workflows_advanced_concepts/early_stop_workflow"},{"title":"Step with Function using Additional Data","href":"/examples/concepts/workflows/06_workflows_advanced_concepts/step_with_function_additional_data"},{"title":"Access Multiple Previous Steps Output","href":"/examples/concepts/workflows/06_workflows_advanced_concepts/access_multiple_previous_steps_output"},{"title":"Store Events and Events to Skip in a Workflow","href":"/examples/concepts/workflows/06_workflows_advanced_concepts/store_events_and_events_to_skip_in_a_workflow"},{"title":null,"href":"/examples/concepts/workflows/06_workflows_advanced_concepts/structured_io_at_each_step_level"},{"title":"Workflow with Input Schema Validation","href":"/examples/concepts/workflows/06_workflows_advanced_concepts/workflow_with_input_schema"},{"title":"Workflow Cancellation","href":"/examples/concepts/workflows/06_workflows_advanced_concepts/workflow_cancellation"},{"title":"Access Session State in Custom Python Function Step","href":"/examples/concepts/workflows/06_workflows_advanced_concepts/access_session_state_in_custom_python_function_step"},{"title":"Access Session State in Condition Evaluator Function","href":"/examples/concepts/workflows/06_workflows_advanced_concepts/access_session_state_in_condition_evaluator_function"},{"title":"Access Session State in Router Selector Function","href":"/examples/concepts/workflows/06_workflows_advanced_concepts/access_session_state_in_router_selector_function"}]}]},{"group":"Reasoning","pages":[{"group":"Agents","pages":[{"title":"Basic Reasoning Agent","href":"/examples/concepts/reasoning/agents/basic-cot"},{"title":"Capture Reasoning Content","href":"/examples/concepts/reasoning/agents/capture-reasoning-content-cot"},{"title":"Non-Reasoning Model Agent","href":"/examples/concepts/reasoning/agents/non-reasoning-model"}]},{"group":"Models","pages":[{"group":"Azure AI Foundry","pages":[{"title":"Azure AI Foundry","href":"/examples/concepts/reasoning/models/azure-ai-foundary/azure-ai-foundary"}]},{"group":"Azure OpenAI","pages":[{"title":"Azure OpenAI o1","href":"/examples/concepts/reasoning/models/azure-openai/o1"},{"title":"Azure OpenAI o3","href":"/examples/concepts/reasoning/models/azure-openai/o3-tools"},{"title":"Azure OpenAI GPT 4.1","href":"/examples/concepts/reasoning/models/azure-openai/reasoning-model-gpt4-1"}]},{"group":"DeepSeek","pages":[{"title":"DeepSeek Reasoner","href":"/examples/concepts/reasoning/models/deepseek/trolley-problem"}]},{"group":"Groq","pages":[{"title":"Groq DeepSeek R1","href":"/examples/concepts/reasoning/models/groq/groq-basic"},{"title":"Groq Claude + DeepSeek R1","href":"/examples/concepts/reasoning/models/groq/groq-plus-claude"}]},{"group":"Ollama","pages":[{"title":"Ollama DeepSeek R1","href":"/examples/concepts/reasoning/models/ollama/ollama-basic"}]},{"group":"OpenAI","pages":[{"title":"OpenAI o1 pro","href":"/examples/concepts/reasoning/models/openai/o1-pro"},{"title":"OpenAI gpt-5-mini with Tools","href":"/examples/concepts/reasoning/models/openai/o3-mini-tools"},{"title":"OpenAI gpt-5-mini","href":"/examples/concepts/reasoning/models/openai/o3-mini"},{"title":"OpenAI o4-mini","href":"/examples/concepts/reasoning/models/openai/o4-mini"},{"title":"OpenAI GPT-4.1","href":"/examples/concepts/reasoning/models/openai/reasoning-model-gpt-4-1"},{"title":"OpenAI o4-mini with reasoning summary","href":"/examples/concepts/reasoning/models/openai/reasoning-summary"},{"title":"OpenAI gpt-5-mini with reasoning effort","href":"/examples/concepts/reasoning/models/openai/reasoning-effort"}]},{"group":"xAI","pages":[{"title":"xAI Grok 3 Mini","href":"/examples/concepts/reasoning/models/xai/reasoning-effort"}]}]},{"group":"Teams","pages":[{"title":"Finance Team Chain of Thought","href":"/examples/concepts/reasoning/teams/finance_team_chain_of_thought"},{"title":"Team with Knowledge Tools","href":"/examples/concepts/reasoning/teams/knowledge-tool-team"},{"title":"Team with Reasoning Tools","href":"/examples/concepts/reasoning/teams/reasoning-finance-team"}]},{"group":"Tools","pages":[{"title":"Azure OpenAI with Reasoning Tools","href":"/examples/concepts/reasoning/tools/azure-openai-reasoning-tools"},{"title":"Capture Reasoning Content with Knowledge Tools","href":"/examples/concepts/reasoning/tools/capture-reasoning-content-knowledge-tools"},{"title":"Capture Reasoning Content with Reasoning Tools","href":"/examples/concepts/reasoning/tools/capture-reasoning-content-reasoning-tools"},{"title":"Cerebras Llama with Reasoning Tools","href":"/examples/concepts/reasoning/tools/cerebras-llama-reasoning-tools"},{"title":"Claude with Reasoning Tools","href":"/examples/concepts/reasoning/tools/claude-reasoning-tools"},{"title":"Gemini with Reasoning Tools","href":"/examples/concepts/reasoning/tools/gemini-reasoning-tools"},{"title":"Groq Llama Finance Agent","href":"/examples/concepts/reasoning/tools/groq-llama-finance-agent"},{"title":"Ollama with Reasoning Tools","href":"/examples/concepts/reasoning/tools/ollama-reasoning-tools"},{"title":"OpenAI with Reasoning Tools","href":"/examples/concepts/reasoning/tools/openai-reasoning-tools"},{"title":"Vercel with Reasoning Tools","href":"/examples/concepts/reasoning/tools/vercel-reasoning-tools"},{"title":"Reasoning Tools","href":"/examples/concepts/reasoning/tools/reasoning-tools"},{"title":"Reasoning Agent with Knowledge Tools","href":"/examples/concepts/reasoning/tools/knowledge-tools"}]}]},{"group":"Multimodal","pages":[{"title":"Audio Input Output","href":"/examples/concepts/multimodal/audio-input-output"},{"title":"Audio to text Agent","href":"/examples/concepts/multimodal/audio-to-text"},{"title":"Audio Sentiment Analysis Agent","href":"/examples/concepts/multimodal/audio-sentiment-analysis"},{"title":"Blog to Podcast Agent","href":"/examples/concepts/multimodal/blog-to-podcast"},{"title":"Multi-turn Audio Agent","href":"/examples/concepts/multimodal/audio-multi-turn"},{"title":"Audio Streaming Agent","href":"/examples/concepts/multimodal/audio-streaming"},{"title":"Generate Images with Intermediate Steps","href":"/examples/concepts/multimodal/generate-image"},{"title":"Generate Music using Models Lab","href":"/examples/concepts/multimodal/generate-music-agent"},{"title":"Generate Video using Models Lab","href":"/examples/concepts/multimodal/generate-video-models-lab"},{"title":"Generate Video using Replicate","href":"/examples/concepts/multimodal/generate-video-replicate"},{"title":"Image to Audio Agent","href":"/examples/concepts/multimodal/image-to-audio"},{"title":"Image to Image Agent","href":"/examples/concepts/multimodal/image-to-image"},{"title":"Image to Text Agent","href":"/examples/concepts/multimodal/image-to-text"},{"title":"Video Caption Agent","href":"/examples/concepts/multimodal/video-caption"},{"title":"Video to Shorts Agent","href":"/examples/concepts/multimodal/video-to-shorts"}]},{"group":"Knowledge","pages":[{"group":"Embedders","pages":[{"title":"AWS Bedrock Embedder","href":"/examples/concepts/knowledge/embedders/aws-bedrock-embedder"},{"title":"Azure OpenAI Embedder","href":"/examples/concepts/knowledge/embedders/azure-embedder"},{"title":"Cohere Embedder","href":"/examples/concepts/knowledge/embedders/cohere-embedder"},{"title":"Fireworks Embedder","href":"/examples/concepts/knowledge/embedders/fireworks-embedder"},{"title":"Gemini Embedder","href":"/examples/concepts/knowledge/embedders/gemini-embedder"},{"title":"Huggingface Embedder","href":"/examples/concepts/knowledge/embedders/huggingface-embedder"},{"title":"Mistral Embedder","href":"/examples/concepts/knowledge/embedders/mistral-embedder"},{"title":"Ollama Embedder","href":"/examples/concepts/knowledge/embedders/ollama-embedder"},{"title":"OpenAI Embedder","href":"/examples/concepts/knowledge/embedders/openai-embedder"},{"title":"Qdrant FastEmbed Embedder","href":"/examples/concepts/knowledge/embedders/qdrant-fastembed"},{"title":"Jina Embedder","href":"/examples/concepts/knowledge/embedders/jina-embedder"},{"title":"LangDB Embedder","href":"/examples/concepts/knowledge/embedders/langdb-embedder"},{"title":"Nebius Embedder","href":"/examples/concepts/knowledge/embedders/nebius-embedder"},{"title":"Sentence Transformer Embedder","href":"/examples/concepts/knowledge/embedders/sentence-transformer-embedder"},{"title":"Together Embedder","href":"/examples/concepts/knowledge/embedders/together-embedder"},{"title":"vLLM Embedder","href":"/examples/concepts/knowledge/embedders/vllm-embedder"},{"title":"VoyageAI Embedder","href":"/examples/concepts/knowledge/embedders/voyageai-embedder"}]},{"group":"Chunking","pages":[{"title":"Fixed Size Chunking","href":"/examples/concepts/knowledge/chunking/fixed-size-chunking"},{"title":"Agentic Chunking","href":"/examples/concepts/knowledge/chunking/agentic-chunking"},{"title":"Semantic Chunking","href":"/examples/concepts/knowledge/chunking/semantic-chunking"},{"title":"Recursive Chunking","href":"/examples/concepts/knowledge/chunking/recursive-chunking"},{"title":"Document Chunking","href":"/examples/concepts/knowledge/chunking/document-chunking"},{"title":"CSV Row Chunking","href":"/examples/concepts/knowledge/chunking/csv-row-chunking"},{"title":"Markdown Chunking","href":"/examples/concepts/knowledge/chunking/markdown-chunking"}]},{"group":"RAG","pages":[{"title":"Traditional RAG with PgVector","href":"/examples/concepts/knowledge/rag/traditional-rag-pgvector"},{"title":"Traditional RAG with LanceDB","href":"/examples/concepts/knowledge/rag/traditional-rag-lancedb"},{"title":"Agentic RAG with PgVector","href":"/examples/concepts/knowledge/rag/agentic-rag-pgvector"},{"title":"Agentic RAG with LanceDB","href":"/examples/concepts/knowledge/rag/agentic-rag-lancedb"},{"title":"Agentic RAG with Reranking","href":"/examples/concepts/knowledge/rag/agentic-rag-with-reranking"},{"title":"RAG with LanceDB and SQLite","href":"/examples/concepts/knowledge/rag/rag-with-lance-db-and-sqlite"},{"title":"RAG with Sentence Transformer","href":"/examples/concepts/knowledge/rag/rag_sentence_transformer"}]},{"group":"Filters","pages":[{"title":"Agentic Filtering","href":"/examples/concepts/knowledge/filters/agentic-filtering"},{"title":"Async Filtering","href":"/examples/concepts/knowledge/filters/async-filtering"},{"title":"Filtering","href":"/examples/concepts/knowledge/filters/filtering"},{"title":"Filtering on Load","href":"/examples/concepts/knowledge/filters/filtering_on_load"},{"title":"Filtering with Invalid Keys","href":"/examples/concepts/knowledge/filters/filtering_with_invalid_keys"},{"group":"VectorDBs","pages":[{"title":"Filtering on ChromaDB","href":"/examples/concepts/knowledge/filters/vector-dbs/filtering_chroma_db"},{"title":"Filtering on LanceDB","href":"/examples/concepts/knowledge/filters/vector-dbs/filtering_lance_db"},{"title":"Filtering on MilvusDB","href":"/examples/concepts/knowledge/filters/vector-dbs/filtering_milvus_db"},{"title":"Filtering on MongoDB","href":"/examples/concepts/knowledge/filters/vector-dbs/filtering_mongo_db"},{"title":"Filtering on PgVector","href":"/examples/concepts/knowledge/filters/vector-dbs/filtering_pgvector"},{"title":"Filtering on Pinecone","href":"/examples/concepts/knowledge/filters/vector-dbs/filtering_pinecone"},{"title":"Filtering on Weaviate","href":"/examples/concepts/knowledge/filters/vector-dbs/filtering_weaviate"},{"title":"Filtering on SurrealDB","href":"/examples/concepts/knowledge/filters/vector-dbs/filtering_surreal_db"}]}]},{"group":"Search Type","pages":[{"title":"Vector Search","href":"/examples/concepts/knowledge/search_type/vector-search"},{"title":"Keyword Search","href":"/examples/concepts/knowledge/search_type/keyword-search"},{"title":"Hybrid Search","href":"/examples/concepts/knowledge/search_type/hybrid-search"}]},{"group":"Remote Content","pages":[{"title":"GCS Content","href":"/examples/concepts/knowledge/remote-content/gcs-content"},{"title":"S3 Content","href":"/examples/concepts/knowledge/remote-content/s3-content"}]},{"group":"Basic Operations","pages":[{"title":"Include and Exclude Files","href":"/examples/concepts/knowledge/basic-operations/include-exclude-files"},{"title":"Remove Content","href":"/examples/concepts/knowledge/basic-operations/remove-content"},{"title":"Remove Vectors","href":"/examples/concepts/knowledge/basic-operations/remove-vectors"},{"title":"Skip If Exists","href":"/examples/concepts/knowledge/basic-operations/skip-if-exists"},{"title":"Sync Operations","href":"/examples/concepts/knowledge/basic-operations/sync-operations"}]},{"group":"Custom Retriever","pages":[{"title":"Custom Retriever","href":"/examples/concepts/knowledge/custom_retriever/custom-retriever"},{"title":"Async Custom Retriever","href":"/examples/concepts/knowledge/custom_retriever/async-custom-retriever"}]},{"group":"Readers","pages":[{"group":"ArXiv Readers","pages":[{"title":"ArXiv Reader","href":"/examples/concepts/knowledge/readers/arxiv/arxiv-reader"},{"title":"ArXiv Reader Async","href":"/examples/concepts/knowledge/readers/arxiv/arxiv-reader-async"}]},{"group":"CSV Readers","pages":[{"title":"CSV Reader","href":"/examples/concepts/knowledge/readers/csv/csv-reader"},{"title":"CSV Reader Async","href":"/examples/concepts/knowledge/readers/csv/csv-reader-async"},{"title":"CSV URL Reader","href":"/examples/concepts/knowledge/readers/csv/csv-url-reader"}]},{"group":"Field Labeled CSV Readers","pages":[{"title":"Field Labeled CSV Reader","href":"/examples/concepts/knowledge/readers/field-labeled-csv/field-labeled-csv-reader"}]},{"group":"Firecrawl Readers","pages":[{"title":"Firecrawl Reader","href":"/examples/concepts/knowledge/readers/firecrawl/firecrawl-reader"},{"title":"Firecrawl Reader (Async)","href":"/examples/concepts/knowledge/readers/firecrawl/firecrawl-reader-async"}]},{"group":"JSON Readers","pages":[{"title":"JSON Reader","href":"/examples/concepts/knowledge/readers/json/json-reader"},{"title":"JSON Reader (Async)","href":"/examples/concepts/knowledge/readers/json/json-reader-async"}]},{"group":"Markdown Readers","pages":[{"title":"Markdown Reader","href":"/examples/concepts/knowledge/readers/markdown/markdown-reader"},{"title":"Markdown Reader (Async)","href":"/examples/concepts/knowledge/readers/markdown/markdown-reader-async"}]},{"group":"PDF Readers","pages":[{"title":"PDF Reader","href":"/examples/concepts/knowledge/readers/pdf/pdf-reader"},{"title":"PDF Reader Async","href":"/examples/concepts/knowledge/readers/pdf/pdf-reader-async"},{"title":"PDF Password Reader","href":"/examples/concepts/knowledge/readers/pdf/pdf-password-reader"},{"title":"PDF URL Password Reader","href":"/examples/concepts/knowledge/readers/pdf/pdf-url-password-reader"}]},{"group":"PPTX Readers","pages":[{"title":"PPTX Reader","href":"/examples/concepts/knowledge/readers/pptx/pptx-reader"},{"title":"PPTX Reader Async","href":"/examples/concepts/knowledge/readers/pptx/pptx-reader-async"}]},{"group":"Website Readers","pages":[{"title":"Website Reader","href":"/examples/concepts/knowledge/readers/website/website-reader"},{"title":"Website Reader (Async)","href":"/examples/concepts/knowledge/readers/website/website-reader-async"}]},{"group":"Web Search Readers","pages":[{"title":"Web Search Reader","href":"/examples/concepts/knowledge/readers/web-search/web-search-reader"},{"title":"Web Search Reader (Async)","href":"/examples/concepts/knowledge/readers/web-search/web-search-reader-async"}]},{"group":"Wikipedia Readers","pages":[{"title":"Wikipedia Reader","href":"/examples/concepts/knowledge/readers/wikipedia/wikipedia-reader"},{"title":"Wikipedia Reader (Async)","href":"/examples/concepts/knowledge/readers/wikipedia/wikipedia-reader-async"}]},{"group":"YouTube Readers","pages":[{"title":"YouTube Reader","href":"/examples/concepts/knowledge/readers/youtube/youtube-reader"},{"title":"YouTube Reader (Async)","href":"/examples/concepts/knowledge/readers/youtube/youtube-reader-async"}]}]}]},{"group":"Memory","pages":[{"title":"Agent with Memory","href":"/examples/concepts/memory/01-agent-with-memory"},{"title":"Agentic Memory","href":"/examples/concepts/memory/02-agentic-memory"},{"title":"Share Memory between Agents","href":"/examples/concepts/memory/03-agents-share-memory"},{"title":"Custom Memory Manager","href":"/examples/concepts/memory/04-custom-memory-manager"},{"title":"Multi-user, Multi-session Chat","href":"/examples/concepts/memory/05-multi-user-multi-session-chat"},{"title":"Multi-User, Multi-Session Chat Concurrently","href":"/examples/concepts/memory/06-multi-user-multi-session-chat-concurrent"},{"title":"Share Memory and History between Agents","href":"/examples/concepts/memory/07-share-memory-and-history-between-agents"},{"group":"DB","pages":[{"title":"Memory with MongoDB","href":"/examples/concepts/memory/db/mem-mongodb-memory"},{"title":"Memory with PostgreSQL","href":"/examples/concepts/memory/db/mem-postgres-memory"},{"title":"Memory with SQLite","href":"/examples/concepts/memory/db/mem-sqlite-memory"},{"title":"Memory with Redis","href":"/examples/concepts/memory/db/mem-redis-memory"}]},{"group":"Memory Manager","pages":[{"title":"Standalone Memory","href":"/examples/concepts/memory/memory_manager/01-standalone-memory"},{"title":"Memory Creation","href":"/examples/concepts/memory/memory_manager/02-memory-creation"},{"title":"Custom Memory Instructions","href":"/examples/concepts/memory/memory_manager/03-custom-memory-instructions"},{"title":"Memory Search","href":"/examples/concepts/memory/memory_manager/04-memory-search"}]}]},{"group":"Storage","pages":[{"group":"MongoDB","pages":[{"title":"MongoDB for Agent","sidebarTitle":"Agent","href":"/examples/concepts/db/mongodb/mongodb_for_agent"},{"title":"MongoDB for Team","sidebarTitle":"Team","href":"/examples/concepts/db/mongodb/mongodb_for_team"},{"title":"MongoDB for Workflow","sidebarTitle":"Workflow","href":"/examples/concepts/db/mongodb/mongodb_for_workflow"},{"title":"Async MongoDB for Agent","sidebarTitle":"Agent","href":"/examples/concepts/db/mongodb/async_mongodb_for_agent"},{"title":"Async MongoDB for Team","sidebarTitle":"Team","href":"/examples/concepts/db/mongodb/async_mongodb_for_team"},{"title":"Async MongoDB for Workflow","sidebarTitle":"Workflow","href":"/examples/concepts/db/mongodb/async_mongodb_for_workflow"}]},{"group":"PostgreSQL","pages":[{"title":"Postgres for Agent","sidebarTitle":"Agent","href":"/examples/concepts/db/postgres/postgres_for_agent"},{"title":"Postgres for Team","sidebarTitle":"Team","href":"/examples/concepts/db/postgres/postgres_for_team"},{"title":"Postgres for Workflows","sidebarTitle":"Workflow","href":"/examples/concepts/db/postgres/postgres_for_workflow"},{"title":"Async Postgres for Agent","sidebarTitle":"Agent","href":"/examples/concepts/db/postgres/async_postgres_for_agent"},{"title":"Async Postgres for Team","sidebarTitle":"Team","href":"/examples/concepts/db/postgres/async_postgres_for_team"},{"title":"Async Postgres for Workflows","sidebarTitle":"Workflow","href":"/examples/concepts/db/postgres/async_postgres_for_workflow"}]},{"group":"SQLite","pages":[{"title":"Sqlite for Agent","sidebarTitle":"Agent","href":"/examples/concepts/db/sqlite/sqlite_for_agent"},{"title":"Sqlite for Team","sidebarTitle":"Team","href":"/examples/concepts/db/sqlite/sqlite_for_team"},{"title":"SQLite for Workflow","sidebarTitle":"Workflow","href":"/examples/concepts/db/sqlite/sqlite_for_workflow"},{"title":"Async Sqlite for Agent","sidebarTitle":"Agent","href":"/examples/concepts/db/sqlite/async_sqlite_for_agent"},{"title":"Async Sqlite for Team","sidebarTitle":"Team","href":"/examples/concepts/db/sqlite/async_sqlite_for_team"},{"title":"Async SQLite for Workflow","sidebarTitle":"Workflow","href":"/examples/concepts/db/sqlite/async_sqlite_for_workflow"}]},{"group":"GCS","pages":[{"title":"Google Cloud Storage for Agent","sidebarTitle":"Agent","href":"/examples/concepts/db/gcs/gcs_for_agent"},{"title":"GCS for Team","sidebarTitle":"Team","href":"/examples/concepts/db/gcs/gcs_for_team"},{"title":"GCS for Workflows","sidebarTitle":"Workflow","href":"/examples/concepts/db/gcs/gcs_for_workflow"}]},{"group":"SingleStore","pages":[{"title":"Singlestore for Agent","sidebarTitle":"Agent","href":"/examples/concepts/db/singlestore/singlestore_for_agent"},{"title":"Singlestore for Team","sidebarTitle":"Team","href":"/examples/concepts/db/singlestore/singlestore_for_team"},{"title":"Singlestore for Workflow","sidebarTitle":"Workflow","href":"/examples/concepts/db/singlestore/singlestore_for_workflow"}]},{"group":"In-Memory","pages":[{"title":"In-Memory Storage for Agents","sidebarTitle":"Agent","href":"/examples/concepts/db/in_memory/in_memory_for_agent"},{"title":"In-Memory Storage for Teams","sidebarTitle":"Team","href":"/examples/concepts/db/in_memory/in_memory_for_team"},{"title":"In-Memory Storage for Workflows","sidebarTitle":"Workflow","href":"/examples/concepts/db/in_memory/in_memory_for_workflow"}]},{"group":"JSON","pages":[{"title":"JSON for Agent","sidebarTitle":"Agent","href":"/examples/concepts/db/json/json_for_agent"},{"title":"JSON for Team","sidebarTitle":"Team","href":"/examples/concepts/db/json/json_for_team"},{"title":"JSON for Workflows","sidebarTitle":"Workflow","href":"/examples/concepts/db/json/json_for_workflow"}]},{"group":"Redis","pages":[{"title":"Redis for Agent","sidebarTitle":"Agent","href":"/examples/concepts/db/redis/redis_for_agent"},{"title":"Redis for Team","sidebarTitle":"Team","href":"/examples/concepts/db/redis/redis_for_team"},{"title":"Redis for Workflows","sidebarTitle":"Workflow","href":"/examples/concepts/db/redis/redis_for_workflow"}]},{"group":"Firestore","pages":[{"title":"Firestore for Agent","sidebarTitle":"Agent","href":"/examples/concepts/db/firestore/firestore_for_agent"},{"title":"Firestore for Team","sidebarTitle":"Team","href":"/examples/concepts/db/firestore/firestore_for_team"},{"title":"Firestore for Workflows","sidebarTitle":"Workflow","href":"/examples/concepts/db/firestore/firestore_for_workflow"}]},{"group":"DynamoDB","pages":[{"title":"DynamoDB for Agent","sidebarTitle":"Agent","href":"/examples/concepts/db/dynamodb/dynamodb_for_agent"},{"title":"DynamoDB for Team","sidebarTitle":"Team","href":"/examples/concepts/db/dynamodb/dynamodb_for_team"},{"title":"DynamoDB Workflow Storage","sidebarTitle":"Workflow","href":"/examples/concepts/db/dynamodb/dynamodb_for_workflow"}]},{"group":"MySQL","pages":[{"title":"MySQL for Agent","sidebarTitle":"Agent","href":"/examples/concepts/db/mysql/mysql_for_agent"},{"title":"MySQL for Team","sidebarTitle":"Team","href":"/examples/concepts/db/mysql/mysql_for_team"},{"title":"MySQL Workflow Storage","sidebarTitle":"Workflow","href":"/examples/concepts/db/mysql/mysql_for_workflow"}]},{"group":"Miscellaneous","pages":[{"title":"Selecting Custom Table Names","sidebarTitle":"Custom Tables","href":"/examples/concepts/db/miscellaneous/selecting_tables"}]}]},{"group":"Tools","pages":[{"group":"Search","pages":[{"title":"ArXiv Tools","href":"/examples/concepts/tools/search/arxiv"},{"title":"Baidu Search Tools","href":"/examples/concepts/tools/search/baidusearch"},{"title":"Crawl4ai Tools","href":"/examples/concepts/tools/search/crawl4ai"},{"title":"DuckDuckGo Search","href":"/examples/concepts/tools/search/duckduckgo"},{"title":"Exa Tools","href":"/examples/concepts/tools/search/exa"},{"title":"Google Search Tools","href":"/examples/concepts/tools/search/google_search"},{"title":"Hacker News Tools","href":"/examples/concepts/tools/search/hackernews"},{"title":"Linkup Tools","href":"/examples/concepts/tools/search/linkup"},{"title":"PubMed Tools","href":"/examples/concepts/tools/search/pubmed"},{"title":"SearxNG Tools","href":"/examples/concepts/tools/search/searxng"},{"title":"SerpAPI Tools","href":"/examples/concepts/tools/search/serpapi"},{"title":"Tavily Tools","href":"/examples/concepts/tools/search/tavily"},{"title":"Valyu Tools","href":"/examples/concepts/tools/search/valyu"},{"title":"Wikipedia Tools","href":"/examples/concepts/tools/search/wikipedia"},{"title":"Brave Search Tools","href":"/examples/concepts/tools/search/bravesearch"}]},{"group":"Social","pages":[{"title":"Discord Tools","href":"/examples/concepts/tools/social/discord"},{"title":"Email Tools","href":"/examples/concepts/tools/social/email"},{"title":"Reddit Tools","href":"/examples/concepts/tools/social/reddit"},{"title":"Slack Tools","href":"/examples/concepts/tools/social/slack"},{"title":"Twilio Tools","href":"/examples/concepts/tools/social/twilio"},{"title":"Webex Tools","href":"/examples/concepts/tools/social/webex"},{"title":"WhatsApp Tools","href":"/examples/concepts/tools/social/whatsapp"},{"title":"X (Twitter) Tools","href":"/examples/concepts/tools/social/x"}]},{"group":"Web Scraping","pages":[{"title":"Jina Reader Tools","href":"/examples/concepts/tools/web_scrape/jina_reader"},{"title":"Newspaper Tools","href":"/examples/concepts/tools/web_scrape/newspaper"},{"title":"Newspaper4k Tools","href":"/examples/concepts/tools/web_scrape/newspaper4k"},{"title":"Trafilatura Tools","href":"/examples/concepts/tools/web_scrape/trafilatura"},{"title":"Website Tools","href":"/examples/concepts/tools/web_scrape/website"},{"title":"Spider Tools","href":"/examples/concepts/tools/web_scrape/spider"},{"title":"Firecrawl Tools","href":"/examples/concepts/tools/web_scrape/firecrawl"},{"title":"Oxylabs Tools","href":"/examples/concepts/tools/web_scrape/oxylabs"},{"title":"BrightData Tools","href":"/examples/concepts/tools/web_scrape/brightdata"}]},{"group":"Database","pages":[{"title":"CSV Tools","href":"/examples/concepts/tools/database/csv"},{"title":"DuckDB Tools","href":"/examples/concepts/tools/database/duckdb"},{"title":"Google BigQuery Tools","href":"/examples/concepts/tools/database/google_bigquery"},{"title":"Neo4j Tools","href":"/examples/concepts/tools/database/neo4j"},{"title":null,"href":"/examples/concepts/tools/database/pandas"},{"title":"Postgres Tools","href":"/examples/concepts/tools/database/postgres"},{"title":"SQL Tools","href":"/examples/concepts/tools/database/sql"},{"title":"Zep Memory Tools","href":"/examples/concepts/tools/database/zep"},{"title":"Zep Async Memory Tools","href":"/examples/concepts/tools/database/zep_async"}]},{"group":"Local","pages":[{"title":"Calculator","href":"/examples/concepts/tools/local/calculator"},{"title":"Docker Tools","href":"/examples/concepts/tools/local/docker"},{"title":"File Tools","href":"/examples/concepts/tools/local/file"},{"title":"Local File System Tools","href":"/examples/concepts/tools/local/local_file_system"},{"title":"Python Tools","href":"/examples/concepts/tools/local/python"},{"title":"Shell Tools","href":"/examples/concepts/tools/local/shell"},{"title":"Sleep Tools","href":"/examples/concepts/tools/local/sleep"}]},{"group":"File Generation","pages":[{"title":"File Generation Tools","href":"/examples/concepts/tools/file-generation"}]},{"group":"Native Model Toolkit","pages":[{"title":"Azure OpenAI Tools","href":"/examples/concepts/tools/models/azure_openai"},{"title":"Morph Tools","href":"/examples/concepts/tools/models/morph"},{"title":"Nebius Tools","href":"/examples/concepts/tools/models/nebius"},{"group":"OpenAI","pages":[{"title":"Recipe RAG Image Agent","href":"/examples/concepts/tools/models/openai/rag-recipe-image"},{"title":"Meeting Summary Agent","href":"/examples/concepts/tools/models/openai/meeting-summarizer"}]}]},{"group":"APIs \u0026 External Services","pages":[{"title":"Airflow Tools","href":"/examples/concepts/tools/others/airflow"},{"title":"Apify Tools","href":"/examples/concepts/tools/others/apify"},{"title":"AWS Lambda Tools","href":"/examples/concepts/tools/others/aws_lambda"},{"title":"AWS SES Tools","href":"/examples/concepts/tools/others/aws_ses"},{"title":"Bitbucket Tools","href":"/examples/concepts/tools/others/bitbucket"},{"title":"Brandfetch Tools","href":"/examples/concepts/tools/others/brandfetch"},{"title":"Cal.com Tools","href":"/examples/concepts/tools/others/calcom"},{"title":"ClickUp Tools","href":"/examples/concepts/tools/others/clickup"},{"title":"Composio Tools","href":"/examples/concepts/tools/others/composio"},{"title":"Confluence Tools","href":"/examples/concepts/tools/others/confluence"},{"title":"Custom API Tools","href":"/examples/concepts/tools/others/custom_api"},{"title":"DALL-E Tools","href":"/examples/concepts/tools/others/dalle"},{"title":"Daytona Code Execution","href":"/examples/concepts/tools/others/daytona"},{"title":"Desi Vocal Tools","href":"/examples/concepts/tools/others/desi_vocal"},{"title":"E2B Code Execution","href":"/examples/concepts/tools/others/e2b"},{"title":"EVM Tools","href":"/examples/concepts/tools/others/evm"},{"title":"Fal Tools","href":"/examples/concepts/tools/others/fal"},{"title":"Financial Datasets Tools","href":"/examples/concepts/tools/others/financial_datasets"},{"title":"Giphy Tools","href":"/examples/concepts/tools/others/giphy"},{"title":"GitHub Tools","href":"/examples/concepts/tools/others/github"},{"title":"Google Calendar Tools","href":"/examples/concepts/tools/others/google_calendar"},{"title":"Google Maps Tools","href":"/examples/concepts/tools/others/google_maps"},{"title":"Jira Tools","href":"/examples/concepts/tools/others/jira"},{"title":"Knowledge Tools","href":"/examples/concepts/tools/others/knowledge"},{"title":"Linear Tools","href":"/examples/concepts/tools/others/linear"},{"title":"Luma Labs Tools","href":"/examples/concepts/tools/others/lumalabs"},{"title":"Mem0 Tools","href":"/examples/concepts/tools/others/mem0"},{"title":"Memori Tools","href":"/examples/concepts/tools/others/memori"},{"title":"MLX Transcribe Tools","href":"/examples/concepts/tools/others/mlx_transcribe"},{"title":"Models Labs Tools","href":"/examples/concepts/tools/others/models_labs"},{"title":"OpenCV Tools","href":"/examples/concepts/tools/others/opencv"},{"title":"OpenBB Tools","href":"/examples/concepts/tools/others/openbb"},{"title":"Reasoning Tools","href":"/examples/concepts/tools/others/reasoning"},{"title":"Replicate Tools","href":"/examples/concepts/tools/others/replicate"},{"title":"Resend Tools","href":"/examples/concepts/tools/others/resend"},{"title":"Todoist Tools","href":"/examples/concepts/tools/others/todoist"},{"title":"User Control Flow Tools","href":"/examples/concepts/tools/others/user_control_flow"},{"title":"Visualization Tools","href":"/examples/concepts/tools/others/visualization"},{"title":"Web Tools","href":"/examples/concepts/tools/others/webtools"},{"title":"YFinance Tools","href":"/examples/concepts/tools/others/yfinance"},{"title":"YouTube Tools","href":"/examples/concepts/tools/others/youtube"},{"title":"Zendesk Tools","href":"/examples/concepts/tools/others/zendesk"}]},{"group":"MCP","pages":[{"title":"Airbnb MCP agent","href":"/examples/concepts/tools/mcp/airbnb"},{"title":"GitHub MCP agent","href":"/examples/concepts/tools/mcp/github"},{"title":"Notion MCP agent","href":"/examples/concepts/tools/mcp/notion"},{"title":"Pipedream Auth","href":"/examples/concepts/tools/mcp/pipedream_auth"},{"title":"Pipedream Slack","href":"/examples/concepts/tools/mcp/pipedream_slack"},{"title":"Pipedream Google Calendar","href":"/examples/concepts/tools/mcp/pipedream_google_calendar"},{"title":"Pipedream LinkedIn","href":"/examples/concepts/tools/mcp/pipedream_linkedin"},{"title":"Stagehand MCP agent","href":"/examples/concepts/tools/mcp/stagehand"},{"title":"Stripe MCP agent","sidebarTitle":"Stripe","href":"/examples/concepts/tools/mcp/stripe"},{"title":"Supabase MCP agent","href":"/examples/concepts/tools/mcp/supabase"}]}]},{"group":"Vector Databases","pages":[{"group":"Cassandra","pages":[{"title":"Cassandra","href":"/examples/concepts/vectordb/cassandra-db/cassandra-db"},{"title":"Cassandra Async","href":"/examples/concepts/vectordb/cassandra-db/async-cassandra-db"}]},{"group":"ChromaDB","pages":[{"title":"ChromaDB","href":"/examples/concepts/vectordb/chroma-db/chroma-db"},{"title":"ChromaDB Async","href":"/examples/concepts/vectordb/chroma-db/async-chroma-db"}]},{"group":"ClickHouse","pages":[{"title":"ClickHouse","href":"/examples/concepts/vectordb/clickhouse-db/clickhouse-db"},{"title":"ClickHouse Async","href":"/examples/concepts/vectordb/clickhouse-db/async-clickhouse-db"}]},{"group":"Couchbase","pages":[{"title":"Couchbase","href":"/examples/concepts/vectordb/couchbase-db/couchbase-db"},{"title":"Couchbase Async","href":"/examples/concepts/vectordb/couchbase-db/async-couchbase-db"}]},{"group":"LanceDB","pages":[{"title":"LanceDB","href":"/examples/concepts/vectordb/lance-db/lance-db"},{"title":"LanceDB Async","href":"/examples/concepts/vectordb/lance-db/async-lance-db"},{"title":"LanceDB Hybrid Search","href":"/examples/concepts/vectordb/lance-db/lance-db-hybrid-search"}]},{"group":"LangChain","pages":[{"title":"LangChain","href":"/examples/concepts/vectordb/langchain/langchain-db"},{"title":"LangChain Async","href":"/examples/concepts/vectordb/langchain/async-langchain-db"}]},{"group":"LightRAG","pages":[{"title":"LightRAG","href":"/examples/concepts/vectordb/lightrag/lightrag-db"},{"title":"LightRAG Async","href":"/examples/concepts/vectordb/lightrag/async-lightrag-db"}]},{"group":"LlamaIndex","pages":[{"title":"LlamaIndex","href":"/examples/concepts/vectordb/llamaindex-db/llamaindex-db"},{"title":"LlamaIndex Async","href":"/examples/concepts/vectordb/llamaindex-db/async-llamaindex-db"}]},{"group":"Milvus","pages":[{"title":"Milvus","href":"/examples/concepts/vectordb/milvus-db/milvus-db"},{"title":"Milvus Async","href":"/examples/concepts/vectordb/milvus-db/async-milvus-db"},{"title":"Milvus Hybrid Search","href":"/examples/concepts/vectordb/milvus-db/milvus-db-hybrid-search"},{"title":"Milvus Async Hybrid Search","href":"/examples/concepts/vectordb/milvus-db/async-milvus-db-hybrid-search"}]},{"group":"MongoDB","pages":[{"title":"MongoDB","href":"/examples/concepts/vectordb/mongo-db/mongo-db"},{"title":"MongoDB Async","href":"/examples/concepts/vectordb/mongo-db/async-mongo-db"},{"title":"MongoDB Hybrid Search","href":"/examples/concepts/vectordb/mongo-db/mongo-db-hybrid-search"},{"title":"MongoDB Cosmos vCore","href":"/examples/concepts/vectordb/mongo-db/cosmos-mongodb-vcore"}]},{"group":"PgVector","pages":[{"title":"PgVector","href":"/examples/concepts/vectordb/pgvector/pgvector-db"},{"title":"PgVector Async","href":"/examples/concepts/vectordb/pgvector/async-pgvector-db"},{"title":"PgVector Hybrid Search","href":"/examples/concepts/vectordb/pgvector/pgvector-hybrid-search"}]},{"group":"Pinecone","pages":[{"title":"Pinecone","href":"/examples/concepts/vectordb/pinecone-db/pinecone-db"},{"title":"Pinecone Async","href":"/examples/concepts/vectordb/pinecone-db/async-pinecone-db"}]},{"group":"Qdrant","pages":[{"title":"Qdrant","href":"/examples/concepts/vectordb/qdrant-db/qdrant-db"},{"title":"Qdrant Async","href":"/examples/concepts/vectordb/qdrant-db/async-qdrant-db"},{"title":"Qdrant Hybrid Search","href":"/examples/concepts/vectordb/qdrant-db/qdrant-db-hybrid-search"}]},{"group":"SingleStore","pages":[{"title":"SingleStore","href":"/examples/concepts/vectordb/singlestore-db/singlestore-db"},{"title":"SingleStore Async","href":"/examples/concepts/vectordb/singlestore-db/async-singlestore-db"}]},{"group":"SurrealDB","pages":[{"title":"SurrealDB","href":"/examples/concepts/vectordb/surrealdb/surreal-db"},{"title":"SurrealDB Async","href":"/examples/concepts/vectordb/surrealdb/async-surreal-db"}]},{"group":"Upstash","pages":[{"title":"Upstash","href":"/examples/concepts/vectordb/upstash-db/upstash-db"},{"title":"Upstash Async","href":"/examples/concepts/vectordb/upstash-db/async-upstash-db"}]},{"group":"Weaviate","pages":[{"title":"Weaviate","href":"/examples/concepts/vectordb/weaviate-db/weaviate-db"},{"title":"Weaviate Async","href":"/examples/concepts/vectordb/weaviate-db/async-weaviate-db"},{"title":"Weaviate Hybrid Search","href":"/examples/concepts/vectordb/weaviate-db/weaviate-db-hybrid-search"}]}]},{"group":"Evals","pages":[{"group":"Accuracy","pages":[{"title":"Simple Accuracy","href":"/examples/concepts/evals/accuracy/basic"},{"title":"Async Accuracy Evaluation","href":"/examples/concepts/evals/accuracy/accuracy_async"},{"title":"Comparison Accuracy Evaluation","href":"/examples/concepts/evals/accuracy/accuracy_comparison"},{"title":"Accuracy with Database Logging","href":"/examples/concepts/evals/accuracy/accuracy_db_logging"},{"title":"Accuracy with Given Answer","href":"/examples/concepts/evals/accuracy/accuracy_with_given_answer"},{"title":"Accuracy with Tools","href":"/examples/concepts/evals/accuracy/accuracy_with_tools"},{"title":"Accuracy with Teams","href":"/examples/concepts/evals/accuracy/accuracy_with_teams"}]},{"group":"Performance","pages":[{"title":"Performance on Agent Response","href":"/examples/concepts/evals/performance/performance_simple_response"},{"title":"Performance on Agent Instantiation","href":"/examples/concepts/evals/performance/performance_agent_instantiation"},{"title":"Performance on Agent Instantiation with Tool","href":"/examples/concepts/evals/performance/performance_instantiation_with_tool"},{"title":"Performance with Teams","href":"/examples/concepts/evals/performance/performance_team_instantiation"},{"title":"Performance on Agent with Storage","href":"/examples/concepts/evals/performance/performance_with_storage"},{"title":"Async Performance Evaluation","href":"/examples/concepts/evals/performance/performance_async"},{"title":"Performance with Memory Updates","href":"/examples/concepts/evals/performance/performance_with_memory"},{"title":"Team Performance with Memory","href":"/examples/concepts/evals/performance/performance_team_with_memory"},{"title":"Performance with Database Logging","href":"/examples/concepts/evals/performance/performance_db_logging"}]},{"group":"Reliability","pages":[{"title":"Reliability with Single Tool","href":"/examples/concepts/evals/reliability/basic"},{"title":"Async Reliability Evaluation","href":"/examples/concepts/evals/reliability/reliability_async"},{"title":"Reliability with Database Logging","href":"/examples/concepts/evals/reliability/reliability_db_logging"},{"title":"Single Tool Reliability","href":"/examples/concepts/evals/reliability/reliability_single_tool"},{"title":"Reliability with Multiple Tools","href":"/examples/concepts/evals/reliability/reliability_with_multiple_tools"},{"title":"Reliability with Teams","href":"/examples/concepts/evals/reliability/reliability_with_teams"},{"title":"Team Reliability with Stock Tools","href":"/examples/concepts/evals/reliability/reliability_team_advanced"}]}]},{"group":"Other Integrations","pages":[{"group":"Discord","pages":[{"title":"Basic","href":"/examples/concepts/integrations/discord/basic"},{"title":"Agent with Media","href":"/examples/concepts/integrations/discord/agent_with_media"},{"title":"Agent with User Memory","href":"/examples/concepts/integrations/discord/agent_with_user_memory"}]},{"group":"Observability","pages":[{"title":"Agent Ops","href":"/examples/concepts/integrations/observability/agent_ops"},{"title":"Atla","href":"/examples/concepts/integrations/observability/atla_op"},{"title":"Arize Phoenix via OpenInference","href":"/examples/concepts/integrations/observability/arize-phoenix-via-openinference"},{"title":"Arize Phoenix via OpenInference (Local Collector)","href":"/examples/concepts/integrations/observability/arize-phoenix-via-openinference-local"},{"title":"Langfuse Via Openinference","href":"/examples/concepts/integrations/observability/langfuse_via_openinference"},{"title":"Langfuse Via Openinference (With Structured Output)","href":"/examples/concepts/integrations/observability/langfuse_via_openinference_response_model"},{"title":"Langfuse Via Openlit","href":"/examples/concepts/integrations/observability/langfuse_via_openlit"},{"title":"Teams with Langfuse Via Openinference","href":"/examples/concepts/integrations/observability/langfuse_via_openinference_team"},{"title":"LangSmith","href":"/examples/concepts/integrations/observability/langsmith-via-openinference"},{"title":"Langtrace","href":"/examples/concepts/integrations/observability/langtrace-op"},{"title":"Langwatch","href":"/examples/concepts/integrations/observability/langwatch_op"},{"title":"Maxim","href":"/examples/concepts/integrations/observability/maxim"},{"title":"Weave","href":"/examples/concepts/integrations/observability/weave-op"}]},{"group":"Testing","pages":[{"title":"Scenario Testing","href":"/examples/concepts/integrations/testing/scenario/basic"}]}]}]},{"group":"Models","pages":[{"group":"Anthropic","pages":[{"title":"Basic Agent","href":"/examples/models/anthropic/basic"},{"title":"Streaming Agent","href":"/examples/models/anthropic/basic_stream"},{"title":"Code Execution Tool","href":"/examples/models/anthropic/code_execution"},{"title":"Claude Agent Skills","href":"/examples/models/anthropic/skills"},{"title":"Agent with Tools","href":"/examples/models/anthropic/tool_use"},{"title":"Agent with Structured Outputs","href":"/examples/models/anthropic/structured_output"},{"title":"Agent with Knowledge","href":"/examples/models/anthropic/knowledge"},{"title":"File Upload","href":"/examples/models/anthropic/file_upload"},{"title":"Image Input Bytes Content","href":"/examples/models/anthropic/image_input_bytes"},{"title":"Image Input URL","href":"/examples/models/anthropic/image_input_url"},{"title":"PDF Input Bytes Agent","href":"/examples/models/anthropic/pdf_input_bytes"},{"title":"PDF Input Local Agent","href":"/examples/models/anthropic/pdf_input_local"},{"title":"PDF Input URL Agent","href":"/examples/models/anthropic/pdf_input_url"},{"title":"Prompt Caching","href":"/examples/models/anthropic/prompt_caching"},{"title":"Response Caching","href":"/examples/models/anthropic/cache_response"},{"title":"Web Fetch","href":"/examples/models/anthropic/web_fetch"}]},{"group":"AWS Bedrock","pages":[{"title":"Basic Agent","href":"/examples/models/aws/bedrock/basic"},{"title":"Streaming Agent","href":"/examples/models/aws/bedrock/basic_stream"},{"title":"Agent with Tools","href":"/examples/models/aws/bedrock/tool_use"},{"title":"Agent with Structured Outputs","href":"/examples/models/aws/bedrock/structured_output"},{"title":"Agent with Storage","href":"/examples/models/aws/bedrock/storage"},{"title":"Agent with Knowledge","href":"/examples/models/aws/bedrock/knowledge"},{"title":"Agent with Image Input","href":"/examples/models/aws/bedrock/image_agent"}]},{"group":"AWS Bedrock Claude","pages":[{"title":"Basic Agent","href":"/examples/models/aws/claude/basic"},{"title":"Streaming Agent","href":"/examples/models/aws/claude/basic_stream"},{"title":"Agent with Tools","href":"/examples/models/aws/claude/tool_use"},{"title":"Agent with Structured Outputs","href":"/examples/models/aws/claude/structured_output"},{"title":"Agent with Storage","href":"/examples/models/aws/claude/storage"},{"title":"Agent with Knowledge","href":"/examples/models/aws/claude/knowledge"}]},{"group":"Azure AI Foundry","pages":[{"title":"Basic Agent","href":"/examples/models/azure/ai_foundry/basic"},{"title":"Basic Streaming","href":"/examples/models/azure/ai_foundry/basic_stream"},{"title":"Agent with Knowledge Base","href":"/examples/models/azure/ai_foundry/knowledge"},{"title":"Agent with Storage","href":"/examples/models/azure/ai_foundry/storage"},{"title":"Agent with Structured Outputs","href":"/examples/models/azure/ai_foundry/structured_output"},{"title":"Agent with Tools","href":"/examples/models/azure/ai_foundry/tool_use"}]},{"group":"Azure OpenAI","pages":[{"title":"Basic Agent","href":"/examples/models/azure/openai/basic"},{"title":"Basic Streaming","href":"/examples/models/azure/openai/basic_stream"},{"title":"Agent with Knowledge Base","href":"/examples/models/azure/openai/knowledge"},{"title":"Agent with Storage","href":"/examples/models/azure/openai/storage"},{"title":"Agent with Structured Outputs","href":"/examples/models/azure/openai/structured_output"},{"title":"Agent with Tools","href":"/examples/models/azure/openai/tool_use"}]},{"group":"Cerebras","pages":[{"title":"Basic Agent","href":"/examples/models/cerebras/basic"},{"title":"Streaming Agent","href":"/examples/models/cerebras/basic_stream"},{"title":"Agent with Tools","href":"/examples/models/cerebras/tool_use"},{"title":"Agent with Structured Outputs","href":"/examples/models/cerebras/structured_output"},{"title":"Agent with Storage","href":"/examples/models/cerebras/storage"},{"title":"Agent with Knowledge Base","href":"/examples/models/cerebras/knowledge"}]},{"group":"Cerebras OpenAI","pages":[{"title":"Basic Agent","href":"/examples/models/cerebras_openai/basic"},{"title":"Streaming Agent","href":"/examples/models/cerebras_openai/basic_stream"},{"title":"Agent with Tools","href":"/examples/models/cerebras_openai/tool_use"},{"title":"Agent with Structured Outputs","href":"/examples/models/cerebras_openai/structured_output"},{"title":"Agent with Storage","href":"/examples/models/cerebras_openai/storage"},{"title":"Agent with Storage","href":"/examples/models/cerebras_openai/knowledge"}]},{"group":"Cohere","pages":[{"title":"Basic Agent","href":"/examples/models/cohere/basic"},{"title":"Streaming Agent","href":"/examples/models/cohere/basic_stream"},{"title":"Image Agent","href":"/examples/models/cohere/image_agent"},{"title":"Agent with Tools","href":"/examples/models/cohere/tool_use"},{"title":"Agent with Structured Outputs","href":"/examples/models/cohere/structured_output"},{"title":"Agent with Storage","href":"/examples/models/cohere/storage"},{"title":"Agent with Knowledge","href":"/examples/models/cohere/knowledge"}]},{"group":"Dashscope","pages":[{"title":"Basic Agent","href":"/examples/models/dashscope/basic"},{"title":"Basic Agent with Streaming","href":"/examples/models/dashscope/basic_stream"},{"title":"Agent with Tools","href":"/examples/models/dashscope/tool_use"},{"title":"Image Agent","href":"/examples/models/dashscope/image_agent"},{"title":"Image Agent with Bytes","href":"/examples/models/dashscope/image_agent_bytes"},{"title":"Structured Output Agent","href":"/examples/models/dashscope/structured_output"},{"title":"Thinking Agent","href":"/examples/models/dashscope/thinking_agent"}]},{"group":"DeepInfra","pages":[{"title":"Basic Agent","href":"/examples/models/deepinfra/basic"},{"title":"Streaming Agent","description":null,"href":"/examples/models/deepinfra/basic_stream"},{"title":"Agent with Tools","href":"/examples/models/deepinfra/tool_use"},{"title":"Agent with Structured Outputs","description":null,"href":"/examples/models/deepinfra/structured_output"}]},{"group":"DeepSeek","pages":[{"title":"Basic Agent","href":"/examples/models/deepseek/basic"},{"title":"Streaming Agent","href":"/examples/models/deepseek/basic_stream"},{"title":"Agent with Tools","href":"/examples/models/deepseek/tool_use"},{"title":"Agent with Structured Outputs","href":"/examples/models/deepseek/structured_output"}]},{"group":"Fireworks","pages":[{"title":"Basic Agent","href":"/examples/models/fireworks/basic"},{"title":"Streaming Agent","href":"/examples/models/fireworks/basic_stream"},{"title":"Agent with Tools","href":"/examples/models/fireworks/tool_use"},{"title":"Agent with Structured Outputs","href":"/examples/models/fireworks/structured_output"}]},{"group":"Gemini","pages":[{"title":"Basic Agent","href":"/examples/models/gemini/basic"},{"title":"Streaming Agent","href":"/examples/models/gemini/basic_stream"},{"title":"Agent with Structured Outputs","href":"/examples/models/gemini/structured_output"},{"title":"Agent with Tools","href":"/examples/models/gemini/tool_use"},{"title":"Agent with Storage","href":"/examples/models/gemini/storage"},{"title":"Agent with Knowledge","href":"/examples/models/gemini/knowledge"},{"title":"Image Agent","href":"/examples/models/gemini/image_input"},{"title":"Image Agent with File Upload","href":"/examples/models/gemini/image_input_file_upload"},{"title":"Image Generation Agent","href":"/examples/models/gemini/image_generation"},{"title":"Image Generation Agent (Streaming)","href":"/examples/models/gemini/image_generation_stream"},{"title":"Image Editing Agent","href":"/examples/models/gemini/image_editing"},{"title":"Imagen Tool with OpenAI","href":"/examples/models/gemini/imagen_tool"},{"title":"Advanced Imagen Tool with Vertex AI","href":"/examples/models/gemini/imagen_tool_advanced"},{"title":"Agent with Vertex AI","href":"/examples/models/gemini/vertexai"},{"title":"Agent with Grounding","href":"/examples/models/gemini/grounding"},{"title":"Agent with URL Context","href":"/examples/models/gemini/url_context"},{"title":"Agent with URL Context and Search","href":"/examples/models/gemini/url_context_with_search"},{"title":"Flash Thinking Agent","href":"/examples/models/gemini/flash_thinking"},{"title":"Audio Input (Bytes Content)","href":"/examples/models/gemini/audio_input_bytes_content"},{"title":"Audio Input (Upload the file)","href":"/examples/models/gemini/audio_input_file_upload"},{"title":"Audio Input (Local file)","href":"/examples/models/gemini/audio_input_local_file_upload"},{"title":"Agent with PDF Input (Local file)","href":"/examples/models/gemini/pdf_input_local"},{"title":"Agent with PDF Input (URL)","href":"/examples/models/gemini/pdf_input_url"},{"title":"Video Input (Bytes Content)","href":"/examples/models/gemini/video_input_bytes_content"},{"title":"Video Input (File Upload)","href":"/examples/models/gemini/video_input_file_upload"},{"title":"Video Input (Local File Upload)","href":"/examples/models/gemini/video_input_local_file_upload"}]},{"group":"Groq","pages":[{"title":"Basic Agent","href":"/examples/models/groq/basic"},{"title":"Streaming Agent","href":"/examples/models/groq/basic_stream"},{"title":"Agent with Tools","href":"/examples/models/groq/tool_use"},{"title":"Agent with Structured Outputs","href":"/examples/models/groq/structured_output"},{"title":"Agent with Storage","href":"/examples/models/groq/storage"},{"title":"Agent with Knowledge","href":"/examples/models/groq/knowledge"},{"title":"Image Agent","href":"/examples/models/groq/image_agent"},{"title":"Deep Knowledge Agent","href":"/examples/models/groq/deep_knowledge"},{"title":"Browser Search Agent","href":"/examples/models/groq/browser_search"},{"title":"Agent with Metrics","href":"/examples/models/groq/metrics"},{"title":"Reasoning Agent","href":"/examples/models/groq/reasoning_agent"},{"title":"Transcription Agent","href":"/examples/models/groq/transcription_agent"},{"title":"Translation Agent","href":"/examples/models/groq/translation_agent"}]},{"group":"Hugging Face","pages":[{"title":"Basic Agent","href":"/examples/models/huggingface/basic"},{"title":"Streaming Agent","href":"/examples/models/huggingface/basic_stream"},{"title":"Async Basic.Py","href":"/examples/models/huggingface/async_basic"},{"title":"Async Basic Stream.Py","href":"/examples/models/huggingface/async_basic_stream"},{"title":"Llama Essay Writer","href":"/examples/models/huggingface/llama_essay_writer"},{"title":"Tool Use","href":"/examples/models/huggingface/tool_use"}]},{"group":"IBM","pages":[{"title":"Basic Agent","href":"/examples/models/ibm/basic"},{"title":"Streaming Basic Agent","href":"/examples/models/ibm/basic_stream"},{"title":"Async Streaming Agent","href":"/examples/models/ibm/async_basic_stream"},{"title":"Async Basic Agent","href":"/examples/models/ibm/async_basic"},{"title":"Agent with Tools","href":"/examples/models/ibm/tool_use"},{"title":"Agent with Async Tool Usage","href":"/examples/models/ibm/async_tool_use"},{"title":"Agent with Structured Output","href":"/examples/models/ibm/structured_output"},{"title":"Agent with Storage","href":"/examples/models/ibm/storage"},{"title":"RAG Agent","href":"/examples/models/ibm/knowledge"},{"title":"Image Agent","href":"/examples/models/ibm/image_agent_bytes"}]},{"group":"LangDB","pages":[{"title":"Basic Agent","href":"/examples/models/langdb/basic"},{"title":"Basic Streaming Agent","href":"/examples/models/langdb/basic_stream"},{"title":"Data Analyst Agent","href":"/examples/models/langdb/data_analyst"},{"title":"Structured Output","href":"/examples/models/langdb/structured_output"},{"title":"Web Search Agent","href":"/examples/models/langdb/tool_use"}]},{"group":"LlamaCpp","pages":[{"title":"Basic","href":"/examples/models/llama_cpp/basic"},{"title":"Basic Stream","href":"/examples/models/llama_cpp/basic_stream"},{"title":"Structured Output","href":"/examples/models/llama_cpp/structured_output"},{"title":"Agent with Tools","href":"/examples/models/llama_cpp/tool_use"},{"title":"Agent with Tools Stream","href":"/examples/models/llama_cpp/tool_use_stream"}]},{"group":"LM Studio","pages":[{"title":"Basic Agent","href":"/examples/models/lmstudio/basic"},{"title":"Streaming Agent","href":"/examples/models/lmstudio/basic_stream"},{"title":"Agent with Tools","href":"/examples/models/lmstudio/tool_use"},{"title":"Agent with Structured Outputs","href":"/examples/models/lmstudio/structured_output"},{"title":"Agent with Storage","href":"/examples/models/lmstudio/storage"},{"title":"Agent with Knowledge","href":"/examples/models/lmstudio/knowledge"},{"title":"Image Agent","href":"/examples/models/lmstudio/image_agent"}]},{"group":"LiteLLM","pages":[{"title":"Basic Agent","href":"/examples/models/litellm/basic"},{"title":"Streaming Agent","href":"/examples/models/litellm/basic_stream"},{"title":"Async Basic Agent","href":"/examples/models/litellm/async_basic"},{"title":"Async Basic Streaming Agent","href":"/examples/models/litellm/async_basic_stream"},{"title":"Agent with Tools","href":"/examples/models/litellm/tool_use"},{"title":"Async Tool Use","href":"/examples/models/litellm/async_tool_use"},{"title":"Audio Input Agent","href":"/examples/models/litellm/audio_input_agent"},{"title":"Agent with Knowledge","href":"/examples/models/litellm/knowledge"},{"title":"Agent with Structured Outputs","href":"/examples/models/litellm/structured_output"},{"title":"Agent with Storage","href":"/examples/models/litellm/storage"}]},{"group":"LiteLLM OpenAI","pages":[{"title":"Basic Agent","href":"/examples/models/litellm_openai/basic"},{"title":"Streaming Agent","href":"/examples/models/litellm_openai/basic_stream"},{"title":"Agent with Tools","href":"/examples/models/litellm_openai/tool_use"}]},{"group":"Meta","pages":[{"title":"Basic Agent","href":"/examples/models/meta/basic"},{"title":"Streaming Agent","href":"/examples/models/meta/basic_stream"},{"title":"Asynchronous Agent","href":"/examples/models/meta/async_basic"},{"title":"Asynchronous Streaming Agent","href":"/examples/models/meta/async_stream"},{"title":"Agent with Tools","href":"/examples/models/meta/tool_use"},{"title":"Agent with Async Tool Usage","href":"/examples/models/meta/async_tool_use"},{"title":"Agent with Structured Outputs","href":"/examples/models/meta/structured_output"},{"title":"Asynchronous Agent with Image Input","href":"/examples/models/meta/image_input_bytes"},{"title":"Agent With Knowledge","href":"/examples/models/meta/knowledge"},{"title":"Agent with Memory","href":"/examples/models/meta/memory"}]},{"group":"Mistral","pages":[{"title":"Basic Agent","href":"/examples/models/mistral/basic"},{"title":"Basic Streaming Agent","href":"/examples/models/mistral/basic_stream"},{"title":"Async Basic Agent","href":"/examples/models/mistral/async_basic"},{"title":"Async Basic Streaming Agent","href":"/examples/models/mistral/async_basic_stream"},{"title":"Agent with Tools","href":"/examples/models/mistral/tool_use"},{"title":"Async Agent with Tools","href":"/examples/models/mistral/async_tool_use"},{"title":"Agent with Memory","href":"/examples/models/mistral/memory"},{"title":"Structured Output","href":"/examples/models/mistral/structured_output"},{"title":"Structured Output With Tool Use","href":"/examples/models/mistral/structured_output_with_tool_use"},{"title":"Async Structured Output Agent","href":"/examples/models/mistral/async_structured_output"},{"title":"Image Bytes Input Agent","href":"/examples/models/mistral/image_bytes_input_agent"},{"title":"Image Compare Agent","href":"/examples/models/mistral/image_compare_agent"},{"title":"Image File Input Agent","href":"/examples/models/mistral/image_file_input_agent"},{"title":"Image Ocr With Structured Output","href":"/examples/models/mistral/image_ocr_with_structured_output"},{"title":"Image Transcribe Document Agent","href":"/examples/models/mistral/image_transcribe_document_agent"},{"title":"Mistral Small","href":"/examples/models/mistral/mistral_small"}]},{"group":"Nebius","pages":[{"title":"Basic Agent","href":"/examples/models/nebius/basic"},{"title":"Streaming Agent","href":"/examples/models/nebius/basic_stream"},{"title":"Agent with Tools","href":"/examples/models/nebius/tool_use"},{"title":"Agent with Structured Outputs","href":"/examples/models/nebius/structured_output"},{"title":"Agent with Storage","href":"/examples/models/nebius/storage"},{"title":"Agent with Knowledge","href":"/examples/models/nebius/knowledge"}]},{"group":"NVIDIA","pages":[{"title":"Basic Agent","href":"/examples/models/nvidia/basic"},{"title":"Basic Streaming Agent","href":"/examples/models/nvidia/basic_stream"},{"title":"Async Basic Agent","href":"/examples/models/nvidia/async_basic"},{"title":"Async Streaming Agent","href":"/examples/models/nvidia/async_basic_stream"},{"title":"Agent with Tools","href":"/examples/models/nvidia/tool_use"},{"title":"Async Agent with Tools","href":"/examples/models/nvidia/async_tool_use"}]},{"group":"Nexus","pages":[{"title":"Basic Agent","href":"/examples/models/nexus/basic"},{"title":"Basic Streaming Agent","href":"/examples/models/nexus/basic_stream"},{"title":"Async Basic Agent","href":"/examples/models/nexus/async_basic"},{"title":"Async Streaming Agent","href":"/examples/models/nexus/async_basic_stream"},{"title":"Agent with Tools","href":"/examples/models/nexus/tool_use"},{"title":"Async Agent with Tools","href":"/examples/models/nexus/async_tool_use"}]},{"group":"Ollama","pages":[{"title":"Basic","href":"/examples/models/ollama/basic"},{"title":"Basic Stream","href":"/examples/models/ollama/basic_stream"},{"title":"Ollama Cloud","href":"/examples/models/ollama/cloud"},{"title":"Async Basic","href":"/examples/models/ollama/async_basic"},{"title":"Async Basic Stream","href":"/examples/models/ollama/async_basic_stream"},{"title":"Tool Use","href":"/examples/models/ollama/tool_use"},{"title":"Tool Use Stream","href":"/examples/models/ollama/tool_use_stream"},{"title":"Db","href":"/examples/models/ollama/db"},{"title":"Knowledge","href":"/examples/models/ollama/knowledge"},{"title":"Memory","href":"/examples/models/ollama/memory"},{"title":"Demo Deepseek R1","href":"/examples/models/ollama/demo_deepseek_r1"},{"title":"Demo Gemma","href":"/examples/models/ollama/demo_gemma"},{"title":"Demo Phi4","href":"/examples/models/ollama/demo_phi4"},{"title":"Demo Qwen","href":"/examples/models/ollama/demo_qwen"},{"title":"Image Agent","href":"/examples/models/ollama/image_agent"},{"title":"Multimodal Agent","href":"/examples/models/ollama/multimodal"},{"title":"Set Client","href":"/examples/models/ollama/set_client"},{"title":"Set Temperature","href":"/examples/models/ollama/set_temperature"},{"title":"Agent with Storage","href":"/examples/models/ollama/storage"},{"title":"Structured Output","href":"/examples/models/ollama/structured_output"}]},{"group":"OpenAI","pages":[{"group":"OpenAI Chat","pages":[{"title":"Basic Agent","href":"/examples/models/openai/chat/basic"},{"title":"Streaming Agent","href":"/examples/models/openai/chat/basic_stream"},{"title":"Agent with Tools","href":"/examples/models/openai/chat/tool_use"},{"title":"Agent with Structured Outputs","href":"/examples/models/openai/chat/structured_output"},{"title":"Agent with Storage","href":"/examples/models/openai/chat/storage"},{"title":"Agent with Knowledge","href":"/examples/models/openai/chat/knowledge"},{"title":"Image Agent","href":"/examples/models/openai/chat/image_agent"},{"title":"Audio Input Agent","href":"/examples/models/openai/chat/audio_input_agent"},{"title":"Audio Output Agent","href":"/examples/models/openai/chat/audio_output_agent"},{"title":"Generate Images","href":"/examples/models/openai/chat/generate_images"},{"title":"Agent with Reasoning Effort","href":"/examples/models/openai/chat/reasoning_effort"},{"title":"Response Caching","href":"/examples/models/openai/chat/cache_response"}]},{"group":"OpenAI Responses","pages":[{"title":"Agent Flex Tier","href":"/examples/models/openai/responses/agent_flex_tier"},{"title":"Async Basic","href":"/examples/models/openai/responses/async_basic"},{"title":"Async Basic Stream","href":"/examples/models/openai/responses/async_basic_stream"},{"title":"Async Tool Use","href":"/examples/models/openai/responses/async_tool_use"},{"title":"Basic","href":"/examples/models/openai/responses/basic"},{"title":"Basic Stream","href":"/examples/models/openai/responses/basic_stream"},{"title":"Db","href":"/examples/models/openai/responses/db"},{"title":"Deep Research Agent","href":"/examples/models/openai/responses/deep_research_agent"},{"title":"Image Agent","href":"/examples/models/openai/responses/image_agent"},{"title":"Image Agent Bytes","href":"/examples/models/openai/responses/image_agent_bytes"},{"title":"Image Agent With Memory","href":"/examples/models/openai/responses/image_agent_with_memory"},{"title":"Image Generation Agent","href":"/examples/models/openai/responses/image_generation_agent"},{"title":"Knowledge","href":"/examples/models/openai/responses/knowledge"},{"title":"Memory","href":"/examples/models/openai/responses/memory"},{"title":"Pdf Input Local","href":"/examples/models/openai/responses/pdf_input_local"},{"title":"Pdf Input Url","href":"/examples/models/openai/responses/pdf_input_url"},{"title":"Reasoning O3 Mini","href":"/examples/models/openai/responses/reasoning_o3_mini"},{"title":"Structured Output","href":"/examples/models/openai/responses/structured_output"},{"title":"Tool Use","href":"/examples/models/openai/responses/tool_use"},{"title":"Tool Use Gpt 5","href":"/examples/models/openai/responses/tool_use_gpt_5"},{"title":"Tool Use O3","href":"/examples/models/openai/responses/tool_use_o3"},{"title":"Tool Use Stream","href":"/examples/models/openai/responses/tool_use_stream"},{"title":"Verbosity Control","href":"/examples/models/openai/responses/verbosity_control"},{"title":"Websearch Builtin Tool","href":"/examples/models/openai/responses/websearch_builtin_tool"},{"title":"ZDR Reasoning Agent","href":"/examples/models/openai/responses/zdr_reasoning_agent"}]}]},{"group":"Perplexity","pages":[{"title":"Basic Agent","href":"/examples/models/perplexity/basic"},{"title":"Basic Streaming Agent","href":"/examples/models/perplexity/basic_stream"},{"title":"Async Basic Agent","href":"/examples/models/perplexity/async_basic"},{"title":"Async Basic Streaming Agent","href":"/examples/models/perplexity/async_basic_stream"},{"title":"Agent with Knowledge","href":"/examples/models/perplexity/knowledge"},{"title":"Agent with Memory","href":"/examples/models/perplexity/memory"},{"title":"Agent with Structured Output","href":"/examples/models/perplexity/structured_output"}]},{"group":"Portkey","pages":[{"title":"Basic Agent","href":"/examples/models/portkey/basic"},{"title":"Basic Agent with Streaming","href":"/examples/models/portkey/basic_stream"},{"title":"Agent with Tools","href":"/examples/models/portkey/tool_use"},{"title":"Agent with Tools and Streaming","href":"/examples/models/portkey/tool_use_stream"},{"title":"Structured Output Agent","href":"/examples/models/portkey/structured_output"}]},{"group":"Requesty","pages":[{"title":"Basic Agent","href":"/examples/models/requesty/basic"},{"title":"Streaming Agent","href":"/examples/models/requesty/basic_stream"},{"title":"Agent with Tools","href":"/examples/models/requesty/tool_use"},{"title":"Agent with Structured Output","href":"/examples/models/requesty/structured_output"}]},{"group":"Siliconflow","pages":[{"title":"Async Streaming Agent","href":"/examples/models/siliconflow/async_basic_stream"},{"title":"Async Basic Agent","href":"/examples/models/siliconflow/async_basic"},{"title":"Async Agent with Tools","href":"/examples/models/siliconflow/async_tool_use"},{"title":"Basic Agent","href":"/examples/models/siliconflow/basic"},{"title":"Basic Streaming Agent","href":"/examples/models/siliconflow/basic_stream"},{"title":"Agent with Tools","href":"/examples/models/siliconflow/tool_use"}]},{"group":"Together","pages":[{"title":"Basic Agent","href":"/examples/models/together/basic"},{"title":"Streaming Agent","href":"/examples/models/together/basic_stream"},{"title":"Image Agent","href":"/examples/models/together/image_agent"},{"title":"Image Input Bytes Content","href":"/examples/models/together/image_agent_bytes"},{"title":"Image Agent with Memory","href":"/examples/models/together/image_agent_memory"},{"title":"Agent with Structured Outputs","href":"/examples/models/together/structured_output"},{"title":"Agent with Tools","href":"/examples/models/together/tool_use"}]},{"group":"XAI","pages":[{"title":"Basic","href":"/examples/models/xai/basic"},{"title":"Basic Stream","href":"/examples/models/xai/basic_stream"},{"title":"Tool Use","href":"/examples/models/xai/tool_use"},{"title":"Async Basic Agent","href":"/examples/models/xai/basic_async"},{"title":"Async Streaming Agent","href":"/examples/models/xai/basic_async_stream"},{"title":"Tool Use","href":"/examples/models/xai/tool_use"},{"title":"Tool Use Stream","href":"/examples/models/xai/tool_use_stream"},{"title":"Async Tool Use","href":"/examples/models/xai/async_tool_use"},{"title":"Structured Output","href":"/examples/models/xai/structured_output"},{"title":"Image Agent","href":"/examples/models/xai/image_agent"},{"title":"Image Agent Bytes","href":"/examples/models/xai/image_agent_bytes"},{"title":"Live Search Agent","href":"/examples/models/xai/live_search_agent"},{"title":"Live Search Agent Stream","href":"/examples/models/xai/live_search_agent_stream"},{"title":"Reasoning Agent","href":"/examples/models/xai/reasoning_agent"}]},{"group":"Vercel","pages":[{"title":"Basic Agent","href":"/examples/models/vercel/basic"},{"title":"Streaming Agent","href":"/examples/models/vercel/basic_stream"},{"title":"Image Agent","href":"/examples/models/vercel/image_agent"},{"title":"Agent with Knowledge","href":"/examples/models/vercel/knowledge"},{"title":"Agent with Tools","href":"/examples/models/vercel/tool_use"}]},{"group":"Vertex AI","pages":[{"group":"Claude","pages":[{"title":"Basic Agent","href":"/examples/models/vertexai/claude/basic"},{"title":"Streaming Agent","href":"/examples/models/vertexai/claude/basic_stream"},{"title":"Agent with Tools","href":"/examples/models/vertexai/claude/tool_use"},{"title":"Agent with Structured Outputs","href":"/examples/models/vertexai/claude/structured_output"},{"title":"PDF Input Local Agent","href":"/examples/models/vertexai/claude/pdf_input_local"},{"title":"PDF Input URL Agent","href":"/examples/models/vertexai/claude/pdf_input_url"},{"title":"PDF Input Bytes Agent","href":"/examples/models/vertexai/claude/pdf_input_bytes"},{"title":"Image Input Bytes Content","href":"/examples/models/vertexai/claude/image_input_bytes"},{"title":"Image Input URL","href":"/examples/models/vertexai/claude/image_input_url"}]}]},{"group":"VLLM","pages":[{"title":"Basic Agent","href":"/examples/models/vllm/basic"},{"title":"Agent with Streaming","href":"/examples/models/vllm/basic_stream"},{"title":"Async Agent","href":"/examples/models/vllm/async_basic"},{"title":"Async Agent with Streaming","href":"/examples/models/vllm/async_basic_stream"},{"title":"Code Generation","href":"/examples/models/vllm/code_generation"},{"title":"Agent with Storage","href":"/examples/models/vllm/storage"},{"title":"Agent with Memory","href":"/examples/models/vllm/memory"},{"title":"Structured Output","href":"/examples/models/vllm/structured_output"},{"title":"Agent with Tools","href":"/examples/models/vllm/tool_use"},{"title":"Async Agent with Tools","href":"/examples/models/vllm/async_tool_use"}]}]}]},{"tab":"Deploy","pages":[{"title":"Deploy","href":"/deploy/introduction"}]},{"tab":"Reference","pages":[{"title":"Reference","href":"/reference/agents/agent"}]},{"tab":"FAQs","pages":[{"title":"FAQs","href":"/faq/environment-variables"}]}]},"basePath":"","title":"Agent with Tools - Agno","buildId":"dpl_FWZhTb2vab28gFGFH4ojka6qEznQ","deploymentId":"dpl_FWZhTb2vab28gFGFH4ojka6qEznQ","dynamics":[],"chunks":[]}