Continue using the official OpenAI SDK — just change the base URL and add two headers.
const client = new OpenAI({
baseUrl: "https://api.langoustine.dev/v1",
defaultHeaders: {
"X-Langoustine-API-Key": "XXXX",
"X-Langoustine-User-Id": "XXXX",
}
});
Langoustine extracts and remembers key facts from conversations, boosting response quality and personalization.
Facts are automatically injected, making AI replies more natural and context-aware.
Langoustine runs on any OpenAI-compatible API — including OpenRouter, Anthropic, and Google Cloud AI.
It also plays nicely with observability tools, Vercel’s AI SDK, and more.
const client = new OpenAI({
baseUrl: "https://api.langoustine.dev/v1",
defaultHeaders: {
"X-Langoustine-API-Key": "XXXX",
"X-Langoustine-User-Id": "XXXX",
"X-Langoustine-Original-Base-URL":
"https://openrouter.ai/api/v1",
}
});
Switch to Langoustine in minutes. Just update your base URL and include two extra headers—no refactoring or new dependencies. You keep the workflow and ecosystem you know, now supercharged with memory.