Latest
Frameworks
SDKs
Other
Resources
Tako gives AI agents real-time, well-sourced data and charts across finance, economics, sports, demographics, and more. Search Tako's curated knowledge graph and the live web, get citation-backed answers, and fetch the data behind any result.
pnpm install @takoviz/ai-sdk
npm install @takoviz/ai-sdk
yarn add @takoviz/ai-sdk
bun add @takoviz/ai-sdk
# Add to your .env file TAKO_API_KEY=your_api_key_here
import { generateText, isStepCount } from 'ai'; import { takoSearch, takoAnswer, takoContents } from '@takoviz/ai-sdk'; const { text } = await generateText({ model: 'openai/gpt-6-astra', prompt: 'How have Nvidia and AMD employee counts compared since 2013?', tools: { takoSearch: takoSearch(), takoAnswer: takoAnswer(), takoContents: takoContents(), }, stopWhen: isStepCount(5), }); console.log(text);