---
name: Duel Agents
slug: duel-agents-2
category: AI Engineering
description: Duel Agents routes Cursor prompts through Duel’s API using a Duel API key. Use it to override the model base URL in Cursor or connect custom tools with the SDK.
github: "https://github.com/2aronS/Duel-Agents/tree/main/integrations/cursor/skills/duel-agents"
language: TypeScript
stars: 817
forks: 25
install: "npx degit https://github.com/2aronS/Duel-Agents/tree/main/integrations/cursor/skills/duel-agents ~/.claude/skills/duel-agents"
installs_to: ~/.claude/skills/duel-agents
source_path: integrations/cursor/skills/duel-agents/SKILL.md
collection_size: 3
category_size: 2451
collection_url: "https://dirskills.com/collections/2aronS/Duel-Agents"
added: 2026-08-22T05:22:03.976Z
last_synced: 2026-08-22T05:22:03.976Z
canonical_url: "https://dirskills.com/skills/duel-agents-2"
---

# Duel Agents

Duel Agents routes Cursor prompts through Duel’s API using a Duel API key. Use it to override the model base URL in Cursor or connect custom tools with the SDK.

**Install:**

```bash
npx degit https://github.com/2aronS/Duel-Agents/tree/main/integrations/cursor/skills/duel-agents ~/.claude/skills/duel-agents
```

## README

# Duel Agents (Cursor)

Duel Agents routes IDE prompts through `https://duelagents.com/v1` using your **Duel API key**. You must subscribe and create a key at https://duelagents.com/dashboard/settings.

## Quick setup

```bash
export DUEL_API_KEY=duel_yourprefix_yoursecret
npx @duel-agents/install cursor
npx @duel-agents/install doctor
```

## Cursor model override

1. **Settings → Models**
2. Enable **Override OpenAI Base URL**
3. Base URL: `https://duelagents.com/v1`
4. API key: your `duel_*` key (not an OpenAI key)

## SDK for custom tools

```ts
import { DuelClient } from "@duel-agents/sdk";

const duel = new DuelClient({ apiKey: process.env.DUEL_API_KEY! });
```

Docs: https://github.com/2aronS/Duel-Agents
