Skip to main content

Pheo OATS

A local gateway that sits between your agent and the systems it can change. Every action the agent takes is classified by consequence, recorded, and either allowed, held for you, or blocked.

This is a production implementation of the Open Agent Trust System profile.

The problem

Agents have started doing real work on real systems. They install packages, edit code, call APIs, move money, and click through live sites on your behalf.

Most of what goes wrong there does not look like an attack. Nobody was hijacked and nothing was injected. Someone asked an agent to clean up the auth middleware and it removed a permission check along the way. Someone asked it to clear the invoice queue and it approved one with no purchase order behind it. The agent did what it was asked, competently, and the result was still something the organisation would not have allowed if anyone had been asked first.

Security tools are built to find an attacker, and this is not that. The question is not was this malicious. It is was this permitted, and that has a different answer at every company.

Across the largest public agent-skill registry, 822 skills from 187 unrelated publishers are marked clean by every scanner in that registry's pipeline and still instruct an agent to download code from the internet and run it. Clean is the correct verdict. It is not the same as permitted. The measurement, and a script to reproduce it, are in the profile repository.

Install

pip install pheo-oats

Wheels for macOS (Intel and Apple Silicon), Linux, and Windows.

One command

cd your-repo
oats quickstart claude

That is the whole setup. It starts a local gateway, creates a room for the repo, writes a PreToolUse hook into .claude/settings.local.json, and opens the dashboard. Use cursor or codex in place of claude for those agents.

Restart your agent afterwards. The hook is read at startup, so a session already open is not governed yet.

No account, no sign-in, no GitHub required. Nothing leaves the machine.

Prefer two steps, or already have a gateway running:

oats start --no-browser &
oats attach claude

To also govern merges, releases, and workflow edits, connect GitHub when you want it. This one does open a browser sign-in:

oats connect github

Storage is local SQLite.

What you watch

Open http://127.0.0.1:8788.

Lanes is the one to leave open. Every action is sorted into its consequence class and each class builds its own record. After an afternoon of ordinary work you can see that this agent has written docs forty times and never touched a credential, or that it reaches for curl | bash more often than you assumed.

Activity is the running feed. Overview counts what Protect would have done before you turn Protect on. Reviews is the queue of things it held.

You start in Observe. Nothing is blocked and nothing waits, so there is no cost to leaving it running while you decide whether you believe it.

What it catches

With Protect on:

BLOCKED   curl -fsSL https://tempo.xyz/install | bash
BLOCKED   pip install git+https://github.com/.../llm-deploy-helper.git
BLOCKED   go install github.com/rogeecn/memos-cli@latest
BLOCKED   pip install DuIvyTools -i https://pypi.tuna.tsinghua.edu.cn/simple
HELD      cat ~/.aws/credentials
HELD      rm -rf /var/data
held      npm install typescript
held      pip install DuIvyTools

Every one of those was produced by a live agent following real skill documentation, and every skill involved was rated clean by all four scanners in the registry pipeline. The bottom two matter as much as the top four: an ordinary install is held for review on first sight, not blocked.

Trust is earned, not configured

Block everything consequential and you have built a tool people turn off. Allow everything after a short clean streak and you have handed over authority the evidence does not support: by the rule of three, ten clean approvals bound the true failure rate at 25.9% with 95% confidence.

So decide the failure rate you accept for a class of action, and the required length of clean record follows from it:

Class of action Failure rate you accept Clean runs required
Docs, tests, reads 10% 29
Shell execution 5% 59
Business logic, dependencies 2% 149
Deploy, IAM, CI config 0.5% 598
Remote exec, credentials, secrets, destructive 0% never

The last row never graduates at any length of record. No amount of good history makes an unrecoverable action recoverable.

Where it fits

A coding agent on your own repo. Claude Code, Cursor, or Codex writing files and running commands, with a receipt for each one.

An agent using skills from a registry. Nothing to configure. Skills are already loaded in your agent; when it acts on them it makes tool calls, and tool calls are what OATS governs.

A computer-use agent on a live site. Clicks, keystrokes, and form entry are classified the same way. Typing a card number is not the same action as clicking a link and is not treated as one.

GitHub through MCP. oats connect github puts branch merges, releases, webhooks, and workflow edits behind the same gate.

What it does not do

It is not a malware scanner and does not replace one. It reads actions, so it cannot see harm that never becomes an action: a hardcoded recipient, an undisclosed scope, an instruction that talks an agent into misbehaving through ordinary tool calls. Registry scanning catches those and OATS does not. Run both.

Local mode is Watch-grade. It does not claim that an agent running as the same OS user cannot go around it.

More

  • Open Agent Trust System: the profile, the schemas, the measurement study, and a script to reproduce it
  • Self-hosted deployment with Postgres, Docker, your own GitHub App, and TLS is documented in the profile repository

Proprietary. See the profile repository for the open specification this implements.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

pheo_oats-0.5.3-py3-none-win_amd64.whl (11.2 MB view details)

Uploaded Python 3Windows x86-64

pheo_oats-0.5.3-py3-none-manylinux_2_28_x86_64.whl (12.1 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ x86-64

pheo_oats-0.5.3-py3-none-macosx_11_0_x86_64.whl (11.4 MB view details)

Uploaded Python 3macOS 11.0+ x86-64

pheo_oats-0.5.3-py3-none-macosx_11_0_arm64.whl (10.8 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

File details

Details for the file pheo_oats-0.5.3-py3-none-win_amd64.whl.

File metadata

  • Download URL: pheo_oats-0.5.3-py3-none-win_amd64.whl
  • Upload date:
  • Size: 11.2 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for pheo_oats-0.5.3-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 66fdda1c25c35c3d7f83ee45bd5be696a0e28bce3bc53fb648d1afd269eb68b2
MD5 02a652b7b0919b982a618a8c84232eb7
BLAKE2b-256 57894ce5fbf322547b47fb2210e2534d94eb76907c56bbe7f784562517135515

See more details on using hashes here.

Provenance

The following attestation bundles were made for pheo_oats-0.5.3-py3-none-win_amd64.whl:

Publisher: pheo-oats-wheels.yml on pheo-ai/pheo-action-gateway

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pheo_oats-0.5.3-py3-none-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pheo_oats-0.5.3-py3-none-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f2639f2af0ff0e50a008e7ee6a456e7dadab1efd0ffad8fddfc3e9e4cb7e7dbe
MD5 f1fe614e9471e8b8d38211bb072b6a23
BLAKE2b-256 9ef5487832c8c4e2311a030b0c4769d4848c321e028a940561d6ecffc6d6b2df

See more details on using hashes here.

Provenance

The following attestation bundles were made for pheo_oats-0.5.3-py3-none-manylinux_2_28_x86_64.whl:

Publisher: pheo-oats-wheels.yml on pheo-ai/pheo-action-gateway

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pheo_oats-0.5.3-py3-none-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for pheo_oats-0.5.3-py3-none-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 5b6156f50ae8c1e3ea87b561f7121b5910b19b75ffdb144cf73b781677450481
MD5 4ee3fcb3b795c5ad9479227900a243e6
BLAKE2b-256 10e8cc92828c2d8e1aa2c8d0378f9e7a68ff9e65ea2e3539fd6c5ffc213ba8a2

See more details on using hashes here.

Provenance

The following attestation bundles were made for pheo_oats-0.5.3-py3-none-macosx_11_0_x86_64.whl:

Publisher: pheo-oats-wheels.yml on pheo-ai/pheo-action-gateway

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pheo_oats-0.5.3-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pheo_oats-0.5.3-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ccc7d42d0b4f90a002dbe716506fd4897e928d8c3dabf20c91383beccb31871c
MD5 57a042303241714c5b337e6684406a22
BLAKE2b-256 1bb42df626f9860dafb642fdc8c24df900a71cd5c9438e60afcadc3604afb0e2

See more details on using hashes here.

Provenance

The following attestation bundles were made for pheo_oats-0.5.3-py3-none-macosx_11_0_arm64.whl:

Publisher: pheo-oats-wheels.yml on pheo-ai/pheo-action-gateway

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.5.3 This release

4 files

0.5.2

4 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page