What is LumenFlow?
LumenFlow is an open-source runtime kernel that governs what AI agents can do, proves what they did, and enforces policies they cannot bypass. Like an operating system kernel mediates between programs and hardware, LumenFlow mediates between agents and everything they touch — filesystem, git, APIs, and cloud services.
The Problem
Section titled “The Problem”AI agents are powerful but unconstrained. They can read any file, write anywhere, and call any tool — with no audit trail and no policy enforcement. When agents go wrong, there is no proof of what happened and no mechanism to prevent recurrence.
LumenFlow solves this by inserting a governance layer between agents and the world.
How It Works
Section titled “How It Works”Every agent action passes through three stages before it executes:
Core Architecture
Section titled “Core Architecture”LumenFlow has two layers:
| Layer | What it does |
|---|---|
| Kernel | Scope intersection, policy engine, evidence store, tool dispatch. Domain-agnostic. |
| Packs | Pluggable extensions that teach the kernel how to work in a specific domain. |
The kernel provides four guarantees:
- Scope intersection — 4-level permission model (workspace, lane, task, tool) where all levels must agree
- Deny-wins policies — restrictive policies at any level cannot be loosened by a lower level
- Evidence receipts — every tool call produces an immutable, content-addressed audit record
- OS-enforced isolation — bwrap sandbox with write confinement and secret deny overlays
Packs are self-contained plugins that declare tools, policies, and evidence types. The first-party pack set currently includes:
- Software Delivery — Work Units, lanes, gates, worktree isolation, and memory for software teams
- Sidekick — workspace-local tasks, memory, routines, channels, and status under
.sidekick/ - Agent Runtime — governed model turns, tool gating, and
agent-sessionorchestration
Works with Any AI
Section titled “Works with Any AI”LumenFlow is friction-free for any AI coding assistant. If your AI can read project files, it can use LumenFlow — just point it at AGENTS.md and LUMENFLOW.md.
| Any AI | Enhanced Integrations |
|---|---|
| Works out of the box with plain markdown instructions | Claude Code, Cursor, Windsurf, Cline get deeper features |
| No vendor lock-in | Auto-detection, skills, vendor-specific configs |
Universal entry points: AGENTS.md, LUMENFLOW.md | Optional overlays: .claude/, .cursor/, .windsurf/ |
| CLI commands work everywhere | MCP server for programmatic access |
Quick Example
Section titled “Quick Example”Next Steps
Section titled “Next Steps”- Kernel Runtime — How the kernel dispatches and governs tool calls
- Packs — The extension mechanism for domain-specific tooling
- Get Started (Humans) — Step-by-step setup for developers
- Get Started (Agents) — Canonical setup for AI coding assistants
- Software Delivery Pack — The built-in pack for software teams