Inspiration
As the AI ecosystem rapidly transitions from simple chat interfaces to complex, autonomous multi-agent systems orchestrated by tools like Google Antigravity, engineers face a critical bottleneck: Agentic Regression.
Unlike traditional code, prompts and agent behaviors are highly non-deterministic and fragile. A minor system prompt modification, a subtle context shift, or a model update can cause downstream sub-agents to drift, stall in infinite logic loops, or violate mission-critical safety guardrails—such as inadvertently leaking data or dispensing unauthorized high-stakes advice. Manual quality assurance for multi-turn conversational networks is expensive, slow, and unscalable. GuardRail-Ops was inspired by the urgent need for automated, rigorous "Chaos Engineering" built explicitly for the multi-agent era.
What it does
GuardRail-Ops is an autonomous, end-to-end behavioral stress-testing and safety-assertion harness for multi-agent applications. It converts unpredictable agent behaviors into a reliable, measurable, and safe DevOps workflow:
Adversarial Chaos Simulations: It automatically deploys targeted adversarial personas that systemically "fuzz" an application with complex multi-turn dialogue, context switches, and prompt injection traps.
Hidden Trace Telemetry: Instead of evaluating only the final output, GuardRail-Ops hooks directly into the underlying agent-to-agent communication layer, capturing hidden reasoning logs in real time.
Compliance Assertions & Scoring: A background compliance agent parses messy telemetry into a structured payload, evaluating performance metrics and calculating a deterministic Context Resilience Score.
Remediation Terminal: If a safety violation is detected, the developer dashboard instantly flags the exact failing turn and generates a copyable, optimized system-prompt override to patch the vulnerability.
How we built it
The core architecture of GuardRail-Ops is built entirely upon the native, full-stack Google AI ecosystem:
Google Antigravity (The Test Engine): We engineered a custom local Agent Skill complete with a structured skill.yaml directory and detailed markdown execution protocols. This framework manages the adversarial red-team simulations within the project workspace.
Google AI Studio (The Evaluator): We leveraged Gemini 1.5/2.5 Flash via AI Studio to act as our background compliance auditor, performing automated string matching, regex processing, and semantic analysis to flag behavioral anomalies and safety boundaries drift.
Google Stitch (The Frontend Canvas): We used Stitch's infinite canvas prototyping tool to design a high-fidelity, dark-mode 3-screen Developer Studio layout featuring a Test Suite Matrix, a Multi-Agent Trace failure timeline, and a Prompt Remediation panel.
The Automation Sync Bridge: Built an automated ETL pipeline script in Python that extracts raw trace telemetry logs from Antigravity sessions, runs structural safety assertions, and compiles the formatted JSON payload to feed the visual Stitch frontend components.
Challenges we ran into
Building a deterministic testing tool for fundamentally non-deterministic software presented significant hurdles:
Catching Silent Regressions: Traditional unit tests rely on exact string matching or binary pass/fail states. Agents fail quietly through tone shifts or logic stagnation. Overcoming this required engineering custom semantic evaluation chains within the compliance agent to catch when an agent was stalling or drifting.
Handling Multi-Agent Context Saturation: Parsing continuous, deeply nested sub-agent trace sequences can easily lead to token bloat. We had to optimize our data pipeline to extract only critical conversation steps and state transitions before evaluating compliance.
Stack Interoperability: Bridging the gap between a local workspace orchestration engine (Antigravity) and a cloud-based interactive layout preview canvas (Stitch) required designing a custom JSON state-file middleware bridge to cleanly pass data schemas back and forth.
Accomplishments that we're proud of
End-to-End Local Execution: Successfully integrated a custom testing skill that safely audits a codebase, executes simulated edge-case inputs, and captures complex trace logs out-of-the-box.
Deterministic Safety Assertions: Proven capability of the compliance script to parse real conversational data, immediately isolate high-risk safety violations (such as unauthorized medical or prescription advice), and generate a zero-latency JSON audit scorecard.
Seamless Developer Experience: Merged robust multi-agent telemetry with a highly polished visual interface layout that shifts raw command-line traces into an actionable developer dashboard.
What we learned
Intent Over Raw Syntax: Passing user intent and design parameters through multi-modal models (like routing a design from Stitch through AI Studio) allows the AI to generate incredibly modular code that is far easier to refactor and integrate than rigid, auto-generated code blocks.
The Power of Agent Teams: Using a dedicated "Chaos Agent" focused strictly on breaking the system, working completely independently of an "Auditor Agent" looking to defend it, yields significantly deeper security insights than relying on a single general-purpose prompt model.
What's next for GuardRail-Ops
Our vision is to build the definitive reliability infrastructure for the agent economy. Next steps include:
CI/CD Pipeline Integration: Developing automated webhooks to run GuardRail-Ops regression testing suites on every GitHub commit or model configuration update.
Expanded Assertion Libraries: Shipping pre-built, domain-adapted security and regulatory profiles for teams deploying agents into highly restricted sectors (e.g., HIPAA/TFDA medical safety compliance, FINRA financial guidelines).
Live Cloud Deployment: Transitioning our unzipped local frontend prototype to a fully containerized, hosted SaaS platform on Google Cloud to provide automated continuous monitoring for live production agents globally.
Built With
- agentskillextensionarchitechture
- ai
- antigravity
- apis
- bash
- cloud
- css3
- design
- framework
- gcp
- gemini-1.5-flash
- gemini-2.5-flash
- google-antigravity-platform
- google-stitch-canvas
- html5
- javascript
- json
- local-terminal-sandbox-environment
- markdown
- material
- python
- python-etl-scripting
- sdk
- sql
- structural-assertion-frameworks
- studio
- tailwind-css
- yaml
Log in or sign up for Devpost to join the conversation.