agentsclimarketplace

Agentic control kernel

Skill broomva/skills/skills/governance/agentic-control-kernel

Unifying control-systems metalayer for LLM-as-controller agent development. Bootstrap any repository with typed plant/action/trace schemas, safety shield conventions, multi-rate loop hierarchy, EGRI-compatible evaluator interfaces, and the full consciousness stack (governance + knowledge graph + episodic memory). Use when: (1) setting up agentic control primitives in a new or existing project, (2) designing LLM-as-controller architectures with safety shields and typed directives, (3) wiring EGRI/autoany loops for controller or artifact improvement, (4) bootstrapping the consciousness stack (control-metalayer + knowledge-graph + conversation bridge), (5) integrating symphony-style orchestration patterns, (6) defining plant interfaces, state estimators, or world models for agent-controlled systems, (7) user says "control kernel", "agentic control", "safety shield", "plant interface", "control metalayer", "agent controller", "multi-rate loop", "LLM control law".From its SKILL.md

Install
npx -y skills add broomva/skills --skill agentic-control-kernel

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • 3 stars3 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
  • runs commandsInstructs the agent to run 1 command, including `python3 scripts/control_kernel_init.py <repo-path> [--profile governed] [--runtime arcan] [--ledger lago]`.

SKILL.md

7.6 KB, ~1.6k tokens by cl100k_base, as published. Nobody here has run it

Agentic Control Kernel

A purely knowledge-based metalayer that unifies six subsystems into a single installable skill for any project:

LayerSource / CratesRole
Governancecontrol-metalayer-loopSetpoints, sensors, gates, policy, profiles
Improvementautoany_core + autoany-aios + autoany-lagoEGRI microkernel, Arcan execution, Lago ledger
Orchestrationsymphony-orchestrator + symphony-arcanPoll/dispatch/worker/reconcile via Arcan HTTP
RuntimeLife (arcan, lago, autonomic, praxis, spaces)Agent sessions, event journal, homeostasis, networking
Protocolaios-protocolCanonical types — shared vocabulary across all crates
Episodic Memoryknowledge-graph-memoryConversation logs -> Obsidian bridge
Consciousnessagent-consciousnessThree-substrate persistent context
QA/ActuationgstackHeadless browser, workflow skills
Control Kernelthis skillPlant interface, safety shields, typed schemas, multi-rate hierarchy

Core Law

Do not grant an agent more mutation freedom than your evaluator can reliably judge. In control terms: do not let the LLM's action space exceed what your runtime monitors, safety filters, and evaluators can certify.

Quick Start

1. Bootstrap a project

python3 scripts/control_kernel_init.py <repo-path> [--profile governed] [--runtime arcan] [--ledger lago]

This installs into the target repo:

  • .control/policy.yaml — control-systems-aware setpoints
  • schemas/ — state, action, trace, evaluator JSON schemas
  • METALAYER.md — control loop definition with plant/shield/estimator sections
  • Harness gates wired to make smoke, make check, make control-audit

2. Define the plant interface

Edit .control/plant.yaml with typed state and action schemas for your system. See references/plant-interface.md for the full API spec.

3. Wire safety shields

See references/safety-shields.md for CBF-QP patterns, policy gates, and containment invariants.

4. Set up EGRI for controller improvement

Use the problem-spec template in assets/templates/problem-spec.control.yaml to define an autoany loop over your controller artifacts. See references/egri-for-controllers.md.

Architecture Overview

The LLM emits typed control directives θ_t — not raw actuations u_t. Deterministic controller modules execute, safety shields filter, and the runtime logs traces to an append-only ledger.

Plant → observe() → Runtime → update estimator → b_t
  → LLM Agent: request decision(b_t) → θ_t (typed directive)
  → Controller: propose(b_t, θ_t) → proposed u_t
  → Safety Shield: filter(u_t, b_t) → safe u_t + certificate
  → Plant: apply(safe u_t) → result
  → Evaluator/Ledger: append trace + score

See references/architecture.md for the full 5-layer diagram.

Multi-Rate Hierarchy

LoopCadenceLLM here?What runs
ServomsNoPID, state feedback, deterministic
Constrained execution10-100msNo (param updates only)MPC/CBF-QP solvers
Supervisory planningsecondsYesGoal setting, mode switching, tool selection
Auto-tuning (EGRI)minutes-daysYesController synthesis, model learning

See references/multi-rate-hierarchy.md.

LLM Roles in the Control Stack

RoleOutputsWhen to use
Supervisory controllersetpoints, mode switches, constraintsDefault — long-horizon reasoning
Meta-controllertool/module selection, identification triggersModular systems with multiple controllers
Controller synthesizercode, configs, testsOffline — gated by harness CI
EGRI loop compilerproblem-spec, evaluator design, promotion rulesContinuous improvement cycles

See references/architecture.md for the full role table.

Reference Guide

Schemas

JSON Schemas in schemas/ enforce typed interfaces:

  • state.schema.json — Plant/belief state
  • action.schema.json — Control directives (θ_t)
  • trace.schema.json — Ledger entries (autoany-compatible)
  • evaluator.schema.json — Score vectors, promotion decisions
  • egri-event.schema.json — EGRI trial events for Lago persistence via EventKind::Custom

Existing Skill Dependencies

This skill synthesizes and references (does not duplicate) these existing skills:

  • control-metalayer-loop — Use for .control/ bootstrapping and governance primitives
  • autoany — EGRI loop execution via autoany-aios (Arcan sessions) and autoany-lago (Lago ledger)
  • symphony — Orchestration dispatch via symphony-arcan (Arcan HTTP runtime)
  • lifearcan (agent sessions), lago (event journal), autonomic (homeostasis), spaces (networking)
  • aios-protocol — Canonical types shared across all adapter crates
  • agent-consciousness — Use for consciousness stack setup
  • knowledge-graph-memory — Use for conversation bridge to Obsidian
  • gstack — Use for QA actuation via headless browser

What ships with it: 21 files

152.9 KB alongside SKILL.md, 3 of them executable

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.