Kernel Extensibility
Stable v0.1.0
Schema.md v2
Updated APR 2026
Kernel Extensibility
Beyond the base distros, you can extend the ONDE kernel by injecting raw thought-traversal hooks.
Custom Hooks
Hooks are written in standard TypeScript and bundled into the agent’s runtime.
```typescript import { KernelHook } from ‘@openclaws/onde’;
export const onMemorySync: KernelHook = (context) => { // Logic to intercept before sync console.log(‘Intercepting sync for node:’, context.nodeId); }; ```
Plugin Architecture
Plugins allow your agent to bridge between the graph-based kernel and external deterministic systems like SQL databases or REST APIs.
Warning: External bridges introduce points of failure. Always wrap them in deterministic retries.