en un clic
examples-auto-run
// Run python examples in auto mode with logging, rerun helpers, and background control.
// Run python examples in auto mode with logging, rerun helpers, and background control.
Decide how to implement runtime and API changes in openai-agents-python before editing code. Use when a task changes exported APIs, runtime behavior, serialized state, tests, or docs and you need to choose the compatibility boundary, whether shims or migrations are warranted, and when unreleased interfaces can be rewritten directly.
Fix the tiny credit-note formatting bug and rerun the exact targeted test command.
Build a concise prior authorization packet from local case files and payer policy docs.
Use when the task requires capturing or automating a real browser from the terminal.
Run the mandatory verification stack when changes affect runtime code, tests, or build/test behavior in the OpenAI Agents Python repository.
Create the required PR-ready summary block, branch suggestion, title, and draft description for openai-agents-python. Use in the final handoff after moderate-or-larger changes to runtime code, tests, examples, build/test configuration, or docs with behavior impact; skip only for trivial or conversation-only tasks, repo-meta/doc-only tasks without behavior impact, or when the user explicitly says not to include the PR draft block.
| name | examples-auto-run |
| description | Run python examples in auto mode with logging, rerun helpers, and background control. |
uv run examples/run_examples.py with:
litellm, any-llm, sqlalchemy, redis, blaxel, modal, runloop, and temporal.EXAMPLES_INTERACTIVE_MODE=auto (auto-input/auto-approve)..tmp/examples-start-logs/.--main-log (also under .tmp/examples-start-logs/)..tmp/examples-rerun.txt when --write-rerun is set.run.sh.stop cleans it up.# Start (auto mode; interactive included by default)
.agents/skills/examples-auto-run/scripts/run.sh start [extra args to run_examples.py]
# Examples:
.agents/skills/examples-auto-run/scripts/run.sh start --filter basic
.agents/skills/examples-auto-run/scripts/run.sh start --include-server --include-audio
# Check status
.agents/skills/examples-auto-run/scripts/run.sh status
# Stop running job
.agents/skills/examples-auto-run/scripts/run.sh stop
# List logs
.agents/skills/examples-auto-run/scripts/run.sh logs
# Tail latest log (or specify one)
.agents/skills/examples-auto-run/scripts/run.sh tail
.agents/skills/examples-auto-run/scripts/run.sh tail main_20260113-123000.log
# Collect rerun list from a main log (defaults to latest main_*.log)
.agents/skills/examples-auto-run/scripts/run.sh collect
# Rerun only failed entries from rerun file (auto mode)
.agents/skills/examples-auto-run/scripts/run.sh rerun
start or rerun, run the command outside the Codex sandbox by default
(sandbox_permissions=require_escalated). Many examples start nested sandboxes, browsers, npm
helpers, or cloud/local service processes; running from inside the Codex sandbox can produce
environment-only failures such as sandbox-exec: sandbox_apply: Operation not permitted,
Playwright cache permission errors, or npm cache permission errors.EXAMPLES_INTERACTIVE_MODE=autoEXAMPLES_INCLUDE_INTERACTIVE=1EXAMPLES_INCLUDE_SERVER=0EXAMPLES_INCLUDE_AUDIO=0EXAMPLES_INCLUDE_EXTERNAL=0EXAMPLES_UV_EXTRAS="litellm any-llm sqlalchemy redis blaxel modal runloop temporal" (set to an empty string to disable extras)APPLY_PATCH_AUTO_APPROVE=1, SHELL_AUTO_APPROVE=1, AUTO_APPROVE_MCP=1.tmp/examples-start-logs/main_*.logrun_examples.py): .tmp/examples-start-logs/<module_path>.log.tmp/examples-rerun.txt.tmp/examples-start-logs/stdout_*.loguv run --extra ... examples/run_examples.py, which already writes per-example logs and supports --collect, --rerun-file, and --print-auto-skip.start uses --write-rerun so failures are captured automatically..tmp/examples-rerun.txt exists and is non-empty, invoking the skill with no args runs rerun by default.The runner does not perform any automated behavioral validation. After every foreground start or rerun, Codex must manually validate all exit-0 entries:
.tmp/examples-start-logs/.