← Back to adopters
Adopter quickstart

OpenAI Agents SDK proof path

Public waitlist preview for adopting Imladri with OpenAI Agents SDK: initialize the adapter, wrap one risky capability, run the local scanner, and review the proof artifacts before a private design-partner workspace is opened.

Certification status

Certified

Certified

Certified against OpenAI Agents SDK tool execution hooks in Python and TypeScript, including wrapped tools retained inside Agent tool lists.

4/4 lanes passed across openai-agents and @openai/agents; real-package smoke covers Agent.tools execution with zero blocked-path body calls.

Runtimemixed
Public modeAccess preview
One-command starter
cli
imladri init --framework openai-agents --ci-provider github
Package access
dependencies
pip install openai-agents
npm install @openai/agents zod
# Imladri SDK package access is provided during approved onboarding.
Minimal wrapper
mixed
import { Agent, run, tool } from "@openai/agents";
import {
  ConstitutionalAgent,
  normalizeOpenAIAgentsToolName,
  wrapOpenAIAgentsTools,
} from "@imladri/sdk";
import * as z from "zod";

const agent = new ConstitutionalAgent({ agentId, apiKey, apiUrl, preflightUrl });

const transferAction = "payment.transfer";
const transferToolName = normalizeOpenAIAgentsToolName(transferAction);

const transferTool = tool({
  name: transferToolName,
  description: "Transfer funds after policy approval.",
  parameters: z.object({ amountUsd: z.number(), destination: z.string() }),
  execute: async ({ amountUsd, destination }) => ({ ok: true, amountUsd, destination }),
});

const guardedTools = wrapOpenAIAgentsTools(agent, [transferTool], {
  strictTools: [transferAction],
  actionAliases: { [transferToolName]: transferAction },
});

const openaiAgent = new Agent({
  name: "Payments operator",
  instructions: "Use tools only when requested by policy-approved workflows.",
  tools: guardedTools,
});

await run(openaiAgent, "Transfer 25 USD to vendor-42 after approval.");
Local proof artifacts
local artifacts
imladri sdk certify --real --target openai-agents
imladri scan --path . --fail-on new
imladri proof export --format json --output openai-agents-proof.json