agent-purge lets users swap system prompts across multiple coding agents via a local web console
The open‑source tool offers replace, append, strict and off modes to manage personas for agents like Codex, Claude and Pi.
ZiChuanLan released agent-purge, a Node‑based CLI and web console that centralises system prompt management for a range of coding agents.
The tool supports four modes—replace, strict, append and off—and can hot‑swap personas without touching disk files.
Installation works via npm (Node ≥ 20) or npx, and the web console runs at http://127.0.0.1:7788, displaying available personas stored in ~/.agent-purge/personas/.
Agent‑purge integrates with magpie gateway plugins, allowing prompt changes for agents that route requests through the gateway without restarting each harness.
Supported agents include Codex, Claude, Grok, OMP, Hermes, Zcode, Opencode, Pi and others, each with documented injection points and version numbers.
What it means for you
Developers can experiment with different system prompts across many AI coding assistants from a single interface, simplifying prompt engineering and testing. The zero‑dependency, reversible design also supports users who prefer fully local, open‑source tooling over cloud‑based prompt management.
Sources
- ZiChuanLan/agent-purge: One persona, many coding agents. Replace or inject system prompts across codex, claude, opencode, grok, omp, hermes, pi, zcode - with a local web console., GitHub trending, 25 Oct 2026
Written automatically from the sources above, then checked by our code: every number and name must appear in them, and no sentence may copy a source. Spotted a mistake? Report it.
Which AI can you use for free today?
Every free AI model, ranked by blind human votes, with the memory and speed it needs on your own GPU.