
Security News
CVE Volume Surges Past 48,000 in 2025 as WordPress Plugin Ecosystem Drives Growth
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.
@tanstack/ai
Advanced tools
A powerful, type-safe AI SDK for building AI-powered applications.
TanStack AI works with any framework (Next.js, Express, Remix, etc.).
With TanStack Start, you get a bonus: share implementations between AI tools and server functions with createServerFnTool:
import { createServerFnTool } from '@tanstack/ai-react'
// Define once, get AI tool AND server function (TanStack Start only)
const getProducts = createServerFnTool({
name: 'getProducts',
inputSchema: z.object({ query: z.string() }),
execute: async ({ query }) => db.products.search(query),
})
// Use in AI chat
chat({ tools: [getProducts.server] })
// Call directly from components (no API endpoint needed!)
const products = await getProducts.serverFn({ query: 'laptop' })
No duplicate logic, full type safety, automatic validation. The serverFn feature requires TanStack Start. See docs for details.
|
|
|
We're looking for TanStack AI Partners to join our mission! Partner with us to push the boundaries of TanStack AI and build amazing things together.
LET'S CHAT… and more at TanStack.com »
FAQs
Core TanStack AI library - Open source AI SDK
The npm package @tanstack/ai receives a total of 6,277 weekly downloads. As such, @tanstack/ai popularity was classified as popular.
We found that @tanstack/ai demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.

Security News
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.

Security News
Tailwind Labs laid off 75% of its engineering team after revenue dropped 80%, as LLMs redirect traffic away from documentation where developers discover paid products.