Ainoflow Guard

Rate limiting and cost control for AI agents and automation workflows

Available via API and MCP

Stop runaway workflows before they cost you.
Policy-based rate limiting. Zero configuration.
Set limits once, enforce everywhere. Works with n8n, Make.com, any webhook.

How It Works

Simple rate limiting for any workflow

1
Check Rate Limit

POST to Guard before your action runs

200 OK, allowed: true → Continue
429 → Rate limited, wait
2
Execute Workflow

Run your business logic safely within limits

Counter tracks your usage
Remaining count returned
3
Auto-Reset

Counters reset automatically when windows expire

Fixed-window algorithm
Policies persist automatically

Key Features

Everything you need for workflow rate limiting

Policy-Based Rate Limiting

Configurable rate limits per key. Set max executions per time window to prevent overuse.

Fixed-window algorithm with atomic operations
Auto-Created Policies

Policies are auto-created on first check. No setup required - just pass rateMax and rateWindow.

Subsequent calls use stored policies automatically
Configurable Time Windows

Set rate limiting windows from 1 second to 24 hours. Match limits to your use case.

60s for burst protection, 3600s for hourly limits, 86400s for daily limits
Cost Control

Prevent expensive API calls from spiraling out of control. Set execution budgets per workflow.

Denied requests are NOT counted - only allowed executions increment
Sub-Millisecond Performance

Atomic operations ensure thread-safe rate limiting with minimal latency overhead.

Fail-closed by default, optional fail-open mode
MCP Protocol Support

Direct integration with AI agents for rate-limited task execution.

OpenAI Agent Builder, Claude Desktop, Cursor IDE integration

Use Cases

Perfect for controlling execution rates and costs

Prevent Email Flooding

Limit outbound emails to prevent accidental mass sends from automation loops.

API Cost Control

Cap expensive API calls (OpenAI, Twilio, etc.) to prevent budget overruns in workflows.

Burst Protection

Prevent more than N executions per minute to protect downstream services from overload.

Combined with Shield

Use Guard for rate limiting + Shield for duplicate prevention. Maximum workflow safety.

Integration Paths

Built to work with your agents and automation tools

For AI Agents
  • MCP protocol integration
  • OpenAI Agent Builder support
  • Claude Desktop support
  • Cursor IDE support
  • guard_check/status/reset tools
  • guard://{key} resources
For Workflows
  • REST API integration
  • Simple HTTP request nodes
  • n8n IF node for rate limit check
  • Make.com scenarios
  • Zapier webhook rate limiting

API Overview

Simple REST API for rate limiting

Core Operations
POST
/api/v1/guard/{key}/counterCheck & increment
GET
/api/v1/guard/{key}/counterRead counter
DELETE
/api/v1/guard/{key}/counterReset counter
GET
/api/v1/guard/policiesList policies
POST
/api/v1/guard/policiesCreate policy
Key Specifications
Rate window:1s to 24 hours
Max per window:1 to 1,000,000
Algorithm:Fixed window
Key length:Up to 512 chars
Policy cache:5-minute TTL

Business Value

Built for European automation agencies and businesses

Prevent Cost Overruns
100%

Control over execution rates for expensive API calls and email sends

Zero Configuration
Auto-Create

Policies created on first check. No setup screens, no config files.

European Compliance
GDPR

EU-based processing with automatic tenant isolation

Ready to control your workflow execution?

Start with Free plan and protect your automations from runaway executions.
Set limits once, enforce everywhere.