packages/ai-codex
| Name | Last commit message | Last commit date |
|---|---|---|
| .. | ||
README.md
@tanstack/ai-codex#
Codex harness adapter for TanStack AI — run OpenAI Codex (via @openai/codex-sdk) as a chat backend with local tool execution, stateful coding sessions, and TanStack tool bridging.
import { chat } from '@tanstack/ai'
import { codexText } from '@tanstack/ai-codex'
const stream = chat({
adapter: codexText('gpt-5.1-codex', {
cwd: '/path/to/project',
sandboxMode: 'workspace-write',
}),
messages: [{ role: 'user', content: 'Fix the failing test.' }],
})
Server-only (Node). See the Codex adapter docs for sessions, tool bridging, sandboxing, and limitations.