当前位置: 首页 > Skill >

AgentGate - Enterprise Security Firewall for OpenClaw

AgentGate - Enterprise Security Firewall for OpenClaw

1.0.0 2026.11.26 浏览:979
获取Skill文件查看使用说明
作者:陆景许可证:
本文目录展开

AgentGate - Enterprise Security Firewall for OpenClaw

AgentGate is a real-time policy enforcement layer that intercepts every tool call your OpenClaw agent makes before it executes. It evaluates the call against human-defined regex-based rules stored in Firestore and returns one of three decisions: ALLOW, DENY, or REQUIRE_APPROVAL.

Why this exists

OpenClaw agents operate with full tool access by default. A single hallucination can cause the agent to run rm -rf, send unauthorized emails, issue Stripe API calls, push broken code to production, or exfiltrate data to external endpoints. AgentGate intercepts every tool call before execution.

Architecture

AgentGate wraps the agent executeTool method using a middleware pattern. On every tool invocation it sends a POST request to the AgentGate Firebase Cloud Function with the agent API key, tool name, and serialized arguments. The function validates the key, evaluates regex policies, writes to the audit log, and returns the decision in under 80ms.

Decision types

ALLOW: Tool executes normally. DENY: Tool is blocked. Agent receives structured error: "AgentGate: Action blocked by policy [policy_id]. Do not retry." REQUIRE_APPROVAL: Execution paused. Telegram webhook fires to operator with Approve/Deny buttons. Agent polls Firestore every 2 seconds for up to 5 minutes.

Supported tool types

  • bash: shell command execution
  • browser: Playwright-based web automation
  • fetch: outbound HTTP requests
  • fs: filesystem read and write
  • email: SMTP and SendGrid integrations
  • stripe: payment API calls

Policy format

agentId: string toolName: string (e.g. "bash") condition: string (regex evaluated against JSON.stringify(args)) ruleType: "ALLOW" | "DENY" | "REQUIRE_APPROVAL" priority: integer (lower = evaluated first)

Example - block destructive bash commands: toolName: "bash" condition: "rms+-rf|DROPs+TABLE" ruleType: "DENY"

Example - require approval for Stripe charges over $100: toolName: "stripe" condition: ""amount":s*[1-9][0-9]{4,}" ruleType: "REQUIRE_APPROVAL"

Example - whitelist-only outbound fetch: toolName: "fetch" condition: "^(?!.(api.github.com|agent-gate-rho.vercel.app)).$" ruleType: "DENY"

SDK usage

npm install @agentgate/openclaw-guard

import OpenClaw from 'openclaw'; import { withAgentGate } from '@agentgate/openclaw-guard';

const agent = new OpenClaw({ model: 'claude-3-5-sonnet', tools: ['bash', 'browser', 'fetch'] });

const securedAgent = withAgentGate(agent, { apiKey: process.env.AGENTGATE_API_KEY, endpoint: 'https://agent-gate-rho.vercel.app/api/evaluate-action', onDeny: (toolName, args, policyId) => console.log('Blocked:', toolName, policyId), onApprovalRequired: (toolName, args) => console.log('Awaiting approval:', toolName) });

await securedAgent.run('Research competitors and update the CRM');

Dashboard

https://agent-gate-rho.vercel.app provides:

  • Agent management and API key rotation
  • AI Policy Wizard: describe rules in plain English, Gemini generates the regex
  • Real-time audit log via Firestore onSnapshot
  • Approval queue with one-click approve or deny

Getting started

  1. Sign up free at https://agent-gate-rho.vercel.app
  2. Create an agent and copy the API key
  3. npm install @agentgate/openclaw-guard
  4. Wrap your agent with withAgentGate
  5. Define policies in the dashboard using the AI Wizard
  6. Watch the real-time audit log as your agent runs

Pricing

Free: 1 agent, 500 evaluations/month, 7-day audit log. No credit card required.

相关文章

更多
Copilot 计费:七折延至年底,代码审查将默认由组织付费

GitHub Copilot 付费用户在使用 Copilot Fusion 时,模型费用的七折优惠已延长至 2026 年 12 月 31 日。针对 Business 和 Enterprise 组织,若管理员未提前指定代码审查的付费归属,自 12 月 30 日起相关费用将默认计入组织账单。Fusion 根据任务复杂度自动路由模型,而代码审查计费调整仅影响尚未配置策略的组织,管理员需在生效前确认按成员或组织计费。

2026.11.07 660
Redis Software for Kubernetes 8.2.6-26 维护版发布与镜像核对指南

Redis Software for Kubernetes 8.2.6-26 维护版已发布,旨在适配 Redis Software 8.2.6-58 并修复 CVE-2026-39821。升级时需严格区分组件标签:Operator、Services Rigger 和 Call Home Client 使用 8.2.6-26,而 Redis Enterprise 服务端需使用 8.2.6-58.26。OpenShift 环境需切换至 Red Hat 仓库并使用 OLM bundle 版本 8.2.6-26.2。此外,API 变更与支持范围等限制条件需参照 8.2.6-21 版本说明进行确认。

2026.11.19 431
Skill 文件
  • SKILL.md
    • AgentGate - Enterprise Security Firewall for OpenClaw
    • Why this exists
    • Architecture
    • Decision types
    • Supported tool types
    • Policy format
    • SDK usage
    • Dashboard
    • Getting started
    • Pricing
  • 项目或源文件

相关 Skill

更多
Tender Bidding Assistant Tender Bidding Assistant AI-powered enterprise bidding assistant for China government procurement and commercial projects. Full-lifecycle support: bid document analysis, strategy, dr...
Skill Package Doctor Skill Package Doctor 在发布前审计 Claude、Codex、OpenClaw 和 ClawHub 技能包;生成具体修复清单、信任评分和可共享的证据卡片。
The Formal Gatekeeper: Z3-Verified Safety for Autonomous Agent Plans The Formal Gatekeeper: Z3-Verified Safety for Autonomous Agent Plans 正式门卫:Z3 验证的自主智能体计划安全。为 OpenClaw 智能体构建形式化验证代理,集成 Z3 SMT 求解器,保障安全。
Find Skills for ClawHub Find Skills for ClawHub 从ClawHub(官方技能注册表)搜索和发现OpenClaw技能。当用户询问查找、安装技能或想要...时激活
OpenClaw 成功流程沉淀发布器 / OpenClaw Success Skill Publisher OpenClaw 成功流程沉淀发布器 / OpenClaw Success Skill Publisher 捕获成功的OpenClaw交互,转化为可重用技能并生成优化执行路径摘要,然后发布至ClawHub并分发。