Skip to content

feat: Add TypeScript implementation of currency agent#819

Open
James-4u wants to merge 3 commits intogoogle:mainfrom
James-4u:typescript-currency-agent
Open

feat: Add TypeScript implementation of currency agent#819
James-4u wants to merge 3 commits intogoogle:mainfrom
James-4u:typescript-currency-agent

Conversation

@James-4u
Copy link

@James-4u James-4u commented Jan 8, 2026

  • Implement currency agent using TypeScript ADK (@google/adk)
  • Port Python currency-agent to TypeScript with equivalent functionality
  • Add MCP tool integration for get_exchange_rate via HTTP client
  • Include agent configuration with environment variable support
  • Add test client for agent verification
  • Support both Gemini API key and Vertex AI authentication
  • Match Python version's core features: currency conversion, MCP integration

The TypeScript implementation provides the same currency conversion functionality as the Python version, using ADK for TypeScript and manual MCP server integration via HTTP calls.

Files added:

  • currency_agent/agent.ts: Main agent definition
  • currency_agent/config.ts: Configuration management
  • currency_agent/tools/mcp_tool.ts: MCP tool wrapper
  • currency_agent/test_client.ts: Test client
  • package.json, tsconfig.json: Project configuration
  • README.md: Documentation

Contribution by Gittensor, see my contribution statistics at https://gittensor.io/miners/details?githubId=102175066

- Implement currency agent using TypeScript ADK (@google/adk)
- Port Python currency-agent to TypeScript with equivalent functionality
- Add MCP tool integration for get_exchange_rate via HTTP client
- Include agent configuration with environment variable support
- Add test client for agent verification
- Support both Gemini API key and Vertex AI authentication
- Match Python version's core features: currency conversion, MCP integration

The TypeScript implementation provides the same currency conversion
functionality as the Python version, using ADK for TypeScript and
manual MCP server integration via HTTP calls.

Files added:
- currency_agent/agent.ts: Main agent definition
- currency_agent/config.ts: Configuration management
- currency_agent/tools/mcp_tool.ts: MCP tool wrapper
- currency_agent/test_client.ts: Test client
- package.json, tsconfig.json: Project configuration
- README.md: Documentation
@James-4u
Copy link
Author

James-4u commented Jan 8, 2026

@tkhouw @wyywwi could you guys please review my pr?

@James-4u
Copy link
Author

James-4u commented Jan 8, 2026

hello @koverholt
could you please review my pr?
thanks

@James-4u
Copy link
Author

do you review contribution prs? 🙄
@mstyer-google @eliasecchig
thanks

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.

1 participant