Galadriel: Open-Source Warm-Cache Harness for Persistent Claude Agents

A Reddit user has open-sourced Galadriel, a harness for persistent Claude agents that achieves 87% cost savings and sub-3s latency on 100K token contexts by optimizing prompt caching. The project, released under MIT license, targets the memory and cost issues often called the "Goldfish Problem" in AI coding agents.
Key Features
- 3-Tier Stacked Caching: Separate cache breakpoints for tool definitions, system prompts (
CLAUDE.md), and trailing conversation history. This avoids cache invalidation across different context segments. - Integrated MemPalace: A vector-based persistent memory system that does not break the prompt cache, enabling permanent recall.
- Privacy-first: Designed for private subnets — no middleman, no message caps, just your API key and rules.
- CLAUDE.md Guidelines (Karpathy-style): Built-in rules to prevent agent bloat (unnecessary context expansion).
Benchmarks
According to the author, tested against OpenClaw/Cursor workflows:
- Cost: $10 for every $100 normally spent (87% reduction).
- Latency: 100K token context drops from 11s to <3s (85% improvement).
Who It's For
Developers running persistent Claude agents for tasks like infrastructure management or codebase maintenance who are paying high API costs due to uncached context.
Setup
The harness is currently customized for Discord (the author's personal setup), but the caching logic is generic. Clone the repo and adapt the transport layer for your needs.
GitHub
github.com/avasol/galadriel-public (MIT License)
📖 Read the full source: r/openclaw
👀 See Also

Workaround for ChatGPT Project Migration Gap: Export Scripts and Prompts
A developer created Python scripts and Claude prompts to migrate conversations from ChatGPT to Claude when ChatGPT's data export lacks project membership information. The solution extracts conversations using titles captured from the interface.

MoltMarket: A Marketplace for Hiring AI Agents to Execute Digital Tasks
MoltMarket is a free platform where users can post jobs for AI agents to complete autonomously. The marketplace currently has 100+ users and verified agents that can handle tasks like web scraping, code generation, and content writing.

Claude Code Built Treelo: A Free Video Transcription Tool
A video editor used Claude Code to build Treelo, a free tool that transcribes video/audio files, removes filler words, allows SFX placement at exact timestamps, and exports SRT for Premiere or ASS for DaVinci Resolve.

OpenClaw Benchmark Shows Qwen3.5:27B Outperforms Other Local LLMs for Agent Tasks
A benchmark of 7 local LLMs on 22 real agent tasks using OpenClaw found qwen3.5:27b-q4_K_M scored 59.4%, while the runner-up qwen3.5:35b scored only 23.2%. Most models couldn't find basic tools like email functions.