Introducing Platformatic AI-Warp 1.0.0
The Ultimate AI Gateway for Modern Applications

Search for a command to run...
The Ultimate AI Gateway for Modern Applications

No comments yet. Be the first to comment.
Nitro is a server toolkit used by many JavaScript applications. You can use it on its own for APIs or full-stack servers, or combine it with Vite to get a familiar frontend workflow with a Nitro serve

All durable execution engines give the same versioning advice: pin your runs. Temporal pins runs to worker builds. Vercel's Workflow SDK pins each run to the deployment that started it. Azure Durable

Eve organizes AI agents in a simple way: use Markdown for instructions and skills, TypeScript for tools, and separate files for channels, schedules, and subagents. Behind this setup, Eve relies on the

Picture an online store launching a new product and sending out a mailing list campaign. Thousands of users click the same link at once. The product page, built with a Node.js app like Next.js, needs

How Platformatic ICC Outperforms AWS ECS Target Tracking and Step Scaling

The future of AI integration is here, and it's built for scale.
Today, we're thrilled to announce the official launch of Platformatic AI-Warp 1.0.0, the most comprehensive AI gateway solution that transforms how developers integrate multiple AI providers into their applications. After extensive development and real-world testing, we're ready to revolutionize AI development with a unified, scalable, intelligent platform.
Building production-ready AI applications has been a nightmare. Developers face a maze of challenges:
Sound familiar? We've been there too.
Platformatic AI-Warp isn't just another AI wrapper β it's a complete AI operations platform that handles the complexity so you can focus on building great features.
Never lose conversation context again. AI Warp maintains perfect conversation continuity across service restarts, load balancer switches, and distributed deployments:
// Resume any conversation instantly
const response = await client.ask({
prompt: 'What did we discuss about AI safety?',
sessionId: 'sess_abc123xyz' // Continues exactly where you left off
})
Connect to OpenAI, DeepSeek, and Google Gemini through a single, unified interface. Switch between providers without changing a single line of application code:
// Simple string format
models: ["openai:gpt-4", "gemini:gemini-2.0-flash", "deepseek:deepseek-chat"]
// Or detailed configuration
models: [
{
provider: 'openai',
model: 'gpt-4o',
limits: { maxTokens: 4000, rate: { max: 100, timeWindow: '1m' } }
},
{
provider: 'gemini',
model: 'gemini-2.0-flash',
limits: { maxTokens: 8000 }
}
]
AI Warp automatically tries the next model in your chain when your primary model hits rate limits or fails. No more 5am alerts about broken AI features:
// Configure automatic restoration after failures
restore: {
rateLimit: '5m', // Retry after 5 minutes
timeout: '2m', // Retry after 2 minutes
providerError: '10m' // Retry after 10 minutes
}
Maintain conversation context effortlessly with built-in session storage. Choose between lightning-fast in-memory storage or distributed Valkey/Redis for multi-instance deployments:
// Distributed session storage
storage: {
type: 'valkey',
valkey: {
host: 'localhost',
port: 6379,
database: 0
}
}
AI Warp's Valkey integration provides enterprise-grade session management through a sophisticated distributed storage architecture:

Key Features:
historyExpiration: '1d')Session Lifecycle:
sess_abc123xyz)LPUSHLRANGE for AI contextOne of AI Warp's most powerful features is seamless session resumption. Here's how it works:
Resume Flow:
// Client resumes conversation with existing session ID
const response = await client.ask({
prompt: 'What did we discuss about earlier?',
sessionId: 'sess_abc123xyz' // Previously stored session ID
})
Behind the Scenes:
LRANGE sess_abc123xyz 0 -1Cross-Instance Resume:
Error Handling:
This architecture enables true horizontal scaling - add more AI Warp instances without losing conversation state, and users can seamlessly continue conversations regardless of which instance handles their request.
Deliver instant, responsive AI experiences with Server-Sent Events (SSE) streaming, now with automatic resume capability for fault-tolerant streaming:
const client = buildClient({ url: 'http://localhost:3042' })
// Start streaming with session management
const response1 = await client.ask({
prompt: 'Write a long story about AI',
stream: true
})
const sessionId = response1.sessionId
// Process stream until connection interruption
for await (const chunk of response1.stream) {
console.log(chunk.content) // Real-time response chunks
// Connection interrupted here...
break
}
// Automatically resume from where you left off
const response2 = await client.ask({
prompt: 'Continue the story', // Ignored during resume
sessionId: sessionId, // Triggers automatic resume
stream: true
})
// Continue receiving remaining content seamlessly
for await (const chunk of response2.stream) {
console.log(chunk.content) // Continues exactly where it left off
}
Stream Resume Benefits:
sessionId + streamingundicimkdir my-ai-app
cd my-ai-app
npx wattpm@latest create
Select @platformatic/ai-warp, configure your API keys, and you're running a production-ready AI service in under 2 minutes.
npm install @platformatic/ai-client
import { buildClient } from '@platformatic/ai-client'
const client = buildClient({
url: 'http://localhost:3042'
})
const response = await client.ask({
prompt: 'Hello AI, how are you today?',
stream: false
})
console.log(response.content.text)
// "Hello! I'm doing well, thank you for asking..."
This is just the beginning. Our roadmap includes:
Platformatic AI-Warp 1.0.0 is available now. Whether you're building a chatbot, content generator, or the next breakthrough AI application, we've got you covered.
Ready to transform your AI development?
Built with β€οΈ by the Platformatic Team
Ready to warp into the future of AI development? Get started today and experience the difference of having a true AI operations platform at your fingertips.
Follow us on Twitter for updates and join our Discord community to connect with other developers building the future with AI.