Skip to main content
Glama
jamjet-labs

jamjet-policy

Official
by jamjet-labs
README.md
# JamJet Policy

**The portable policy layer for AI agent actions.**

One policy file. One audit trail. Across hooks, guardrails, MCP gateways, SDKs, and custom runtimes.

## Packages

- [`@jamjet/claude-code-hook`](packages/claude-code-hook) — JamJet policy as a Claude Code PreToolUse hook
- [`@jamjet/openai-guardrail`](packages/openai-guardrail) — JamJet policy as an OpenAI Agents SDK guardrail
- [`@jamjet/mcp-shim`](packages/mcp-shim) — JamJet policy as an MCP stdio interceptor
- [`@jamjet/cli`](packages/cli) — Unified `audit show` + `approve` across all adapters

All four adapters share a single `policy.yaml` format and a single audit JSONL schema.

See [conformance/](conformance/) for the spec these adapters all satisfy.

TDQS

A4.7/5.0

Scored across 3 tools

Disambiguation5/5

Each tool has a clearly distinct purpose: evaluate a specific tool against policy, list all rules, and report loaded policy info. No overlap between them.

Naming Consistency5/5

All tools follow the consistent pattern 'policy_verb[_noun]' using snake_case, making them predictable and easy to understand.

Tool Count5/5

With 3 tools, the server is tightly scoped to policy inspection and evaluation, fitting its purpose well without unnecessary bloat.

Completeness5/5

The set covers the essential operations for a read-only policy server: evaluating a candidate, inspecting rules, and confirming the loaded policy. No missing functionality for its intended use.

Maintenance

ActivityStale
ResponsivenessNo issues