integrate-arcjet-guard-openai-agents-py SKILL.md skillA
integrate-arcjet-guard-openai-agents-py from arcjet/skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add arcjet/skills/integrate-arcjet-guard-openai-agents-py@git:20260916.f8959e1Pins git:20260916.f8959e1 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- arcjet/skills
- Path
integrate-arcjet-guard-openai-agents-py/SKILL.md- Versions recorded
- 3
- Latest version
- git:20260916.f8959e1, committed Sep 16, 2026
- First version recorded
- Sep 3, 2026
- Size
- 8,414 bytes
- Repository stars
- 4
- License
- Apache-2.0
Integrate Arcjet Guard into Python OpenAI Agents — wrap FunctionTool / function_tool with guard_tool and read a caller-owned session or conversation id via openai_agents_context. Use when asked to add Arcjet to openai-agents, Runner.run, rate limit those tools, screen inbound messages, or block prompt injection / PII. This is Python openai-agents, not the JS @openai/agents adapter.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Integrate Arcjet Guard into Python OpenAI Agents `arcjet.guard.openai_agents` wraps the agent's existing Arcjet client. It never talks to the Arcjet API itself. Shared Guard fundamentals (client, rules, labels, decisions, capture, registration) live in [../arcjet/references/guards_python.md](../arcjet/references/guards_python.md). Load that reference for anything that is not OpenAI Agents-specific. Official `openai-agents>=0.19.0,<1` only — not the JS `@openai/agents` adapter (`@arcjet/guard/openai-agents/v0`, docs https://docs.arcjet.com/guards/openai-agents/), not community forks. Importing `arcjet.guard.openai_agents` does not load LangChain. Exports: `guard_tool`, `openai_agents_context`. Authored `FunctionTool` / `@function_tool` only. Not hosted tools, MCP, Computer / Shell / ApplyPatch, handoffs, or `Agent.as_tool()`. Two surfaces, one decision rule: - **An authored `FunctionTool`** → `guard_tool`. Gate is `FunctionTool.tool_input_guardrails` + `reject_content` (JSON of `ArcjetDenialResult`). Do **not** raise. - **Correlation** → `openai_agents_context` reads a caller-owned session / conversation id. It never mints. It never reads `trace_id`. …
Read the whole file at its exact version.
How to install
mdr add arcjet/skills/integrate-arcjet-guard-openai-agents-py@sha256:49dfff17b0f98f12The line at the top of this page pins the label git:20260916.f8959e1, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_hqv2jnzu5oxjk27y)
1 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 3 versions of this file, between Sep 3, 2026 and Sep 16, 2026, about one every 7 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260916.f8959e1 latest | 2026-09-16 | f8959e1 | 8,414 B | A | view · diff |
| git:20260904.9787491 | 2026-09-04 | 9787491 | 8,413 B | A | view · diff |
| git:20260903.677f177 | 2026-09-03 | 677f177 | 8,634 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (8414 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
arcjet/skills · 4 stars · license Apache-2.0 · pushed 2026-10-07 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_hqv2jnzu5oxjk27y GET https://markdownregistry.com/api/v1/resolve?ref=arcjet/skills/integrate-arcjet-guard-openai-agents-py GET https://markdownregistry.com/api/v1/blob/49dfff17b0f98f1216425f5bd6c218944e78774e385e47220214fdfca1137076
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.