[{"data":1,"prerenderedAt":1097},["ShallowReactive",2],{"navigation":3,"/integrations/ai-sdk":144,"/integrations/ai-sdk-surround":1092},[4,9,14,28,38,104,122,140],{"title":5,"path":6,"stem":7,"icon":8},"Introduction","/","01.index","i-lucide-house",{"title":10,"path":11,"stem":12,"icon":13},"Quickstart","/quickstart","02.quickstart","i-lucide-rocket",{"title":15,"icon":13,"path":16,"stem":17,"children":18,"page":27},"Get started","/get-started","03.get-started",[19,23],{"title":20,"path":21,"stem":22},"API keys","/get-started/api-keys","03.get-started/01.api-keys",{"title":24,"path":25,"stem":26},"Identifiers","/get-started/identifiers","03.get-started/02.identifiers",false,{"title":29,"icon":30,"path":31,"stem":32,"children":33,"page":27},"Concepts","i-lucide-book-open","/concepts","04.concepts",[34],{"title":35,"path":36,"stem":37},"Limits and pricing","/concepts/limits-and-pricing","04.concepts/01.limits-and-pricing",{"title":39,"path":40,"stem":41,"children":42,"icon":103},"API reference","/api","05.api/01.index",[43,45,49,53,57],{"title":44,"path":40,"stem":41},"Overview",{"title":46,"path":47,"stem":48},"Authentication","/api/authentication","05.api/02.authentication",{"title":50,"path":51,"stem":52},"Errors","/api/errors","05.api/03.errors",{"title":54,"path":55,"stem":56},"Rate limits","/api/rate-limits","05.api/04.rate-limits",{"title":58,"children":59,"ui":98,"defaultOpen":27},"Memory",[60,69,74,79,86,91],{"title":61,"path":62,"stem":63,"badge":64},"Ingest","/api/ingest","05.api/05.ingest",{"label":65,"color":66,"variant":67,"class":68},"POST","neutral","soft","rounded-md px-1.5 ring-0 bg-(--docs-sage)/50 text-[#34372F]",{"title":70,"path":71,"stem":72,"badge":73},"Context","/api/context","05.api/06.context",{"label":65,"color":66,"variant":67,"class":68},{"title":75,"path":76,"stem":77,"badge":78},"Retrieve","/api/retrieve","05.api/07.retrieve",{"label":65,"color":66,"variant":67,"class":68},{"title":80,"path":81,"stem":82,"badge":83},"List","/api/memories","05.api/08.memories",{"label":84,"color":66,"variant":67,"class":85},"GET","rounded-md px-1.5 ring-0 bg-info/12 text-info",{"title":87,"path":88,"stem":89,"badge":90},"Get","/api/memories-get","05.api/09.memories-get",{"label":84,"color":66,"variant":67,"class":85},{"title":92,"path":93,"stem":94,"badge":95},"Delete","/api/memories-delete","05.api/10.memories-delete",{"label":96,"color":66,"variant":67,"class":97},"DEL","rounded-md px-1.5 ring-0 bg-warning/12 text-warning",{"itemWithChildren":99,"trigger":100,"linkTrailingIcon":101,"content":102},"mt-0","mb-0 text-sm font-normal normal-case tracking-normal","block","ms-2.5 ps-2 border-s border-default","i-lucide-code",{"title":105,"icon":106,"path":107,"stem":108,"children":109,"page":27},"SDKs","i-lucide-package","/sdk","06.sdk",[110,114,118],{"title":111,"path":112,"stem":113},"JavaScript","/sdk/javascript","06.sdk/01.javascript",{"title":115,"path":116,"stem":117},"PHP","/sdk/php","06.sdk/02.php",{"title":119,"path":120,"stem":121},"Python","/sdk/python","06.sdk/03.python",{"title":123,"icon":124,"path":125,"stem":126,"children":127,"page":27},"Integrations","i-lucide-blocks","/integrations","07.integrations",[128,132,136],{"title":129,"path":130,"stem":131},"Vercel AI SDK","/integrations/ai-sdk","07.integrations/01.ai-sdk",{"title":133,"path":134,"stem":135},"OpenAI Agents SDK","/integrations/openai-agents","07.integrations/02.openai-agents",{"title":137,"path":138,"stem":139},"Laravel","/integrations/laravel","07.integrations/03.laravel",{"title":141,"path":142,"stem":143},"Changelog","/changelog","08.changelog",{"id":145,"title":146,"body":147,"description":1086,"extension":1032,"links":1087,"meta":1088,"navigation":1089,"path":130,"seo":1090,"stem":131,"__hash__":1091},"docs/07.integrations/01.ai-sdk.md","Vercel AI SDK tools",{"type":148,"value":149,"toc":1079},"minimark",[150,169,174,253,260,264,434,448,492,513,520,525,745,752,766,770,779,964,969,1025,1028,1058,1071,1075],[151,152,153,157,158,162,163,168],"p",{},[154,155,156],"code",{},"@neurophic/ai-sdk"," wraps the ",[159,160,161],"a",{"href":112},"JavaScript SDK"," for the ",[159,164,129],{"href":165,"rel":166},"https://ai-sdk.dev",[167],"nofollow",".",[170,171,173],"h2",{"id":172},"install","Install",[175,176,178,212,233],"code-group",{"sync":177},"pm",[179,180,186],"pre",{"className":181,"code":182,"filename":183,"language":184,"meta":185,"style":185},"language-bash shiki shiki-themes github-dark-default","npm install neurophic @neurophic/ai-sdk ai zod\n","npm","bash","",[154,187,188],{"__ignoreMap":185},[189,190,193,196,200,203,206,209],"span",{"class":191,"line":192},"line",1,[189,194,183],{"class":195},"sQhOw",[189,197,199],{"class":198},"s9uIt"," install",[189,201,202],{"class":198}," neurophic",[189,204,205],{"class":198}," @neurophic/ai-sdk",[189,207,208],{"class":198}," ai",[189,210,211],{"class":198}," zod\n",[179,213,216],{"className":181,"code":214,"filename":215,"language":184,"meta":185,"style":185},"pnpm add neurophic @neurophic/ai-sdk ai zod\n","pnpm",[154,217,218],{"__ignoreMap":185},[189,219,220,222,225,227,229,231],{"class":191,"line":192},[189,221,215],{"class":195},[189,223,224],{"class":198}," add",[189,226,202],{"class":198},[189,228,205],{"class":198},[189,230,208],{"class":198},[189,232,211],{"class":198},[179,234,237],{"className":181,"code":235,"filename":236,"language":184,"meta":185,"style":185},"yarn add neurophic @neurophic/ai-sdk ai zod\n","yarn",[154,238,239],{"__ignoreMap":185},[189,240,241,243,245,247,249,251],{"class":191,"line":192},[189,242,236],{"class":195},[189,244,224],{"class":198},[189,246,202],{"class":198},[189,248,205],{"class":198},[189,250,208],{"class":198},[189,252,211],{"class":198},[151,254,255,256,259],{},"Needs ",[154,257,258],{},"ai"," 7 and Node 22 or later.",[170,261,263],{"id":262},"createtools","createTools",[179,265,269],{"className":266,"code":267,"language":268,"meta":185,"style":185},"language-ts shiki shiki-themes github-dark-default","import { Neurophic } from 'neurophic';\nimport { createTools } from '@neurophic/ai-sdk';\n\nconst client = new Neurophic({ apiKey: process.env.NEUROPHIC_API_KEY });\nconst { remember, recall } = createTools({\n  client,\n  identifier: 'user-123',\n  name: 'Ada',\n  search: { roles: ['user', 'assistant'], sources: true, rerank: 'fast' },\n});\n","ts",[154,270,271,290,305,312,341,370,376,388,399,428],{"__ignoreMap":185},[189,272,273,277,281,284,287],{"class":191,"line":192},[189,274,276],{"class":275},"suJrU","import",[189,278,280],{"class":279},"sZEs4"," { Neurophic } ",[189,282,283],{"class":275},"from",[189,285,286],{"class":198}," 'neurophic'",[189,288,289],{"class":279},";\n",[189,291,293,295,298,300,303],{"class":191,"line":292},2,[189,294,276],{"class":275},[189,296,297],{"class":279}," { createTools } ",[189,299,283],{"class":275},[189,301,302],{"class":198}," '@neurophic/ai-sdk'",[189,304,289],{"class":279},[189,306,308],{"class":191,"line":307},3,[189,309,311],{"emptyLinePlaceholder":310},true,"\n",[189,313,315,318,322,325,328,332,335,338],{"class":191,"line":314},4,[189,316,317],{"class":275},"const",[189,319,321],{"class":320},"sFSAA"," client",[189,323,324],{"class":275}," =",[189,326,327],{"class":275}," new",[189,329,331],{"class":330},"sc3cj"," Neurophic",[189,333,334],{"class":279},"({ apiKey: process.env.",[189,336,337],{"class":320},"NEUROPHIC_API_KEY",[189,339,340],{"class":279}," });\n",[189,342,344,346,349,352,355,358,361,364,367],{"class":191,"line":343},5,[189,345,317],{"class":275},[189,347,348],{"class":279}," { ",[189,350,351],{"class":320},"remember",[189,353,354],{"class":279},", ",[189,356,357],{"class":320},"recall",[189,359,360],{"class":279}," } ",[189,362,363],{"class":275},"=",[189,365,366],{"class":330}," createTools",[189,368,369],{"class":279},"({\n",[189,371,373],{"class":191,"line":372},6,[189,374,375],{"class":279},"  client,\n",[189,377,379,382,385],{"class":191,"line":378},7,[189,380,381],{"class":279},"  identifier: ",[189,383,384],{"class":198},"'user-123'",[189,386,387],{"class":279},",\n",[189,389,391,394,397],{"class":191,"line":390},8,[189,392,393],{"class":279},"  name: ",[189,395,396],{"class":198},"'Ada'",[189,398,387],{"class":279},[189,400,402,405,408,410,413,416,419,422,425],{"class":191,"line":401},9,[189,403,404],{"class":279},"  search: { roles: [",[189,406,407],{"class":198},"'user'",[189,409,354],{"class":279},[189,411,412],{"class":198},"'assistant'",[189,414,415],{"class":279},"], sources: ",[189,417,418],{"class":320},"true",[189,420,421],{"class":279},", rerank: ",[189,423,424],{"class":198},"'fast'",[189,426,427],{"class":279}," },\n",[189,429,431],{"class":191,"line":430},10,[189,432,433],{"class":279},"});\n",[151,435,436,438,439,443,444,447],{},[154,437,263],{}," returns two AI SDK tools you can pass straight to ",[440,441,442],"strong",{},"streamText"," or ",[440,445,446],{},"generateText",":",[449,450,451,466],"ul",{},[452,453,454,458,459,462,463,168],"li",{},[440,455,456,168],{},[154,457,351],{}," Takes ",[154,460,461],{},"content","; see ",[159,464,465],{"href":62},"API reference > Ingest",[452,467,468,458,472,475,476,354,479,354,482,485,486,462,489,168],{},[440,469,470,168],{},[154,471,357],{},[154,473,474],{},"query"," and optional ",[154,477,478],{},"goal",[154,480,481],{},"since",[154,483,484],{},"until"," and ",[154,487,488],{},"limit",[159,490,491],{"href":76},"API reference > Retrieve",[151,493,494,497,498,500,501,504,505,508,509,512],{},[154,495,496],{},"search"," is applied to every ",[154,499,357],{}," call and is set by you, never by the model: ",[154,502,503],{},"roles"," for whose words to return, ",[154,506,507],{},"sources"," to also return the original turns, and ",[154,510,511],{},"rerank"," for a second ranking stage before the cut.",[151,514,515,516,519],{},"Each tool carries a description and a ",[154,517,518],{},"zod"," input schema, so the model knows when and how to call it; invalid input is rejected before any request is made.",[521,522,524],"h3",{"id":523},"example","Example",[179,526,528],{"className":266,"code":527,"language":268,"meta":185,"style":185},"import { Neurophic } from 'neurophic';\nimport { createTools } from '@neurophic/ai-sdk';\nimport { streamText, isStepCount } from 'ai';\nimport { openai } from '@ai-sdk/openai';\n\nconst client = new Neurophic({ apiKey: process.env.NEUROPHIC_API_KEY });\nconst { remember, recall } = createTools({ client, identifier: 'user-123' });\n\nconst instructions = 'You are a travel assistant. Use recall before answering and remember what the user shares.';\n\nconst result = streamText({\n  model: openai('gpt-4o'),\n  instructions,\n  tools: { remember, recall },\n  stopWhen: isStepCount(3),\n  messages: [\n    { role: 'user', content: 'Remember that I prefer window seats on long flights.' },\n  ],\n});\n",[154,529,530,542,554,568,582,586,604,629,633,647,651,666,684,690,696,712,718,734,740],{"__ignoreMap":185},[189,531,532,534,536,538,540],{"class":191,"line":192},[189,533,276],{"class":275},[189,535,280],{"class":279},[189,537,283],{"class":275},[189,539,286],{"class":198},[189,541,289],{"class":279},[189,543,544,546,548,550,552],{"class":191,"line":292},[189,545,276],{"class":275},[189,547,297],{"class":279},[189,549,283],{"class":275},[189,551,302],{"class":198},[189,553,289],{"class":279},[189,555,556,558,561,563,566],{"class":191,"line":307},[189,557,276],{"class":275},[189,559,560],{"class":279}," { streamText, isStepCount } ",[189,562,283],{"class":275},[189,564,565],{"class":198}," 'ai'",[189,567,289],{"class":279},[189,569,570,572,575,577,580],{"class":191,"line":314},[189,571,276],{"class":275},[189,573,574],{"class":279}," { openai } ",[189,576,283],{"class":275},[189,578,579],{"class":198}," '@ai-sdk/openai'",[189,581,289],{"class":279},[189,583,584],{"class":191,"line":343},[189,585,311],{"emptyLinePlaceholder":310},[189,587,588,590,592,594,596,598,600,602],{"class":191,"line":372},[189,589,317],{"class":275},[189,591,321],{"class":320},[189,593,324],{"class":275},[189,595,327],{"class":275},[189,597,331],{"class":330},[189,599,334],{"class":279},[189,601,337],{"class":320},[189,603,340],{"class":279},[189,605,606,608,610,612,614,616,618,620,622,625,627],{"class":191,"line":378},[189,607,317],{"class":275},[189,609,348],{"class":279},[189,611,351],{"class":320},[189,613,354],{"class":279},[189,615,357],{"class":320},[189,617,360],{"class":279},[189,619,363],{"class":275},[189,621,366],{"class":330},[189,623,624],{"class":279},"({ client, identifier: ",[189,626,384],{"class":198},[189,628,340],{"class":279},[189,630,631],{"class":191,"line":390},[189,632,311],{"emptyLinePlaceholder":310},[189,634,635,637,640,642,645],{"class":191,"line":401},[189,636,317],{"class":275},[189,638,639],{"class":320}," instructions",[189,641,324],{"class":275},[189,643,644],{"class":198}," 'You are a travel assistant. Use recall before answering and remember what the user shares.'",[189,646,289],{"class":279},[189,648,649],{"class":191,"line":430},[189,650,311],{"emptyLinePlaceholder":310},[189,652,654,656,659,661,664],{"class":191,"line":653},11,[189,655,317],{"class":275},[189,657,658],{"class":320}," result",[189,660,324],{"class":275},[189,662,663],{"class":330}," streamText",[189,665,369],{"class":279},[189,667,669,672,675,678,681],{"class":191,"line":668},12,[189,670,671],{"class":279},"  model: ",[189,673,674],{"class":330},"openai",[189,676,677],{"class":279},"(",[189,679,680],{"class":198},"'gpt-4o'",[189,682,683],{"class":279},"),\n",[189,685,687],{"class":191,"line":686},13,[189,688,689],{"class":279},"  instructions,\n",[189,691,693],{"class":191,"line":692},14,[189,694,695],{"class":279},"  tools: { remember, recall },\n",[189,697,699,702,705,707,710],{"class":191,"line":698},15,[189,700,701],{"class":279},"  stopWhen: ",[189,703,704],{"class":330},"isStepCount",[189,706,677],{"class":279},[189,708,709],{"class":320},"3",[189,711,683],{"class":279},[189,713,715],{"class":191,"line":714},16,[189,716,717],{"class":279},"  messages: [\n",[189,719,721,724,726,729,732],{"class":191,"line":720},17,[189,722,723],{"class":279},"    { role: ",[189,725,407],{"class":198},[189,727,728],{"class":279},", content: ",[189,730,731],{"class":198},"'Remember that I prefer window seats on long flights.'",[189,733,427],{"class":279},[189,735,737],{"class":191,"line":736},18,[189,738,739],{"class":279},"  ],\n",[189,741,743],{"class":191,"line":742},19,[189,744,433],{"class":279},[151,746,747,748,485,750,168],{},"Learn more under ",[159,749,465],{"href":62},[159,751,491],{"href":76},[753,754,755],"warning",{},[151,756,757,758,761,762,765],{},"If a call fails, the tool's ",[154,759,760],{},"execute"," throws a ",[154,763,764],{},"NeurophicError"," and the AI SDK reports it as a tool error for that step.",[170,767,769],{"id":768},"withcontext","withContext",[151,771,772,774,775,778],{},[154,773,769],{}," calls ",[154,776,777],{},"client.context"," and returns your instructions with the context appended, as one string. Use it when you want memory in front of the model on every turn without giving it a tool.",[179,780,782],{"className":266,"code":781,"language":268,"meta":185,"style":185},"import { Neurophic } from 'neurophic';\nimport { withContext } from '@neurophic/ai-sdk';\nimport { streamText } from 'ai';\nimport { openai } from '@ai-sdk/openai';\n\nconst client = new Neurophic({ apiKey: process.env.NEUROPHIC_API_KEY });\nconst userMessage = 'Can you find me a flight to Lisbon next month?';\n\nconst instructions = await withContext(client, {\n  identifier: 'user-123',\n  query: userMessage,\n  instructions: 'You are a travel assistant.',\n});\n\nconst result = streamText({\n  model: openai('gpt-4o'),\n  instructions,\n  messages: [{ role: 'user', content: userMessage }],\n});\n",[154,783,784,796,809,822,834,838,856,870,874,891,899,904,914,918,922,934,946,950,960],{"__ignoreMap":185},[189,785,786,788,790,792,794],{"class":191,"line":192},[189,787,276],{"class":275},[189,789,280],{"class":279},[189,791,283],{"class":275},[189,793,286],{"class":198},[189,795,289],{"class":279},[189,797,798,800,803,805,807],{"class":191,"line":292},[189,799,276],{"class":275},[189,801,802],{"class":279}," { withContext } ",[189,804,283],{"class":275},[189,806,302],{"class":198},[189,808,289],{"class":279},[189,810,811,813,816,818,820],{"class":191,"line":307},[189,812,276],{"class":275},[189,814,815],{"class":279}," { streamText } ",[189,817,283],{"class":275},[189,819,565],{"class":198},[189,821,289],{"class":279},[189,823,824,826,828,830,832],{"class":191,"line":314},[189,825,276],{"class":275},[189,827,574],{"class":279},[189,829,283],{"class":275},[189,831,579],{"class":198},[189,833,289],{"class":279},[189,835,836],{"class":191,"line":343},[189,837,311],{"emptyLinePlaceholder":310},[189,839,840,842,844,846,848,850,852,854],{"class":191,"line":372},[189,841,317],{"class":275},[189,843,321],{"class":320},[189,845,324],{"class":275},[189,847,327],{"class":275},[189,849,331],{"class":330},[189,851,334],{"class":279},[189,853,337],{"class":320},[189,855,340],{"class":279},[189,857,858,860,863,865,868],{"class":191,"line":378},[189,859,317],{"class":275},[189,861,862],{"class":320}," userMessage",[189,864,324],{"class":275},[189,866,867],{"class":198}," 'Can you find me a flight to Lisbon next month?'",[189,869,289],{"class":279},[189,871,872],{"class":191,"line":390},[189,873,311],{"emptyLinePlaceholder":310},[189,875,876,878,880,882,885,888],{"class":191,"line":401},[189,877,317],{"class":275},[189,879,639],{"class":320},[189,881,324],{"class":275},[189,883,884],{"class":275}," await",[189,886,887],{"class":330}," withContext",[189,889,890],{"class":279},"(client, {\n",[189,892,893,895,897],{"class":191,"line":430},[189,894,381],{"class":279},[189,896,384],{"class":198},[189,898,387],{"class":279},[189,900,901],{"class":191,"line":653},[189,902,903],{"class":279},"  query: userMessage,\n",[189,905,906,909,912],{"class":191,"line":668},[189,907,908],{"class":279},"  instructions: ",[189,910,911],{"class":198},"'You are a travel assistant.'",[189,913,387],{"class":279},[189,915,916],{"class":191,"line":686},[189,917,433],{"class":279},[189,919,920],{"class":191,"line":692},[189,921,311],{"emptyLinePlaceholder":310},[189,923,924,926,928,930,932],{"class":191,"line":698},[189,925,317],{"class":275},[189,927,658],{"class":320},[189,929,324],{"class":275},[189,931,663],{"class":330},[189,933,369],{"class":279},[189,935,936,938,940,942,944],{"class":191,"line":714},[189,937,671],{"class":279},[189,939,674],{"class":330},[189,941,677],{"class":279},[189,943,680],{"class":198},[189,945,683],{"class":279},[189,947,948],{"class":191,"line":720},[189,949,689],{"class":279},[189,951,952,955,957],{"class":191,"line":736},[189,953,954],{"class":279},"  messages: [{ role: ",[189,956,407],{"class":198},[189,958,959],{"class":279},", content: userMessage }],\n",[189,961,962],{"class":191,"line":742},[189,963,433],{"class":279},[151,965,966,968],{},[154,967,769],{}," takes:",[449,970,971,978,986,1003],{},[452,972,973,977],{},[440,974,975,168],{},[154,976,474],{}," The text to fetch context for, usually the latest user message.",[452,979,980,985],{},[440,981,982,168],{},[154,983,984],{},"instructions"," Optional; your own instructions for the model.",[452,987,988,996,997,999,1000,168],{},[440,989,990,354,992,354,994,168],{},[154,991,503],{},[154,993,507],{},[154,995,511],{}," Optional; the same search options as ",[154,998,263],{},", see ",[159,1001,1002],{"href":71},"API reference > Context",[452,1004,1005,1010,1011,1014,1015,1018,1019,1021,1022,1024],{},[440,1006,1007,168],{},[154,1008,1009],{},"template"," Optional ",[154,1012,1013],{},"(context, instructions) => string","; the default appends a ",[154,1016,1017],{},"## Context from memory"," heading and the context lines to ",[154,1020,984],{},", or returns just that block when ",[154,1023,984],{}," is not set.",[151,1026,1027],{},"With the default template and the example above, the returned string is:",[179,1029,1033],{"className":1030,"code":1031,"language":1032,"meta":185,"style":185},"language-md shiki shiki-themes github-dark-default","You are a travel assistant.\n\n## Context from memory\n- Prefers window seats on long flights. (memory)\n","md",[154,1034,1035,1040,1044,1050],{"__ignoreMap":185},[189,1036,1037],{"class":191,"line":192},[189,1038,1039],{"class":279},"You are a travel assistant.\n",[189,1041,1042],{"class":191,"line":292},[189,1043,311],{"emptyLinePlaceholder":310},[189,1045,1046],{"class":191,"line":307},[189,1047,1049],{"class":1048},"sp6Gy","## Context from memory\n",[189,1051,1052,1055],{"class":191,"line":314},[189,1053,1054],{"class":195},"-",[189,1056,1057],{"class":279}," Prefers window seats on long flights. (memory)\n",[753,1059,1060],{},[151,1061,1062,1064,1065,1067,1068,1070],{},[154,1063,769],{}," returns ",[154,1066,984],{}," unchanged (or an empty string when ",[154,1069,984],{}," is not set) in two cases: when nothing relevant is found, and when the request fails for any reason. Errors are not thrown.",[151,1072,747,1073,168],{},[159,1074,1002],{"href":71},[1076,1077,1078],"style",{},"html pre.shiki code .sQhOw, html code.shiki .sQhOw{--shiki-default:#FFA657}html pre.shiki code .s9uIt, html code.shiki .s9uIt{--shiki-default:#A5D6FF}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html pre.shiki code .suJrU, html code.shiki .suJrU{--shiki-default:#FF7B72}html pre.shiki code .sZEs4, html code.shiki .sZEs4{--shiki-default:#E6EDF3}html pre.shiki code .sFSAA, html code.shiki .sFSAA{--shiki-default:#79C0FF}html pre.shiki code .sc3cj, html code.shiki .sc3cj{--shiki-default:#D2A8FF}html pre.shiki code .sp6Gy, html code.shiki .sp6Gy{--shiki-default:#79C0FF;--shiki-default-font-weight:bold}",{"title":185,"searchDepth":192,"depth":292,"links":1080},[1081,1082,1085],{"id":172,"depth":292,"text":173},{"id":262,"depth":292,"text":263,"children":1083},[1084],{"id":523,"depth":307,"text":524},{"id":768,"depth":292,"text":769},"Give a Vercel AI SDK model memory with ready-made tools and prompt context",null,{},{"title":129},{"title":146,"description":1086},"gA0OFgo0CFFNhUT_pTt-dAptsfx8fMaI2hJTerACPxQ",[1093,1095],{"title":119,"path":120,"stem":121,"description":1094,"children":-1},"Install the Python SDK, create a client and call every endpoint from Python 3.10 or later",{"title":133,"path":134,"stem":135,"description":1096,"children":-1},"Give an OpenAI Agents SDK agent memory with ready-made tools and per-turn context",1796467715068]