Skip to content

Run Claude Subagents as native agents - #773

Merged
SaladDay merged 2 commits into
mainfrom
run-claude-subagents-as-native-agents
Oct 19, 2026
Merged

SaladDay merged 2 commits into
mainfrom
run-claude-subagents-as-native-agents

Conversation

@SaladDay

@SaladDay SaladDay commented Oct 19, 2026 •

Copy link
Copy Markdown
Collaborator

Claude Code Subagents run as the native agent types instead of one adapter-defined type.

  • The adapter no longer defines oac_worker, whose description and prompt reached the model, and no longer denies the native agent types (general-purpose, Explore, Plan and others). Observation keeps working from native task_started and persisted metadata.
  • Native Agent inputs are accepted: a per-call model (reported on create_subagent_call), the deprecated mode, and isolation: "worktree", whose worktree lives under the workspace's .claude/worktrees/. isolation: "remote" stays denied because it needs an account Core does not hold.
  • SendMessage may address a child by its spawn name as well as by ID.
  • The dead run_in_background check is removed; native drops the parameter while background tasks are disabled.

Docs: subagents.md and the bridge README, with zh mirror.

Tests: bridge tests (182) and a gated live test against MiniMax-M3: the model spawned a native general-purpose Subagent with a per-call model; identity, Turns, Items and the model were observed.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

@SaladDay
SaladDay force-pushed the run-claude-subagents-as-native-agents branch 2 times, most recently from a3a2e6e to 1699e19 Compare October 19, 2026 10:04
@SaladDay
SaladDay merged commit eb87a8e into main Oct 19, 2026
21 checks passed
@SaladDay
SaladDay deleted the run-claude-subagents-as-native-agents branch October 19, 2026 10:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant