TokenForge
Health Warn
- No license — Repository has no license file
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Community trust — 13 GitHub stars
Code Pass
- Code scan — Scanned 1 files during light audit, no dangerous patterns found
Permissions Pass
- Permissions — No dangerous permissions requested
No AI report is available for this listing yet.
Context window optimization for AI coding agents. Sandboxes tool output (98% reduction), persists session memory via SQLite + FTS5, and enforces routing across 17 platforms through MCP + hooks. Works with Claude Code, Gemini CLI, VS Code Copilot, OpenCode, Codex CLI.
TokenForge
Less Context. More Coding.
TokenForge is an open-source context optimization engine designed to reduce token consumption, preserve session memory, and improve efficiency across AI-powered coding workflows.
Stop wasting context on massive tool outputs and repeated explanations. TokenForge filters unnecessary output, stores persistent session knowledge, and routes tool interactions through a unified optimization layer.
✨ Features
- Context Compression — reduce unnecessary tool output by up to 98% in supported workflows.
- Persistent Memory — store and retrieve session knowledge using SQLite and FTS5 full-text search.
- Smart Tool Routing — manage tool interactions across 17 supported platforms.
- MCP Integration — connect AI coding agents through the Model Context Protocol.
- Automatic Hooks — optimize tool output and context flow directly within supported workflows.
- Session Continuity — retain useful context between sessions without repeatedly explaining the same things.
- Token Efficiency — reduce redundant context and keep coding sessions focused.
- Multi-Agent Support — integrate with popular AI-powered development environments.
🧩 Supported Platforms
Designed for workflows involving:
- Claude Code
- Gemini CLI
- VS Code Copilot
- OpenCode
- Codex CLI
⚙️ How It Works
- Intercepts supported tool interactions through hooks and MCP integrations.
- Filters or compresses excessive tool output before it reaches the agent.
- Stores useful session information in a local SQLite database.
- Retrieves relevant memories through FTS5 search.
- Routes supported interactions through a consistent optimization layer.
🎯 Why TokenForge?
- Less context wasted on repetitive tool output.
- Lower token consumption in supported workflows.
- Persistent knowledge across coding sessions.
- A unified approach to AI agent integrations.
- A more focused development experience.
🔍 Project Keywords
ai-agents token-optimization context-engineeringmcp sqlite fts5 claude-code gemini-clicodex-cli opencode github-copilot developer-tools
TokenForge — Keep the context. Cut the noise.
Reviews (0)
Sign in to leave a review.
Leave a reviewNo results found