Skip to content

docs(typescript-adk): document AgentBuilder fluent agent wiring - #74

Merged
edenreich merged 2 commits into
mainfrom
claude/issue-73-20260527-1722
May 27, 2026
Merged

edenreich merged 2 commits into
mainfrom
claude/issue-73-20260527-1722

Conversation

@edenreich

Copy link
Copy Markdown
Contributor

Adds an AgentBuilder section to typescript-adk.md covering the fluent wiring API introduced in typescript-adk#083.

Summary

  • New top-level ## Agent builder (AgentBuilder) section placed after Background task handler, covering every method on the fluent surface, the build() validation rules, AgentBuilderError, defaults (50 / 20 / byte-for-byte system prompt) with Go-ADK parity callouts, the OpenAICompatibleAgent accessor surface, the Callbacks lifecycle-hook table, the OpenAICompatibleLLMClient -> LLMClient adapter, and an end-to-end example wiring AgentBuilder -> OpenAICompatibleAgent -> A2AServerBuilder.withAgent().
  • Updated frontmatter description, the What ships today table, the Parity with the Go ADK section, and added a forward-link from Wiring into A2AServerBuilder to the new section.

Test plan

  • npm run lint:md clean
  • npm run format:check clean
  • npm run build succeeds; rendered HTML contains the new section
  • npm run dev visual review of the new section in a browser

Closes #73

Generated with Claude Code

claude Bot and others added 2 commits May 27, 2026 17:41
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]>
@edenreich
edenreich merged commit fbdd9c6 into main May 27, 2026
@edenreich
edenreich deleted the claude/issue-73-20260527-1722 branch May 27, 2026 18:23
github-actions Bot pushed a commit that referenced this pull request May 27, 2026
## [0.6.35](0.6.34...0.6.35) (2026-05-27)

### 📚 Documentation

* **typescript-adk:** document AgentBuilder fluent agent wiring ([#74](#74)) ([fbdd9c6](fbdd9c6)), closes [#73](#73)
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.

[DOCS] Document AgentBuilder for the TypeScript ADK

1 participant