All notes

Practical AI

Compile skills into weights, not prompts.

When agent instructions grow long, the context window is the wrong place to store competence.

Pasting two to eight thousand tokens of markdown instructions, JSON schemas, and safety guardrails into an agent prompt works on large frontier models. On smaller edge models, it triggers prompt-echo loops, attention dilution, and significant decoding slowdowns.

The context window was designed for dynamic conversational state, not for permanent procedural memory. In multi-turn agent loops, static prompt boilerplate consumes 60% to 80% of total token budgets, imposing thousands in recurring monthly API costs while leaving the agent vulnerable to prompt injection.

Weight-Space Skill Compilation takes a fundamentally different path: procedural rules and coordinate manifolds are algebraically compiled directly into low-rank feed-forward weight deltas. The model executes the skill with zero prompt token overhead, sub-millisecond mounting latency (<0.05 ms), and certified immunity against adversarial prompt injection.

My perspective

Procedural competence belongs in model geometry, not in conversational memory.

What this means in practice

Agents can execute multi-skill workflows on edge hardware without paying perpetual latency, memory bloat, and token costs.

Limitations & open questions

Weight compilation requires pre-computed activation calibration and cannot adapt to completely unseen runtime schemas without re-projection.

Sources & verification

  1. Zero-Skills in Context: Sub-Second Algebraic Compilation of Agent Procedures into Feed-Forward Weights (Zenodo / CERN)

    Last reviewed: 2026-11-11

  2. Weight Skills Suite — 15 Dynamic Cartridges (Hugging Face)

    Last reviewed: 2026-11-11

  3. Proto-Nemotron Foundation Model (Hugging Face)

    Last reviewed: 2026-11-11

Discuss a project or role
LUIS MACHADO / NOTES

Useful ideas. In your own time.

Copy this feed address into your reader. New published notes will appear there.

https://luismachado.dev/en/feed.xml

No tracking pixel. No subscription required for the feed.

LUIS MACHADO / SHARE

Sharing options

Illustrative link preview. The receiving app controls its final appearance.

Download image

Alternative downloads do not change the preview of this page URL.