Deterministic execution layer for AI agents
Project description
ACT Kernel – Execution Layer for AI Agents
ACT Kernel 是一个轻量级执行层,为 AI Agent 提供超时、重试、限流、熔断、统一观测等生产级能力。它可以无缝接管 OpenClaw、CrewAI、MCP 等框架的工具调用,让不可靠的执行变得稳定可控。
Make AI Agents reliable in production.
为什么需要 ACT?
| 能力 | 原生 Agent | ACT 加持 |
|---|---|---|
| 超时控制 | ❌ 永久卡死 | ✅ 可配置超时 |
| 自动重试 | ❌ 一次性失败 | ✅ 指数退避重试 |
| 限流保护 | ❌ 无限制 | ✅ 令牌桶限流 |
| 熔断机制 | ❌ 雪崩风险 | ✅ 自动熔断恢复 |
| 统一观测 | ❌ 日志混乱 | ✅ 标准 Envelope |
一键安装
# Linux / macOS
curl -fsSL https://raw.githubusercontent.com/deepseek609609-collab/act-kernel-agent/main/scripts/install.sh | bash
# Windows (PowerShell 管理员)
powershell -ExecutionPolicy Bypass -Command "& { Invoke-WebRequest -Uri 'https://raw.githubusercontent.com/deepseek609609-collab/act-kernel-agent/main/scripts/install.ps1' -OutFile install.ps1; .\install.ps1 }"
生态接管
🦞 OpenClaw 运行时替换
from act.adapters.openclaw_runtime import patch_openclaw
patch_openclaw(openclaw_app) # 之后所有 Skill 自动获得 ACT 治理
🔌 MCP 兼容端点
ACT Gateway 原生支持 MCP 协议,任何 MCP 客户端可直接调用:
POST /mcp/tools/list
POST /mcp/tools/call
🚀 CrewAI 集成
from act.adapters.crewai_auto import build_crewai_tools
tools = build_crewai_tools(kernel)
agent = Agent(tools=tools, ...)
快速体验
# 启动 Gateway
act-gateway
# 调用工具
curl -X POST http://localhost:9000/act/dispatch \
-H "Content-Type: application/json" \
-d '{"intent": "weather.get_current", "params": {"city": "Beijing"}}'
演示:Before vs After
文档
许可证
MIT
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
act_kernel-1.2.0.tar.gz
(17.0 kB
view details)
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_kernel-1.2.0.tar.gz.
File metadata
- Download URL: act_kernel-1.2.0.tar.gz
- Upload date:
- Size: 17.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9dddf0dda9f056cbfc0908a4f76b5bc53521eec6a826b185918fe72218444543
|
|
| MD5 |
8afb8b6fe93e76e1499c71f4832b8144
|
|
| BLAKE2b-256 |
e355ea31a275267470718e40046913dc6758b964c50d69af91c2989282854edd
|
File details
Details for the file act_kernel-1.2.0-py3-none-any.whl.
File metadata
- Download URL: act_kernel-1.2.0-py3-none-any.whl
- Upload date:
- Size: 18.1 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 |
a70502ab8cc8551ed09e3cc65966e53e9fd315c7469d2c65abd959cbef401767
|
|
| MD5 |
b49db086bcf2e3e45bbc40aef3c879a1
|
|
| BLAKE2b-256 |
bb814e5fa7e8334bd6cb4b12408f01ba6c2ce788f7d7679ae5c3204c2acd56b9
|