Repository navigation
Add expenses Google ADK agent example (TypeScript) - #33
Open
Collin-Park wants to merge 1 commit into
Open
Collin-Park wants to merge 1 commit into
Collin-Park wants to merge 1 commit into
Conversation
A buildable Google ADK (TypeScript) Custom Agent served over A2A, for the Workday custom-agent Early Access program. It runs model inference, calls Workday tools over MCP, and stores sessions through Workday Agent Harness, with the credentials that arrive on each turn's request headers. - src/: the agent, the Agent Harness inference adapter, the MCP toolset (tool list cached per tenant, no call without a token), the session service (write-through with an ordered retry queue), and a /dev/urandom ID provider for agents that start from a process snapshot. - 60 unit tests (node:test); no network calls. - wd_agent_card.json with the expenses skill and its Workday tools; appspec.yaml for the Workday build. - README with setup, configuration, and a local test with a stub. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Example auditAudited Run it yourself: |
This branch has not been deployed
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.
What this PR adds or changes
Adds
examples/expenses-google-adk-agent: a buildable Google ADK (TypeScript) Custom Agent, served over A2A, for the Workday custom-agent Early Access program. It runs model inference, calls Workday tools over MCP, and stores sessions through Workday Agent Harness, using the credentials that arrive on each turn's request headers. The sample agent card registers one expenses skill with its Agent Ready Tools.Checklist for new or changed examples
examples/node scripts/validate-examples.mjs --checkpasses (validexample.json, README present, index table in sync)node scripts/audit-examples.mjs --changedpasses, or the findings it reports are explained below (see docs/EXAMPLE_BEST_PRACTICES.md)Anything reviewers should know?
npm ci,npm run build, andnpm test(60 unit tests, no network calls) pass locally.typeisReference, the nearest listed type for runnable agent code.wd_agent_card.jsonare the same values that MCP Explorer publishes.🤖 Generated with Claude Code