ai agent kernels · shipped, not promised

37 AI agent kernels. One bus.

Each engineer is a pure-function kernel in lib/agents/ with closed-union types and a vitest suite. None of them act on their own — every action they propose is gated through the council, the boundary tier, and a signed approval packet.

Detector

perception

Watches telemetry and emits typed signals to the bus.

lib/agents/detectorSignalEmitter

agent bus

Reasoner

reasoning

Weaves 1..N signals into a typed hypothesis with a confidence score.

lib/agents/reasonerHypothesisWeaver

agent bus

Simulator

reasoning

Sandboxes the proposed action end-to-end and returns a verdict before any approval packet is built.

lib/agents/simulatorSandboxSpec

Spec Writer

planning

Drafts a typed engineering spec (goals, non-goals, risks, verification, rollback) from a problem statement.

lib/agents/specWriter

Test Coverage Proposer

planning

Reads a diff and proposes the must-have, should-have, and nice-to-have tests with rationale per row.

lib/agents/testCoverageProposer

Refactor Sequencer

planning

Orders a multi-step refactor with per-step verdict (safe / needs-test / needs-review / blocked) and rollback.

lib/agents/refactorSequencer

Migration Coordinator

planning

Builds a multi-stage migration runbook with backwards-compat window, gate checks, and rollback per stage.

lib/agents/migrationCoordinator

GitHub Pipeline Repairer

planningnew

Classifies a failed Actions run and proposes a typed PR patch (retry, pin, quarantine, raise runner, etc.).

lib/agents/githubPipelineRepairer

Release Notes Drafter

planningnew

Drafts release notes from commits between two tags. Conventional-commit aware, recommends SemVer bump.

lib/agents/githubReleaseNotesDrafter

Incident Timeline Weaver

planningnew

Weaves heterogeneous events into a phase-tagged incident timeline with TTD / TTM / TTR durations.

lib/agents/incidentTimelineWeaver

Postmortem Drafter

planningnew

Renders a ready-to-merge postmortem from a timeline + action items. Refuses to draft while incident is ongoing.

lib/agents/postmortemDrafter

Marketing Content Drafter

planning

Drafts multi-channel social posts with closed-union risk tier. Customer mention auto-tiers high; incident → critical.

lib/agents/marketingContentDrafter

Social Post Scheduler

planning

Sequences approved drafts under per-channel caps, blackout windows, dedup. Refuses critical+dual-approval on a single track.

lib/agents/socialPostScheduler

Database Schema Reviewer

planningnew

Audits tables / columns / indexes / FK constraints. Surfaces missing-FK, missing-index, naming drift, duplicate indexes, orphan columns.

lib/agents/databaseSchemaReviewer

Slow Query Proposer

planningnew

Reads slow-query rows + schema, proposes add_index (with DDL), rewrite_query, partition_table, downsize, or no_action.

lib/agents/slowQueryProposer

Idle Cloud Resource Detector

planningnew

Finds idle EBS / EIP / Lambda / Snapshot / RDS / ELB / empty S3. Production-tag refuses auto-delete; surfaces $/mo savings.

lib/agents/idleCloudResourceDetector

Alert Noise Reducer

planningnew

Analyzes alert fire / ack / incident rates, proposes raise_threshold / widen_window / require_paired_metric / mute / split_routing.

lib/agents/alertNoiseReducer

HR Onboarding Planner

planningnew

Builds a 4-phase onboarding plan (pre-start / day-one / week-one / month-one). Refuses interns with elevated access.

lib/agents/hrOnboardingPlanner

Sales Lead Enricher

planning

Classifies an inbound lead — segment (enterprise / mid-market / startup / personal / education), ICP fit score, suggested plan + next action.

lib/agents/salesLeadEnricher

Workflow Orchestrator

planningnew

Chains kernels into typed workflows with per-step gate handoff. Closed-union step states; safety-tier rejection blocks downstream dispatch.

lib/agents/agentWorkflowOrchestrator

Meta-Reasoner

planningnew

The agent that picks agents. Ranks the kernel catalog against an operator problem with closed-union pick / ambiguous / no_kernel verdict.

lib/agents/metaReasonerKernel

Multi-Agent Debate

planning

N kernels propose, council reconciles, dissent surfaced explicitly. Safety-tier reject is a hard veto.

lib/agents/multiAgentDebate

Intent Parser

reasoningnew

Natural-language operator intent → typed ActionSpec (kind + domain + urgency + entities + destructive flag).

lib/agents/intentParser

Anomaly Detector

perceptionnew

MAD-based z-score on time series. Spike / dip / drift / missing_data with bounded false-positive rate.

lib/agents/anomalyDetector

Change Risk Assessor

safetynew

Scores blast radius of a proposed change against service topology. Critical-tier reach → council_3_of_5 gate.

lib/agents/changeRiskAssessor

Secrets Hygiene

safetynew

Scans a file / diff for AWS / Stripe / GitHub / OpenAI / Anthropic / PEM / Slack secrets. Redacts in output; never echoes the raw value.

lib/agents/secretsHygieneScanner

Compliance Mapper

verificationnew

Maps audit events → SOC 2 / ISO 27001 / GDPR / HIPAA controls. Per-framework readiness % + blocking-gap list.

lib/agents/complianceControlMapper

Policy Gate

safety

Applies the tenant charter to every proposal — refuses anything outside the operator-signed scope.

lib/agents/policyGateEvaluator

autonomy charter

Boundary Gate

safety

Classifies the blast radius of every proposal into a closed-union severity tier.

lib/agents/boundaryGateCatalog

boundary catalog

Council

safety

Weighted-vote consensus — ⅔ default — across the planning + safety agents.

lib/agents/council

agent bus

Approver

safety

Assembles the approval packet the operator sees — the only gate that ever lets autonomy act.

lib/agents/approverPacketAssembler

approvals

Verifier

verification

Post-execution check — confirms the action achieved the expected outcome.

lib/agents/verifierPostExecChecker

audit log

Auditor

verification

Writes the durable sha-256 rationale row that makes the action replayable and provable.

lib/agents/auditorRationaleWriter

audit log

Improver

verification

Proposes method improvements from the audit trail — the loop that turns evidence into a better proposal.

lib/agents/improverProposalSynthesizer

method proposals

Confidence Calibrator

verificationnew

Wilson-lower-bound calibration of kernel accuracy from approval / reject / rollback outcomes. Recommends trust_more / pause / trust_less.

lib/agents/confidenceCalibrator

Activity Aggregator

memory

Aggregates per-agent activity into the operator-visible cockpit timeline.

lib/agents/agentActivityAggregator

agent activity

Memory Consolidator

memorynew

Compresses raw observations into episodic / semantic / procedural records. Recurrent observations promote to semantic. Prunes by relevance + age.

lib/agents/agentMemoryConsolidator

Every engineer above ships with a vitest suite.

The same safety contract — closed-union types, sha-256 rationale rows, approval-only-no-execution — applies across every kernel on the bus.