Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

Merge remote-tracking branch 'origin/litellm_internal_staging' into litellm_agent365_mcp_guardrail

yuchenge34c9206ae84
diff --cc litellm/types/guardrails.py
index 88bd7f70435,02dee40f2a3..a9235bb57e7
--- a/litellm/types/guardrails.py
+++ b/litellm/types/guardrails.py
@@@ -137,7 -136,7 +139,8 @@@ class SupportedGuardrailIntegrations(En
HEADROOM = "headroom"
COMPRESR = "compresr"
STRAIKER = "straiker"
+ ALICE = "alice"
+ AGENT_365 = "agent_365"
class Role(Enum):
diff --cc ui/litellm-dashboard/src/app/(dashboard)/guardrails/_components/guardrail_garden_configs.ts
index ed5953cdbae,7785a8e44ab..a7e845ed444
--- a/ui/litellm-dashboard/src/app/(dashboard)/guardrails/_components/guardrail_garden_configs.ts
+++ b/ui/litellm-dashboard/src/app/(dashboard)/guardrails/_components/guardrail_garden_configs.ts
@@@ -312,11 -312,10 +312,17 @@@ export const GUARDRAIL_PRESETS: Record<
mode: "pre_call",
defaultOn: false,
},
+ alice: {
+ provider: "Alice",
+ guardrailNameSuggestion: "Alice",
+ mode: "pre_call",
+ defaultOn: false,
+ },
+ agent_365: {
+ provider: "Agent365",
+ guardrailNameSuggestion: "Microsoft Agent 365 Guardrail",
+ mode: "pre_mcp_call",
+ // MCP-only: default_on is the only activation path on the MCP hook
+ defaultOn: true,
+ },
};
diff --cc ui/litellm-dashboard/src/app/(dashboard)/guardrails/_components/guardrail_garden_data.test.ts
index cf77811a9dd,1e486639840..fdcf44e2132
--- a/ui/litellm-dashboard/src/app/(dashboard)/guardrails/_components/guardrail_garden_data.test.ts
+++ b/ui/litellm-dashboard/src/app/(dashboard)/guardrails/_components/guardrail_garden_data.test.ts
@@@ -27,7 -27,7 +27,8 @@@ const EXPECTED_PARTNER_LOGO_FILES: Reco
deepkeep: "deepkeep.svg",
repelloai: "repelloai.png",
straiker: "straiker.svg",
+ alice: "alice.svg",
+ agent_365: "microsoft_azure.svg",
};
describe("guardrail_garden_data logos", () => {
diff --cc ui/litellm-dashboard/src/app/(dashboard)/guardrails/_components/guardrail_garden_data.ts
index ab1ada8d2b3,931b3a111d8..15615b03c09
--- a/ui/litellm-dashboard/src/app/(dashboard)/guardrails/_components/guardrail_garden_data.ts
+++ b/ui/litellm-dashboard/src/app/(dashboard)/guardrails/_components/guardrail_garden_data.ts
@@@ -464,16 -464,16 +464,26 @@@ export const PARTNER_GUARDRAIL_CARDS: G
tags: ["Agentic", "Prompt Injection", "Tool Misuse", "MCP", "Skills"],
providerKey: "Straiker",
},
+ {
+ id: "alice",
+ name: "Alice",
+ description:
+ "Policy-based guardrails for prompts and model responses, evaluated per application so one proxy can enforce a different policy set per team or product.",
+ category: "partner",
+ logo: guardrailLogoMap["Alice"],
+ tags: ["Content Moderation", "Prompt Injection", "PII", "Policy"],
+ providerKey: "Alice",
+ },
+ {
+ id: "agent_365",
+ name: "Microsoft Agent 365",
+ description:
+ "Microsoft Agent 365 tool-call governance: Defender threat evaluation and observability for MCP tool calls, acting on behalf of the signed-in user",
+ category: "partner",
+ logo: guardrailLogoMap["Microsoft Agent 365"],
+ tags: ["Agentic", "MCP", "Tool Misuse", "Observability"],
+ providerKey: "Agent365",
+ },
];
export const ALL_CARDS = [...LITELLM_CONTENT_FILTER_CARDS, ...PARTNER_GUARDRAIL_CARDS];
diff --cc ui/litellm-dashboard/src/app/(dashboard)/guardrails/_components/guardrail_info_helpers.tsx
index 9ed7b406239,f686ff5644a..3b6cb8a42d5
--- a/ui/litellm-dashboard/src/app/(dashboard)/guardrails/_components/guardrail_info_helpers.tsx
+++ b/ui/litellm-dashboard/src/app/(dashboard)/guardrails/_components/guardrail_info_helpers.tsx
@@@ -193,7 -207,7 +207,8 @@@ export const guardrailLogoMap =
"Qostodian Nexus": qohashLogo.src,
"RepelloAI Argus": repelloAiLogo.src,
Straiker: straikerLogo.src,
+ Alice: aliceLogo.src,
+ "Microsoft Agent 365": microsoftAzureLogo.src,
} satisfies Record<string, string>;
export const getGuardrailLogo = (displayName: string): string | undefined =>