Repository navigation
docs(typescript-adk): document AgentBuilder fluent agent wiring - #74
Merged
Merged
Conversation
Adds an Agent builder section to typescript-adk.md as a peer of the existing Background task handler / A2AServerBuilder wiring, covering every method on the fluent surface (withProvider, withModel, withTemperature, withTopP, withMaxTokens, withMaxIterations, withSystemPrompt, withMaxConversationHistory, withCallbacks, withToolBox, withLLMClient, build), the build() validation rules and AgentBuilderError contract, defaults that match the Go ADK byte- for-byte (maxIterations=50, maxConversationHistory=20, DEFAULT_AGENT_SYSTEM_PROMPT), the OpenAICompatibleAgent accessor surface, the Callbacks lifecycle hook table, the OpenAICompatibleLLMClient -> LLMClient adapter required to bridge into DefaultBackgroundTaskHandler today, and an end-to-end example that wires AgentBuilder -> OpenAICompatibleAgent -> A2AServerBuilder.withAgent() with cross-links to the Go ADK agent_builder.go for cross-language verification. Also updates the frontmatter description, the "What ships today" capability table, and the Parity with the Go ADK section to surface AgentBuilder. Closes #73 Co-authored-by: Eden Reich <[email protected]>
This was referenced Jun 14, 2026
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.
Adds an
AgentBuildersection totypescript-adk.mdcovering the fluent wiring API introduced in typescript-adk#083.Summary
## Agent builder (AgentBuilder)section placed afterBackground task handler, covering every method on the fluent surface, thebuild()validation rules,AgentBuilderError, defaults (50/20/ byte-for-byte system prompt) with Go-ADK parity callouts, theOpenAICompatibleAgentaccessor surface, theCallbackslifecycle-hook table, theOpenAICompatibleLLMClient->LLMClientadapter, and an end-to-end example wiringAgentBuilder->OpenAICompatibleAgent->A2AServerBuilder.withAgent().description, theWhat ships todaytable, theParity with the Go ADKsection, and added a forward-link fromWiring into A2AServerBuilderto the new section.Test plan
npm run lint:mdcleannpm run format:checkcleannpm run buildsucceeds; rendered HTML contains the new sectionnpm run devvisual review of the new section in a browserCloses #73
Generated with Claude Code