alpha

Sets coding rules for building safe, governed AI agents: tool allowlists, fail-closed policies, content scanning, human approval and append-only audit trails.
description: 'Guidelines for building safe, governed AI agent systems. Apply when writing code that uses agent frameworks, tool-calling LLMs, or multi-agent orchestration to ensure proper safety boundaries, policy enforcement, and auditability.'
applyTo: '**'
When writing agent tool functions:
# Good: Governed tool with explicit policy
@govern(policy)
async def search(query: str) -> str:
...
# Bad: Unprotected tool with no governance
async def search(query: str) -> str:
...
When defining policies:
# Good: Explicit allowlist, content filters, rate limit
name: my-agent
allowed_tools: [search, summarize]
blocked_patterns: ["(?i)(api_key|password)\\s*[:=]"]
max_calls_per_request: 25
# Bad: No restrictions
name: my-agent
allowed_tools: ["*"]
When composing multi-agent policies:
# Good: Most-restrictive-wins composition
final_policy = compose_policies(org_policy, team_policy, agent_policy)
# Bad: Only using agent-level policy, ignoring org constraints
final_policy = agent_policy
@agent.tool with a governance decorator wrapper. PydanticAI's upcoming Traits feature is designed for this pattern.before_kickoff callbacks for policy validation.@function_tool with governance. Use handoff guards for multi-agent trust.RunnableBinding or tool wrappers for governance. Apply at the graph edge level for flow control.ConversableAgent.register_for_execution hook.© GitHub, Inc. · MIT · source · posted by @OpenSourceBuffGuy on promptparty.com


Masked warrior fights scythe reaper in desert dust
Plans a 30-second desert fight between a masked warrior and a scythe-wielding reaper, with two reference images and a timed shot list with camera moves.
video-prompt, seedance, action, martial-arts, multi-shot, timed-beats, reference-image, character-consistency, camera-movement, visual-effects, slow-motion, handheld, cinematic, fantasy-world, dark-fantasy, warriors, creatures, dramatic-lighting, structured-output, advanced, long-form, for-filmmakers, midjourney

DV Tape Gym Vlog With Stretches and Curls
Generates a 30-second DV-camcorder gym vlog from a character photo: eight timed cuts of warm-up stretches, dumbbell curls and core work, each with one line of dialogue.
video-prompt, seedance, vlog, home-video, handheld, pov, reference-image, character-consistency, fitness, strength-training, timed-beats, multi-shot, lip-sync, guardrails, selfie, film-grain, casual, structured-output, for-content-creators, long-form, camera-movement, workout-plan, candid, sound-effects

Woman and dog in reindeer antlers by fireplace
Draws a cozy Christmas portrait of a woman in an emerald knit dress holding her dog, both in felt reindeer antlers by a fireplace, with both faces locked to reference photos.
image-prompt, json-prompt, reference-image, portrait, christmas, holiday, pet-portrait, animals, woman, cozy, photorealistic, medium-shot, soft-lighting, natural-light, bokeh, character-consistency, face-reference, structured-output, guardrails, nano-banana, for-photographers, winter, family-friendly, fashion
Loading reviews…
Loading comments…