-
Notifications
You must be signed in to change notification settings - Fork 0
Agent Connectors
Harness edited this page May 20, 2026
·
7 revisions
Harness routes chat to five agents via the CLI AgentRouter.
| Agent | Protocol | API key / auth |
|---|---|---|
| GitHub Copilot | OpenAI-compatible SSE |
gh auth token or GH_TOKEN
|
| Devin | REST session API | DEVIN_API_KEY |
| Cursor AI | Cloud Agents API v1 | CURSOR_API_KEY |
| Claude Code | CLI subprocess |
claude on PATH + optional ANTHROPIC_API_KEY
|
| Kiro (AI-DLC) | kiro-cli + steering | KIRO_API_KEY |
Run harness check getGoat or Harness: Check getGoat to see readiness.
-
Endpoint:
https://api.githubcopilot.com -
Auth:
gh auth loginwithcopilotscope, or VS Code secret - Modes: Ask, Agent, Spec+Agent — see Copilot Modes
gh auth refresh --scopes copilot-
Endpoint:
https://api.devin.ai/v1(default) -
Env:
DEVIN_API_KEY
Devin runs asynchronously — Harness shows the session URL.
Do not use
api2.cursor.sh— that is the IDE internal API (gRPC), not REST. You will get HTTP 404.
- Create API key: cursor.com/dashboard/integrations
- Set in Harness Configuration or environment:
{
"harness.connectors.cursor.endpoint": "https://api.cursor.com",
"harness.connectors.cursor.apiKey": "your-key"
}export CURSOR_API_KEY=your-key
export CURSOR_API_ENDPOINT=https://api.cursor.com # optional-
POST https://api.cursor.com/v1/agents— create cloud agent + first run -
GET .../runs/{runId}/stream— SSE assistant text - Follow-up messages:
POST .../agents/{id}/runson the same Harness session
Basic authentication: Authorization: Basic base64(apiKey:)
-
CLI:
claudemust be on PATH (or setharness.connectors.claude.path) -
Optional:
ANTHROPIC_API_KEYfor API auth
Harness spawns claude -p ... --output-format stream-json.
-
CLI:
kiro-cli(Harness can auto-download viaharness setup) -
Steering:
.kiro/steering/from AI-DLC rules -
Key:
KIRO_API_KEYfrom kiro.dev
See AI-DLC and Kiro.
- Live
gh auth token(Copilot only) - VS Code Secrets
- Environment variables
-
HARNESS_SETTINGS_JSON(from extension) .harness/config.yaml- Defaults
Secrets never go in YAML.
Getting started
Using Todd of AIDLC
Agents
Advanced
Help