AI-FW

文档

提供部署、配置和扩展 AI-FW 网关所需的指南、实践教程和 API 参考。

已有译文的文章会以所选语言显示;其他文章会标明英文并链接到原文。

Getting Started

文档分类: Getting Started · 英文

What is AI-FW?

An overview of the AI-FW gateway, what it does, how it fits into your stack, and why it is fail-closed by design.

阅读英文原文 →

文档分类: Getting Started · 英文

Quick start

Get an AI-FW gateway running in minutes, start the service, configure a model, and inspect your first prompt.

阅读英文原文 →

Guides

文档分类: Guides · 已翻译

提示与响应防护规则

了解 AI-FW 如何检查提示与响应、内置和自定义规则、评估顺序及规则操作。

阅读文章 →

文档分类: Guides · 已翻译

模型路由与注册中心

配置默认模型、严格注册、条件规则和提供方目标。

阅读文章 →

文档分类: Guides · 已翻译

语义意图分析

用自然语言策略、block/flag 阈值和三种评分引擎判断 AI 流量的含义。

阅读文章 →

文档分类: Guides · 已翻译

身份与访问控制

认证模式、API key、密钥优先级、streaming、mTLS、Kerberos、OIDC SSO、SCIM 和角色。

阅读文章 →

文档分类: Guides · 英文

Risk profiles & auto-block

Rolling risk scores for users, agents, and IPs, with automatic blocking, category risk cards, and a metadata-only audit trail.

阅读英文原文 →

文档分类: Guides · 英文

Reliability & caching

Per-model resilience (retries, failover, distribution) and the opt-in completion cache, exact and semantic, with strict tenant isolation.

阅读英文原文 →

文档分类: Guides · 英文

Prompt compression

Cut upstream token spend with semantic-gated prompt compression, rule, aggressive, and LLM tiers that never change the meaning.

阅读英文原文 →

文档分类: Guides · 英文

Claude inference hooks

Act as the AI security server for Anthropic's Inference Hooks - verified, scanned, and machine-actionable verdicts before inference proceeds.

阅读英文原文 →

文档分类: Guides · 英文

Observability & dashboard

The AI-FW dashboard - traffic stats, latency, guardrail snapshot, 24-hour metrics, and the live Activity view.

阅读英文原文 →

文档分类: Guides · 英文

Audit logs & export

The metadata-only audit trail - logging policy, retention, audit events, and exporting to your SIEM via pull API or syslog.

阅读英文原文 →

文档分类: Guides · 英文

Admin-issued API keys

Issue API keys for agent and tool access - hashed storage, immediate revocation, and per-key identity in the audit trail.

阅读英文原文 →

文档分类: Guides · 已翻译

受治理 Agent 的 Chain of Command

通过 consent 协调 swarm、委派已批准 skill,并在执行前验证命令。

阅读文章 →

文档分类: Guides · 已翻译

AI-FW 的 Cursor Agent Hooks

通过 AI-FW 策略网关检查 Cursor prompts、shell 命令、文件、MCP 调用和 Agent 操作。

阅读文章 →

Solutions

文档分类: Solutions · 已翻译

在生产环境阻止提示注入

通过规则顺序、语义评分和 fail-closed 检查,在模型提供方收到请求前检测并阻止提示注入和越狱。

阅读文章 →

文档分类: Solutions · 已翻译

在提示离开网络前屏蔽 PII

在个人数据到达模型提供方前检测并屏蔽,同时保留可用响应和不含内容的审计记录。

阅读文章 →

文档分类: Solutions · 已翻译

按身份治理 MCP 工具调用

定义每个 Agent 可调用的 MCP 工具、参数和身份,并审计每次调用。

阅读文章 →

文档分类: Solutions · 英文

Find and stop shadow AI usage

Discover unregistered models and ungoverned clients, then close the gap with a strict model registry, per-identity policy and a record of every attempt.

阅读英文原文 →

文档分类: Solutions · 英文

Give agents real identities with mTLS

Issue certificates to agents through a CSR enrollment flow, then authorize every model call against that identity instead of a shared API key.

阅读英文原文 →

文档分类: Solutions · 英文

Cut LLM token costs without a safety hole

Reduce token spend with semantic-gated prompt compression and inspection-gated caching, without letting cost controls bypass guardrails.

阅读英文原文 →

文档分类: Solutions · 英文

Stop data leaving through prompts and responses

Block sensitive data on the outbound path, so prompts, credentials and system instructions cannot leave your network toward a model provider.

阅读英文原文 →

Tutorials

文档分类: Tutorials · 已翻译

连接 OpenAI SDK

将兼容 OpenAI 的客户端连接到 gateway:使用 endpoint mode 完整检查,或使用 proxy mode 转发。

阅读文章 →

文档分类: Tutorials · 已翻译

通过 AI-FW 和 MCP 使用 Claude Code 与 Cursor

配置 Cursor Agent Hooks、通过 gateway 路由 Claude Code,并使用身份与审计连接 MCP 客户端。

阅读文章 →

文档分类: Tutorials · 已翻译

M365 Copilot 管理与 Agent 同步

通过 AI-FW 管理 Microsoft 365 Copilot Agent catalog、注册中心、使用报告和交互导出。

阅读文章 →

文档分类: Tutorials · 已翻译

Agent 自助注册

通过 Agent Trust 注册 Agent、验证身份,并在接入模式要求时获得审批。

阅读文章 →

How-To

文档分类: How-To · 已翻译

配置模型和 API key

注册提供方、配置模型 backend,并管理 AI-FW 流量使用的 API key。

阅读文章 →

文档分类: How-To · 已翻译

使用 AI 创建规则

根据目标生成规则建议,检查预览,并只保存已批准的策略。

阅读文章 →

文档分类: How-To · 已翻译

在 Azure Container Apps 部署 AI-FW

将 AI-FW 作为容器部署到 Azure Container Apps,配置 secrets 并验证连接与运行状态。

阅读文章 →

API Reference

文档分类: API Reference · 已翻译

OpenAI 兼容 API

/v1 endpoints、chat completions、请求标头、错误代码、streaming 和缓存标头。

阅读文章 →

文档分类: API Reference · 已翻译

Anthropic Messages API

/v1/messages endpoint、Anthropic 原生聊天、x-api-key 认证、facade 和 streaming。

阅读文章 →

文档分类: API Reference · 已翻译

A2A Agent 协议

Agent2Agent (A2A) 接口、agent card、注册、基于任务的证书操作、MCP 和 webhooks。

阅读文章 →

文档分类: API Reference · 英文

OpenAI-compatible models & endpoints

200+ OpenAI-compatible models and their vendor endpoints - Claude, OpenAI, Azure, Grok, Meta Llama, DeepSeek, AWS Bedrock, Qwen, Z.ai, and more.

阅读英文原文 →

Admin Reference

文档分类: Admin Reference · 已翻译

Settings 参考

Settings 选项卡:General、Access、Identity、Model、Routing、Guardrails & Inspection、Performance、Audit、Export、Integrations 和 Licensing。

阅读文章 →

文档分类: Admin Reference · 已翻译

Model Inventory 参考

Model Inventory 的筛选、状态、协议、韧性、压缩、高级参数、分组和路由规则。

阅读文章 →

文档分类: Admin Reference · 已翻译

Rules Manager 参考

内置和自定义规则、类型、操作、选项、优先级与 AI 辅助规则创建。

阅读文章 →

文档分类: Admin Reference · 已翻译

Risk Profiles 参考

用户、Agent 与 IP 风险排名、分类卡片、自动阻止和重置操作。

阅读文章 →

文档分类: Admin Reference · 已翻译

Audit Logs 参考

交易日志、筛选器、Events 选项卡、分页和导出。

阅读文章 →

文档分类: Admin Reference · 已翻译

Dashboard 参考

AI-FW Dashboard 的统计卡片、指标、图表、实时 Activity 和报告。

阅读文章 →

文档分类: Admin Reference · 英文

M365 Copilot admin reference

The M365 Copilot page - agent catalog, agent registry, usage analytics, and interaction export with app-only authentication.

阅读英文原文 →

文档分类: Admin Reference · 英文

Users reference

Local users, roles, passwords, SSO, SCIM provisioning, and user groups.

阅读英文原文 →

文档分类: Admin Reference · 已翻译

Agent API Keys 参考

添加、生成、标注和撤销密钥,采用哈希存储并按 key 区分身份。

阅读文章 →

文档分类: Admin Reference · 已翻译

Agents 参考

Agent 注册策略、身份凭证、审批、组、标签、webhook 和注销管理。

阅读文章 →

文档分类: Admin Reference · 已翻译

CA Integrations 参考

SCEP/ACME 注册、集中 CA 信任库和服务器证书注册。

阅读文章 →

文档分类: Admin Reference · 已翻译

Agent Trust 参考

Agent Trust 仪表板:Agent 清单、审批、任务和信任设置。

阅读文章 →

文档分类: Admin Reference · 已翻译

Compliance 模块管理

启用框架评估、检查缺口、创建关联规则、记录 attestation 并导出证据。

阅读文章 →

文档分类: Admin Reference · 已翻译

Skills and Tools 治理

观察工具使用、审查声明的 skill,并为 MCP 和 relay 模型工具应用 allow-list 策略。

阅读文章 →

文档分类: Admin Reference · 已翻译

IDE Artifacts 参考

配置开发者工作站上 Agent 产生的文件、命令、读取和响应的 digest-first 记录。

阅读文章 →

文档分类: Admin Reference · 已翻译

配置备份与恢复

创建不可变配置修订、安全恢复并计划带保留设置的备份。

阅读文章 →

Community Edition

文档分类: Community Edition · 已翻译

Community Edition 许可证

AI-FW Community Edition 免费使用,每月公开额度为 100,000,000 tokens,由 gateway 根据机器可读许可证文档执行。

阅读文章 →