Governance & security

Say what the agent may do. Everything else is denied.

You can’t list everything a capable agent shouldn’t do. You can define what it may do, enforce that on IBM i, and watch it in real time.

Short answer. You govern an AI agent on IBM i by defining what it may do and denying everything else. Agents run beside IBM i, never on it, and reach it through one governed crossing. Before an agent acts it passes four gates on controls IBM i already has: data stays inside agreed boundaries, a named person is accountable, every action can be rolled back, and every decision traces to a person. Autonomy is earned one level at a time, from read only to acting within limits.

A prohibition list (don’t touch this data, don’t run above this limit, don’t connect out unlogged) leaves a gap for the path nobody imagined. A defined work area says what the agent may read, run and reach, and denies everything else.

01 · Why now

Agents act at machine speed. Reviews don’t.

29 min

Average time from first access to moving through the network. The fastest took 27 seconds.

CrowdStrike · 2026 Global Threat Report

82%

Of detections involved no malware at all, only stolen credentials and legitimate tools.

CrowdStrike · 2026 Global Threat Report

No motive

A capable system chasing a goal can route through your systems with nobody behind it.

Why a list of threats is not enough

02 · Where governance lives

Own the seam. Build one crossing.

The seam is where your systems meet the agentic world. Every company has one. The governed crossing is the one way through it, designed before the first agent arrives.

Outside, on Linux, agents plan and ask; they run beside IBM i, never on it. The seam is the line they meet. The governed crossing is one gateway that checks the gates; nothing goes around it. Inside, IBM i programs and Db2 decide and commit. One id puts both sides on the record.

03 · Before an agent runs

Four gates, on controls IBM i already has.

Gate 1

Data stays inside agreed boundaries

Exit programs and access controls on every interface, and an approved list of destinations.

Gate 2

Named accountability

Every action belongs to a scoped identity. Object security, and no all-powerful profiles.

Gate 3

Rollback before autonomy

Journaling and commitment control, so a change can be undone before an agent is allowed to make one.

Gate 4

Decisions trace to a person

Every decision follows an approved policy or a person’s approval, in the audit journal.

If a gate fails, the work stops. Nothing changes on IBM i, anything in flight rolls back, and the request goes to the agent’s named owner.

04 · While it runs

Autonomy is earned, one level at a time.

Four autonomy levels as rising steps: Level 1 Read only needs gates 1 and 2; Level 2 Recommend adds gate 4; Level 3 Act with sign-off adds gate 3; Level 4 Act within limits needs all four in full. A gate that fails stops the work.

When an agent steps outside its limits

By design

Log it and continue

The exception goes on the record and the work carries on.

By design

Wait for a person

The work pauses until a named person releases it.

By design

Stop

The agent halts and the exception goes on the record.

No one answer is right for every agent. Which applies is decided agent by agent, when the agent is designed.

05 · What you see

Both sides, watched in real time.

OneLens4i is the governance view for AI agents on IBM i. It follows each request from the agent on Linux to the job and the record on IBM i, as it happens.

The OneLens4i Governance view on Pegasus’s own agents: counts of agents, runs and checks, and an inventory listing each agent, its level and its status.
Real screen · Nov 8The Governance view on Pegasus’s own agents: each agent, its level and status, and whether the record holds.
The latest governed crossing in OneLens4i: the caller run, the gateway run, the IBM i job and the Db2 record, joined by one id.
Real screen · Nov 13 · test trafficOne request on our own IBM i: the caller, the gateway, the IBM i job and the Db2 record, joined by one id. The lender is fictitious.

Real time

As it happens

Agent activity and IBM i activity in one view, not in next week’s report.

Each run

Out of character

Every run is checked against how that agent normally behaves.

One id

A record you can trace

The caller, the gateway, the IBM i job and the Db2 record, joined end to end.

OneLens4i is at v1.0. On our own IBM i it runs today on test traffic. See OneLens4i → Get the white paper, free →

06 · A question for your vendors

“It’s sandboxed” is a claim, not a control.

When a vendor says its agent is contained, you are taking the word of the party least able to know when that fails. A governed crossing on your side turns their claim into a control you own.

The full argument: AI-Native Attacks Require AI-Native Security, on reggiebritt.ai ↗

Common questions

Governing agents on IBM i, in short.

How do you govern AI agents on IBM i?

Define what the agent may do and deny everything else, route it through one governed crossing, and require four gates before it acts: data stays inside agreed boundaries, a named person is accountable, every action can be rolled back, and every decision traces to a person.

Do the agents run on IBM i?

No. Agents plan and ask from Linux, beside IBM i. They reach IBM i only through the governed crossing, where IBM i programs and Db2 decide and commit.

What are the autonomy levels?

Four: Read only, Recommend, Act with sign-off and Act within limits. Read only needs gates 1 and 2; Recommend adds gate 4; Act with sign-off adds gate 3; Act within limits needs all four in full. A gate that fails stops the work.

Why not just list what the agent must not do?

You can’t list everything a capable agent shouldn’t do. A prohibition list leaves a gap for the path nobody imagined; a defined work area says what the agent may read, run and reach, and denies everything else.

Connecting an MCP server to Db2 for i? The field guide, control by control →

And the organization

Who is allowed to decide what is an organization question as much as a platform one. It is planned with the build, and Pegasus Collective does that work with us. Pegasus Collective ↗

Not ready to start? Three ways to keep going

The OneLens4i white paper

How agents and IBM i are governed as one system. A free download in your workspace, and yours to keep. The technical companion is coming soon.

Get the white paper, free →

Your free workspace

The white paper and the tools for finding where agents pay off. Free, with your email, no password. The 3-minute Read needs no account at all.

Open your workspace →

Talk to a person

Thirty minutes on your workflow. Scope and cost are agreed on the first call.

Talk to us →

Govern the crossing before the agent arrives.

A pilot puts one workflow through the four gates in ninety days, in your test environment, with OneLens4i watching.

When you are ready for the next step:See the Pilot →