a2a-double-validation — Gemini AI Agent
    Neura MarketNeura Market/Gemini
    ChatGPTChatGPTClaudeClaudeGeminiGeminiCursorCursorGrokGrokPerplexityPerplexityDeepSeekDeepSeek
    CoPilotCoPilotStable DiffusionStable DiffusionMidjourneyMidjourney
    View All Directories
    OverviewRulesPromptsMCPsAgentsGamesBlogVideosGuidesCoursesCommunityGemsExtensionsTrending
    GeminiAgentsa2a-double-validation
    Back to Agents
    a2a-double-validation

    a2a-double-validation

    alexey-tyurin May 15, 2025
    4 copies 0 downloads

    Multi-agent system for query processing with safety verification and critique built with Google A2A protocol, Google ADK, Llama Prompt Guard 2, Gemma 3 and Gemini 2.0 Flash.

    A2A Double Validation

    Multi-agent system for query processing with safety verification and critique built with Google A2A protocol, Google ADK, Llama Prompt Guard 2, Gemma 3 and Gemini 2.0 Flash.

    Architecture

    graph TD
        User[User/Client] <-->|Query/Response| Manager[Manager Agent]
        
        subgraph "A2A Protocol Communication"
            Manager <-->|Step 1: Check Query Safety| Safeguard[Safeguard Agent]
            Manager <-->|Step 2: Process Query| Processor[Processor Agent]
            Manager <-->|Step 3: Evaluate Response| Critic[Critic Agent]
        end
        
        Safeguard -->|Uses| Guard[Llama Prompt Guard 2]
        Processor -->|Uses| Gemma[Gemma 3 Model]
        Critic -->|Uses| Gemini[Gemini 2.0 Flash]
        
        classDef models fill:#f9f,stroke:#333,stroke-width:2px
        classDef agents fill:#bbf,stroke:#333,stroke-width:2px
        classDef external fill:#fff,stroke:#333,stroke-width:2px
        
        class Guard,Gemma,Gemini models
        class Manager,Safeguard,Processor,Critic agents
        class User external
        
        %% Flow description
        linkStyle 0 stroke:#000,stroke-width:2px
        linkStyle 1 stroke:#f00,stroke-width:2px
        linkStyle 2 stroke:#0a0,stroke-width:2px
        linkStyle 3 stroke:#00f,stroke-width:2px
    

    This system uses four agents that work together:

    1. Manager Agent: Coordinates the flow between agents
    2. Safeguard Agent: Checks user queries for vulnerabilities using Meta's Prompt Guard 2 model
    3. Processor Agent: Processes user queries using Gemma 3
    4. Critic Agent: Evaluates responses for completeness and validity using Gemini 2.0 Flash

    Each agent communicates using the Google Agent-to-Agent (A2A) Protocol for inter-agent communication, with FastAPI handling only external user-facing APIs.

    Project Structure

    The project is organized by agent, with each agent in its own module:

    • agent_manager/: Manager Agent implementation
    • agent_processor/: Processor Agent implementation
    • agent_critic/: Critic Agent implemen

    Tags

    adkagentagentdevelopmentkitaiaisecuritygeminigemma3genaigoogle-cloudgoogle-cloud-run

    Comments

    More Agents

    View all
    Agentsmithagentic-ai

    Agentsmith

    Universal, model-agnostic operating harness for AI agents (Claude, Codex, Gemini, …) — a lean core + work-type profiles assembled by one setup script.

    P
    PromptPartner
    308
    Awesome Gamedev Agent Skillsagent-skills

    Awesome Gamedev Agent Skills

    Game-development Agent Skills for AI coding agents: install once and a master router loads the right skill for your engine and task. 66 original, version-pinned skills (plus a master router) in the portable SKILL.md format that runs across Claude Code, Cursor, Codex, Copilot, Gemini CLI and more, for Godot, Unity, Unreal, web and beyond.

    G
    gamedev-skills
    303
    Agentpetai-agents

    Agentpet

    A desktop pet for macOS & Windows that monitors your AI coding agents (Claude Code, Codex, Cursor, Gemini...) in real time, and grows as you code, feed it tokens, level it up, climb the leaderboard.

    N
    ntd4996
    279
    UltraGameStudioai-agent

    UltraGameStudio

    UltraGameStudio - AI coding agent for game development: engine workflows, gameplay code, and asset generation.

    W
    wellingfeng
    260
    Zeroai

    Zero

    The coding agent that answers to you, your model, your machine, your rules.

    G
    Gitlawb
    1,099
    Lucarneagent-bridge

    Lucarne

    Stop babysitting local AI agents. Just notifications, approve, and resume your Codex,Pi,Grok, or Claude code sessions anywhere. 0-Intrusion mobile control bridge via Telegram/微信/飞书. No hooks, no skills, no MCP.

    T
    tuchg
    314

    Stay up to date

    Get the latest Gemini prompts, rules, and resources delivered to your inbox weekly.

    Neura Market LogoNeura Market

    Discover the best AI prompts, plugins, and resources for Gemini and more.

    Content Types

    • Rules
    • Prompts
    • MCPs
    • Agents
    • Guides

    Platforms

    • ChatGPT Directory
    • Claude Directory
    • Gemini Directory
    • Cursor Directory
    • Grok Directory
    • Perplexity Directory
    • DeepSeek Directory
    • CoPilot Directory
    • Stable Diffusion Directory
    • Midjourney Directory
    • All Directories

    Resources

    • Blog
    • Documentation
    • Help Center
    • Marketplace

    Legal

    • Privacy Policy
    • Terms of Service

    © 2026 Neura Market. All rights reserved.

    |

    Not affiliated with any AI platform vendors.

    Neura Market

    Custom AI Systems & Services

    Our team of experienced AI builders will help build custom AI systems, workflows, and solutions for your business.

    Request custom work

    Ready-made automations for this

    Workflows from the Neura Market marketplace related to this Gemini resource

    • Implement a Double Opt-In Email Verification System Using Google Sheetsn8n · $14.99 · Related topic
    • Payment Processing and Order Tracking with YooKassa and Google Sheetsn8n · $24.99 · Related topic
    • Invoice Verification and Validation with Gmail, Drive, Sheets, and OCR AIn8n · $24.99 · Related topic
    • AI-Powered RAG Document Processing & Chatbot with Google Drive, Supabase, OpenAIn8n · $24.99 · Related topic
    Browse all workflows