Fluxix Integration Guide

Drop-in safety proxy integration for AI agent frameworks.

OpenAI SDK Integration

Configure your OpenAI client base URL to route through the Fluxix gateway proxy to automatically enforce safety policies and PII masking:

from openai import OpenAI

client = OpenAI(
    base_url="https://fluxix.ai/v1",
    api_key="your_openai_api_key",
    default_headers={"x-fluxix-key": "fx_live_your_project_key"}
)

Supported Frameworks

  • LangChain: Intercept tool calls, validate arguments, and redact sensitive outputs.
  • CrewAI: Multi-agent delegation controls, spending limits, and tool execution boundaries.
  • AutoGen: Conversational guardrails and human-in-the-loop approvals for code execution.
  • Custom Agents: Direct HTTP REST proxy with sub-millisecond latency.