LLM Adapter Kit — AI skill for Claude Code
A universal TypeScript library for interacting with multiple LLM providers through a unified interface.
How to install LLM Adapter Kit
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open Synaptic-Labs-AI/llm-adapter-kit and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What LLM Adapter Kit does
A universal TypeScript library for interacting with multiple LLM providers through a unified interface. Supports 600+ models across 8 major providers with built-in cost calculation, streaming, and adv
Alternatives in AI
- Installation Guide - Claude Skills Library — Complete installation guide for all 170 production-ready skills across multiple AI agents and platforms 5.3k ★
- Cursor Tools — by eastlondoner - Creates a versatile AI command interface supporting multiple providers and models with flexi 4.7k ★
- Cc Mirror — Create multiple isolated Claude Code variants with custom providers (Z.ai, MiniMax, OpenRouter, LiteLLM) 2.1k ★
README
LLM Adapter Kit
A universal TypeScript library for interacting with multiple LLM providers through a unified interface. Supports 600+ models across 8 major providers with built-in cost calculation, streaming, and advanced features.
🚀 Features
- Universal Interface: Single API for all LLM providers
- 8 Major Providers: OpenAI, Anthropic, Google, Mistral, Groq, OpenRouter, Requesty, Perplexity
- 600+ Models: Access to the latest models including GPT-4o, Claude 4, Gemini 2.5, Sonar
- Cost Tracking: Built-in token counting and cost calculation
- Streaming Support: Real-time response streaming
- Advanced Features: Function calling, JSON mode, vision support
- TypeScript First: Full type safety and IntelliSense support
- Comprehensive Testing: Extensive test suite with real API validation
📦 Installation
npm install llm-adapter-kit
🔑 Setup
- Copy the environment file:
cp .env.example .env
- Add your API keys to
.env:
# Required: At least one provider
OPENAI_API_KEY=sk-...
ANTHROPIC_API_KEY=sk-ant-...
GOOGLE_API_KEY=AIza...
MISTRAL_API_KEY=...
# Optional: Multi-provider aggregators
OPENROUTER_API_KEY=sk-or-... # 400+ models
REQUESTY_API_KEY=... # 150+ models
PERPLEXITY_API_KEY=pplx-... # Web search & reasoning
🎯 Quick Start
import { OpenAIAdapter, AnthropicAdapter, GoogleAdapter, GroqAdapter, PerplexityAdapter } from 'llm-adapter-kit';
// Initialize adapters
const openai = new OpenAIAdapter();
const claude = new AnthropicAdapter();
const gemini = new GoogleAdapter();
const groq = new GroqAdapter();
const perplexity = new PerplexityAdapter();
// Basic text generation
const response = await openai.generate('Write a haiku about coding');
console.log(response.text);
// With options
const jsonResponse = await claude.generate('Return user data as JSON', {
maxTokens: 100,
temperature: 0.7,
jsonMode: true
});
// Streaming
await gemini.generateStre
Related Skills
AgentBridge Universal Agent Checkout Adapter
Merchants currently need separate integrations for every AI shopping agent (ChatGPT, Claude, Gemini). This ada
Esperanto
A unified interface for various AI model providers
CC RouterMultiProvider
Use Claude Code as a single interface to access multiple AI providers with intent-based routing for optimal pe
Xspace AI
TypeScript SDK and CLI for building AI agents that autonomously join, listen, and speak in X/Twitter Spaces. S
AI Platform
PHP library for interacting with AI platform provider.
Amux
Bidirectional LLM API adapter with IR pattern. Seamlessly convert between OpenAI, Anthropic, DeepSeek, and mor
Related Agents
UI Sketcher
Universal UI Blueprint Engineer that transforms any functional requirement into visual ASCII interface designs
Voice Stylist
Rewrites prose drafts (PR review comments, Slack messages, Jira comments) into the user's voice. Applies a bui
A2ui Angular
Expert A2UI (Agent-to-User Interface) renderer developer for Angular 21.x. Use for building A2UI renderers, co