@tanstack/ai-opencode has 5,546 recorded weekly downloads on npm, an increase of 459% over the past 30 days, ranking #1113 of 2,391 tracked listings.
About @tanstack/ai-opencode
@tanstack/ai-opencode
OpenCode harness adapter for TanStack AI — run OpenCode (via @opencode-ai/sdk) as a chat backend with local tool execution, token-level streaming, stateful sessions, and TanStack tool bridging.
import { chat } from '@tanstack/ai'
import { opencodeText } from '@tanstack/ai-opencode'
const stream = chat({
adapter: opencodeText('anthropic/claude-sonnet-4-5', {
directory: '/path/to/project',
permissionMode: 'acceptEdits',
}),
messages: [{ role: 'user', content: 'Fix the failing test.' }],
})
Server-only (Node); requires the opencode CLI installed and authenticated. See the OpenCode adapter docs for sessions, tool bridging, permissions, and limitations.
Description from the npm listing.
- ai
- ai-sdk
- typescript
- tanstack
- opencode
- harness
- agent
- adapter
- chat
- tool-calling
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (544)Similar npm AI SDKs plugins
All 20 @tanstack/ai-opencode alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/@tanstack/ai-opencode. First seen Oct 16, 2026; last successful collection Oct 21, 2026. See the methodology.