Home / Blog / A team built a Bare-Minimum Agent Kernel
Tech News

A team built a Bare-Minimum Agent Kernel

Sikemux replaced thousands of lines of Rust scaffolding with a bare-minimum agent kernel, cutting MCP turn-1 context to 1,164 tokens and prompt size by 84.9%.

By Dillip Chowdary • Dec 06, 2026 • Source: sikemux.com

A team built a Bare-Minimum Agent Kernel
Image: sikemux.com

At a glance

Product
Sikemux bare-minimum agent kernel
Implementation
Rust kernel with plain Markdown skills
Benchmark platform
Apple Silicon, macOS APFS, tiktoken o200k_base
Turn-1 MCP context
1,164 tokens across 26 direct tools
Warm workspace cost
~2.0 s and ~103 MB for 42.3 GB
Evaluation limits
Structural overhead only, no SWE-bench evals

Sikemux stripped thousands of lines of orchestration scaffolding out of its multi-agent coding runtime and rebuilt around a bare-minimum agent kernel in Rust, according to sikemux.com's report. The company replaced an English cue-word memory engine, background LLM summarizers, compiled orchestrator prompts, fixed character caps, and 70 upfront MCP tools with deterministic OS primitives and plain Markdown files.

This article breaks down the architecture, token benchmarks, APFS disk measurements, and runtime guardrails Sikemux published from tests on Apple Silicon, macOS APFS, and tiktoken o200k_base. It is written for developers and infrastructure teams building or maintaining multi-agent coding harnesses who want to cut token overhead and isolate parallel agents without hardcoding brittle model heuristics.

01Rust kernel boundary and model-owned cognition

Sikemux argues that cognitive scaffolding written in code depreciates every six months as frontier models improve, whereas OS physics and security invariants appreciate. The company cited Anthropic finding on CL-Bench that prescriptive memory rules degraded newer models, Vercel cutting a data agent from 17 tools to bash and SQL to lift pass rates from 80% to 100% at 3.5x speed, and Cursor deleting 66% of its system prompt while replacing flat locks with isolated trees.

To separate model judgment from runtime enforcement, Sikemux moved planning, Markdown notes, and role skills into plain files while confining Rust to four deterministic kernel subsystems. Worktrees and landing handle APFS copy-on-write, ports, and a linear merge queue; shared state and lint use CRDTs and SHA-256 blobs with zero LLM calls; signed rooms and specs enforce OS caller identity and an 8-turn breaker; and verifiers and sandboxes handle receipts, blind-fill secrets, and taint checks. Because the kernel owns thread logs and workspace state, Claude Code, Codex, and Gemini remain swappable drivers.

02MCP gateway indexing and eager-loading overhead

Consolidating tool families into multiplexed parent tools cut Sikemux's direct MCP catalog by 62.9%, from 70 tools down to 26. However, multiplexing alone barely shrank schemas because every sub-action parameter schema remained embedded inside its parent tool, exposing an eager-loading trap.

Sikemux's alwaysLoad tier previously held frequent flat tools at 979 tokens, but propagating alwaysLoad onto consolidated parent families pulled every cold sibling action into turn 1 and ballooned the eager tier 3.38x to 3,306 tokens. Exposing only guide and call alongside a compact gateway index brought turn-1 context down to 1,164 tokens, 97.9% leaner than Anthropic's 55,000-token baseline for 58 upfront MCP schemas. Moving role playbooks into on-demand Markdown skills also cut the orchestrator prompt by 84.9%, from 1,009 compiled tokens to 152 tokens.

03Deterministic Markdown linting over cue-word memory

Advertisement

Tech Pulse Daily

Get tomorrow's pulse first

Join engineers who read Tech Pulse before stand-up. Free, weekday mornings.

Sikemux's previous memory stack paired background LLM summarizers with a contradiction detector built on English stop-words, cue lists, and Jaccard similarity. Putting "on" in the positive-cue list caused "Never push commits directly on main" to match both negative and positive cues, canceling polarity so the detector passed it as non-contradictory against "Always push commits directly on main."

Complementary tooling rules also falsely tripped, differently worded opposites slipped past, and fixed character caps sliced project rules mid-word, leaving fragments such as ...never bypass vault_r. Sikemux deleted both systems in favor of plain Markdown under a bounded index with line-aligned trimming on window-relative budgets. A 0-token deterministic linter now runs in under 10 ms to flag oversized indexes, broken links, dead wikilinks, leaked API keys outside fenced code, and stale code anchors via git diff.

04APFS copy-on-write worktrees and linear merging

Shared checkouts corrupt git indexes, clobber diffs, and collide on ports, while cold clones force multi-minute rebuilds. Benchmarking on Sikemux's live repository disproved the assumption that recursive cp -cR on APFS would be instant because walking .git objects file by file still took 11.75 seconds.

OperationWall TimeApparent SizePhysical Disk Delta
Fresh git clone --no-hardlinks21.6 s1,165.5 MB1,180.2 MB
Naive recursive cp -cR (full repo)11.75 s1,165.5 MB86.5 MB
Warm Rust target/ (clonefile)1.17 s40.8 GB17.6 MB (99.96% saved)
Combined warm isolated workspace~2.0 s~42.3 GB~103 MB

Pairing git worktree add with directory-level clonefile on node_modules/ and target/ beat cp -cR by roughly 6x, warming a 42.3 GB workspace for about 103 MB of physical disk. Finished commits land through line-level edit ownership and a serialized linear queue, merging disjoint edits alongside sibling work while refusing colliding lines without mutating main. Sikemux dogfoods this daily with parallel Claude and Gemini agents landing signed commits.

05Sub-millisecond OS guardrails and fixed regressions

Because thin cognition depends on out-of-context enforcement, Sikemux moved security and verification into the kernel. Agents reference opaque vault:<id> handles while the blind-fill vault injects credentials directly into browser fields or proxies, keeping 0 plaintext secret bytes in transcripts and requiring human approval for payments and first-time access. External MCP schemas are SHA-256 hash-pinned on approval with sub-millisecond drift checks, Lethal-Trifecta taint blocks unapproved egress in sub-millisecond time when private data meets untrusted content, an 8-turn breaker pauses agent-only loops, and external verifiers pair with SHA-256 hash-chained logs and OS process-tree kills.

Shipping the kernel uncovered two regressions that Sikemux subsequently fixed and tested: folding flat tools into families broke packaging smoke checks still calling legacy flat names, and the initial egress-taint pass falsely blocked zero-exposure blind-fill and memory-list calls until taint was narrowed to true secret reads with clean-origin exceptions.

Note: Sikemux notes that these benchmarks prove structural token overhead, deterministic latency, and APFS disk economics, not controlled SWE-bench pass rates or full-trajectory A/B evaluations such as how often lazy guide calls offset turn-1 gateway savings.

Frequently asked questions

What is an agent kernel in Sikemux's architecture?

It is a thin, deterministic Rust runtime that owns OS primitives including worktree isolation, shared state, OS caller identity, blind-fill secrets, and external verifiers. Planning, Markdown notes, and role skills stay outside the kernel so models and harnesses like Claude Code, Codex, and Gemini remain swappable.

How did Sikemux cut MCP tool token overhead without breaking discovery?

Sikemux consolidated 70 direct tools into 26 and replaced eager alwaysLoad schemas with a compact gateway index exposing only guide and call. That lowered turn-1 MCP context to 1,164 tokens, 97.9% below Anthropic's 55,000-token baseline, and avoided the 3.38x bloat caused by eagerly loading multiplexed families.

How do parallel coding agents share a repository without rebuild storms?

Each agent runs in an isolated git worktree warmed with directory-level APFS clonefile on node_modules/ and target/, spinning up a 42.3 GB workspace in roughly 2 seconds for ~103 MB of disk. Finished work merges through line-level edit ownership and a serialized linear queue without lock contention on main.

How does Sikemux prevent agents from leaking secrets or looping?

Agents only see opaque vault: handles while the kernel blind-fills credentials with zero plaintext secret bytes in transcripts, and Lethal-Trifecta taint blocks unapproved egress in sub-millisecond time. Signed rooms also stamp OS caller identity and pause agent-only loops after 8 turns without human input or verified progress.

Sources

Dillip Chowdary

Author

Dillip Chowdary

Writes Tech Bytes coverage of AI, engineering, and the tools that actually ship. Editor of Tech Pulse Daily.

Related on Tech Bytes

Advertisement

5-min tech signal

Weekday briefing for engineers who skip the noise.

No spam · Unsubscribe anytime

Advertisement

✈️ CareerPilot

Your AI job-search copilot

Match your resume against live Ashby, Greenhouse & Lever openings — fit scores, job-specific resume optimization and email alerts.

Find matching jobs →

Free Tools

Browse all tools →