tandem

Swarm of AI Agents to assist in a penetration testing engagement given a RoE.md stating Rules of Engagement.

Configuration

Setting up API Keys

Before using Tandem, you need to configure API keys for the AI providers you want to use.

  1. Copy the example environment file:
    cp .example.env .env
    
  2. Edit the .env file and add your API keys for the providers you plan to use:
    GEMINI_API_KEY=your_gemini_api_key_here
    OPENAI_API_KEY=your_openai_api_key_here
    GROQ_API_KEY=your_groq_api_key_here
    OPENROUTER_API_KEY=your_openrouter_api_key_here
    VERTEX_API_KEY=your_vertex_api_key_here
    XAI_API_KEY=your_xai_api_key_here
    ANTHROPIC_API_KEY=your_anthropic_api_key_here
    COPILOT_API_KEY=your_copilot_api_key_here
    

    Note: You don’t need to configure all providers - only add keys for the services you want to use.

Agent Configuration

Tandem’s behavior is controlled by the .tandem/swarm.json configuration file, which defines the AI agents and their roles. The default configuration includes several specialized agents:

Available Providers

The following AI providers are supported:

Default Agents

Orchestrator Agent

Reconnoiter Agent

Vulnerability Scanner Agent

Exploiter Agent

Reporter Agent

Usage

After configuring your API keys and agent settings:

  1. Set up your engagement context: Create a RoE.md file in your working directory containing the Rules of Engagement for your penetration testing engagement.

  2. Run Tandem: Start the TUI interface to interact with your AI agent swarm:
    tandem
    
  3. Interact with agents: Use the interface to communicate with specialized agents for different phases of your penetration testing workflow.