AIOS Kernel — 插件工具
v1.0.5The plugin's code, instructions, and requirements are coherent with its stated purpose of routing OpenClaw LLM calls through a local AIOS kernel; it does modify your OpenClaw allowlist file and talks to a localhost service but does not request unrelated credentials or external endpoints.
版本
安装命令 点击复制
插件文档
OpenClaw for AIOS
An OpenClaw plugin that routes LLM calls through the AIOS Kernel scheduler.
What is OpenClaw for AIOS?
OpenClaw for AIOS lets OpenClaw use AIOS as its LLM backend, so all your OpenClaw agent's LLM calls are scheduled through AIOS instead of hitting the provider directly.
How it works
Architecture
OpenClaw Agent
│
▼
openclaw-aios plugin (index.ts)
│
▼
AIOS Kernel (localhost:8000)
│
▼
LLM Provider (e.g. Anthropic)Tool Calling
Multiple tool calls in a single response and self-closing tags (no parameters) are both supported.
Rate Limit Handling
The plugin automatically retries on rate limit errors (429) with a 20 second wait between retries, up to 3 retries per turn. Each new turn gets a fresh set of 3 retries.
Dynamic Model Loading
On gateway start, the plugin fetches available models from AIOS /core/llms/list and automatically adds them to the OpenClaw model allowlist. No manual config editing needed.
Prerequisites
- OpenClaw installed and running
- AIOS kernel running at
http://localhost:8000--> this is VERY important - At least one model configured in AIOS (e.g.
claude-sonnet-4-5-20250929withbackend: anthropic)
Install
openclaw plugins install clawhub:@devesht01/openclaw-aios
openclaw gateway restart
openclaw gateway restartTwo restarts are required — the first writes the model to your allowlist, the second picks it up.
Then switch to the AIOS model in the web UI:
/model aios/{model_name}Uninstall
openclaw plugins uninstall aiosThen remove aios/<model-name> from agents.defaults.models and aios from plugins.allow in ~/.openclaw/openclaw.json.
Configuration
The AIOS kernel URL defaults to http://localhost:8000. To change it, edit AIOS_URL in index.ts.
The model names and backends are read dynamically from AIOS — no hardcoding needed. Whatever models AIOS has configured will appear in OpenClaw's model list automatically.
If you add a new LLM backend to AIOS, make sure to restart the openclaw gateway twice by running openclaw gateway restart
Notes
- This plugin routes all LLM calls through AIOS. AIOS handles the actual API calls to providers like Anthropic
- Tool execution happens in OpenClaw, not AIOS. AIOS is only the LLM scheduler
- The plugin works with any LLM backend that AIOS supports (Anthropic, OpenAI, etc.)
- Ignore warnings about the plugin not being in the allowlist-we are actively working on fixing that but it does not affect the usage of this plugin.
免费技能或插件可能存在安全风险,如需更匹配、更安全的方案,建议联系付费定制