Skip to content
CK/SYSTEMS
beta tooling

Portarium

Validation middleware for governed AI agent workflows

Role

Solo Developer & Architect

Timeframe

2026 - Present

Stack

TypeScript Node.js Zod Jest Vitest

What it is

Portarium is validation middleware for AI agent workflows. It sits between an agent’s outputs and the real-world actions those outputs trigger — checking, transforming, escalating, and logging before anything actually happens.

The problem it solves: most AI agents fail not because the model is wrong, but because nothing catches the model when it’s wrong. No output validation, no human escalation path, no audit trail. Portarium adds that reliability layer to any agent workflow without requiring you to rewrite the agent itself.

How it works

Each workflow step passes through a validation pipeline:

  1. Schema check — output matches the expected shape (Zod-based)
  2. Policy check — output satisfies operator-defined rules (e.g. “never delete more than 5 records”, “always require approval for >$500 actions”)
  3. Approval gate — high-stakes actions pause for human review before proceeding
  4. Audit log — inputs, outputs, decisions, and timestamps written to an immutable trace

Why it matters

90% of agentic deployments fail within 30 days. The failure pattern is almost always the same: the agent works in demos, breaks on edge cases in production, and there’s no trace of what happened. Portarium makes failures visible, catchable, and reversible before they become incidents.

Relationship to OpenClaw

Portarium is the governance layer. OpenClaw is the agent runtime. Portarium validates what OpenClaw does before it reaches production systems.

Outcomes

  • Validation middleware: every agent output is checked before touching production
  • Approval gates: human-in-the-loop points configurable per workflow step
  • Full audit trail: every agent decision logged with inputs, outputs, and tool calls
  • Promeo-style governance: policy-driven operator controls, not ad-hoc prompting

Need a workflow like this shipped properly?

Send the workflow, bottleneck, or delivery problem. I will tell you whether it fits a governed workflow audit, starter build, or implementation sprint.

Request consulting
Newsletter

Short notes on building AI agents in production.

One email when something worth sharing ships. No fluff, no daily cadence, no recycled growth-thread noise.

Primary use: consulting updates, governed AI workflow lessons, and major project writeups.