streamable-httpupdated 1mo ago
Security, Policy & Audit Layer for AI Agent Tool Execution β 20 tools | Part of FeedOracle & ToolOracle
What can you do with agentguard?
π‘οΈ AgentGuard MCP
Security, Policy & Audit Layer for AI Agent Tool Execution β 20 tools | Part of FeedOracle & ToolOracle
AgentGuard is the governance and security layer for AI agent workflows. Before any tool executes, AgentGuard evaluates policies, scores risk, detects secrets and injection attempts, logs to a tamper-evident audit trail, and explains every decision. Built for regulated environments, autonomous payments, and enterprise AI agent deployments.
Quick Connect
# FeedOracle (compliance-focused)
npx -y mcp-remote https://feedoracle.io/guard/mcp/
# ToolOracle (agent-commerce focused)
npx -y mcp-remote https://tooloracle.io/guard/mcp/
{
"mcpServers": {
"agentguard": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://feedoracle.io/guard/mcp/"]
}
}
}
How It Works β The Agent Security Loop
Agent wants to call: payment_execute({amount: 5000})
β
βΌ
policy_preflight() β Check before execution
β
risk_score: 95 β Critical
matched: pol-001, pol-002 β Payment + High-risk policies
decision: require_approval β Human gate triggered
β
approval_required() β Register pending approval
β
[Human approves]
β
tool executes
β
audit_log_write() β Record outcome with signature
β
decision_explain() β Exportable compliance evidence
Tools β Welle 1: Core Security (7)
| Tool | Description |
|---|---|
policy_preflight |
Pre-flight check before any tool call. Evaluates 7 policies, computes risk score, detects threats, auto-logs. Returns allowed/denied/require_approval/flagged. |
tool_risk_score |
0-100 risk score for tool + input. Detects secrets (API keys, passwords), prompt injection, high-value amounts. eth_gasβ5, payment_executeβ95+. |
approval_required |
Check if tool needs human approval. Optionally registers a pending approval request with tracking URL. |
audit_log_write |
Write tool execution to persistent, cryptographically-signed audit log (SQLite WAL). Call after execution to record outcome. |
audit_log_query |
Query audit trail. Filter by agent, tool, decision, time range. Paginated. Returns signed entries for tamper verification. |
decision_explain |
Human-readable explanation of any allow/deny decision. Pass request_id for stored entry or tool_name + tool_args for fresh analysis. |
rate_limit_check |
Check agent rate limits: 200/min, 5000/hr, 50000/day. Returns per-window usage with percentage. |
Tools β Welle 2: Payment Controls & Safety
| Tool | Description |
|---|---|
payment_policy_check |
Validate payment against policy: amount limits (>100k warns, >1M blocks), recipient denylist, supported currencies/networks, AML thresholds (>10k fiat flagged), MiCA flags. |
spend_limit_check |
Check per-call/hour/day spend limits by trust level. Default: 10k/call, 50k/hr, 200k/day. Trusted: 100k/call, 500k/hr, 2M/day. |
secret_exposure_check |
Deep scan for 19 secret patterns: OpenAI/GitHub/AWS/Slack keys, Bearer/Basic auth, ETH private keys, Bitcoin WIF, credit cards, SSNs, emails. Returns severity + remediation. |
payload_safety_check |
18-pattern safety scan: prompt injection, jailbreak/DAN, role hijacking, SQL (UNION/DROP/OR 1=1), XSS, Python/JS/Shell injection, path traversal, null bytes, oversized payloads. |
replay_guard_check |
Detect replay attacks via SHA256 fingerprint (agent+tool+args). Configurable window (default 5 min). Returns duplicate count + first/last seen. |
Tools β Welle 3: Governance & Threat Intelligence (5)
| Tool | Description |
|---|---|
cross_tool_anomaly_check |
Detect anomalous patterns: risky combos (wallet-reconβtransfer, AMLβpayment), high frequency, repeated denials (policy probing), broad reconnaissance, elevated avg risk score. |
scope_check |
Role-based scope control. Roles: admin, compliance_officer, trader, auditor, developer, readonly. Returns has_scope, missing scope, granting roles. Logs denials. |
session_validate |
Full session lifecycle: create (TTL + call budget), validate (increment counter), invalidate, info. Sessions carry role, scopes, tenant, expiry. |
tenant_policy_check |
Multi-tenant governance. Built-in tenants: default, fintech_eu (MiCA/DORA/AMLD6), defi_protocol, enterprise_read. Per-tenant blocklists, risk limits, spend caps. |
threat_intel_check |
Entity threat intelligence. Auto-detects ETH addresses, IPs, domains. Checks sanctions (Tornado Cash, mixers), disposable services, behavioral analysis from audit log. |
Built-in Tenants
| Tenant | Max Risk | Spend/Day | Frameworks |
|---|---|---|---|
default |
70 | 100,000 | β |
fintech_eu |
60 | 500,000 | MiCA, DORA, AMLD6 |
defi_protocol |
80 | 10,000,000 | MiCA |
enterprise_read |
30 | 0 | β |
Built-in Roles & Scopes
| Role | Scopes |
|---|---|
admin |
All scopes |
compliance_officer |
audit:read, compliance:read, blockchain:read, security:scan |
trader |
blockchain:read, payment:check, payment:execute, audit:read |
auditor |
audit:read, audit:write, compliance:read, monitor:read |
developer |
blockchain:read, security:scan, audit:read, monitor:read |
readonly |
blockchain:read, audit:read |
Built-in Policies (7 Default)
| Policy | Condition | Action |
|---|---|---|
| pol-001 | Payment/transfer tools | require_approval |
| pol-002 | Risk score β₯ 80 | require_approval |
| pol-003 | Secret/key in payload | deny |
| pol-004 | Rate limit exceeded | flag |
| pol-005 | Risk score β€ 20 | allow freely |
| pol-006 | Prompt injection detected | deny |
| pol-007 | Same tool > 50 calls/60s | flag |
Risk Score Guide
| Score | Level | Action |
|---|---|---|
| 0-14 | Minimal | Proceed freely |
| 15-39 | Low | Proceed, log for audit |
| 40-69 | Medium | Flag and proceed with caution |
| 70-89 | High | Require human approval |
| 90-100 | Critical | Block execution |
Use Cases
- Regulated AI Workflows: MiCA/DORA compliance requires audit trails β AgentGuard provides them automatically
- Autonomous Payments: x402 agent payments run through
approval_requiredgate before execution - Multi-tenant Platforms: Rate limiting and policy scoping per agent/session
- Security Monitoring: Real-time detection of prompt injection and secret exposure in tool arguments
- Compliance Reporting: Export audit log with cryptographic signatures for regulatory review
Backend: SQLite WAL-Mode
Persistent, stable, no daemon required. WAL-mode supports 1000+ writes/second. Shared between feedoracle.io and tooloracle.io β one source of truth.
Links
- π‘οΈ FeedOracle:
https://feedoracle.io/guard/mcp/ - π§ ToolOracle:
https://tooloracle.io/guard/mcp/ - π Docs: feedoracle.io
- π Platform: tooloracle.io
Built by FeedOracle β Evidence by Design
Install
Add agentguard to your client. Pick the one you use.
claude mcp add --transport http agentguard https://feedoracle.io/guard-oracle/mcp/codex mcp add agentguard --url https://feedoracle.io/guard-oracle/mcp/{
"mcpServers": {
"agentguard": {
"url": "https://feedoracle.io/guard-oracle/mcp/"
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
{
"servers": {
"agentguard": {
"type": "http",
"url": "https://feedoracle.io/guard-oracle/mcp/"
}
}
}Add to `.vscode/mcp.json` in your workspace.
{
"mcpServers": {
"agentguard": {
"url": "https://feedoracle.io/guard-oracle/mcp/"
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"agentguard": {
"serverUrl": "https://feedoracle.io/guard-oracle/mcp/"
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
7 tools
agentguard exposes 7 tools to a connected agent.
- policy_preflight
- Pre-flight check before any tool call. Evaluates 7 policies, computes risk score, detects threats, auto-logs. Returns `allowed`/`denied`/`require_approval`/`flagged`.
- tool_risk_score
- 0-100 risk score for tool + input. Detects secrets (API keys, passwords), prompt injection, high-value amounts. `eth_gas`β5, `payment_execute`β95+.
- approval_required
- Check if tool needs human approval. Optionally registers a pending approval request with tracking URL.
- audit_log_write
- Write tool execution to persistent, cryptographically-signed audit log (SQLite WAL). Call after execution to record outcome.
- audit_log_query
- Query audit trail. Filter by agent, tool, decision, time range. Paginated. Returns signed entries for tamper verification.
- decision_explain
- Human-readable explanation of any allow/deny decision. Pass `request_id` for stored entry or `tool_name` + `tool_args` for fresh analysis.
- rate_limit_check
- Check agent rate limits: 200/min, 5000/hr, 50000/day. Returns per-window usage with percentage.
Score
65 / 100
Good
- Documentation25/25
- Maintenance16/25
- Trust6/20
- Capability6/15
- Install experience12/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 32 days ago
- Has a release history
- Repository is not archived
- No licence detected
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 7 tool(s) documented
- Provides prompt templates
- Provides resources
- 6 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint β no local install
Version history
| Versions | Published |
|---|---|
| 1.0.0Latest | May 7, 2026 |