Skip to content

docs: document the Go ADK (server, client, callbacks, config) - #123

Merged
edenreich merged 1 commit into
mainfrom
feat/issue-102-20260531-0223
May 31, 2026
Merged

edenreich merged 1 commit into
mainfrom
feat/issue-102-20260531-0223

Conversation

@claude

@claude claude Bot commented May 31, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds the missing reference page for the Go ADK (github.com/inference-gateway/adk), the original and reference Agent Development Kit that the TypeScript and Rust ADKs mirror. Previously only typescript-adk.md and rust-adk.md existed.

New page adk.md (wired into the "Agent Development Kit (ADK)" sidebar group in .vitepress/config.ts, listed first as the reference implementation) documents:

  • Builders - the A2AServerBuilder (full With* method table plus Build() validation rules) and the AgentBuilder (methods plus convenience constructors).
  • Tools - the ToolBox / Tool surface, NewBasicTool / AddTool, and the built-in input_required / create_artifact tools.
  • Task handlers - the TaskHandler and StreamableTaskHandler interfaces verbatim, plus WithDefaultTaskHandlers.
  • Streaming - the ten stable adk.agent.* CloudEvents constants and a RunWithStream example.
  • Lifecycle callbacks - all six Before/After Agent/Model/Tool callbacks with short-circuit (Before) and chain/replace (After) semantics.
  • The A2A client - the full A2AClient JSON-RPC method surface (SendTask, SendTaskStreaming, GetTask, ListTasks, CancelTask, ResubscribeTask, push-notification config CRUD, GetAuthenticatedExtendedCard) with examples.
  • Operations - in-memory and Redis storage, OIDC authentication, filesystem and MinIO artifacts, OpenTelemetry, and build-time LD-flag agent metadata.
  • Configuration reference - environment-variable tables grouped by prefix, grounded in the authoritative config.go struct tags (e.g. SERVER_PORT, CAPABILITIES_PUSH_NOTIFICATIONS default true).
  • Examples - tables linking all 16 entries under examples/.

Code samples are grounded in the upstream source (builders, client, handlers, callbacks, toolbox, CloudEvents constants, env config, and the real examples/ server patterns), not the README alone.

Test plan

  • npm run format:check - passes
  • npm run lint:md - passes (MD036 resolved)
  • npm run build - succeeds; page renders at /adk/, title "Go ADK", prose is SSR'd, no Vue interpolation artifacts
  • Sidebar links from sibling ADK pages resolve to /adk/

Closes #102

@edenreich
edenreich merged commit 84318b2 into main May 31, 2026
@edenreich
edenreich deleted the feat/issue-102-20260531-0223 branch May 31, 2026 02:40
github-actions Bot pushed a commit that referenced this pull request May 31, 2026
## [0.6.64](0.6.63...0.6.64) (2026-05-31)

### 📚 Documentation

* add Go ADK reference page and sidebar entry ([#123](#123)) ([84318b2](84318b2))
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 missing features for inference-gateway/adk

1 participant