A
ai4ai
Manifest valid★ 52Let AI manage itself — a cross-harness kit for runtime status, context renewal, self-duplication and more
hasBundlePatch
AI4AI — Let AI manage itself more easily.
AI4AI is an extension kit for AI harnesses: it abstracts extension capabilities into a unified interface — the same tool calls work across harnesses, and skills stay portable.
- Know Itself — understand its own runtime state, including but not limited to context usage, model, reasoning effort and window.
- Renew Itself — renew itself on demand, refreshing the context, shedding the burden and traveling light.
- Duplicate Itself — create its own copies, making task scheduling and coordination more flexible.
Supported harnesses
| Harness | Linux | macOS | Windows |
|---|---|---|---|
| Claude Code | ✅ | ✅ | WSL |
| Codex | ✅ | ✅ | WSL |
| OpenCode | ✅ | ✅ | WSL |
| DeepSeek Harness | ✅ | ✅ | ✅ |
On Windows, all harnesses except DeepSeek Harness run via WSL; details and limits are in the contract docs.
Start
Requires Node.js 22+.
npx ai4ai init # recommended: no global install
npm install -g ai4ai && ai4ai init # global install, command persists
npm i -D ai4ai && npx ai4ai init --scope project # project-scope install
init detects and registers local harnesses (idempotent); --yes skips the prompt.
npx ai4ai status # show state
npx ai4ai upgrade # re-register
npx ai4ai uninstall # remove registrations
Claude Code / OpenCode / DSH expose the tools after registration; Codex uses the CLI:
npx ai4ai session --operation status --harness codex
Contract and details: docs/contract.md. MIT.
Versions
| Latest version | Published | Size |
|---|---|---|
| 0.0.0-stage | — | — |
| 0.0.3 | — | — |
Comments
Loading…