ACT Gateway for OpenClaw Integration with one-click installation
Project description
ACT Gateway – Production-Grade Execution Layer for AI Agents
ACT Gateway is a lightweight HTTP service that provides timeout, retry, rate limiting, circuit breaking, and unified response format capabilities for AI Agent tool calls. It seamlessly integrates with OpenClaw, CrewAI, MCP, and other Agent frameworks, making tool execution stable, observable, and governable.
Turn unreliable tool calls into deterministic execution.
Why ACT Gateway?
| Capability | Native Agent Calls | Through ACT Gateway |
|---|---|---|
| Timeout Control | ❌ None, may hang forever | ✅ Configurable timeout, auto-interruption |
| Automatic Retry | ❌ None | ✅ Configurable retries with backoff |
| Rate Limiting | ❌ None, risk of being overwhelmed | ✅ Token bucket rate limiting, protects downstream |
| Circuit Breaking | ❌ None, avalanche risk | ✅ Circuit breaker, auto-trip |
| Unified Response | ❌ Each tool has different format | ✅ Standard Envelope with metadata |
| Observability | ❌ None | ✅ Auto-log latency, retry count, remaining quota |
Architecture
graph TD
A[OpenClaw / CrewAI / MCP Client] --> B[ACT Gateway]
B --> C{Execution Control Layer}
C --> D[Timeout]
C --> E[Retry]
C --> F[Rate Limiting]
C --> G[Circuit Breaking]
C --> H[Quota]
D & E & F & G & H --> I[Actual Tool<br/>(API / Script / Function)]
One-Click Installation
Linux / macOS
curl -fsSL https://raw.githubusercontent.com/deepseek609609-collab/ACT-OpenClaw-Bridge/main/install.sh | bash
Windows (PowerShell Admin)
powershell -ExecutionPolicy Bypass -Command "& { Invoke-WebRequest -Uri 'https://raw.githubusercontent.com/deepseek609609-collab/ACT-OpenClaw-Bridge/main/install.ps1' -OutFile install.ps1; .\install.ps1 }"
Quick Verification
# Check service health
curl http://localhost:9000/health
# Call example tool
curl -X POST http://localhost:9000/act/dispatch \
-H "Content-Type: application/json" \
-d '{"intent": "weather.get_current", "params": {"city": "Beijing"}}'
Response Example (Envelope format):
{
"version": "1.0",
"execution": {
"status": "ok",
"latency_ms": 203,
"retries": 0,
"breaker_state": "closed",
"quota_remaining": 9
},
"payload": {"city": "Beijing", "temperature": 22}
}
Ecosystem Integration
🔌 As MCP Execution Backend
ACT Gateway is fully compatible with the MCP protocol. Any MCP client (like Claude, Cursor) can call through these endpoints:
POST /mcp/tools/list— Discover all toolsPOST /mcp/tools/call— Call specific tool
🦞 As OpenClaw Skill Execution Engine
The installation script automatically generates act-bridge skill for OpenClaw and mirrors all ACT tools as OpenClaw skills. Use directly in OpenClaw conversations:
"Use act-weather-get_current to query Beijing weather"
🚀 Integration with CrewAI
Use crewai_adapter.py to wrap ACT tools as CrewAI tools, giving CrewAI Agents automatic execution control capabilities.
Security & Governance
- ✅ Secure by Default: Timeout, rate limiting, circuit breaking enforced by default, preventing tools from crashing the system
- ✅ Quota Management: Independent rate limits per tool, preventing abuse
- ✅ Parameter Validation: Strictly validates inputs against registered JSON Schema
- ✅ Audit Logging: Records intent, status, latency for each call, easy to trace
- ✅ Dangerous Capabilities Disabled: By default blocks sensitive operations like
system.run,node.invoke(can be enabled via config)
Demo (Understand in 30 Seconds)
Actual effect: Continuous requests → Rate limit rejection; Slow requests → Timeout; Continuous failures → Circuit breaker opens
Uninstallation
Linux / macOS
curl -fsSL https://raw.githubusercontent.com/deepseek609609-collab/ACT-OpenClaw-Bridge/main/uninstall.sh | bash
Windows
Invoke-WebRequest -Uri 'https://raw.githubusercontent.com/deepseek609609-collab/ACT-OpenClaw-Bridge/main/uninstall.ps1' -OutFile uninstall.ps1; .\uninstall.ps1
Contribution Guidelines
Welcome to submit PRs, Issues, or participate in discussions. Please read CONTRIBUTING.md.
License
MIT © ACT Kernel Contributors
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file act_openclaw_bridge-1.0.2.tar.gz.
File metadata
- Download URL: act_openclaw_bridge-1.0.2.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a2d873a2b17931f7555b31bef3acbdda5f9c51bb199db24cc08f425430111ecd
|
|
| MD5 |
59640fab110fa63a2e8a84ead902757d
|
|
| BLAKE2b-256 |
02e2577907aa39aaf5fb55c8ee40b1bf7cef83d8fabd4e7239ad329e4bd7cf31
|
File details
Details for the file act_openclaw_bridge-1.0.2-py3-none-any.whl.
File metadata
- Download URL: act_openclaw_bridge-1.0.2-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3b85e6f008584959ab8785feec379afd20a6d854454a27cb8a2a8799e35d182a
|
|
| MD5 |
dc8f3dd8793cfdd105bcbbdd5cec58d5
|
|
| BLAKE2b-256 |
dcd2828860a61ca21fd67decc217760149304a972c8988768da9926e80199e33
|