惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

T
The Blog of Author Tim Ferriss
IT之家
IT之家
Engineering at Meta
Engineering at Meta
WordPress大学
WordPress大学
博客园 - 三生石上(FineUI控件)
博客园 - 聂微东
C
Check Point Blog
T
Tailwind CSS Blog
博客园 - Franky
H
Help Net Security
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Google DeepMind News
Google DeepMind News
博客园 - 叶小钗
J
Java Code Geeks
腾讯CDC
罗磊的独立博客
爱范儿
爱范儿
阮一峰的网络日志
阮一峰的网络日志
Martin Fowler
Martin Fowler
酷 壳 – CoolShell
酷 壳 – CoolShell
I
InfoQ
B
Blog
V
Visual Studio Blog
F
Fortinet All Blogs

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248 test: mock doctor preview channel boundaries · openclaw/openclaw@b1a3ad4
feat(copilot): add GitHub Copilot agent runtime · opencla...
ramrajprabu · 2026-05-29 · via Recent Commits to openclaw:main

@@ -14,12 +14,12 @@ the finished turn to OpenClaw.

1414

Runtimes are easy to confuse with providers because both show up near model

1515

configuration. They are different layers:

161617-

| Layer | Examples | What it means |

18-

| ------------- | ------------------------------------- | ------------------------------------------------------------------- |

19-

| Provider | `openai`, `anthropic`, `openai-codex` | How OpenClaw authenticates, discovers models, and names model refs. |

20-

| Model | `gpt-5.5`, `claude-opus-4-6` | The model selected for the agent turn. |

21-

| Agent runtime | `openclaw`, `codex`, `claude-cli` | The low level loop or backend that executes the prepared turn. |

22-

| Channel | Telegram, Discord, Slack, WhatsApp | Where messages enter and leave OpenClaw. |

17+

| Layer | Examples | What it means |

18+

| ------------- | -------------------------------------------- | ------------------------------------------------------------------- |

19+

| Provider | `openai`, `anthropic`, `openai-codex` | How OpenClaw authenticates, discovers models, and names model refs. |

20+

| Model | `gpt-5.5`, `claude-opus-4-6` | The model selected for the agent turn. |

21+

| Agent runtime | `openclaw`, `codex`, `copilot`, `claude-cli` | The low level loop or backend that executes the prepared turn. |

22+

| Channel | Telegram, Discord, Slack, WhatsApp | Where messages enter and leave OpenClaw. |

23232424

You will also see the word **harness** in code. A harness is the implementation

2525

that provides an agent runtime. For example, the bundled Codex harness

@@ -33,13 +33,17 @@ There are two runtime families:

33333434

- **Embedded harnesses** run inside OpenClaw's prepared agent loop. Today this

3535

is the built-in `openclaw` runtime plus registered plugin harnesses such as

36-

`codex`.

36+

`codex` and `copilot`.

3737

- **CLI backends** run a local CLI process while keeping the model ref

3838

canonical. For example, `anthropic/claude-opus-4-7` with

3939

a model-scoped `agentRuntime.id: "claude-cli"` means "select the Anthropic

4040

model, execute through Claude CLI." `claude-cli` is not an embedded harness id

4141

and must not be passed to AgentHarness selection.

424243+

The `copilot` harness is a separate, opt-in plugin harness for the

44+

GitHub Copilot CLI; see [GitHub Copilot agent runtime](/plugins/copilot)

45+

for the user-facing decision between PI, Codex, and GitHub Copilot agent runtime.

46+4347

## Codex surfaces

44484549

Most confusion comes from several different surfaces sharing the Codex name:

@@ -201,6 +205,34 @@ If `openclaw doctor` warns that the `codex` plugin is enabled while

201205

`openai-codex/*` remains in config, treat that as legacy route state. Run

202206

`openclaw doctor --fix` to rewrite it to `openai/*` with the Codex runtime.

203207208+

## GitHub Copilot agent runtime

209+210+

The bundled `copilot` extension registers an opt-in `copilot` runtime

211+

backed by the GitHub Copilot CLI (`@github/copilot-sdk`). It claims the

212+

canonical subscription `github-copilot` provider and is **never** selected by

213+

`auto`. Opt in per-model or per-provider via `agentRuntime.id`:

214+215+

```json5

216+

{

217+

agents: {

218+

defaults: {

219+

model: "github-copilot/gpt-5.5",

220+

models: {

221+

"github-copilot/gpt-5.5": {

222+

agentRuntime: { id: "copilot" },

223+

},

224+

},

225+

},

226+

},

227+

}

228+

```

229+230+

The harness claims its provider, runtime, CLI session key, and auth profile

231+

prefix in `extensions/copilot/doctor-contract-api.ts`, which

232+

`openclaw doctor` auto-loads. For configuration, auth, transcript mirroring,

233+

compaction, the doctor probe surface, and the broader PI vs Codex vs Copilot

234+

SDK decision, see [GitHub Copilot agent runtime](/plugins/copilot).

235+204236

## Compatibility contract

205237206238

When a runtime is not OpenClaw, it should document what OpenClaw surfaces it supports.

@@ -236,6 +268,7 @@ runtime policy first. Legacy session runtime pins no longer decide routing.

236268237269

- [Codex harness](/plugins/codex-harness)

238270

- [Codex harness runtime](/plugins/codex-harness-runtime)

271+

- [GitHub Copilot agent runtime](/plugins/copilot)

239272

- [OpenAI](/providers/openai)

240273

- [Agent harness plugins](/plugins/sdk-agent-harness)

241274

- [Agent loop](/concepts/agent-loop)