System Prompt Templates Starter (Free)
Free system prompt templates for a support agent, ticket triage (JSON) and RAG with citations, plus a test runner for any OpenAI-compatible model.
View System Prompt Templates Starter (Free)
Skip the hello-world: start from a multi-agent support desk with guardrails, approvals and tests that already pass.

A working multi-agent customer-support app on the OpenAI Agents SDK (openai-agents 0.24.0, Python 3.10+), with the parts tutorials skip: guardrails, human approval for refunds, pause-and-resume across processes, session memory, ownership checks and offline tests.
customer -> Triage agent --handoff--> Orders agent (lookup_order, track_shipment, search_faq, create_ticket)
\--handoff--> Billing agent (lookup_order, refund_order*, search_faq, create_ticket)
* refunds above $50 pause the run until a person approves or rejectsThe screenshot is real output from the kit’s own commands. Tested from a fresh download of this exact zip: ./run_tests.sh ran 23 tests OK on Python 3.13 and 3.10.

| File | What it does |
|---|---|
| support_desk/desk.py | The three agents, handoffs (with the SDK's recommended handoff prompt) and per-agent tools |
| support_desk/tools.py | Function tools that check inputs and the signed-in customer themselves (never trust the model for that) |
| support_desk/guardrails.py | Card-number blocker (Luhn-checked, runs *before* the model sees the message), prompt-injection blocker, output leak guard, optional model-based on-topic check |
| support_desk/desk_runner.py | One customer turn: approvals loop, guardrail handling, save_paused / load_paused to resume a paused run later in another process |
| support_desk/store.py | SQLite stand-in for your order system: replace these functions with your API |
| support_desk/testing.py | ScriptedModel (you script each model reply) and DemoModel (rule-based, for the offline demo). Both implement the SDK's Model interface |
| support_desk/__main__.py | CLI: ask (one message) and chat (with SQLite session memory) |
| tests/ | 23 offline tests |
python3 -m venv .venv && . .venv/bin/activate
pip install -r requirements.txt
./demo.sh # offline, no API key
./run_tests.sh # offline, no API key
export OPENAI_API_KEY=... # then talk to a real model
python -m support_desk chat --email maya@example.com
python -m support_desk ask "Where is my order A1002?" --email maya@example.comThe model is the SDK's default unless you set OPENAI_MODEL. --limit 100 changes the auto-approve refund limit. Demo customers: maya@, leo@ and ana@example.com (orders A1001-A1005).
from support_desk.testing import ScriptedModel, call, say
model = ScriptedModel([[call("transfer_to_billing_agent")], [call("lookup_order", order_id="A1001")], [say("Found it!")]])
triage = build_agents(model) # real Runner, tools, handoffs and guardrails; scripted LLM repliesmodel.seen records the instructions, input and tools each call received, so you can assert on what the model was shown.
23 tests on Python 3.13 and 3.10 with openai-agents 0.24.0: routing and handoffs, auto and manual refund approval (approve, reject, no approver), serialize-and-resume in a fresh agent graph, ownership checks, refund limits, the integer-amount approval gotcha, all guardrails (including that the model is never called), session memory across SQLiteSession objects, and the CLI. The SDK's runner, tools, handoffs, guardrails, approvals and sessions all run for real; only the LLM is replaced by an offline model.
Zip, 20 KB, v1.0, 15 files. You may use and modify this kit for your own work and for clients you serve, including paid client work. Not affiliated with or endorsed by OpenAI.
OpenAI Agents SDK starter in Python: triage, orders and billing agents, handoffs, guardrails, human approval for refunds, sessions and 23 offline tests.
Free system prompt templates for a support agent, ticket triage (JSON) and RAG with citations, plus a test runner for any OpenAI-compatible model.
View System Prompt Templates Starter (Free)Test your LLM app or agent against 119 prompt injection attacks: system prompt leaks, RAG injection, tool hijack, exfiltration, encodings. CI-ready.
View Prompt Injection Test Suite: 119 Test Cases for LLM Apps + CIScan MCP servers for tool poisoning, test your LLM app against 119 prompt injection attacks, and guard Cursor's agent with 8 hooks. 3 tools, $49 (save $28).
View AI Agent Security Bundle: MCP Scanner + Prompt Injection Tests + Cursor HooksShort weekly digest of new x402 + MCP tools and free kits, including the MCP OAuth Checker. No spam, unsubscribe any time.