mirror of
https://github.com/hanzoai/site.git
synced 2026-11-20 21:21:13 +00:00
52 lines
40 KiB
HTML
52 lines
40 KiB
HTML
<div class="is_View _fd-column _dsp-block _shrink-1 _minH-100vh _minW-auto"><div class="is_View _fd-column _dsp-block _shrink-1 _minH-auto _minW-auto _width-10037 _maxW-896px _mr-auto _ml-auto _pr-16px _pl-16px _pt-80px _pb-80px"><nav class="is_Text _col-muted-foreg108704142 _fs-f-size-2 _dsp-flex _fd-row _items-center _gap-8px _mb-40px" data-slot="text"><a href="/integrations">Integrations</a><span>/</span><span class="is_Text _col-foreground" data-slot="text">Python</span></nav><div class="is_View _fd-column _dsp-block _shrink-1 _minH-auto _minW-auto _mb-48px"><div class="is_View _dsp-flex _shrink-1 _minH-auto _minW-auto _fd-row _items-center _gap-16px _mb-16px"><span class="is_Text _col-inherit _fs-f-size-10" data-slot="text">๐</span><div><span class="is_Text _col-muted-foreg108704142 _fs-f-size-1 _fw-500 _tt-uppercase _ls-0--05em" data-slot="text">Languages</span><h1 class="is_Text font_heading _fs-_sm_f-size-11 _fs-_lg_text-6xl _col-foreground _dsp-revert-laye114 _ws-inherit _ff-f-family _fs-f-size-10 _fw-497 _lh-1--19 _ls--0--012em _textWrap-balance" data-slot="display">Use Hanzo AI with Python</h1></div></div><p class="is_Text _col-muted-foreg108704142 _dsp-revert-laye114 _ws-inherit _fs-f-size-3 _lh-1--65 _ls-0px _textWrap-pretty _maxW-672px" data-slot="lede">Use Hanzo AI in Python with the official OpenAI SDK (fully compatible), the Anthropic SDK, or via HTTP with httpx/requests. Zero lock-in, standard interfaces.</p></div><div class="is_View _btc-_platformweb_color-mixin1047218626 _brc-_platformweb_color-mixin1047218626 _borderBottomColor-_platformweb_color-mixin1047218626 _borderLeftColor-_platformweb_color-mixin1047218626 _bg-_platformweb_color-mixin1492853067 _fd-column _dsp-block _shrink-1 _minH-auto _minW-auto _mb-40px _btlr-radius-lg _btrr-radius-lg _bbrr-radius-lg _bblr-radius-lg _btw-1px _brw-1px _borderBottomWidth-1px _borderLeftWidth-1px _pt-20px _pr-20px _pb-20px _pl-20px _bbs-solid _bts-solid _bls-solid _brs-solid"><p class="is_Text _col-muted-foreg108704142 _fs-f-size-2 _dsp-block _mb-8px" data-slot="text"><strong class="is_Text _col-foreground" data-slot="text">Base URL:</strong> <code class="is_Text _col-brand" data-slot="text">https://api.hanzo.ai/v1</code></p><p class="is_Text _col-muted-foreg108704142 _fs-f-size-2 _dsp-block" data-slot="text"><strong class="is_Text _col-foreground" data-slot="text">API Key:</strong> <!-- -->Get yours at <a class="is_Text _col-brand" data-slot="text" href="https://platform.hanzo.ai/api-keys">platform.hanzo.ai/api-keys</a> ยท <!-- -->Fully OpenAI-compatible<!-- --> ยท <!-- -->every model on the gateway<!-- --> available</p></div><div class="is_View _dsp-flex _shrink-1 _minH-auto _minW-auto _mb-40px _btlr-radius-lg _btrr-radius-lg _bbrr-radius-lg _bblr-radius-lg _btw-1px _brw-1px _borderBottomWidth-1px _borderLeftWidth-1px _btc-border _brc-border _borderBottomColor-border _borderLeftColor-border _bg-panel _pt-20px _pr-20px _pb-20px _pl-20px _fd-row _items-flex-start _gap-16px _bbs-solid _bts-solid _bls-solid _brs-solid"><div class="is_Text _col-inherit _fs-f-size-7 _dsp-block" data-slot="text">๐</div><div class="is_View _fd-column _dsp-block _shrink-1 _minH-auto _minW-0px _grow-1 _fb-037"><p class="is_Text _col-foreground _fs-f-size-2 _fw-500 _dsp-block _mb-2px" data-slot="text">Created by <a class="is_Text _col-state-error" data-slot="text" href="https://python.org" rel="noopener noreferrer" target="_blank">Python Software Foundation</a></p><p class="is_Text _col-muted-foreg108704142 _fs-f-size-1 _dsp-block _mb-8px" data-slot="text">License:<!-- --> <span class="is_Text font_mono _col-foreground _ff-f-family _bg-muted _pr-6px _pl-6px _pt-2px _pb-2px _btlr-radius _btrr-radius _bbrr-radius _bblr-radius" data-slot="text">PSF License</span> ยท <a href="https://github.com/python/cpython" rel="noopener noreferrer" target="_blank">View source on GitHub โ</a></p><p class="is_Text _col-muted-foreg108704142 _fs-f-size-1 _dsp-block" data-slot="text">Hanzo AI is OpenAI-compatible, so existing Python code works with zero refactoring. We deeply appreciate the Python Software Foundation team for building and maintaining this open-source project.</p></div></div><div class="is_View _dsp-flex _shrink-1 _minH-auto _minW-auto _fd-column _gap-40px"><div><h2 class="is_Text _col-foreground _fs-f-size-6 _lh-leading-snu103 _fw-600 _dsp-block _mb-16px" data-slot="text">OpenAI SDK (recommended)</h2><div class="is_View _fd-column _dsp-block _shrink-1 _minH-auto _minW-auto _btlr-radius-md _btrr-radius-md _bbrr-radius-md _bblr-radius-md _btw-1px _brw-1px _borderBottomWidth-1px _borderLeftWidth-1px _btc-border _brc-border _borderBottomColor-border _borderLeftColor-border _ox-hidden _oy-hidden _bbs-solid _bts-solid _bls-solid _brs-solid"><div class="is_View _dsp-flex _shrink-1 _minH-auto _minW-auto _fd-row _items-center _justify-space-betwe3241 _pr-16px _pl-16px _pt-8px _pb-8px _borderBottomWidth-1px _btc-border _brc-border _borderBottomColor-border _borderLeftColor-border _bbs-solid"><span class="is_Text font_mono _col-muted-foreg108704142 _fs-f-size-1 _ff-f-family" data-slot="text">python</span></div><pre class="is_Text font_mono _bg-_platformweb_light-darkv602359144 _col-codeInk _fs-f-size-2 _lh-leading-rel3008278 _dsp-block _mt-0px _mr-0px _mb-0px _ml-0px _pt-16px _pr-16px _pb-16px _pl-16px _ox-auto _ws-pre _ff-f-family" data-slot="text"><code><span><span data-code="ink">pip install openai</span>
|
|
</span><span>
|
|
</span><span><span data-code="keyword" data-face="bold">from</span><span data-code="ink"> openai </span><span data-code="keyword" data-face="bold">import</span><span data-code="ink"> OpenAI</span>
|
|
</span><span>
|
|
</span><span><span data-code="ink">client = OpenAI</span><span data-code="punctuation">(</span>
|
|
</span><span><span data-code="ink"> base_url=</span><span data-code="punctuation">"</span><span data-code="string">https://api.hanzo.ai/v1</span><span data-code="punctuation">"</span><span data-code="punctuation">,</span>
|
|
</span><span><span data-code="ink"> api_key=</span><span data-code="punctuation">"</span><span data-code="string">your-hanzo-api-key</span><span data-code="punctuation">"</span><span data-code="punctuation">,</span>
|
|
</span><span><span data-code="punctuation">)</span>
|
|
</span><span>
|
|
</span><span><span data-code="ink">response = client</span><span data-code="punctuation">.</span><span data-code="ink">chat</span><span data-code="punctuation">.</span><span data-code="ink">completions</span><span data-code="punctuation">.</span><span data-code="ink">create</span><span data-code="punctuation">(</span>
|
|
</span><span><span data-code="ink"> model=</span><span data-code="punctuation">"</span><span data-code="string">zen4-pro</span><span data-code="punctuation">"</span><span data-code="punctuation">,</span>
|
|
</span><span><span data-code="ink"> messages=</span><span data-code="punctuation">[{</span><span data-code="punctuation">"</span><span data-code="string">role</span><span data-code="punctuation">"</span><span data-code="punctuation">:</span><span data-code="ink"> </span><span data-code="punctuation">"</span><span data-code="string">user</span><span data-code="punctuation">"</span><span data-code="punctuation">,</span><span data-code="ink"> </span><span data-code="punctuation">"</span><span data-code="string">content</span><span data-code="punctuation">"</span><span data-code="punctuation">:</span><span data-code="ink"> </span><span data-code="punctuation">"</span><span data-code="string">Hello!</span><span data-code="punctuation">"</span><span data-code="punctuation">}],</span>
|
|
</span><span><span data-code="punctuation">)</span>
|
|
</span><span><span data-code="bright">print</span><span data-code="punctuation">(</span><span data-code="ink">response</span><span data-code="punctuation">.</span><span data-code="ink">choices</span><span data-code="punctuation">[</span><span data-code="number">0</span><span data-code="punctuation">].</span><span data-code="ink">message</span><span data-code="punctuation">.</span><span data-code="ink">content</span><span data-code="punctuation">)</span></span></code></pre></div></div><div><h2 class="is_Text _col-foreground _fs-f-size-6 _lh-leading-snu103 _fw-600 _dsp-block _mb-16px" data-slot="text">httpx (raw HTTP)</h2><div class="is_View _fd-column _dsp-block _shrink-1 _minH-auto _minW-auto _btlr-radius-md _btrr-radius-md _bbrr-radius-md _bblr-radius-md _btw-1px _brw-1px _borderBottomWidth-1px _borderLeftWidth-1px _btc-border _brc-border _borderBottomColor-border _borderLeftColor-border _ox-hidden _oy-hidden _bbs-solid _bts-solid _bls-solid _brs-solid"><div class="is_View _dsp-flex _shrink-1 _minH-auto _minW-auto _fd-row _items-center _justify-space-betwe3241 _pr-16px _pl-16px _pt-8px _pb-8px _borderBottomWidth-1px _btc-border _brc-border _borderBottomColor-border _borderLeftColor-border _bbs-solid"><span class="is_Text font_mono _col-muted-foreg108704142 _fs-f-size-1 _ff-f-family" data-slot="text">python</span></div><pre class="is_Text font_mono _bg-_platformweb_light-darkv602359144 _col-codeInk _fs-f-size-2 _lh-leading-rel3008278 _dsp-block _mt-0px _mr-0px _mb-0px _ml-0px _pt-16px _pr-16px _pb-16px _pl-16px _ox-auto _ws-pre _ff-f-family" data-slot="text"><code><span><span data-code="keyword" data-face="bold">import</span><span data-code="ink"> httpx</span><span data-code="punctuation">,</span><span data-code="ink"> json</span>
|
|
</span><span>
|
|
</span><span><span data-code="ink">response = httpx</span><span data-code="punctuation">.</span><span data-code="ink">post</span><span data-code="punctuation">(</span>
|
|
</span><span><span data-code="ink"> </span><span data-code="punctuation">"</span><span data-code="string">https://api.hanzo.ai/v1/chat/completions</span><span data-code="punctuation">"</span><span data-code="punctuation">,</span>
|
|
</span><span><span data-code="ink"> headers=</span><span data-code="punctuation">{</span><span data-code="punctuation">"</span><span data-code="string">Authorization</span><span data-code="punctuation">"</span><span data-code="punctuation">:</span><span data-code="ink"> </span><span data-code="punctuation">"</span><span data-code="string">Bearer your-hanzo-api-key</span><span data-code="punctuation">"</span><span data-code="punctuation">},</span>
|
|
</span><span><span data-code="ink"> json=</span><span data-code="punctuation">{</span>
|
|
</span><span><span data-code="ink"> </span><span data-code="punctuation">"</span><span data-code="string">model</span><span data-code="punctuation">"</span><span data-code="punctuation">:</span><span data-code="ink"> </span><span data-code="punctuation">"</span><span data-code="string">zen4-pro</span><span data-code="punctuation">"</span><span data-code="punctuation">,</span>
|
|
</span><span><span data-code="ink"> </span><span data-code="punctuation">"</span><span data-code="string">messages</span><span data-code="punctuation">"</span><span data-code="punctuation">:</span><span data-code="ink"> </span><span data-code="punctuation">[{</span><span data-code="punctuation">"</span><span data-code="string">role</span><span data-code="punctuation">"</span><span data-code="punctuation">:</span><span data-code="ink"> </span><span data-code="punctuation">"</span><span data-code="string">user</span><span data-code="punctuation">"</span><span data-code="punctuation">,</span><span data-code="ink"> </span><span data-code="punctuation">"</span><span data-code="string">content</span><span data-code="punctuation">"</span><span data-code="punctuation">:</span><span data-code="ink"> </span><span data-code="punctuation">"</span><span data-code="string">Hello!</span><span data-code="punctuation">"</span><span data-code="punctuation">}],</span>
|
|
</span><span><span data-code="ink"> </span><span data-code="punctuation">},</span>
|
|
</span><span><span data-code="punctuation">)</span>
|
|
</span><span><span data-code="bright">print</span><span data-code="punctuation">(</span><span data-code="ink">response</span><span data-code="punctuation">.</span><span data-code="ink">json</span><span data-code="punctuation">()[</span><span data-code="punctuation">"</span><span data-code="string">choices</span><span data-code="punctuation">"</span><span data-code="punctuation">][</span><span data-code="number">0</span><span data-code="punctuation">][</span><span data-code="punctuation">"</span><span data-code="string">message</span><span data-code="punctuation">"</span><span data-code="punctuation">][</span><span data-code="punctuation">"</span><span data-code="string">content</span><span data-code="punctuation">"</span><span data-code="punctuation">])</span></span></code></pre></div></div><div><h2 class="is_Text _col-foreground _fs-f-size-6 _lh-leading-snu103 _fw-600 _dsp-block _mb-16px" data-slot="text">Async with asyncio</h2><div class="is_View _fd-column _dsp-block _shrink-1 _minH-auto _minW-auto _btlr-radius-md _btrr-radius-md _bbrr-radius-md _bblr-radius-md _btw-1px _brw-1px _borderBottomWidth-1px _borderLeftWidth-1px _btc-border _brc-border _borderBottomColor-border _borderLeftColor-border _ox-hidden _oy-hidden _bbs-solid _bts-solid _bls-solid _brs-solid"><div class="is_View _dsp-flex _shrink-1 _minH-auto _minW-auto _fd-row _items-center _justify-space-betwe3241 _pr-16px _pl-16px _pt-8px _pb-8px _borderBottomWidth-1px _btc-border _brc-border _borderBottomColor-border _borderLeftColor-border _bbs-solid"><span class="is_Text font_mono _col-muted-foreg108704142 _fs-f-size-1 _ff-f-family" data-slot="text">python</span></div><pre class="is_Text font_mono _bg-_platformweb_light-darkv602359144 _col-codeInk _fs-f-size-2 _lh-leading-rel3008278 _dsp-block _mt-0px _mr-0px _mb-0px _ml-0px _pt-16px _pr-16px _pb-16px _pl-16px _ox-auto _ws-pre _ff-f-family" data-slot="text"><code><span><span data-code="keyword" data-face="bold">import</span><span data-code="ink"> asyncio</span>
|
|
</span><span><span data-code="keyword" data-face="bold">from</span><span data-code="ink"> openai </span><span data-code="keyword" data-face="bold">import</span><span data-code="ink"> AsyncOpenAI</span>
|
|
</span><span>
|
|
</span><span><span data-code="ink">client = AsyncOpenAI</span><span data-code="punctuation">(</span>
|
|
</span><span><span data-code="ink"> base_url=</span><span data-code="punctuation">"</span><span data-code="string">https://api.hanzo.ai/v1</span><span data-code="punctuation">"</span><span data-code="punctuation">,</span>
|
|
</span><span><span data-code="ink"> api_key=</span><span data-code="punctuation">"</span><span data-code="string">your-hanzo-api-key</span><span data-code="punctuation">"</span><span data-code="punctuation">,</span>
|
|
</span><span><span data-code="punctuation">)</span>
|
|
</span><span>
|
|
</span><span><span data-code="keyword" data-face="bold">async</span><span data-code="ink"> </span><span data-code="keyword" data-face="bold">def</span><span data-code="ink"> </span><span data-code="bright">main</span><span data-code="punctuation">():</span>
|
|
</span><span><span data-code="ink"> response = </span><span data-code="keyword" data-face="bold">await</span><span data-code="ink"> client</span><span data-code="punctuation">.</span><span data-code="ink">chat</span><span data-code="punctuation">.</span><span data-code="ink">completions</span><span data-code="punctuation">.</span><span data-code="ink">create</span><span data-code="punctuation">(</span>
|
|
</span><span><span data-code="ink"> model=</span><span data-code="punctuation">"</span><span data-code="string">zen4-pro</span><span data-code="punctuation">"</span><span data-code="punctuation">,</span>
|
|
</span><span><span data-code="ink"> messages=</span><span data-code="punctuation">[{</span><span data-code="punctuation">"</span><span data-code="string">role</span><span data-code="punctuation">"</span><span data-code="punctuation">:</span><span data-code="ink"> </span><span data-code="punctuation">"</span><span data-code="string">user</span><span data-code="punctuation">"</span><span data-code="punctuation">,</span><span data-code="ink"> </span><span data-code="punctuation">"</span><span data-code="string">content</span><span data-code="punctuation">"</span><span data-code="punctuation">:</span><span data-code="ink"> </span><span data-code="punctuation">"</span><span data-code="string">Hello async!</span><span data-code="punctuation">"</span><span data-code="punctuation">}],</span>
|
|
</span><span><span data-code="ink"> </span><span data-code="punctuation">)</span>
|
|
</span><span><span data-code="ink"> </span><span data-code="bright">print</span><span data-code="punctuation">(</span><span data-code="ink">response</span><span data-code="punctuation">.</span><span data-code="ink">choices</span><span data-code="punctuation">[</span><span data-code="number">0</span><span data-code="punctuation">].</span><span data-code="ink">message</span><span data-code="punctuation">.</span><span data-code="ink">content</span><span data-code="punctuation">)</span>
|
|
</span><span>
|
|
</span><span><span data-code="ink">asyncio</span><span data-code="punctuation">.</span><span data-code="ink">run</span><span data-code="punctuation">(</span><span data-code="ink">main</span><span data-code="punctuation">())</span></span></code></pre></div></div><div><h2 class="is_Text _col-foreground _fs-f-size-6 _lh-leading-snu103 _fw-600 _dsp-block _mb-16px" data-slot="text">Environment setup</h2><div class="is_View _fd-column _dsp-block _shrink-1 _minH-auto _minW-auto _btlr-radius-md _btrr-radius-md _bbrr-radius-md _bblr-radius-md _btw-1px _brw-1px _borderBottomWidth-1px _borderLeftWidth-1px _btc-border _brc-border _borderBottomColor-border _borderLeftColor-border _ox-hidden _oy-hidden _bbs-solid _bts-solid _bls-solid _brs-solid"><div class="is_View _dsp-flex _shrink-1 _minH-auto _minW-auto _fd-row _items-center _justify-space-betwe3241 _pr-16px _pl-16px _pt-8px _pb-8px _borderBottomWidth-1px _btc-border _brc-border _borderBottomColor-border _borderLeftColor-border _bbs-solid"><span class="is_Text font_mono _col-muted-foreg108704142 _fs-f-size-1 _ff-f-family" data-slot="text">python</span></div><pre class="is_Text font_mono _bg-_platformweb_light-darkv602359144 _col-codeInk _fs-f-size-2 _lh-leading-rel3008278 _dsp-block _mt-0px _mr-0px _mb-0px _ml-0px _pt-16px _pr-16px _pb-16px _pl-16px _ox-auto _ws-pre _ff-f-family" data-slot="text"><code><span><span data-code="comment" data-face="italic"># .env</span>
|
|
</span><span><span data-code="bright">HANZO_API_KEY</span><span data-code="ink">=your-hanzo-api-key</span>
|
|
</span><span>
|
|
</span><span><span data-code="comment" data-face="italic"># Load in code</span>
|
|
</span><span><span data-code="keyword" data-face="bold">from</span><span data-code="ink"> dotenv </span><span data-code="keyword" data-face="bold">import</span><span data-code="ink"> load_dotenv</span>
|
|
</span><span><span data-code="keyword" data-face="bold">import</span><span data-code="ink"> os</span>
|
|
</span><span>
|
|
</span><span><span data-code="ink">load_dotenv</span><span data-code="punctuation">()</span>
|
|
</span><span>
|
|
</span><span><span data-code="keyword" data-face="bold">from</span><span data-code="ink"> openai </span><span data-code="keyword" data-face="bold">import</span><span data-code="ink"> OpenAI</span>
|
|
</span><span><span data-code="ink">client = OpenAI</span><span data-code="punctuation">(</span>
|
|
</span><span><span data-code="ink"> base_url=</span><span data-code="punctuation">"</span><span data-code="string">https://api.hanzo.ai/v1</span><span data-code="punctuation">"</span><span data-code="punctuation">,</span>
|
|
</span><span><span data-code="ink"> api_key=os</span><span data-code="punctuation">.</span><span data-code="ink">environ</span><span data-code="punctuation">[</span><span data-code="punctuation">"</span><span data-code="string">HANZO_API_KEY</span><span data-code="punctuation">"</span><span data-code="punctuation">],</span>
|
|
</span><span><span data-code="punctuation">)</span></span></code></pre></div></div></div><div class="is_View _text-_platformweb_center _fd-column _dsp-block _shrink-1 _minH-auto _minW-auto _mt-64px _btlr-radius-lg _btrr-radius-lg _bbrr-radius-lg _bblr-radius-lg _btw-1px _brw-1px _borderBottomWidth-1px _borderLeftWidth-1px _btc-border _brc-border _borderBottomColor-border _borderLeftColor-border _bg-card _pt-32px _pr-32px _pb-32px _pl-32px _bbs-solid _bts-solid _bls-solid _brs-solid"><h2 class="is_Text _col-foreground _fs-f-size-7 _lh-leading-snu103 _fw-700 _dsp-block _mb-12px" data-slot="text">Ready to get started?</h2><p class="is_Text _col-muted-foreg108704142 _dsp-block _mb-24px" data-slot="text">Create a free account and get your API key. The Free plan includes free model requests and Kai decisions, no card.</p><div class="is_View _dsp-flex _shrink-1 _minH-auto _minW-auto _fd-row _items-center _justify-center _gap-16px"><a class="is_Text _o-0hover-0--92 _bxsh-_light_04px16px-6p44459065 _col-brand-foreg108704142 _dsp-inline-flex _items-center _ws-inherit _td-none _fs-f-size-2 _lh-calc1--250--87537940352 _justify-center _gap-c-space-2 _minH-44px _pr-c-space-5 _pl-c-space-5 _btlr-9999px _btrr-9999px _bbrr-9999px _bblr-9999px _fw-500 _backdropFilter-chrome-blur _WebkitBackdropFilter-chrome-blur _btw-0px _brw-0px _borderBottomWidth-0px _borderLeftWidth-0px _bg-brand _bxsh-04px20px-2p736498123 _bbs-solid _bts-solid _bls-solid _brs-solid" data-fill="" data-slot="action" href="https://platform.hanzo.ai/api-keys">Get API key โ Free</a><a class="is_Text _bg-0hover-color-mixin40471350 _btc-0hover-white-22 _brc-0hover-white-22 _borderBottomColor-0hover-white-22 _borderLeftColor-0hover-white-22 _col-0hover-pure-white _btc-_light_color-mixin1775990597 _brc-_light_color-mixin1775990597 _borderBottomColor-_light_color-mixin1775990597 _borderLeftColor-_light_color-mixin1775990597 _bg-_light_color-mixin1432854749 _col-_light_foreground _bxsh-_light_02px10px-4p401273020 _btc-_light_0hover-color-mixin2108231940 _brc-_light_0hover-color-mixin2108231940 _borderBottomColor-_light_0hover-color-mixin2108231940 _borderLeftColor-_light_0hover-color-mixin2108231940 _bg-_light_0hover-pure-white _col-_light_0hover-foreground _col-foreground _dsp-inline-flex _items-center _ws-inherit _td-none _fs-f-size-2 _lh-calc1--250--87537940352 _justify-center _gap-c-space-2 _minH-44px _pr-c-space-5 _pl-c-space-5 _btlr-9999px _btrr-9999px _bbrr-9999px _bblr-9999px _fw-500 _backdropFilter-chrome-blur _WebkitBackdropFilter-chrome-blur _btw-1px _brw-1px _borderBottomWidth-1px _borderLeftWidth-1px _bts-solid _brs-solid _bbs-solid _bls-solid _btc-white-14 _brc-white-14 _borderBottomColor-white-14 _borderLeftColor-white-14 _bg-color-mixin1333059374 _bxsh-inset01px00639578201" data-slot="action" href="/models">Browse Models</a></div></div><div class="is_View _fd-column _dsp-block _shrink-1 _minH-auto _minW-auto _mt-48px"><h2 class="is_Text _col-foreground _fs-f-size-6 _lh-leading-snu103 _fw-600 _dsp-block _mb-16px" data-slot="text">More integrations</h2><div class="is_View _dsp-flex _shrink-1 _minH-auto _minW-auto _fd-row _fwr-wrap _gap-8px"><a class="is_Text _btc-0hover-white-20 _brc-0hover-white-20 _borderBottomColor-0hover-white-20 _borderLeftColor-0hover-white-20 _col-0hover-pure-white _btc-_light_border _brc-_light_border _borderBottomColor-_light_border _borderLeftColor-_light_border _bg-_light_glass _col-_light_muted-foreg108704142 _btc-_light_0hover-border-stro3513 _brc-_light_0hover-border-stro3513 _borderBottomColor-_light_0hover-border-stro3513 _borderLeftColor-_light_0hover-border-stro3513 _col-_light_0hover-foreground _col-neutral-300 _dsp-inline-flex _items-center _ws-inherit _td-none _fs-f-size-2 _lh-calc1--250--87537940352 _gap-c-space-2 _btw-1px _brw-1px _borderBottomWidth-1px _borderLeftWidth-1px _bts-solid _brs-solid _bbs-solid _bls-solid _btc-white-08 _brc-white-08 _borderBottomColor-white-08 _borderLeftColor-white-08 _btlr-9999px _btrr-9999px _bbrr-9999px _bblr-9999px _bg-white-03 _pr-12px _pl-12px _pt-6px _pb-6px" data-slot="chip" href="/integrations/openai-sdk">OpenAI Python SDK</a><a class="is_Text _btc-0hover-white-20 _brc-0hover-white-20 _borderBottomColor-0hover-white-20 _borderLeftColor-0hover-white-20 _col-0hover-pure-white _btc-_light_border _brc-_light_border _borderBottomColor-_light_border _borderLeftColor-_light_border _bg-_light_glass _col-_light_muted-foreg108704142 _btc-_light_0hover-border-stro3513 _brc-_light_0hover-border-stro3513 _borderBottomColor-_light_0hover-border-stro3513 _borderLeftColor-_light_0hover-border-stro3513 _col-_light_0hover-foreground _col-neutral-300 _dsp-inline-flex _items-center _ws-inherit _td-none _fs-f-size-2 _lh-calc1--250--87537940352 _gap-c-space-2 _btw-1px _brw-1px _borderBottomWidth-1px _borderLeftWidth-1px _bts-solid _brs-solid _bbs-solid _bls-solid _btc-white-08 _brc-white-08 _borderBottomColor-white-08 _borderLeftColor-white-08 _btlr-9999px _btrr-9999px _bbrr-9999px _bblr-9999px _bg-white-03 _pr-12px _pl-12px _pt-6px _pb-6px" data-slot="chip" href="/integrations/anthropic-sdk">Anthropic SDK</a><a class="is_Text _btc-0hover-white-20 _brc-0hover-white-20 _borderBottomColor-0hover-white-20 _borderLeftColor-0hover-white-20 _col-0hover-pure-white _btc-_light_border _brc-_light_border _borderBottomColor-_light_border _borderLeftColor-_light_border _bg-_light_glass _col-_light_muted-foreg108704142 _btc-_light_0hover-border-stro3513 _brc-_light_0hover-border-stro3513 _borderBottomColor-_light_0hover-border-stro3513 _borderLeftColor-_light_0hover-border-stro3513 _col-_light_0hover-foreground _col-neutral-300 _dsp-inline-flex _items-center _ws-inherit _td-none _fs-f-size-2 _lh-calc1--250--87537940352 _gap-c-space-2 _btw-1px _brw-1px _borderBottomWidth-1px _borderLeftWidth-1px _bts-solid _brs-solid _bbs-solid _bls-solid _btc-white-08 _brc-white-08 _borderBottomColor-white-08 _borderLeftColor-white-08 _btlr-9999px _btrr-9999px _bbrr-9999px _bblr-9999px _bg-white-03 _pr-12px _pl-12px _pt-6px _pb-6px" data-slot="chip" href="/integrations/langchain">LangChain</a><a class="is_Text _btc-0hover-white-20 _brc-0hover-white-20 _borderBottomColor-0hover-white-20 _borderLeftColor-0hover-white-20 _col-0hover-pure-white _btc-_light_border _brc-_light_border _borderBottomColor-_light_border _borderLeftColor-_light_border _bg-_light_glass _col-_light_muted-foreg108704142 _btc-_light_0hover-border-stro3513 _brc-_light_0hover-border-stro3513 _borderBottomColor-_light_0hover-border-stro3513 _borderLeftColor-_light_0hover-border-stro3513 _col-_light_0hover-foreground _col-neutral-300 _dsp-inline-flex _items-center _ws-inherit _td-none _fs-f-size-2 _lh-calc1--250--87537940352 _gap-c-space-2 _btw-1px _brw-1px _borderBottomWidth-1px _borderLeftWidth-1px _bts-solid _brs-solid _bbs-solid _bls-solid _btc-white-08 _brc-white-08 _borderBottomColor-white-08 _borderLeftColor-white-08 _btlr-9999px _btrr-9999px _bbrr-9999px _bblr-9999px _bg-white-03 _pr-12px _pl-12px _pt-6px _pb-6px" data-slot="chip" href="/integrations/llamaindex">LlamaIndex</a><a class="is_Text _btc-0hover-white-20 _brc-0hover-white-20 _borderBottomColor-0hover-white-20 _borderLeftColor-0hover-white-20 _col-0hover-pure-white _btc-_light_border _brc-_light_border _borderBottomColor-_light_border _borderLeftColor-_light_border _bg-_light_glass _col-_light_muted-foreg108704142 _btc-_light_0hover-border-stro3513 _brc-_light_0hover-border-stro3513 _borderBottomColor-_light_0hover-border-stro3513 _borderLeftColor-_light_0hover-border-stro3513 _col-_light_0hover-foreground _col-neutral-300 _dsp-inline-flex _items-center _ws-inherit _td-none _fs-f-size-2 _lh-calc1--250--87537940352 _gap-c-space-2 _btw-1px _brw-1px _borderBottomWidth-1px _borderLeftWidth-1px _bts-solid _brs-solid _bbs-solid _bls-solid _btc-white-08 _brc-white-08 _borderBottomColor-white-08 _borderLeftColor-white-08 _btlr-9999px _btrr-9999px _bbrr-9999px _bblr-9999px _bg-white-03 _pr-12px _pl-12px _pt-6px _pb-6px" data-slot="chip" href="/integrations/vercel-ai-sdk">Vercel AI SDK</a><a class="is_Text _btc-0hover-white-20 _brc-0hover-white-20 _borderBottomColor-0hover-white-20 _borderLeftColor-0hover-white-20 _col-0hover-pure-white _btc-_light_border _brc-_light_border _borderBottomColor-_light_border _borderLeftColor-_light_border _bg-_light_glass _col-_light_muted-foreg108704142 _btc-_light_0hover-border-stro3513 _brc-_light_0hover-border-stro3513 _borderBottomColor-_light_0hover-border-stro3513 _borderLeftColor-_light_0hover-border-stro3513 _col-_light_0hover-foreground _col-neutral-300 _dsp-inline-flex _items-center _ws-inherit _td-none _fs-f-size-2 _lh-calc1--250--87537940352 _gap-c-space-2 _btw-1px _brw-1px _borderBottomWidth-1px _borderLeftWidth-1px _bts-solid _brs-solid _bbs-solid _bls-solid _btc-white-08 _brc-white-08 _borderBottomColor-white-08 _borderLeftColor-white-08 _btlr-9999px _btrr-9999px _bbrr-9999px _bblr-9999px _bg-white-03 _pr-12px _pl-12px _pt-6px _pb-6px" data-slot="chip" href="/integrations/huggingface">Hugging Face</a><a class="is_Text _btc-0hover-white-20 _brc-0hover-white-20 _borderBottomColor-0hover-white-20 _borderLeftColor-0hover-white-20 _col-0hover-pure-white _btc-_light_border _brc-_light_border _borderBottomColor-_light_border _borderLeftColor-_light_border _bg-_light_glass _col-_light_muted-foreg108704142 _btc-_light_0hover-border-stro3513 _brc-_light_0hover-border-stro3513 _borderBottomColor-_light_0hover-border-stro3513 _borderLeftColor-_light_0hover-border-stro3513 _col-_light_0hover-foreground _col-neutral-300 _dsp-inline-flex _items-center _ws-inherit _td-none _fs-f-size-2 _lh-calc1--250--87537940352 _gap-c-space-2 _btw-1px _brw-1px _borderBottomWidth-1px _borderLeftWidth-1px _bts-solid _brs-solid _bbs-solid _bls-solid _btc-white-08 _brc-white-08 _borderBottomColor-white-08 _borderLeftColor-white-08 _btlr-9999px _btrr-9999px _bbrr-9999px _bblr-9999px _bg-white-03 _pr-12px _pl-12px _pt-6px _pb-6px" data-slot="chip" href="/integrations/autogen">AutoGen</a><a class="is_Text _btc-0hover-white-20 _brc-0hover-white-20 _borderBottomColor-0hover-white-20 _borderLeftColor-0hover-white-20 _col-0hover-pure-white _btc-_light_border _brc-_light_border _borderBottomColor-_light_border _borderLeftColor-_light_border _bg-_light_glass _col-_light_muted-foreg108704142 _btc-_light_0hover-border-stro3513 _brc-_light_0hover-border-stro3513 _borderBottomColor-_light_0hover-border-stro3513 _borderLeftColor-_light_0hover-border-stro3513 _col-_light_0hover-foreground _col-neutral-300 _dsp-inline-flex _items-center _ws-inherit _td-none _fs-f-size-2 _lh-calc1--250--87537940352 _gap-c-space-2 _btw-1px _brw-1px _borderBottomWidth-1px _borderLeftWidth-1px _bts-solid _brs-solid _bbs-solid _bls-solid _btc-white-08 _brc-white-08 _borderBottomColor-white-08 _borderLeftColor-white-08 _btlr-9999px _btrr-9999px _bbrr-9999px _bblr-9999px _bg-white-03 _pr-12px _pl-12px _pt-6px _pb-6px" data-slot="chip" href="/integrations/crewai">CrewAI</a><a class="is_Text _btc-0hover-white-20 _brc-0hover-white-20 _borderBottomColor-0hover-white-20 _borderLeftColor-0hover-white-20 _col-0hover-pure-white _btc-_light_border _brc-_light_border _borderBottomColor-_light_border _borderLeftColor-_light_border _bg-_light_glass _col-_light_muted-foreg108704142 _btc-_light_0hover-border-stro3513 _brc-_light_0hover-border-stro3513 _borderBottomColor-_light_0hover-border-stro3513 _borderLeftColor-_light_0hover-border-stro3513 _col-_light_0hover-foreground _col-neutral-300 _dsp-inline-flex _items-center _ws-inherit _td-none _fs-f-size-2 _lh-calc1--250--87537940352 _gap-c-space-2 _btw-1px _brw-1px _borderBottomWidth-1px _borderLeftWidth-1px _bts-solid _brs-solid _bbs-solid _bls-solid _btc-white-08 _brc-white-08 _borderBottomColor-white-08 _borderLeftColor-white-08 _btlr-9999px _btrr-9999px _bbrr-9999px _bblr-9999px _bg-white-03 _pr-12px _pl-12px _pt-6px _pb-6px" data-slot="chip" href="/integrations/dspy">DSPy</a><a class="is_Text _btc-0hover-white-20 _brc-0hover-white-20 _borderBottomColor-0hover-white-20 _borderLeftColor-0hover-white-20 _col-0hover-pure-white _btc-_light_border _brc-_light_border _borderBottomColor-_light_border _borderLeftColor-_light_border _bg-_light_glass _col-_light_muted-foreg108704142 _btc-_light_0hover-border-stro3513 _brc-_light_0hover-border-stro3513 _borderBottomColor-_light_0hover-border-stro3513 _borderLeftColor-_light_0hover-border-stro3513 _col-_light_0hover-foreground _col-neutral-300 _dsp-inline-flex _items-center _ws-inherit _td-none _fs-f-size-2 _lh-calc1--250--87537940352 _gap-c-space-2 _btw-1px _brw-1px _borderBottomWidth-1px _borderLeftWidth-1px _bts-solid _brs-solid _bbs-solid _bls-solid _btc-white-08 _brc-white-08 _borderBottomColor-white-08 _borderLeftColor-white-08 _btlr-9999px _btrr-9999px _bbrr-9999px _bblr-9999px _bg-white-03 _pr-12px _pl-12px _pt-6px _pb-6px" data-slot="chip" href="/integrations/haystack">Haystack</a><a class="is_Text _btc-0hover-white-20 _brc-0hover-white-20 _borderBottomColor-0hover-white-20 _borderLeftColor-0hover-white-20 _col-0hover-pure-white _btc-_light_border _brc-_light_border _borderBottomColor-_light_border _borderLeftColor-_light_border _bg-_light_glass _col-_light_muted-foreg108704142 _btc-_light_0hover-border-stro3513 _brc-_light_0hover-border-stro3513 _borderBottomColor-_light_0hover-border-stro3513 _borderLeftColor-_light_0hover-border-stro3513 _col-_light_0hover-foreground _col-neutral-300 _dsp-inline-flex _items-center _ws-inherit _td-none _fs-f-size-2 _lh-calc1--250--87537940352 _gap-c-space-2 _btw-1px _brw-1px _borderBottomWidth-1px _borderLeftWidth-1px _bts-solid _brs-solid _bbs-solid _bls-solid _btc-white-08 _brc-white-08 _borderBottomColor-white-08 _borderLeftColor-white-08 _btlr-9999px _btrr-9999px _bbrr-9999px _bblr-9999px _bg-white-03 _pr-12px _pl-12px _pt-6px _pb-6px" data-slot="chip" href="/integrations/cursor">Cursor</a><a class="is_Text _btc-0hover-white-20 _brc-0hover-white-20 _borderBottomColor-0hover-white-20 _borderLeftColor-0hover-white-20 _col-0hover-pure-white _btc-_light_border _brc-_light_border _borderBottomColor-_light_border _borderLeftColor-_light_border _bg-_light_glass _col-_light_muted-foreg108704142 _btc-_light_0hover-border-stro3513 _brc-_light_0hover-border-stro3513 _borderBottomColor-_light_0hover-border-stro3513 _borderLeftColor-_light_0hover-border-stro3513 _col-_light_0hover-foreground _col-neutral-300 _dsp-inline-flex _items-center _ws-inherit _td-none _fs-f-size-2 _lh-calc1--250--87537940352 _gap-c-space-2 _btw-1px _brw-1px _borderBottomWidth-1px _borderLeftWidth-1px _bts-solid _brs-solid _bbs-solid _bls-solid _btc-white-08 _brc-white-08 _borderBottomColor-white-08 _borderLeftColor-white-08 _btlr-9999px _btrr-9999px _bbrr-9999px _bblr-9999px _bg-white-03 _pr-12px _pl-12px _pt-6px _pb-6px" data-slot="chip" href="/integrations/continue-dev">Continue.dev</a><a class="is_Text _btc-0hover-white-20 _brc-0hover-white-20 _borderBottomColor-0hover-white-20 _borderLeftColor-0hover-white-20 _col-0hover-pure-white _btc-_light_border _brc-_light_border _borderBottomColor-_light_border _borderLeftColor-_light_border _bg-_light_glass _col-_light_muted-foreg108704142 _btc-_light_0hover-border-stro3513 _brc-_light_0hover-border-stro3513 _borderBottomColor-_light_0hover-border-stro3513 _borderLeftColor-_light_0hover-border-stro3513 _col-_light_0hover-foreground _col-neutral-300 _dsp-inline-flex _items-center _ws-inherit _td-none _fs-f-size-2 _lh-calc1--250--87537940352 _gap-c-space-2 _btw-1px _brw-1px _borderBottomWidth-1px _borderLeftWidth-1px _bts-solid _brs-solid _bbs-solid _bls-solid _btc-white-08 _brc-white-08 _borderBottomColor-white-08 _borderLeftColor-white-08 _btlr-9999px _btrr-9999px _bbrr-9999px _bblr-9999px _bg-white-03 _pr-12px _pl-12px _pt-6px _pb-6px" data-slot="chip" href="/integrations/github-copilot">GitHub Copilot</a><a class="is_Text _btc-0hover-white-20 _brc-0hover-white-20 _borderBottomColor-0hover-white-20 _borderLeftColor-0hover-white-20 _col-0hover-pure-white _btc-_light_border _brc-_light_border _borderBottomColor-_light_border _borderLeftColor-_light_border _bg-_light_glass _col-_light_muted-foreg108704142 _btc-_light_0hover-border-stro3513 _brc-_light_0hover-border-stro3513 _borderBottomColor-_light_0hover-border-stro3513 _borderLeftColor-_light_0hover-border-stro3513 _col-_light_0hover-foreground _col-neutral-300 _dsp-inline-flex _items-center _ws-inherit _td-none _fs-f-size-2 _lh-calc1--250--87537940352 _gap-c-space-2 _btw-1px _brw-1px _borderBottomWidth-1px _borderLeftWidth-1px _bts-solid _brs-solid _bbs-solid _bls-solid _btc-white-08 _brc-white-08 _borderBottomColor-white-08 _borderLeftColor-white-08 _btlr-9999px _btrr-9999px _bbrr-9999px _bblr-9999px _bg-white-03 _pr-12px _pl-12px _pt-6px _pb-6px" data-slot="chip" href="/integrations/docker">Docker</a><a class="is_Text _btc-0hover-white-20 _brc-0hover-white-20 _borderBottomColor-0hover-white-20 _borderLeftColor-0hover-white-20 _col-0hover-pure-white _btc-_light_border _brc-_light_border _borderBottomColor-_light_border _borderLeftColor-_light_border _bg-_light_glass _col-_light_muted-foreg108704142 _btc-_light_0hover-border-stro3513 _brc-_light_0hover-border-stro3513 _borderBottomColor-_light_0hover-border-stro3513 _borderLeftColor-_light_0hover-border-stro3513 _col-_light_0hover-foreground _col-neutral-300 _dsp-inline-flex _items-center _ws-inherit _td-none _fs-f-size-2 _lh-calc1--250--87537940352 _gap-c-space-2 _btw-1px _brw-1px _borderBottomWidth-1px _borderLeftWidth-1px _bts-solid _brs-solid _bbs-solid _bls-solid _btc-white-08 _brc-white-08 _borderBottomColor-white-08 _borderLeftColor-white-08 _btlr-9999px _btrr-9999px _bbrr-9999px _bblr-9999px _bg-white-03 _pr-12px _pl-12px _pt-6px _pb-6px" data-slot="chip" href="/integrations/kubernetes">Kubernetes</a><a class="is_Text _btc-0hover-white-20 _brc-0hover-white-20 _borderBottomColor-0hover-white-20 _borderLeftColor-0hover-white-20 _col-0hover-pure-white _btc-_light_border _brc-_light_border _borderBottomColor-_light_border _borderLeftColor-_light_border _bg-_light_glass _col-_light_muted-foreg108704142 _btc-_light_0hover-border-stro3513 _brc-_light_0hover-border-stro3513 _borderBottomColor-_light_0hover-border-stro3513 _borderLeftColor-_light_0hover-border-stro3513 _col-_light_0hover-foreground _col-neutral-300 _dsp-inline-flex _items-center _ws-inherit _td-none _fs-f-size-2 _lh-calc1--250--87537940352 _gap-c-space-2 _btw-1px _brw-1px _borderBottomWidth-1px _borderLeftWidth-1px _bts-solid _brs-solid _bbs-solid _bls-solid _btc-white-08 _brc-white-08 _borderBottomColor-white-08 _borderLeftColor-white-08 _btlr-9999px _btrr-9999px _bbrr-9999px _bblr-9999px _bg-white-03 _pr-12px _pl-12px _pt-6px _pb-6px" data-slot="chip" href="/integrations/typescript">TypeScript</a><a class="is_Text _btc-0hover-white-20 _brc-0hover-white-20 _borderBottomColor-0hover-white-20 _borderLeftColor-0hover-white-20 _col-0hover-pure-white _btc-_light_border _brc-_light_border _borderBottomColor-_light_border _borderLeftColor-_light_border _bg-_light_glass _col-_light_muted-foreg108704142 _btc-_light_0hover-border-stro3513 _brc-_light_0hover-border-stro3513 _borderBottomColor-_light_0hover-border-stro3513 _borderLeftColor-_light_0hover-border-stro3513 _col-_light_0hover-foreground _col-neutral-300 _dsp-inline-flex _items-center _ws-inherit _td-none _fs-f-size-2 _lh-calc1--250--87537940352 _gap-c-space-2 _btw-1px _brw-1px _borderBottomWidth-1px _borderLeftWidth-1px _bts-solid _brs-solid _bbs-solid _bls-solid _btc-white-08 _brc-white-08 _borderBottomColor-white-08 _borderLeftColor-white-08 _btlr-9999px _btrr-9999px _bbrr-9999px _bblr-9999px _bg-white-03 _pr-12px _pl-12px _pt-6px _pb-6px" data-slot="chip" href="/integrations/go">Go</a><a class="is_Text _btc-0hover-white-20 _brc-0hover-white-20 _borderBottomColor-0hover-white-20 _borderLeftColor-0hover-white-20 _col-0hover-pure-white _btc-_light_border _brc-_light_border _borderBottomColor-_light_border _borderLeftColor-_light_border _bg-_light_glass _col-_light_muted-foreg108704142 _btc-_light_0hover-border-stro3513 _brc-_light_0hover-border-stro3513 _borderBottomColor-_light_0hover-border-stro3513 _borderLeftColor-_light_0hover-border-stro3513 _col-_light_0hover-foreground _col-neutral-300 _dsp-inline-flex _items-center _ws-inherit _td-none _fs-f-size-2 _lh-calc1--250--87537940352 _gap-c-space-2 _btw-1px _brw-1px _borderBottomWidth-1px _borderLeftWidth-1px _bts-solid _brs-solid _bbs-solid _bls-solid _btc-white-08 _brc-white-08 _borderBottomColor-white-08 _borderLeftColor-white-08 _btlr-9999px _btrr-9999px _bbrr-9999px _bblr-9999px _bg-white-03 _pr-12px _pl-12px _pt-6px _pb-6px" data-slot="chip" href="/integrations/rust">Rust</a></div></div></div></div>$/$ |