The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Hermes Gbrain Bridge
Convert Hermes / OpenClaw agent memory (JSONL sessions, MEMORY.md) to markdown for gBrain ingest
Install
git clone https://github.com/howardpen9/hermes-gbrain-bridgeInstall command taken from the project's README or registry entry. Always review code before running it.
README excerpt
Read full README on GitHub →hermes-gbrain-bridge
A small, dependency-free bridge that converts scattered agent memory (Hermes, Claude Code, Codex, OpenClaw) into clean markdown for gBrain to ingest.
🇹🇼 繁體中文版本:README.zh-TW.md
Most agent tools write memory in their own format — JSONL event streams, flat-key text, SQLite. gBrain only imports markdown. If you want one searchable brain across everything you've ever asked an agent, you need a bridge. This is that bridge.
Why this exists
On one normal developer machine, agent memory lives in at least five different places — each in its own format:
| Tool | Location | Format |
|---|---|---|
| Hermes | ~/.hermes/sessions/*.jsonl + memories/*.md |
JSONL + §-delimited markdown |
| Claude Code | ~/.claude/projects//*.jsonl |
Event stream JSONL |
| Codex CLI | ~/.codex/sessions/**/*.jsonl |
JSONL with session_meta header |
| OpenClaw archive | ~/.openclaw.pre-migration/workspace/**/*.md |
Markdown with legacy paths |
| Conductor workspaces | Encoded into the Claude Code path | Same as Claude Code |
gBrain is an excellent knowledge brain, but out of the box it only reads markdown. You don't want to lose the last three years of conversations just because they're in the wrong container. This repo is the converter that makes them ingestible — one command per source, with mtime windows, size floors, secret redaction, and a canonical event format under the hood.
Architecture
┌──────────────────────────────────┐ ┌───────────────────────┐
│ Local machine │ │ Cloud (Railway) │
│ │ │ │
│ ~/.hermes/sessions/ │ │ Postgres │
│ ~/.hermes/memories/ │─┐ │ + pgvector │
│ ~/.claude/projects/ │ │ │ + pg_trgm │
│ ~/.codex/sessions/ │ │ │ │
│ ~/.openclaw.pre-migration/ │ │ │ gBrain schema: │
│ │ │ │ pages │
│ ┌──────────────────────────┐ │ │ │ content_chunks │
│ │ hermes-gbrain-bridge │ │ │ │ timeline_entries │
│ │ discover → filter → │◀───┘ │ │ ... │
│ │ adapt → redact → │ │ │ │
│ │ canonical event → │ │ │ │
│ │ markdown (one per src) │ │ │ │
│ └──────────────────────────┘ │ │ │
│ │ │ │ │
│ ▼ │ │ │
│ /tmp/gbrain-staging/*.md │ │ │
│ │ │ │ │
│ ▼ │ │ │
│ gbrain import → embed ────────────┼────▶│ │
│ gbrain query / serve ◀────────────┼─────│ │
└────────────────────────────────────┘ └───────────────────────┘
Similar plugs
Reverse engineer anything with agents, from app behavior down to native binaries.
Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype…
A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io