AdityaK9822

Polyagent — Security skill for Claude Code

Security community

Multi-provider AI agent bridge — an MCP server that lets Claude Desktop delegate tasks (security scans, code review, analysis) to Gemini, AWS Bedrock, and OpenAI-compatible models, with a dynamic agen.

How to install Polyagent

This entry records only its repository, not the path inside it, so there is no exact command to give. Open AdityaK9822/Polyagent and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Polyagent does

Multi-provider AI agent bridge — an MCP server that lets Claude Desktop delegate tasks (security scans, code review, analysis) to Gemini, AWS Bedrock, and OpenAI-compatible models, with a dynamic agent registry and safety limits.

Alternatives in Security

  • Security Threat Model — Generate repo-specific threat models identifying trust boundaries 14.6k ★
  • Anthropic Cybersecurity Skills — 734+ structured cybersecurity skills for AI agents · MITRE ATT&CK mapped · agentskills.io open standard · Work 3.8k ★
  • Pocketpaw — Your AI agent in 30 seconds 775 ★

README

Polyagent

Multi-provider AI agent bridge for Claude Desktop. Connect Claude to external AI agents (GLM, OpenAI, Anthropic, Bedrock, Gemini) for specialized tasks like security scanning, code review, and more.

Features

  • Multi-Provider Support: Google Gemini and Ollama Cloud through an OpenAI-compatible endpoint
  • Dynamic Agent Registration: Register agents at runtime via MCP tools
  • Flexible Pipeline Modes: Sequential, Iterative, and Parallel execution
  • Loop Prevention: Max iterations, confidence thresholds, human approval
  • Streaming Support: Stream responses in real-time
  • Production Ready: Comprehensive error handling, logging, and metrics

Architecture

[Claude Desktop] ←→ [AI Agent MCP Server] ←→ [External AI Agents]
                           │
        ┌──────────────────┼──────────────────┐
        │                  │                  │
   Agent Registry    Pipeline Engine    Loop Prevention
   (dynamic reg)     (seq/iter/parallel) (max iter/confidence/approval)

Installation

Prerequisites

  • Python 3.10 or higher
  • uv package manager (recommended)

Setup

# Clone or navigate to the project
cd ai-agent-mcp-server

# Install dependencies
uv sync

# Set up environment variables. The server also loads a local .env file.
export GOOGLE_API_KEY="your-key"          # For Gemini
export OLLAMA_API_KEY="your-key"          # For Ollama Cloud
export OLLAMA_BASE_URL="https://ollama.com/v1"

Usage

1. Configure Claude Desktop

Add to your `claude_desktop_config.json`:

{
  "mcpServers": {
    "ai-agent-bridge": {
      "command": "uv",
      "args": [
        "--directory",
        "/path/to/ai-agent-mcp-server",
        "run",
        "main.py"
      ],
      "env": {
        "GOOGLE_API_KEY": "your-key",
        "OLLAMA_API_KEY": "your-key",
        "OLLAMA_BASE_URL": "https://ollama.com/v1"
      }
    }
  }
}

**Config file locations:**

  • macOS: `~/Library/Application Support/