Skip to content

Add Hermes Asia partner services — Asia news, currency, and macro data for AI agents#172

Open
kten-agent wants to merge 3 commits into
BlockRunAI:mainfrom
kten-agent:add-hermes-asia-partner
Open

Add Hermes Asia partner services — Asia news, currency, and macro data for AI agents#172
kten-agent wants to merge 3 commits into
BlockRunAI:mainfrom
kten-agent:add-hermes-asia-partner

Conversation

@kten-agent
Copy link
Copy Markdown

@kten-agent kten-agent commented May 26, 2026

Add Hermes Asia to ClawRouter Partner Registry

Add 3 Hermes Asia partner services covering CN/JP/TW/KR/SEA markets — news, currency, and macro data.

What's Added

Service ID Price Description
Asia News API hermes_asia_news $0.005/call Real-time Asian news headlines for AI agents
CN/JP Currency API hermes_currency $0.001/call USD/CNY/JPY exchange rates for AI trading agents
Asia Macro Data API hermes_macro $0.01/call GDP, inflation, PMI for quantitative agents

Technical Details

  • upstream: https://base-worker-01.j23726919.workers.dev (x402 v2, USDC on Base)
  • proxyPath: /api/asia-news-api, /api/cn-jp-currency-api, /api/asia-market-data
  • category: Market data
  • partner: Hermes Asia
  • All services use x402 payment — ClawRouter's wallet-based payment flow handles this natively

Why Hermes Asia

ClawRouter has 27 partner services but zero Asia-specific market data providers.
Hermes fills the gap for CN/JP/TW/KR/SEA markets — designed for AI agent consumption:

  • hermes_asia_news — any question about CN/JP/TW news or policy changes in Asia
  • hermes_currency — USD/CNY/JPY rates for trading agents doing cross-border work
  • hermes_macro — macro indicators for quantitative agents building Asia trading models

Verification

Summary by CodeRabbit

  • New Features
    • Added three Hermes Asia partner services providing bilingual (CN/JP/TW) regional news, currency exchange data, and macroeconomic indicators.
    • Each integration includes endpoint access, request examples, and visible pricing to help you connect and test quickly.

Review Change Stack

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 26, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 9cb59738-dc3c-415c-8b5e-39de48eda4d1

📥 Commits

Reviewing files that changed from the base of the PR and between 74425f2 and ed1b661.

📒 Files selected for processing (1)
  • src/partners/registry.ts
💤 Files with no reviewable changes (1)
  • src/partners/registry.ts

📝 Walkthrough

Walkthrough

Adds three Hermes Asia partner service definitions to PARTNER_SERVICES: hermes_asia_news, hermes_currency, and hermes_macro, each with metadata, proxyPath, HTTP method, POST, params schema, pricing, and example inputs.

Changes

Hermes Asia services registration

Layer / File(s) Summary
Hermes Asia partner service definitions
src/partners/registry.ts
Adds three new Hermes Asia API service entries to PARTNER_SERVICES: news headlines (hermes_asia_news), CN/JP currency rates (hermes_currency), and macro indicators (hermes_macro). Each entry includes id, name, shortDescription/description, category, proxyPath, HTTP method, params JSON schema, pricing, and example request input.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately and concisely summarizes the main change: adding three new Hermes Asia partner services with specific data types (news, currency, macro).
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@src/partners/registry.ts`:
- Around line 1051-1055: The registry array has a syntax error: the voice_status
object literal isn’t closed before the next entry hermes_asia_news; locate the
voice_status entry (look for the "voice_status" key and its "example" field) and
add the missing closing brace (and trailing comma if required) after the example
field so the registry array and the subsequent hermes_asia_news object parse
correctly.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: ef0f3c95-1cf9-459e-988b-a3b260acbce4

📥 Commits

Reviewing files that changed from the base of the PR and between d87dd07 and f9359fd.

📒 Files selected for processing (1)
  • src/partners/registry.ts

Comment thread src/partners/registry.ts
Hermes Agent and others added 2 commits May 27, 2026 14:35
Coderabbitai flagged: voice_status object was not closed before
starting hermes_asia_news, causing a syntax error in the registry array.

Added missing } after the voice_call example block.
Coderabbit flagged: 'voice_status' object closed after hermes_asia_news starts.
Root cause: extra '},'' inserted between the array elements and the array close.
Removed the stray closing brace so PARTNER_SERVICES array closes correctly.
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