Skip to main content

ACT Kernel – Execution Layer for AI Agents

PyPI version License: MIT MCP Compatible OpenClaw Ready

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

点击查看 GIF 演示

文档

许可证

MIT

Metadata

Release files for act-kernel 1.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for act-kernel 1.2.0
File Size Uploaded Provenance
act_kernel-1.2.0.tar.gz 17.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for act-kernel 1.2.0
File Interpreter ABI Platform
act_kernel-1.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 35.0 kB

Release files / act_kernel-1.2.0.tar.gz

Download URL act_kernel-1.2.0.tar.gz
Size 17.0 kB
Tags Source
SHA-256 checksum
How to use checksums
9dddf0dda9f056cbfc0908a4f76b5bc53521eec6a826b185918fe72218444543
BLAKE2b-256 checksum
How to use checksums
e355ea31a275267470718e40046913dc6758b964c50d69af91c2989282854edd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release files / act_kernel-1.2.0-py3-none-any.whl

Download URL act_kernel-1.2.0-py3-none-any.whl
Size 18.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a70502ab8cc8551ed09e3cc65966e53e9fd315c7469d2c65abd959cbef401767
BLAKE2b-256 checksum
How to use checksums
bb814e5fa7e8334bd6cb4b12408f01ba6c2ce788f7d7679ae5c3204c2acd56b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Security for act-kernel 1.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page