
Security News
CVE Volume Surges Past 48,000 in 2025 as WordPress Plugin Ecosystem Drives Growth
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.
ai.matey.wrapper
Advanced tools
SDK wrappers for AI Matey - Use familiar SDK patterns with any provider
SDK wrappers and utilities for AI Matey - Universal AI Adapter System.
Part of the ai.matey monorepo.
npm install ai.matey.wrapper
This package provides SDK-compatible wrappers that let you use familiar SDK patterns (like OpenAI's or Anthropic's) with any AI Matey backend. It also includes IR-native chat utilities for direct usage.
import { OpenAI } from 'ai.matey.wrapper';
const client = new OpenAI({ backend: yourBackend });
const response = await client.chat.completions.create({
model: 'gpt-4',
messages: [{ role: 'user', content: 'Hello!' }],
});
import { Anthropic } from 'ai.matey.wrapper';
const client = new Anthropic({ backend: yourBackend });
const response = await client.messages.create({
model: 'claude-3-opus',
messages: [{ role: 'user', content: 'Hello!' }],
max_tokens: 1024,
});
import { Chat, createChat } from 'ai.matey.wrapper';
const chat = createChat({ backend: yourBackend });
// Send a message
const response = await chat.send('Hello!');
// Stream a response
for await (const chunk of chat.stream('Tell me a story')) {
process.stdout.write(chunk.delta);
}
import { collectStream, streamToText } from 'ai.matey.wrapper';
// Collect all chunks from a stream
const collected = await collectStream(stream);
// Convert stream to text
const text = await streamToText(stream);
See the TypeScript definitions for detailed API documentation.
MIT - see LICENSE for details.
FAQs
SDK wrappers for AI Matey - Use familiar SDK patterns with any provider
We found that ai.matey.wrapper demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.

Security News
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.

Security News
Tailwind Labs laid off 75% of its engineering team after revenue dropped 80%, as LLMs redirect traffic away from documentation where developers discover paid products.