BeClaude

lean-ctx

New
2.7kGitHubGeneralby yvgude

Control what your AI can see. LeanCTX (Lean Context) is the context intelligence layer for AI agents — one local Rust binary that decides what they read, remembers what they learn, guards what they touch, and proves what they save. 60–90% fewer tokens as the receipt. 76 MCP tools, 30+ agents, local-first.

First seen 5/22/2026

Install & Usage

1
Create the agents directory
mkdir -p .claude/agents
2
Save the agent file

Add the configuration to .claude/agents/lean-ctx.md

3
Invoke with @agent-name
@lean-ctx
View source on GitHub
mcpagentrust

Security Audits

LicenseUnknownSourceWarnRepositoryPass

Frequently Asked Questions

What is lean-ctx?

Control what your AI can see. LeanCTX (Lean Context) is the context intelligence layer for AI agents — one local Rust binary that decides what they read, remembers what they learn, guards what they touch, and proves what they save. 60–90% fewer tokens as the receipt. 76 MCP tools, 30+ agents, local-first.

How to install lean-ctx?

To install lean-ctx: create the agents directory (mkdir -p .claude/agents), then add the config to .claude/agents/lean-ctx.md. Finally, @lean-ctx in Claude Code.

What is lean-ctx best for?

lean-ctx is a agent categorized under General. It is designed for: mcp, agent, rust. Created by yvgude.