← Back to Plugins
Tools

Agent Heads

kowalunioo By kowalunioo 👁 6 views ▲ 0 votes

Per-agent isolated memory and knowledge heads plugin for OpenClaw

GitHub

Configuration Example

{
  "enabled": true,
  "config": {
    "rootDir": "/home/user/.openclaw/workspace/agent-heads",
    "sharedDir": "/home/user/.openclaw/workspace/agent-heads/shared",
    "defaultAgentKey": "bankrut-jezyslaw"
  }
}

README

# agent-heads-plugin

OpenClaw plugin implementing small, composable tools for per-agent isolated heads.

## What it provides

- head initialization
- head status / audit
- append durable local entries
- register generic sources
- read durable local files
- selective single-file reads
- promote reviewed local material into the shared layer
- create conversation-derived candidate notes
- promote reviewed conversation candidates into durable files
- cleanup / curation helper for durable files

## Current tool set

- `agent_head_init`
- `agent_head_status`
- `agent_head_write_entry`
- `agent_head_register_source`
- `agent_head_read`
- `agent_head_read_file`
- `agent_head_promote_shared`
- `agent_head_create_conversation_candidate`
- `agent_head_promote_conversation_candidate`
- `agent_head_curate_file`

## Config

Recommended runtime config uses absolute workspace paths:

```json
{
  "enabled": true,
  "config": {
    "rootDir": "/home/user/.openclaw/workspace/agent-heads",
    "sharedDir": "/home/user/.openclaw/workspace/agent-heads/shared",
    "defaultAgentKey": "bankrut-jezyslaw"
  }
}
```

## Notes

- Relative paths can drift across runtimes; prefer absolute workspace paths.
- Promotion to shared is explicit by design.
- The plugin is source-agnostic; ingestion systems should feed into it, not define it.
- A planned next layer is lightweight self-improvement logging inspired by `self-improving-agent`, adapted to per-head isolation instead of one shared learnings log.

## Release scope: v0.1.0 core

This release intentionally stops at the reusable core:
- isolated per-agent heads
- shared/local boundaries
- source registration
- explicit promotion to shared
- conversation candidate creation + promotion
- selective reads
- curation helper
- audit / maintenance baseline

Out of scope for v0.1.0:
- source-specific ingestion pipelines
- PDF/web/transcript companion systems
- self-improvement fast-path log tools
- reflection triage helper
- advanced semantic audit heuristics

## Planned next evolution

Potential additions:
- `agent_head_log_learning`
- `agent_head_log_error`
- `agent_head_log_backlog_item`
- optional reflection triage helper

These would capture only durable post-task reflections and route them into the correct local file without weakening provenance or isolation.
tools

Comments

Sign in to leave a comment

Loading comments...