kopia lustrzana https://github.com/transitive-bullshit/chatgpt-api
feat: WIP add mintlify docs
rodzic
3b1f6c3bc3
commit
20d468c817
|
@ -0,0 +1,15 @@
|
|||
---
|
||||
title: 'Agentic'
|
||||
description: 'AI agent stdlib that works with any LLM and TypeScript AI SDK.'
|
||||
---
|
||||
|
||||
Agentic is a **standard library of AI tools** which are **optimized for both normal TS-usage as well as LLM-based usage**.
|
||||
|
||||
Agentic works with any LLM capable of function calling and the following TS AI SDKs:
|
||||
|
||||
- Vercel AI SDK
|
||||
- LangChain
|
||||
- LlamaIndex
|
||||
- Firebase Genkit
|
||||
- Dexa Dexter
|
||||
- OpenAI
|
|
@ -0,0 +1,10 @@
|
|||
<svg width="407" height="96" viewBox="0 0 407 96" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M118.536 69L139.144 20.488H139.592L160.2 69H151.624L137.096 32.2L142.472 28.552L125.896 69H118.536ZM131.464 51.72H147.4L149.96 58.056H129.224L131.464 51.72ZM203.394 64.712C202.796 65.3093 201.9 65.8853 200.706 66.44C199.554 66.9947 198.252 67.5067 196.802 67.976C195.351 68.4453 193.858 68.808 192.322 69.064C190.786 69.3627 189.335 69.512 187.97 69.512C184.215 69.512 180.823 68.936 177.794 67.784C174.807 66.632 172.226 65.0533 170.05 63.048C167.916 61 166.274 58.5893 165.122 55.816C164.012 53.0427 163.458 50.0347 163.458 46.792C163.458 42.7387 164.098 39.176 165.378 36.104C166.658 32.9893 168.407 30.3867 170.626 28.296C172.844 26.1627 175.383 24.5627 178.242 23.496C181.143 22.4293 184.194 21.896 187.394 21.896C190.21 21.896 192.812 22.216 195.201 22.856C197.634 23.496 199.703 24.3067 201.41 25.288L198.978 32.2C198.167 31.7307 197.122 31.2827 195.842 30.856C194.562 30.3867 193.26 30.024 191.938 29.768C190.658 29.512 189.463 29.384 188.354 29.384C185.666 29.384 183.255 29.768 181.122 30.536C179.031 31.2613 177.239 32.3493 175.746 33.8C174.252 35.2507 173.1 37.0213 172.29 39.112C171.522 41.16 171.138 43.5067 171.138 46.152C171.138 48.5413 171.543 50.7173 172.354 52.68C173.207 54.6427 174.38 56.328 175.874 57.736C177.41 59.144 179.202 60.232 181.25 61C183.34 61.7253 185.644 62.088 188.162 62.088C189.612 62.088 191.02 61.96 192.386 61.704C193.751 61.448 194.903 61.0427 195.842 60.488V52.744H187.138V45.576H203.394V64.712ZM214.713 22.408H245.625V29.576H222.201V41.992H243.065V49.224H222.201V61.832H246.521V69H214.713V22.408ZM297.798 70.664L262.022 35.976L264.198 36.872L264.39 69H256.838V20.808H257.158L292.422 55.496L290.694 54.984L290.566 22.408H297.99V70.664H297.798ZM307.51 22.408H338.678V29.576H326.646V69H319.222V29.576H307.51V22.408ZM348.15 22.408H355.638V69H348.15V22.408ZM403.023 65.352C402.383 65.8213 401.38 66.3973 400.015 67.08C398.649 67.7627 397.028 68.36 395.151 68.872C393.316 69.3413 391.268 69.5547 389.007 69.512C385.38 69.4693 382.116 68.8293 379.215 67.592C376.313 66.312 373.86 64.6053 371.855 62.472C369.849 60.296 368.292 57.8213 367.183 55.048C366.116 52.232 365.583 49.2453 365.583 46.088C365.583 42.5467 366.137 39.304 367.247 36.36C368.356 33.416 369.935 30.8773 371.983 28.744C374.031 26.568 376.463 24.8827 379.279 23.688C382.095 22.4933 385.167 21.896 388.495 21.896C391.439 21.896 394.063 22.3013 396.367 23.112C398.713 23.88 400.676 24.7547 402.255 25.736L399.311 32.776C398.116 31.9227 396.623 31.0907 394.831 30.28C393.039 29.4693 391.012 29.064 388.751 29.064C386.703 29.064 384.74 29.4907 382.863 30.344C380.985 31.1547 379.343 32.328 377.935 33.864C376.527 35.3573 375.396 37.1067 374.543 39.112C373.732 41.1173 373.327 43.2933 373.327 45.64C373.327 48.072 373.689 50.312 374.415 52.36C375.183 54.3653 376.249 56.1147 377.615 57.608C379.023 59.1013 380.687 60.2747 382.607 61.128C384.569 61.9387 386.745 62.344 389.135 62.344C391.567 62.344 393.679 61.9813 395.471 61.256C397.305 60.488 398.777 59.6347 399.887 58.696L403.023 65.352Z" fill="white"/>
|
||||
<circle cx="48" cy="48" r="48" fill="white"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M26.2921 73.2067C22.6247 73.255 18.9825 73.2065 15.3652 73.0611C26.7519 55.048 38.1401 37.0309 49.5298 19.0097C51.1634 17.3293 52.9846 17.1107 54.9932 18.3541C57.4909 20.4558 58.2437 23.0539 57.2514 26.1485C55.4912 29.1352 53.6944 32.0975 51.8608 35.0357C44.1877 47.1766 36.5148 59.3176 28.8417 71.4585C28.286 72.4763 27.4362 73.059 26.2921 73.2067Z" fill="#222222"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M55.4302 37.3668C55.7565 37.5224 56.0237 37.7651 56.2315 38.0952C64.3606 49.8615 72.5436 61.5897 80.7804 73.2796C77.1867 73.3768 73.593 73.3768 69.9993 73.2796C68.9793 73.049 68.1295 72.5391 67.4497 71.7499C62.3378 64.2943 57.1901 56.864 52.0064 49.4591C51.4627 48.6715 50.9771 47.8459 50.5495 46.9824C50.3708 45.8664 50.6136 44.8466 51.278 43.9229C52.6986 41.7519 54.0827 39.5666 55.4302 37.3668Z" fill="#222222"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M63.8802 73.061C59.7288 73.2064 55.5522 73.255 51.3508 73.2067C50.2416 71.5381 49.1004 69.887 47.927 68.2532C46.845 69.884 45.8008 71.5351 44.7947 73.2067C40.6903 73.255 36.6109 73.2064 32.5566 73.061C36.3848 67.0221 40.2456 61.0003 44.1391 54.9953C45.7172 53.3419 47.587 52.9292 49.7482 53.757C50.3222 54.0317 50.8321 54.396 51.2779 54.8497C55.5109 60.9027 59.7116 66.9732 63.8802 73.061Z" fill="#222222"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M15.3652 73.0611C18.9824 73.2065 22.6247 73.255 26.292 73.2067C22.625 73.4004 18.9342 73.4004 15.2195 73.2067C15.2375 73.1183 15.2861 73.0698 15.3652 73.0611Z" fill="#222222"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M32.5567 73.0611C36.611 73.2065 40.6903 73.255 44.7947 73.2067C40.6906 73.4004 36.5628 73.4004 32.411 73.2067C32.4291 73.1183 32.4776 73.0698 32.5567 73.0611Z" fill="#222222"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M63.8803 73.0611C63.9594 73.0698 64.0079 73.1183 64.026 73.2067C59.777 73.4005 55.552 73.4005 51.3508 73.2067C55.5523 73.255 59.7288 73.2065 63.8803 73.0611Z" fill="#222222"/>
|
||||
</svg>
|
Po Szerokość: | Wysokość: | Rozmiar: 5.1 KiB |
|
@ -0,0 +1,10 @@
|
|||
<svg width="407" height="96" viewBox="0 0 407 96" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M118.536 69L139.144 20.488H139.592L160.2 69H151.624L137.096 32.2L142.472 28.552L125.896 69H118.536ZM131.464 51.72H147.4L149.96 58.056H129.224L131.464 51.72ZM203.394 64.712C202.796 65.3093 201.9 65.8853 200.706 66.44C199.554 66.9947 198.252 67.5067 196.802 67.976C195.351 68.4453 193.858 68.808 192.322 69.064C190.786 69.3627 189.335 69.512 187.97 69.512C184.215 69.512 180.823 68.936 177.794 67.784C174.807 66.632 172.226 65.0533 170.05 63.048C167.916 61 166.274 58.5893 165.122 55.816C164.012 53.0427 163.458 50.0347 163.458 46.792C163.458 42.7387 164.098 39.176 165.378 36.104C166.658 32.9893 168.407 30.3867 170.626 28.296C172.844 26.1627 175.383 24.5627 178.242 23.496C181.143 22.4293 184.194 21.896 187.394 21.896C190.21 21.896 192.812 22.216 195.201 22.856C197.634 23.496 199.703 24.3067 201.41 25.288L198.978 32.2C198.167 31.7307 197.122 31.2827 195.842 30.856C194.562 30.3867 193.26 30.024 191.938 29.768C190.658 29.512 189.463 29.384 188.354 29.384C185.666 29.384 183.255 29.768 181.122 30.536C179.031 31.2613 177.239 32.3493 175.746 33.8C174.252 35.2507 173.1 37.0213 172.29 39.112C171.522 41.16 171.138 43.5067 171.138 46.152C171.138 48.5413 171.543 50.7173 172.354 52.68C173.207 54.6427 174.38 56.328 175.874 57.736C177.41 59.144 179.202 60.232 181.25 61C183.34 61.7253 185.644 62.088 188.162 62.088C189.612 62.088 191.02 61.96 192.386 61.704C193.751 61.448 194.903 61.0427 195.842 60.488V52.744H187.138V45.576H203.394V64.712ZM214.713 22.408H245.625V29.576H222.201V41.992H243.065V49.224H222.201V61.832H246.521V69H214.713V22.408ZM297.798 70.664L262.022 35.976L264.198 36.872L264.39 69H256.838V20.808H257.158L292.422 55.496L290.694 54.984L290.566 22.408H297.99V70.664H297.798ZM307.51 22.408H338.678V29.576H326.646V69H319.222V29.576H307.51V22.408ZM348.15 22.408H355.638V69H348.15V22.408ZM403.023 65.352C402.383 65.8213 401.38 66.3973 400.015 67.08C398.649 67.7627 397.028 68.36 395.151 68.872C393.316 69.3413 391.268 69.5547 389.007 69.512C385.38 69.4693 382.116 68.8293 379.215 67.592C376.313 66.312 373.86 64.6053 371.855 62.472C369.849 60.296 368.292 57.8213 367.183 55.048C366.116 52.232 365.583 49.2453 365.583 46.088C365.583 42.5467 366.137 39.304 367.247 36.36C368.356 33.416 369.935 30.8773 371.983 28.744C374.031 26.568 376.463 24.8827 379.279 23.688C382.095 22.4933 385.167 21.896 388.495 21.896C391.439 21.896 394.063 22.3013 396.367 23.112C398.713 23.88 400.676 24.7547 402.255 25.736L399.311 32.776C398.116 31.9227 396.623 31.0907 394.831 30.28C393.039 29.4693 391.012 29.064 388.751 29.064C386.703 29.064 384.74 29.4907 382.863 30.344C380.985 31.1547 379.343 32.328 377.935 33.864C376.527 35.3573 375.396 37.1067 374.543 39.112C373.732 41.1173 373.327 43.2933 373.327 45.64C373.327 48.072 373.689 50.312 374.415 52.36C375.183 54.3653 376.249 56.1147 377.615 57.608C379.023 59.1013 380.687 60.2747 382.607 61.128C384.569 61.9387 386.745 62.344 389.135 62.344C391.567 62.344 393.679 61.9813 395.471 61.256C397.305 60.488 398.777 59.6347 399.887 58.696L403.023 65.352Z" fill="#222222"/>
|
||||
<circle cx="48" cy="48" r="48" fill="#222222"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M26.2921 73.2067C22.6247 73.255 18.9825 73.2065 15.3652 73.0611C26.7519 55.048 38.1401 37.0309 49.5298 19.0097C51.1634 17.3293 52.9846 17.1107 54.9932 18.3541C57.4909 20.4558 58.2437 23.0539 57.2514 26.1485C55.4912 29.1352 53.6944 32.0975 51.8608 35.0357C44.1877 47.1766 36.5148 59.3176 28.8417 71.4585C28.286 72.4763 27.4362 73.059 26.2921 73.2067Z" fill="white"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M55.4302 37.3668C55.7565 37.5224 56.0237 37.7651 56.2315 38.0952C64.3606 49.8615 72.5436 61.5896 80.7804 73.2796C77.1867 73.3768 73.593 73.3768 69.9993 73.2796C68.9793 73.049 68.1295 72.5391 67.4497 71.7498C62.3378 64.2943 57.1901 56.864 52.0064 49.4591C51.4627 48.6715 50.9771 47.8459 50.5495 46.9824C50.3708 45.8664 50.6136 44.8465 51.278 43.9229C52.6986 41.7519 54.0827 39.5665 55.4302 37.3668Z" fill="white"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M63.8802 73.061C59.7288 73.2064 55.5522 73.255 51.3508 73.2067C50.2416 71.5381 49.1004 69.887 47.927 68.2532C46.845 69.884 45.8008 71.5351 44.7947 73.2067C40.6903 73.255 36.6109 73.2064 32.5566 73.061C36.3848 67.0221 40.2456 61.0003 44.1391 54.9953C45.7172 53.3419 47.587 52.9292 49.7482 53.757C50.3222 54.0317 50.8321 54.396 51.2779 54.8497C55.5109 60.9027 59.7116 66.9732 63.8802 73.061Z" fill="white"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M15.3652 73.061C18.9824 73.2064 22.6247 73.2549 26.292 73.2067C22.625 73.4003 18.9342 73.4003 15.2195 73.2067C15.2375 73.1183 15.2861 73.0698 15.3652 73.061Z" fill="white"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M32.5567 73.061C36.611 73.2064 40.6903 73.2549 44.7947 73.2067C40.6906 73.4003 36.5628 73.4003 32.411 73.2067C32.4291 73.1183 32.4776 73.0698 32.5567 73.061Z" fill="white"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M63.8803 73.061C63.9594 73.0698 64.0079 73.1183 64.026 73.2067C59.777 73.4005 55.552 73.4005 51.3508 73.2067C55.5523 73.2549 59.7288 73.2064 63.8803 73.061Z" fill="white"/>
|
||||
</svg>
|
Po Szerokość: | Wysokość: | Rozmiar: 5.0 KiB |
Plik binarny nie jest wyświetlany.
Po Szerokość: | Wysokość: | Rozmiar: 4.1 KiB |
|
@ -0,0 +1,9 @@
|
|||
<svg width="82" height="82" viewBox="0 0 82 82" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<circle cx="41" cy="41" r="41" fill="black"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M22.4578 61.5308C19.3253 61.572 16.2142 61.5305 13.1245 61.4063C22.8506 46.0201 32.578 30.6306 42.3067 15.2374C43.7021 13.8021 45.2577 13.6154 46.9734 14.6774C49.1069 16.4727 49.7499 18.6919 48.9023 21.3352C47.3988 23.8863 45.864 26.4167 44.2978 28.9263C37.7437 39.2967 31.1897 49.6671 24.6356 60.0374C24.161 60.9068 23.4351 61.4046 22.4578 61.5308Z" fill="white"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M47.3466 30.9175C47.6254 31.0504 47.8536 31.2577 48.031 31.5397C54.9747 41.5901 61.9643 51.6079 68.9999 61.593C65.9303 61.676 62.8607 61.676 59.791 61.593C58.9198 61.396 58.1939 60.9605 57.6133 60.2864C53.2469 53.918 48.8499 47.5714 44.4222 41.2464C43.9577 40.5736 43.543 39.8684 43.1777 39.1308C43.025 38.1776 43.2325 37.3065 43.7999 36.5175C45.0134 34.6631 46.1956 32.7965 47.3466 30.9175Z" fill="white"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M54.5645 61.4063C51.0185 61.5305 47.451 61.5719 43.8623 61.5307C42.9149 60.1055 41.9401 58.6952 40.9378 57.2996C40.0136 58.6925 39.1217 60.1029 38.2623 61.5307C34.7564 61.5719 31.272 61.5305 27.809 61.4063C31.0789 56.2481 34.3766 51.1044 37.7023 45.9752C39.0503 44.5629 40.6474 44.2103 42.4934 44.9174C42.9837 45.1521 43.4193 45.4632 43.8001 45.8507C47.4157 51.021 51.0038 56.2063 54.5645 61.4063Z" fill="white"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M13.1244 61.4063C16.2142 61.5305 19.3253 61.5719 22.4578 61.5308C19.3255 61.6961 16.173 61.6961 13 61.5308C13.0154 61.4552 13.0569 61.4138 13.1244 61.4063Z" fill="white"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M27.8089 61.4063C31.2719 61.5305 34.7564 61.5719 38.2622 61.5308C34.7566 61.6961 31.2307 61.6961 27.6844 61.5308C27.6999 61.4552 27.7413 61.4138 27.8089 61.4063Z" fill="white"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M54.5644 61.4063C54.632 61.4138 54.6734 61.4552 54.6888 61.5308C51.0596 61.6963 47.4507 61.6963 43.8622 61.5308C47.4509 61.5719 51.0184 61.5305 54.5644 61.4063Z" fill="white"/>
|
||||
</svg>
|
Po Szerokość: | Wysokość: | Rozmiar: 2.1 KiB |
|
@ -0,0 +1,66 @@
|
|||
{
|
||||
"$schema": "https://mintlify.com/schema.json",
|
||||
"name": "Agentic",
|
||||
"logo": {
|
||||
"dark": "/media/agentic-logo-dark.svg",
|
||||
"light": "/media/agentic-logo-light.svg"
|
||||
},
|
||||
"favicon": "/media/favicon.svg",
|
||||
"colors": {
|
||||
"primary": "#DD5130",
|
||||
"light": "#F76340",
|
||||
"dark": "#DD5130",
|
||||
"anchors": {
|
||||
"from": "#DD5130",
|
||||
"to": "#F76340"
|
||||
}
|
||||
},
|
||||
"topbarLinks": [
|
||||
{
|
||||
"name": "Twitter",
|
||||
"url": "https://x.com/transitive_bs"
|
||||
}
|
||||
],
|
||||
"topbarCtaButton": {
|
||||
"name": "GitHub",
|
||||
"url": "https://github.com/transitive-bullshit/agentic"
|
||||
},
|
||||
"anchors": [
|
||||
{
|
||||
"name": "GitHub",
|
||||
"icon": "github",
|
||||
"url": "https://github.com/transitive-bullshit/agentic"
|
||||
}
|
||||
],
|
||||
"navigation": [
|
||||
{
|
||||
"group": "Getting Started",
|
||||
"pages": [
|
||||
"intro",
|
||||
"quickstart",
|
||||
"usage",
|
||||
{
|
||||
"group": "AI SDKs",
|
||||
"pages": [
|
||||
"sdks/ai-sdk",
|
||||
"sdks/langchain",
|
||||
"sdks/llamaindex",
|
||||
"sdks/genkit",
|
||||
"sdks/dexter"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"group": "Tools",
|
||||
"pages": ["tools/bing", "tools/weather"]
|
||||
}
|
||||
],
|
||||
"footerSocials": {
|
||||
"x": "https://x.com/transitive_bs",
|
||||
"github": "https://github.com/transitive-bullshit/agentic"
|
||||
},
|
||||
"seo": {
|
||||
"indexHiddenPages": true
|
||||
}
|
||||
}
|
|
@ -0,0 +1,208 @@
|
|||
---
|
||||
title: 'Quick Start'
|
||||
---
|
||||
|
||||
## Install
|
||||
|
||||
<Info>
|
||||
**Prerequisite**: All Agentic packages are [ESM
|
||||
only](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c)
|
||||
and require `Node.js >= 18` or an equivalent environment (Bun, Deno, CF
|
||||
workers, etc).
|
||||
</Info>
|
||||
|
||||
<Steps>
|
||||
<Step title='Install core deps'>
|
||||
<CodeGroup>
|
||||
```bash npm
|
||||
npm install @agentic/core zod
|
||||
```
|
||||
|
||||
```bash yarn
|
||||
yarn add @agentic/core zod
|
||||
```
|
||||
|
||||
```bash pnpm
|
||||
pnpm add @agentic/core zod
|
||||
```
|
||||
</CodeGroup>
|
||||
|
||||
</Step>
|
||||
|
||||
<Step title='Install AI tools'>
|
||||
You can either install all of the AI tools via the convenience package `@agentic/stdlib`, or you can install them individually via their respective packages (`@agentic/weather`, `@agentic/twitter`, etc.).
|
||||
|
||||
<AccordionGroup>
|
||||
<Accordion title="Install all AI tools">
|
||||
<CodeGroup>
|
||||
```bash npm
|
||||
npm install @agentic/stdlib
|
||||
```
|
||||
|
||||
```bash yarn
|
||||
yarn add @agentic/stdlib
|
||||
```
|
||||
|
||||
```bash pnpm
|
||||
pnpm add @agentic/stdlib
|
||||
```
|
||||
</CodeGroup>
|
||||
</Accordion>
|
||||
|
||||
<Accordion title="Install individual AI tools">
|
||||
Docs for individual tools are available [here](/tools).
|
||||
|
||||
Here's an example of how to install the `@agentic/calculator` tool:
|
||||
|
||||
<CodeGroup>
|
||||
```bash npm
|
||||
npm install @agentic/calculator
|
||||
```
|
||||
|
||||
```bash yarn
|
||||
yarn add @agentic/calculator
|
||||
```
|
||||
|
||||
```bash pnpm
|
||||
pnpm add @agentic/calculator
|
||||
```
|
||||
</CodeGroup>
|
||||
</Accordion>
|
||||
|
||||
</AccordionGroup>
|
||||
|
||||
<Note>
|
||||
There is no functional difference between using `@agentic/stdlib` versus using the individual tool packages directly. The only difference is if you want to optimize your install size (when running on serverless functions, for instance).
|
||||
|
||||
The default examples all use `@agentic/stdlib` because it provides a simpler DX.
|
||||
</Note>
|
||||
|
||||
</Step>
|
||||
|
||||
<Step title='Install an AI SDK Adapter'>
|
||||
To use Agentic with one of the supported AI SDKs, you'll also need to install its corresponding adapter package.
|
||||
|
||||
<AccordionGroup>
|
||||
<Accordion title="Vercel AI SDK">
|
||||
<CodeGroup>
|
||||
```bash npm
|
||||
npm install @agentic/ai-sdk ai
|
||||
```
|
||||
|
||||
```bash yarn
|
||||
yarn add @agentic/ai-sdk ai
|
||||
```
|
||||
|
||||
```bash pnpm
|
||||
pnpm add @agentic/ai-sdk ai
|
||||
```
|
||||
</CodeGroup>
|
||||
|
||||
See the [Agentic ⇒ Vercel AI SDK](/sdks/ai-sdk) docs for more details.
|
||||
</Accordion>
|
||||
|
||||
<Accordion title="LangChain">
|
||||
<CodeGroup>
|
||||
```bash npm
|
||||
npm install @agentic/langchain @langchain/core langchain
|
||||
```
|
||||
|
||||
```bash yarn
|
||||
yarn add @agentic/langchain @langchain/core langchain
|
||||
```
|
||||
|
||||
```bash pnpm
|
||||
pnpm add @agentic/langchain @langchain/core langchain
|
||||
```
|
||||
</CodeGroup>
|
||||
|
||||
See the [Agentic ⇒ LangChain](/sdks/langchain) docs for more details.
|
||||
</Accordion>
|
||||
|
||||
<Accordion title="LlamaIndex">
|
||||
<CodeGroup>
|
||||
```bash npm
|
||||
npm install @agentic/llamaindex llamaindex
|
||||
```
|
||||
|
||||
```bash yarn
|
||||
yarn add @agentic/llamaindex llamaindex
|
||||
```
|
||||
|
||||
```bash pnpm
|
||||
pnpm add @agentic/llamaindex llamaindex
|
||||
```
|
||||
</CodeGroup>
|
||||
|
||||
See the [Agentic ⇒ LlamaIndex](/sdks/llamaindex) docs for more details.
|
||||
</Accordion>
|
||||
|
||||
<Accordion title="Firebase Genkit">
|
||||
<CodeGroup>
|
||||
```bash npm
|
||||
npm install @agentic/genkit @genkit-ai/ai @genkit-ai/core
|
||||
```
|
||||
|
||||
```bash yarn
|
||||
yarn add @agentic/genkit @genkit-ai/ai @genkit-ai/core
|
||||
```
|
||||
|
||||
```bash pnpm
|
||||
pnpm add @agentic/genkit @genkit-ai/ai @genkit-ai/core
|
||||
```
|
||||
</CodeGroup>
|
||||
|
||||
See the [Agentic ⇒ Genkit](/sdks/genkit) docs for more details.
|
||||
</Accordion>
|
||||
|
||||
<Accordion title="Dexa Dexter">
|
||||
<CodeGroup>
|
||||
```bash npm
|
||||
npm install @agentic/dexter @dexaai/dexter
|
||||
```
|
||||
|
||||
```bash yarn
|
||||
yarn add @agentic/dexter @dexaai/dexter
|
||||
```
|
||||
|
||||
```bash pnpm
|
||||
pnpm add @agentic/dexter @dexaai/dexter
|
||||
```
|
||||
</CodeGroup>
|
||||
|
||||
See the [Agentic ⇒ Dexter](/sdks/dexter) docs for more details.
|
||||
</Accordion>
|
||||
|
||||
<Accordion title="OpenAI SDK">
|
||||
<CodeGroup>
|
||||
```bash npm
|
||||
npm install openai
|
||||
```
|
||||
|
||||
```bash yarn
|
||||
yarn add openai
|
||||
```
|
||||
|
||||
```bash pnpm
|
||||
pnpm add openai
|
||||
```
|
||||
</CodeGroup>
|
||||
|
||||
There's no need for a separate adapter with the OpenAI SDK since all agentic tools are compatible with OpenAI by default. You can use `AIFunctionSet.specs` for function calling or `AIFunctionSet.toolSpecs` for parallel tool calling.
|
||||
|
||||
See the [Agentic ⇒ OpenAI](/sdks/openai) docs for more details.
|
||||
</Accordion>
|
||||
|
||||
</AccordionGroup>
|
||||
|
||||
<Note>
|
||||
You can use Agentic without any of these AI SDKs. `@agentic/core` and all tool packages are completely agnostic to the specific LLM and AI SDK.
|
||||
</Note>
|
||||
|
||||
</Step>
|
||||
|
||||
</Steps>
|
||||
|
||||
## Usage
|
||||
|
||||
TODO
|
|
@ -0,0 +1,36 @@
|
|||
---
|
||||
title: Bing
|
||||
description: Bing web search API client.
|
||||
---
|
||||
|
||||
- package: `@agentic/bing`
|
||||
- exports: `class BingClient`, `namespace bing`
|
||||
- env vars: `BING_API_KEY`
|
||||
- [source](https://github.com/transitive-bullshit/agentic/blob/main/packages/bing/src/bing-client.ts)
|
||||
- [api docs](https://www.microsoft.com/en-us/bing/apis/bing-web-search-api)
|
||||
|
||||
## Install
|
||||
|
||||
<CodeGroup>
|
||||
```bash npm
|
||||
npm install @agentic/bing
|
||||
```
|
||||
|
||||
```bash yarn
|
||||
yarn add @agentic/bing
|
||||
```
|
||||
|
||||
```bash pnpm
|
||||
pnpm add @agentic/bing
|
||||
```
|
||||
|
||||
</CodeGroup>
|
||||
|
||||
## Usage
|
||||
|
||||
```ts
|
||||
import { BingClient } from '@agentic/bing'
|
||||
|
||||
const bing = new BingClient()
|
||||
const res = await bing.search('latest news')
|
||||
```
|
|
@ -41,6 +41,7 @@
|
|||
"eslint": "^8.57.0",
|
||||
"husky": "^9.1.4",
|
||||
"lint-staged": "^15.2.8",
|
||||
"mintlify": "^4.0.195",
|
||||
"npm-run-all2": "^6.2.2",
|
||||
"only-allow": "^1.2.1",
|
||||
"prettier": "^3.3.3",
|
||||
|
|
3272
pnpm-lock.yaml
3272
pnpm-lock.yaml
Plik diff jest za duży
Load Diff
|
@ -25,7 +25,7 @@
|
|||
- [Firebase Genkit](#firebase-genkit)
|
||||
- [Dexa Dexter](#dexa-dexter)
|
||||
- [OpenAI SDK](#openai-sdk)
|
||||
- [Services](#services)
|
||||
- [Tools](#tools)
|
||||
- [Client Design Philosophy](#client-design-philosophy)
|
||||
- [TODO](#todo)
|
||||
- [Contributors](#contributors)
|
||||
|
@ -285,9 +285,9 @@ See [examples/openai](./examples/openai) for a full example.
|
|||
|
||||
</details>
|
||||
|
||||
## Services
|
||||
## Tools
|
||||
|
||||
| Service | Package | Named export | Description |
|
||||
| Service / Tool | Package | Named export | Description |
|
||||
| ------------------------------------------------------------------------ | --------------------------- | ---------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| [Bing](https://www.microsoft.com/en-us/bing/apis/bing-web-search-api) | `@agentic/bing` | `BingClient` | Bing web search. |
|
||||
| [Calculator](https://github.com/josdejong/mathjs) | `@agentic/calculator` | `calculator` | Basic calculator for simple mathematical expressions. |
|
||||
|
@ -334,7 +334,7 @@ Note that you can import any of these AI tools from `@agentic/stdlib` OR from th
|
|||
|
||||
## TODO
|
||||
|
||||
- services
|
||||
- tools
|
||||
- browserbase
|
||||
- [brave search](https://brave.com/search/api/)
|
||||
- [phantombuster](https://phantombuster.com)
|
||||
|
|
Ładowanie…
Reference in New Issue