Contextium: Open-Source Persistent Context Framework for Claude Code

✍️ OpenClawRadar📅 Published: March 21, 2026🔗 Source
Contextium: Open-Source Persistent Context Framework for Claude Code
Ad

Contextium is an open-source persistent context framework built specifically for Claude Code. It solves the problem of having to re-explain context in each new Claude Code session by creating a structured repository system that compounds knowledge over time.

What It Does

Contextium organizes information into markdown files across several categories: apps, integrations, knowledge domains, projects, and journals. The core mechanism is a CLAUDE.md file that acts as a context router, telling Claude which files to load based on the current task. This prevents context window bloat by lazy-loading only relevant content.

Key Features

  • Context Router Table: The CLAUDE.md file contains a routing table that triggers specific file loads:
    | Trigger | Load |
    |----------------------|-----------------------------------|
    | Project work | projects/README.md |
    | Person mentioned | knowledge/people/{name}/ |
    | Integration/API call | integrations/{name}/README.md |
    | Prior work | journal/ (latest) |
  • Multi-Agent Support: Routes research to Gemini (for cost efficiency) and bulk edits to Codex (for speed) while keeping Claude focused on strategy and decisions
  • Template Structure: The open-source version ships with 6 sample apps and documentation for 27 integrations
  • Real-World Scale: The creator's personal instance contains 35 app protocols, 27 integration connectors, 100+ completed projects with decision logs, and 600+ journal entries
Ad

Installation and Setup

Install with a single command:

bash curl -sSL contextium.ai/install | bash

The installer uses bash and gum for the terminal UI, asks for your name, selects your AI agent (supports Claude Code plus 8 others), chooses integrations, and sets up your repository. The process takes about 5 minutes and works on macOS and Linux.

Development Process

The creator built Contextium over several months using Claude Code, which wrote approximately 90% of the code. This included:

  • The installer script (bash + gum)
  • Adaptation of 27 integration READMEs
  • Agent configuration templates
  • An Astro website
  • Debugging across multiple test runs on fresh VMs

Technical Details

  • License: Apache 2.0
  • GitHub: https://github.com/Ashkaan/contextium
  • Website: https://contextium.ai

📖 Read the full source: r/ClaudeAI

Ad

👀 See Also

Bifrost LLM Gateway: 11 Microsecond Overhead, Single Binary in Go
Tools

Bifrost LLM Gateway: 11 Microsecond Overhead, Single Binary in Go

Bifrost is an open-source LLM proxy written in Go that routes requests to OpenAI, Anthropic, Azure, and Bedrock with 11 microsecond overhead per request, handling 5,000 RPS on a $20/month VPS.

OpenClawRadar
Lightpanda: Open-source headless browser for LLM agents with native MCP server and markdown output
Tools

Lightpanda: Open-source headless browser for LLM agents with native MCP server and markdown output

Lightpanda is an open-source headless browser designed for LLM-powered agents that uses 16x less memory than Chrome (215MB vs 2GB) and completes web crawling benchmarks in 5 seconds instead of 47 seconds. It provides native markdown output, semantic tree with interactivity detection, and a built-in MCP server.

OpenClawRadar
GGUF Model Merging Script and Workflow for Qwen3.5-35B Variants
Tools

GGUF Model Merging Script and Workflow for Qwen3.5-35B Variants

A Reddit user shared a Python script for merging GGUF model files with minimal loss, specifically combining HauhauCS's Qwen3.5-35B-A3B-Uncensored model with samuelcardillo's Claude-4.6-Opus-Reasoning-Distilled version. The script runs on Google Colab Free Tier and includes quantization support via llama-quantize.

OpenClawRadar
Utilyze: Open-Source GPU Monitor That Measures Real Compute Throughput, Not Just Kernel Activity
Tools

Utilyze: Open-Source GPU Monitor That Measures Real Compute Throughput, Not Just Kernel Activity

Utilyze samples hardware performance counters to report compute and memory throughput relative to theoretical limits, exposing that dashboards showing 100% utilization may have only 1-10% real throughput.

OpenClawRadar