{
 "kind": "tool",
 "slug": "tanstack-ai",
 "path": "tools/tanstack-ai/",
 "name": "TanStack AI",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Model SDKs",
   "tools/ai-sdks/"
  ]
 ],
 "lead": "Type-safe AI SDK for streaming, tool calling, agents and structured outputs.",
 "chips": [
  {
   "label": "Model SDKs",
   "path": "tools/ai-sdks/"
  },
  {
   "label": "NPM"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "npm install @tanstack/ai"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/TanStack/ai"
  },
  {
   "label": "Website",
   "href": "https://tanstack.com/ai"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "MIT",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from npm.",
   "src": "https://github.com/TanStack/ai"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change today",
   "note": "Latest GitHub release Nov 12, 2026. ",
   "src": "https://github.com/TanStack/ai"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "3 projects",
   "status": "info",
   "sub": "#43 of 89 in its category",
   "note": "Dependency in 3 public GitHub projects set up for AI coding agents that we scanned (0.0%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Install only",
   "status": "info",
   "sub": null,
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": null
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What TanStack AI does",
   "parts": [
    {
     "t": "prose",
     "text": "Type-safe AI SDK for streaming, tool calling, agents and structured outputs."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "TanStack AI popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "55",
       "of": "/ 100",
       "l": "Gid Score, #1302 overall"
      },
      {
       "n": "2.9M",
       "l": "downloads a week, npm"
      },
      {
       "n": "3,367",
       "l": "GitHub stars"
      },
      {
       "n": "3",
       "l": "agent projects use it"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How TanStack AI is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "TanStack AI joined the catalog on its public numbers (2,865,069 downloads a week on npm and 3,367 GitHub stars), not on our project count: it is a dependency in 19 public GitHub projects of our scan, 3 of them set up for AI coding agents.",
      "The most used alternative in our scan is OpenAI (287 projects).",
      "Projects that use it most often also use Vite (94.7%), React (94.7%), Lucide React (73.7%)."
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 94.7% of its projects",
       "v": "Vite",
       "path": "tools/vite/"
      },
      {
       "l": "In 94.7% of its projects",
       "v": "React",
       "path": "tools/react/"
      },
      {
       "l": "In 73.7% of its projects",
       "v": "Lucide React",
       "path": "tools/lucide-react/"
      },
      {
       "l": "In 73.7% of its projects",
       "v": "Zod",
       "path": "tools/zod/"
      },
      {
       "l": "In 57.9% of its projects",
       "v": "Class Variance Authority",
       "path": "tools/class-variance-authority/"
      },
      {
       "l": "In 47.4% of its projects",
       "v": "react-markdown",
       "path": "tools/react-markdown/"
      },
      {
       "l": "In 47.4% of its projects",
       "v": "TanStack Query",
       "path": "tools/tanstack-react-query/"
      },
      {
       "l": "In 47.4% of its projects",
       "v": "TanStack Router",
       "path": "tools/tanstack-react-router/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about TanStack AI",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "Funding",
       "path": "tools/funding/",
       "items": [
        "GitHub Sponsors: https://github.com/tannerlinsley",
        "158 GitHub sponsors"
       ]
      },
      {
       "title": "More in Model SDKs",
       "path": "tools/ai-sdks/",
       "items": [
        {
         "text": "OpenAI Python Library",
         "path": "tools/openai-pypi/"
        },
        {
         "text": "Anthropic Python SDK",
         "path": "tools/anthropic/"
        },
        {
         "text": "Google GenAI Python SDK",
         "path": "tools/google-genai-pypi/"
        },
        {
         "text": "Hugging Face Hub",
         "path": "tools/huggingface-hub/"
        },
        {
         "text": "LiteLLM",
         "path": "tools/litellm/"
        },
        {
         "text": "Ollama",
         "path": "tools/ollama-pypi/"
        },
        {
         "text": "Ollama JavaScript Library",
         "path": "tools/ollama-npm/"
        },
        {
         "text": "Pi-AI",
         "path": "tools/mariozechner-pi-ai/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "TanStack AI",
       "me": true,
       "facts": [
        "MIT",
        "Gid 55",
        "2.9M/wk"
       ]
      },
      {
       "name": "OpenAI",
       "why": "Official TypeScript SDK for accessing OpenAI APIs including GPT and embeddings.",
       "path": "tools/openai-npm/",
       "facts": [
        "Apache-2.0",
        "Gid 79",
        "58.8M/wk"
       ]
      },
      {
       "name": "AI SDK",
       "why": "Vercel's unified SDK for building AI apps with OpenAI, Anthropic, Google and more.",
       "path": "tools/ai/",
       "facts": [
        "Apache-2.0",
        "Gid 84",
        "45.8M/wk"
       ]
      },
      {
       "name": "Anthropic SDK",
       "why": "Official TypeScript SDK for calling Claude API and building agent applications.",
       "path": "tools/anthropic-ai/",
       "facts": [
        "Apache-2.0",
        "Gid 72",
        "70.7M/wk"
       ]
      },
      {
       "name": "Google Generative AI",
       "why": "Official SDK for Google Gemini API to build AI-powered applications.",
       "path": "tools/google-genai-npm/",
       "facts": [
        "Apache-2.0",
        "Gid 67",
        "30.3M/wk"
       ]
      },
      {
       "name": "Groq SDK",
       "why": "Official TypeScript SDK for calling Groq's fast language models API.",
       "path": "tools/groq-sdk/",
       "facts": [
        "Apache-2.0",
        "Gid 46",
        "1.2M/wk"
       ]
      },
      {
       "name": "Mistral AI",
       "why": "Official TypeScript SDK for calling Mistral's language models and APIs.",
       "path": "tools/mistralai-mistralai/",
       "facts": [
        "Apache-2.0",
        "Gid 43",
        "7M/wk"
       ]
      }
     ],
     "more": "Compare TanStack AI with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "npm install @tanstack/ai"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for TanStack AI yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "npm @tanstack/ai"
  ],
  [
   "Category",
   "Model SDKs"
  ],
  [
   "License",
   "MIT"
  ],
  [
   "Gid Score",
   "55.4"
  ],
  [
   "Rank in category",
   "#43 of 89"
  ],
  [
   "GitHub",
   "TanStack/ai"
  ],
  [
   "Last change",
   "Nov 17, 2026"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily."
}