Skip to content
View kkrlstrm's full-sized avatar
  • Spain

Block or report kkrlstrm

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
kkrlstrm/README.md

Kai Karlstrom

Production architecture for deterministic systems built around probabilistic models.

The pattern shows up everywhere I work: a probabilistic model in the middle, and a deterministic control layer around it that makes it safe to run — tenancy, evaluation, governance, observability, capability boundaries, state, provider abstraction, and a human accountability model. Go-to-market is my proving ground, not the point: it's a demanding, real-money domain where I've built and now run this stack across ~35 client workspaces. The architecture generalizes past it.

My differentiator isn't that I automate tasks. It's that I build the production layer around them — the part most agent projects skip — and I lead the function that operates it.


How I work — Build · Architect · Lead

🔧 Build 🏛 Architect 🧭 Lead

Production workflows, provider integrations, data pipelines, and agent runtimes that run unattended against real revenue data.

State, tenancy, capability scoping, observability, evaluation, and governance — the deterministic control planes that make a probabilistic system safe to run.

The operating model for a team that runs agents: decision rights, accountability, protection, and how judgment survives when the machine does the reps.


Two entry points

The portfolio is one body of work with two faces — the systems, and the function that runs them. Start with whichever you're here for:

  • 🏛 ai-native-gtm-architecture — the systems view. How the control planes compose and the invariant each one enforces. The reference implementations sit under it.
  • 🧭 gtm-engineering-operating-model — the leadership view. How you set up and lead a team whose real work is directing agents. The organizational half most portfolios never show.

Production Agent Systems — the series

The repositories aren't scattered tools; they're one line of inquiry into the same question — what deterministic layer does a probabilistic model need around it to run in production? — answered one control plane at a time.

# Architectural question Repository Status
0 How do the layers compose? ai-native-gtm-architecture Contract
1 Deterministic tenancy agent-tenancy Reference impl · production-derived
2 Knowledge governance knowledge-graph-governance Reference impl · production-derived
3 Evaluation gates model-eval-gate Reference impl · production-derived
4 Observability cc-logger · codex-logger Production-used · component of callusguard
5 Capability boundaries & execution control agent-guard · codex-guard Production-used · component of callusguard
6 Did the run stay inside what it declared? wroteonly New · component of callusguard
7 The control lifecycle, end to end callusguard Production-derived · merged from 4 · 5 · 6
8 Source-verified state & cost control gtm-research Reference impl · production-derived
9 Provider abstraction & portable workflow gtm-pipeline Reference impl · production-derived
10 Recipient-side channel control gtm-deliverability Reference impl · production-derived
11 Human approval for unattended work abeyance Reference impl · production-derived
The operating model around all of it gtm-engineering-operating-model Operating doctrine

Maturity legendProduction-used: I run it against my own live agent workflows. Component of callusguard: still standalone and still works, but the maintained loop is callusguard, which ships all five stages as one install. Reference implementation · production-derived: the pattern is extracted from a system in production; the public repo isolates the reusable architecture, with tenant data, provider adapters, and company-specific policy kept private.


As layers

The same repositories, grouped by where they sit in the stack:

AI-native platform  (proving ground: go-to-market)
│
├── Intelligence & targeting     gtm-research · gtm-pipeline
├── Channel infrastructure       gtm-deliverability
├── Runtime observability        cc-logger · codex-logger      ┐
├── Execution controls           agent-guard · codex-guard     ├─ all five merged
├── Scope verification           wroteonly                     ┘  into callusguard
├── Human approval gates         abeyance
├── Quality & policy enforcement model-eval-gate
├── Knowledge governance         knowledge-graph-governance
└── Platform architecture        agent-tenancy
        │
        └── operated by a team, per → gtm-engineering-operating-model

The through-line: observe what agents actually do → promote recurring failures into runtime controls → verify each run stayed inside what it declared, and retire the rules that stopped earning their place → gate model economics with evals → gate durable memory → isolate tenants structurally → run the motion on top → hold the irreversible parts in abeyance until a human who wasn't there says yes → and lead the humans who own all of it.


Writing — the thinking behind the leadership model

Published essays on what leadership becomes when a team's real work is directing agents. These are the arguments the operating model is distilled from.


What remains private

Some production adapters, company-specific policy layers, client datasets, and the end-to-end orchestration system remain private. The public repositories deliberately isolate the reusable architectural patterns and reference implementations — the architecture contract, not the proprietary implementation. That's the intended boundary, not a gap.


Contact

Popular repositories Loading

  1. gtm-pipeline gtm-pipeline Public

    An agent-native GTM pipeline runtime that turns a plain-English campaign brief into a qualified, enriched, deduped, sequencer-ready contact list — without locking your workflow into one data provider.

    Python 13 1

  2. cc-logger cc-logger Public

    Local observability for Claude Code. Captures sessions, sub-agents, and tool calls to Postgres via HTTP hooks.

    Python 11 1

  3. gtm-research gtm-research Public

    Cost-optimized, source-verified web-research engine for GTM enrichment — a free-first cost waterfall with a shared cache. Standalone or a drop-in cached upgrade for gtm-pipeline.

    Python 7

  4. agent-guard agent-guard Public

    Runtime controls for Claude Code derived from real tool-call telemetry. Pair with cc-logger to observe failures, promote recurring patterns into rules, nudge recoverable mistakes, and block irrever…

    Python 3

  5. knowledge-graph-governance knowledge-graph-governance Public

    The deterministic write gate for agent-managed knowledge graphs. Let LLMs propose graph updates; only validated, versioned, provenance-stamped writes reach the graph.

    Python 3

  6. callusguard callusguard Public

    Guards written from evidence, not imagination. Record every tool call, derive rules from recurring failures, enforce at the tool boundary, verify the run stayed in scope. Claude Code + OpenAI Codex.

    Python 3