ArmorCodex LogoArmorCodex

ArmorCodex

Intent-based security enforcement for OpenAI Codex CLI and Codex Desktop

View Source

ArmorCodex

ArmorCodex adds security enforcement to OpenAI Codex. Bash commands, file edits, and MCP tool calls are checked against a declared intent plan and policy rules before execution.

One Command Setup

curl -fsSL https://armoriq.ai/install_armorcodex.sh | bash

Installs the plugin, registers the marketplace, sets up the ArmorIQ CLI, and optionally connects to the ArmorIQ platform.

What It Does

When you prompt Codex to do something, ArmorCodex:

  1. Makes Codex declare its plan before any tool runs, the agent registers what tools it intends to use via the register_intent_plan MCP tool
  2. Checks every tool call unplanned tools are blocked (intent drift)
  3. Enforces policy rules set allow/deny rules from any prompt
  4. Logs everything with an API key, audit logs flow to the ArmorIQ dashboard

Two Modes

ModeWhat you getAPI key?
Local-onlyIntent enforcement + policy rules + drift detectionNo
Backend-connected+ signed JWT tokens + audit logs + dashboard visibilityYes

Both modes block unauthorized tool calls. The API key adds backend connectivity.

Works Everywhere Codex Runs

ArmorCodex is wired into your global Codex configuration. Once installed, it is active in:

  • Codex CLI (codex command in terminal)
  • Codex Desktop app (registered marketplace + MCP server visible under Plugins)

Same enforcement in both. No separate install needed.

See It Working

1. Install with one curl command

ArmorCodex Install

2. Login to ArmorIQ from the terminal

ArmorIQ Login

3. Codex registers its intent plan before every tool call

Intent Plan Registered

4. Set a policy rule from the chat prompt

Set a Policy Rule

5. The next matching tool call is blocked before execution

Policy Block

6. ArmorCodex visible in Codex Desktop

Codex Desktop Plugin

7. Intent plans visible in the ArmorIQ dashboard

Dashboard

8. Activity logs tracked on the ArmorIQ platform

Activity Logs

Requirements

  • Codex CLI 0.125+ (or Codex Desktop)
  • Node.js 20+
  • Git
  • macOS, Linux, or Windows (WSL / Git Bash)

On this page