ArmorIQ LogoArmorIQ SDK
Integrations

OpenAI

ArmorIQ integration for the OpenAI SDK (coming soon)

OpenAI Integration

Coming soon — Python and TypeScript. The OpenAI adapter is not yet ready. For a working integration today, see the Google ADK integration (Python).

Planned API

A thin wrapper around the OpenAI SDK's tool-calling loop.

# pip install "armoriq-sdk[openai]"   # extra reserved; adapter coming soon
from armoriq_sdk.integrations import ArmorIQOpenAI

client = ArmorIQOpenAI(openai_client, armoriq_client=armoriq)
response = client.chat.completions.create(
    model="gpt-4",
    messages=[...],
    tools=[...],
)
// Coming soon.
import OpenAI from 'openai';
import { ArmorIQOpenAI } from '@armoriq/sdk/integrations/openai';

const client = new ArmorIQOpenAI(new OpenAI(), { armoriqClient: armoriq });
const response = await client.chat.completions.create({
  model: 'gpt-4',
  messages: [...],
  tools: [...],
});

The wrapper will intercept tool_calls from the assistant, build a plan, mint a token, and route each call through ArmorIQ's proxy before returning results to the conversation.

Want early access?

Open an issue on the SDK repo.

On this page