typai is a TypeScript library that provides a type-safe way to interact with AI models, specifically designed for tool-based interactions. It leverages the power of OpenAI's API and io-ts for runtime type checking.
Internal unstable DOM UI utilities for typai adapters.
Local deterministic Typai correction engine and storage APIs.
Typai contenteditable adapter for local correction and optional completion controllers.
Typai textarea adapter with overlay correction rendering and optional completion support.
Optional remote completion controller and endpoint-provider utilities for Typai.
React provider, hooks, and components for Typai editor surfaces.
CodeMirror extension for Typai local correction and optional completion controllers.