packages/ai-claude-code
| Name | Last commit message | Last commit date |
|---|---|---|
| .. | ||
README.md
@tanstack/ai-claude-code#
Claude Code harness adapter for TanStack AI — run Claude Code (via @anthropic-ai/claude-agent-sdk) as a chat backend with local tool execution, stateful coding sessions, and TanStack tool bridging.
import { chat } from '@tanstack/ai'
import { claudeCodeText } from '@tanstack/ai-claude-code'
const stream = chat({
adapter: claudeCodeText('claude-opus-4-8', {
cwd: '/path/to/project',
permissionMode: 'acceptEdits',
}),
messages: [{ role: 'user', content: 'Fix the failing test.' }],
})
Server-only (Node). See the Claude Code adapter docs for sessions, tool bridging, permissions, and limitations.