Repository navigation
docs(samples): add a subagents sample - #186
Open
EugeneTheDev wants to merge 1 commit into
Open
EugeneTheDev wants to merge 1 commit into
EugeneTheDev wants to merge 1 commit into
Conversation
This was referenced Dec 2, 2026
Merged
EugeneTheDev
force-pushed
the
eugenethedev/subagents-stack/11-sample
branch
4 times, most recently
from
December 4, 2026 11:32
058eaf9 to
3ff8495
Compare
EugeneTheDev
force-pushed
the
eugenethedev/subagents-stack/11-sample
branch
2 times, most recently
from
December 4, 2026 16:28
2259b86 to
cb8bea3
Compare
- A scripted v1 agent that delegates to subagents and relays a native agent's workers as nested subagents, and a client that shows, cancels and closes them, then loads the session again. - Its `runSubagents` task, logback configuration and README, and a row in `samples/README.md`. - JVM tests that run the sample end to end, so `check` catches an SDK change that breaks it. - AGENTS.md: how samples are laid out and tested.
EugeneTheDev
force-pushed
the
eugenethedev/subagents-stack/11-sample
branch
from
December 4, 2026 16:29
cb8bea3 to
310ae8c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part 11 of 11 of the stacked split of #158 (v1 subagents).
Contents
subagents. The client shows, cancels and closes them, then loads the session again.
runSubagentstask withlogback-subagents.xml, its README, and a row insamples/README.md. The READMEalso gets the "unstable APIs" sentence and step 5 of "Adding a sample".
testingblock in the sample module'sbuild.gradle.kts, and JVM tests that run the sample end to end, socheckcatches an SDK change that breaks it.Caveats
d41c266outside the excluded paths.Stack
chore: add the multi-agent orchestration toolingbuild: move buildSrc to build-logic and check that internal packages hold no public APIdocs(samples): give each sample its own package, run task and READMErefactor: move MaybeUndefined to the model package and runtime internals to internal packagesfeat(protocol)!: order handler starts by arrival and add response hooksfeat(model): add the v1 subagent models and promote session/close to stablefix(client): make v2 close and delete idempotent and add PendingPermissionsfeat!: add v1 subagents to the agent runtime and deliver session events through ClientSessionOperations.notifyfeat(client)!: add v1 subagent sessions and the Opened marker to the client runtimetest(client): cover v1 client openings and subagents over the wire and across transportsdocs(samples): add a subagents sample← this PRNext steps
master.master(git rebase --onto master <merged> <next>) and force-push it.