The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Tokenmizer
Graph memory for AI agents — decisions, context, and session history that survive across every conversation. Works with any LLM.
Install
/plugin marketplace add Shweta-Mishra-ai/tokenmizerInstall command taken from the project's README or registry entry. Always review code before running it.
README excerpt
Read full README on GitHub →TokenMizer
Your AI forgets why. TokenMizer remembers.
An OpenAI-compatible proxy that builds a <b>knowledge graph</b> of your
session — decisions, files, errors, goals — and replays it when the
context window runs out. Not a summary: a queryable graph that knows
<i>"we switched from MongoDB to PostgreSQL, and here is why."</i>
One line to adopt · works with Claude, GPT, Gemini, Grok, DeepSeek, Mistral, Cohere, Ollama · MIT
<b>Quick start</b> ·
<b>See it</b> ·
<b>Claude Code & MCP</b> ·
<b>Benchmarks</b> ·
<b>Architecture</b> ·
<b>Roadmap</b>
Real run: 25-node graph, checkpoint ckpt_21a0959c3ddf, 233-token resume. Regenerate with python scripts/gen_demo_gif.py.
The problem
Every AI session has a context limit. When you hit it, the model forgets every decision and every rationale built over hours of work, and you spend the first ten minutes of the next session re-explaining the project.
Summarising the history does not fix this. A summary tells you what was decided; it loses why, and it loses what was rejected — so the model happily re-proposes the thing you moved off three sessions ago.
Quick start
pip install "tokenmizer[anthropic,cache]"
export TOKENMIZER_ANTHROPIC_API_KEY=sk-ant-...
tokenmizer serve
Then change one line in your client:
from openai import OpenAI
client = OpenAI(
api_key="your-key",
base_url="http://localhost:8000/v1", # only this changes
)
resp = client.chat.completions.create(
model="claude-sonnet-4-6",
messages=[{"role": "user", "content": "Continue where we left off"}],
extra_body={"session_id": "my-project"}, # optional, enables memory
)
Everything else is unchanged: same request shape, same response shape,
plus a tokenmizer block reporting what was saved. Open
http://localhost:8000 and the session is already there.
Windows, Ollama, Docker, and the full step-by-step
Windows (PowerShell)
$env:TOKENMIZER_ANTHROPIC_API_KEY = "sk-ant-..." # this session
setx TOKENMIZER_ANTHROPIC_API_KEY "sk-ant-..." # persistent
No API key? Ollama runs locally and free:
ollama pull llama3
pip install tokenmizer
# then set `provider: ollama` in tokenmizer.yaml
Docker
docker compose up -d
Full installation notes, every provider's environment variable, and the configuration reference are in docs/configuration.md and docs/deployment.md.
See it
Nothing here is a mockup. Every screenshot and the demo below are the
shipped UI rendering a session from the labelled corpus in
benchmarks/eval/corpus.
The session graph is a page you drive, not a picture
Radial → select a node → force → filter a type → timeline → light. Regenerate with python scripts/gen_graph_demo.py.
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…
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io