Skip to content

Jodit AI Adapter Service

CI npm version License: MIT Docker

Universal AI adapter service for Jodit Editor AI Assistant Pro using Vercel AI SDK.

This service provides a secure, server-side proxy for AI providers (OpenAI, DeepSeek, Claude, etc.) that can be used with Jodit Editor's AI Assistant Pro plugin. It handles API key management, authentication, and request routing to various AI providers.

Features

  • Secure API Key Management - API keys stored server-side, not exposed to clients
  • Authentication - Validates API keys (36 characters, UUID format) and referer headers
  • Multi-Provider Support - OpenAI, DeepSeek, Anthropic, Google (extensible)
  • Streaming Support - Real-time streaming responses using Server-Sent Events (SSE)
  • Tool Calling - Full support for function/tool calling
  • Rate Limiting - Configurable rate limiting with in-memory or Redis backend
  • Distributed Support - Redis-based rate limiting for multi-instance deployments
  • Production Ready - Docker support, TypeScript, comprehensive error handling
  • Logging - Winston-based logging with different levels
  • Testing - Jest with comprehensive test coverage

Documentation

License

MIT License - see LICENSE for details.