Claude Skill
2aronS/Duel-Agents
Duel Agents 提供 CLI、TypeScript SDK 和 IDE 插件,用于构建 AI 智能体。支持 Anthropic Claude、OpenAI 兼容 API,并与 Cursor 和 Claude Code 集成。
概览
仓库信息
安装这个 Skill
npx @duel-agents/install allRegistry 信息
npx @duel-agents/install allnpx @duel-agents/install doctorgit clone https://github.com/2aronS/Duel-Agents.gitnpx @duel-agents/install claude-codenpx @duel-agents/install openclaw
项目简介
Duel Agents 提供 CLI、SDK 和 IDE 插件,用于构建和管理 AI 智能体。它支持 Anthropic Claude、OpenAI 兼容 API,并与 Cursor 和 Claude Code 等工具集成。
CLI, SDK, and IDE plugins for Duel Agents
要点
- 用于智能体生命周期管理的 CLI
- 用于自定义智能体开发的 TypeScript SDK
- 支持 Cursor 和 Claude Code 的 IDE 插件
- 兼容 OpenAI 的 API 支持
- 内置智能体编排功能(Duel Agents)
使用场景
- 在 CLI 中快速原型化 AI 智能体
- 将智能体工作流集成到 IDE 中
- 构建具有编排功能的多智能体系统
- 为基于智能体的应用开发自定义 SDK
README 摘要
# Duel Agents <img width="1344" height="576" alt="banner" src="https://github.com/user-attachments/assets/24e6abbe-1c7b-41cb-9d1c-a971c9a93534" /> **Use, extend, and ship with Duel Agents**: the IDE-native routing layer that runs prompts against multiple models and picks the cheapest answer that still wins. This repo is the official integration package for [duelagents.com](https://duelagents.com). ## Star History <a href="https://www.star-history.com/?repos=2aronS%2FDuel-Agents&type=date&legend=top-left"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/chart?repos=2aronS/Duel-Agents&type=date&theme=dark&legend=top-left" /> <source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/chart?repos=2aronS/Duel-Agents&type=date&legend=top-left" /> <img alt="Star History Chart" src="https://api.star-history.com/chart?repos=2aronS/Duel-Agents&type=date&legend=top-left" /> </picture> </a> ## Requirements Every tool in this repo routes LLM traffic through **`https://duelagents.com/v1`** with a **Duel API key** (`duel_<prefix>_<secret>`). You cannot use raw Anthropic or OpenAI keys with these integrations. Get a key from the dashboard: **https://duelagents.com/dashboard/settings** (subscribe → create API key) ## Quick start ```bash # 1. Get your key from the dashboard, then: export DUEL_API_KEY=duel_yourprefix_yoursecret # 2. Install for your tools npx @duel-agents/install all # 3. Verify npx @duel-agents/install doctor ``` ## Install per tool | Tool | Command | |------|---------| | Claude Code | `npx @duel-agents/install claude-code` | | Cursor | `npx @duel-agents/install cursor` | | Codex CLI | `npx @duel-agents/install codex` | | OpenClaw | `npx @duel-agents/install openclaw` | | All |