Short Description
BARRED-Fleet is a Google ADK + Cloud Run agent layer that turns multi-agent security-debate artifacts into deterministic, auditable vulnerability-acceptance reports.
A user gives the deployed agent a short run ID. The service resolves Firestore metadata, reads private GCS artifacts, runs deterministic B-gate checks, reports verifier health, exposes asymmetric model routing, and renders the evidence chain in a browser demo.
Inspiration
AI security workflows can generate plausible vulnerability labels at scale, but acceptance is the dangerous step. A confident model answer is not enough if the artifact trail is unclear, verifier checks failed, anchors are weak, or replay artifacts are mistaken for live provider behavior.
Furthermore, generic LLM-as-optimizer approaches burn tens of thousands of tokens per reflection loop and hit rate limits on large codebase prompts without understanding program structure.
BARRED-Fleet focuses on that acceptance boundary: it shows what evidence was accepted, what was rejected, which model lanes participated, and whether deterministic gates passed before the result is allowed to become trusted signal.
Market Context
Recent enterprise AI and agent-safety writing points to the same operational gap from different directions:
- IBM's 2026 breach research reports that AI-enabled attacks are changing breach economics by increasing attacker speed and scale, while security AI and automation can reduce breach impact when governed well.
- IBM's trust and governance principles emphasize transparency, explainability, and audit readiness for AI-assisted decisions.
- Anthropic's multiagent research describes coordination, conformity, epistemic, and conflicting-goal failures that can emerge when agents interact at scale.
- Jeff Crume's AI security-trilemma framing is a useful shorthand: capable, fast agents increase attack surface unless an external policy/control layer keeps inspection and enforcement in the loop.
BARRED-Fleet applies that lesson to vulnerability acceptance. Agents can debate, but a deterministic acceptance layer decides whether the evidence is strong enough to trust.
What It Does
- Accepts a short BARRED run ID: e.g.
pilot-v1-calibrated-pecan. - Resolves that run through Firestore metadata to private GCS artifacts.
- Materializes the artifacts inside Cloud Run for deterministic evaluation.
- Computes B-gate pass/fail using deterministic code, not model self-report.
- Shows accepted/rejected rows, verifier parse/pass rates, model routing, deterministic eval score, and artifact provenance.
- Uses Google Gemini in the cloud agent path:
gemini-3.6-flashfor the ADK root agent, and Vertex/Gemini defaults for bounded fresh debate (vertex_ai/gemini-3.5-flash-litegenerator/debater,vertex_ai/gemini-3.6-flashjudge/verifier). - Integrates a Graph-Powered GEPA Reflector using local Tree-sitter AST data-flow extraction for 0-token diagnostics and a 66.30% token reduction on inference (99,104 --> 33,401 tokens per accepted row).
- Evaluates multiagent debates with official Google ADK CLI commands (
agents-cli eval gradeandagents-cli eval compare), maintaining a 100% self-contained trace and grading artifact suite. - Preserves historical Ollama routing only as provenance for the curated pre-existing fixture.
- Provides product-shaped run routes:
POST /runs,GET /runs/{run_id}, andGET /runs/{run_id}/report. - Lets a reviewer choose
fixture:firstorcve500:N, preview bounded seed metadata, and run a one-attempt live debate only when server-side live flags are explicitly enabled. - Exposes
/seeds/manifestso seed sources are allowlisted and digest-auditable. - Screens seed input with Model Armor before live execution when configured.
- Checks route/tool egress with an Agent Gateway receipt before live execution.
- Exposes a read-only redacted GEPA memory preview at
/memory/gepa/preview. - Provides a read-only
/demoUI and/demo/reportJSON endpoint. - Keeps the Cloud Run service private after proof capture; unauthenticated
/demoreturnsHTTP/2 403.
How We Built It
We wrapped an existing BARRED local research harness with a new Google ADK project called barred-fleet.
The deployed Cloud Run service exposes a compact product API:
/demo: browser-readable proof surface for judges./demo/report: JSON report endpoint used by the UI and by the ADK agent tool path./seeds/manifest: allowlisted seed sources, counts, and SHA-256 digests./runs: product lifecycle wrapper for dry-run or bounded fresh debate./runs/fresh-demo: backward-compatible demo wrapper forfixture:firstand packagedcve500:Nseeds./runs/{run_id}: durable run status./runs/{run_id}/report: artifact-backed product report or blocked/planned diagnostic report./memory/gepa/preview: redacted GEPA/Pareto memory preview.
The ADK root agent calls report_barred_run with only a run ID. The tool resolves run metadata from Firestore, reads private GCS artifacts, runs deterministic B-gate checks, and returns a report. The LLM narrates the computed result; it does not decide acceptance.
Google Technologies Used
- Google ADK /
google-adk: Core agent architecture, multi-agent orchestration, and session state. - Google Agents CLI /
agents-cli: Evaluation suite execution (agents-cli eval run,agents-cli eval grade,agents-cli eval compare). - Google Cloud Run: Serverless containerized deployment with dedicated service account.
- Google Cloud IAM: Dedicated runtime service account
[email protected]. - Google Cloud Storage (GCS): Private storage bucket
gs://gem-creation-barred-fleet-artifactsfor run artifacts. - Firestore Native: Named database
projects/gem-creation/databases/barred-fleetfor metadata index. - Cloud Logging / Trace: Observability and telemetry.
- Google Gemini 3.6 Flash: Core ADK root agent model.
- Vertex AI GenAI API: Fresh debate execution with
vertex_ai/gemini-3.5-flash-liteandvertex_ai/gemini-3.6-flash. - Google Cloud Model Armor: Content and prompt screening receipts before live execution.
- Google Agent Gateway / Network Services: Egress route governance and policy receipts.
External Context Links
- IBM Cost of a Data Breach 2026 newsroom summary: link
- IBM Trust and Transparency principles: link
- IBM AI governance discussion: link
- Anthropic Responsible Scaling Policy: link
- Patterns and problems in emerging multiagent systems : link
Cloud Proof
Cloud Run service: barred-fleet
Project: gem-creation
Region: us-east1
Validated revision: barred-fleet-00038-skl
Runtime identity: [email protected]
Demo URL: https://barred-fleet-837262597425.us-east1.run.app/demo
Artifact bucket: gs://gem-creation-barred-fleet-artifacts
Metadata database: projects/gem-creation/databases/barred-fleet
Metadata collection: barred_runs
The service was temporarily public only for browser proof capture, then returned to private IAM-required access. Unauthenticated /demo returned HTTP/2 403 after the privacy reset.
Empirical Benchmark & Evaluation Receipts
A side-by-side evaluation was conducted comparing the Unadapted Baseline, the Generic ADK Trace Optimizer, and the Graph-Powered GEPA Reflector over 703 debate attempts and the 11-CVE benchmark suite:
======================================================================
EMPIRICAL SIDE-BY-SIDE EVALUATION RECEIPT
======================================================================
1. Token Reduction (H_1,Y): 66.30% token reduction (99,104 -> 33,401 tokens/accept)
2. Diagnostic Cost: 0 LLM tokens (Tree-sitter AST data-flow extraction)
3. 1-Round Refinement Rescue: 71.4% (5/7 rescued in Round 1)
4. Verifier Logic Error Rate: 0.0000 (Zero contamination, INV-1 verified)
5. ADK CLI Graded Cases: 83 multi-round cases evaluated via agents-cli eval grade
6. Comparison Report: docs/ADK_OPTIMIZE_VS_GRAPH_GEPA_COMPARISON_REPORT.md
======================================================================
What Was Newly Built During The Hackathon
barred-fleet/Google ADK app.- Cloud Run deployment target and FastAPI wrapper.
- Dedicated Cloud Run runtime identity.
- Firestore-backed run-id metadata lookup.
- Private GCS-backed artifact resolution.
- Bounded seed selector for
fixture:firstand packagedcve500:Nseeds. - Product run lifecycle API:
POST /runs,GET /runs/{run_id}, andGET /runs/{run_id}/report. - Dry-run-first fresh debate UI with server-gated bounded live execution.
- Model Armor seed-screening receipt path and guaranteed-block smoke contract.
- Agent Gateway route/tool-egress receipt path and guaranteed-block smoke contract.
- Graph-Powered GEPA memory compiler and Pareto frontier loader (
app/gepa_memory.py). - Google ADK CLI evaluation benchmark (
tests/eval/eval_config_cve_ab.yaml,cve_sample_10_eval.json). - Complete ADK CLI grading and comparison receipts (
agents-cli eval grade/agents-cli eval compare). - Read-only
/demo,/demo/report,/seeds/manifest, and/memory/gepa/previewsurfaces. - Deterministic report contract and unit/eval checks.
- Browser proof package, empirical comparison report, and demo script.
Pre-Existing Work Disclosed
The local BARRED research harness, Agentbeats runtime primitives, replay/checkpoint logic, seed generation workflows, B-gate evaluator, and earlier pre-filter/graph experiments existed before this BARRED-Fleet cloud adapter.
This submission claims the new Google ADK + Cloud Run enterprise-agent layer around that harness, ADK evaluation benchmark suite, and cloud safety adapters around that harness.
Challenges We Ran Into
- Keeping the demo honest: the cloud agent needed to narrate deterministic evidence, not pretend the LLM made the acceptance decision.
- Preserving local compatibility while adding Firestore and GCS resolution.
- Keeping Cloud Run private while still capturing enough browser proof for judging.
- Managing Vertex AI Tokens-Per-Minute (TPM) quota limits on massive Linux kernel C prompts by developing Tree-sitter AST data-flow slicing.
- Standardizing multi-round attempt traces into the official Google Agents CLI evaluation format.
Accomplishments
- Deployed BARRED-Fleet to Cloud Run with a dedicated runtime service account.
- Verified private Cloud Run access: authenticated demo works, unauthenticated
/demoreturns403. - Added Firestore metadata lookup and private GCS artifact reads behind a short run-id interface.
- Demonstrated 66.30% token reduction with 0 LLM diagnostic overhead via Graph-Powered GEPA and verified with official
agents-cli eval gradereceipts across 83 cases. - Added product run lifecycle routes and artifact-backed report enrichment.
- Implemented Model Armor and Agent Gateway pre-execution boundary receipts.
- Produced official HTML and JSON evaluation scorecards graded directly through the Google Agents CLI.
- Added a browser dashboard that shows B-gate status, verifier rates, model routing, deterministic eval, safety receipts, and provenance.
- Verified the ADK smoke prompt calls the deployed
report_barred_runtool and returns the expected deterministic report.
What We Learned
The hard part is not generating more AI security examples. The hard part is deciding which outputs deserve to become accepted evidence and optimizing prompt evolution without burning quota on massive codebase prompts.
A neurosymbolic approach (combining deterministic Tree-sitter AST analysis with LLM multiagent debate) slashes prompt overhead by 66.3% and eliminates logic errors while keeping audit trails fully verifiable.
What's Next
- BARRED-Fleet implements full Google Agent-to-Agent (A2A) compliance and exposes an active Agent Card at /a2a/app/.well-known/agent-card.json. In production environments with an active Gemini Enterprise / Discovery Engine workspace license, enterprise SOC teams can immediately federate the swarm into their global agent directory via agents-cli publish gemini-enterprise without any code modifications.
- Promote the current in-service
BackgroundTasksasync lifecycle to durable Cloud Tasks/Pub/Sub or a separate worker when runs become longer or higher volume. - Promote seed source of truth from packaged
cve500:Nfiles to managed GCS objects after demo stability. - Harden the current Agent Gateway egress receipt path into a fuller production policy with registered tools/agents.
- Expand the current Model Armor seed-screening path to additional artifact/output boundaries.
- Write redacted GEPA memory summaries to Firestore once the preview contract is stable.
This is the standalone submission repository. The broader Silver-One workspace is disclosed as the source of pre-existing BARRED research-harness components.
Log in or sign up for Devpost to join the conversation.