Sign In

@mastyf_ai/openai-agents-middleware

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mastyf_ai/openai-agents-middleware

Mastyf AI security middleware for OpenAI Agents SDK — intercepts tool calls through the Mastyf policy proxy

latest
npmnpm
Version
0.1.1
Version published
Weekly downloads
6
-50%
Maintainers
1
Weekly downloads
 
Created
Source

@mastyf_ai/openai-agents-middleware

OpenAI Agents SDK middleware for mastyf.ai — the open-source MCP runtime security proxy.

Intercept and enforce security policy on every tool call made by OpenAI Agents.

Install

npm install @mastyf_ai/openai-agents-middleware

Usage

import { MastyfOpenAIAgentsMiddleware } from '@mastyf_ai/openai-agents-middleware';

const middleware = new MastyfOpenAIAgentsMiddleware({
  policyPath: './policy.yaml',
});

// Wrap your agent
const agent = middleware.wrap(myAgent);
  • mastyf.ai — Main project
  • Cloud dashboard — Policy editor and fleet management
  • Python SDK

Keywords

mcp

FAQs

Package last updated on 23 Jul 2026

Did you know?

Socket

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.

Install

Related posts