JiaDe WU
0cb8c51fa5
feat: native AWS Bedrock provider via Converse API
Salvaged from PR #7920 by JiaDe-Wu — cherry-picked Bedrock-specific
additions onto current main, skipping stale-branch reverts (293 commits
behind).
Dual-path architecture:
- Claude models → AnthropicBedrock SDK (prompt caching, thinking budgets)
- Non-Claude models → Converse API via boto3 (Nova, DeepSeek, Llama, Mistral)
Includes:
- Core adapter (agent/bedrock_adapter.py, 1098 lines)
- Full provider registration (auth, models, providers, config, runtime, main)
- IAM credential chain + Bedrock API Key auth modes
- Dynamic model discovery via ListFoundationModels + ListInferenceProfiles
- Streaming with delta callbacks, error classification, guardrails
- hermes doctor + hermes auth integration
- /usage pricing for 7 Bedrock models
- 130 automated tests (79 unit + 28 integration + follow-up fixes)
- Documentation (website/docs/guides/aws-bedrock.md)
- boto3 optional dependency (pip install hermes-agent[bedrock])
Co-authored-by: JiaDe WU <40445668+JiaDe-Wu@users.noreply.github.com>
2026-04-15 16:17:17 -07:00
..
2026-02-21 22:31:43 -08:00
2026-04-15 16:17:17 -07:00
2026-04-15 16:10:53 -07:00
2026-04-15 16:17:17 -07:00
2026-04-14 22:38:17 -07:00
2026-04-13 16:32:04 -07:00
2026-04-10 13:05:01 -07:00
2026-04-06 01:47:57 -07:00
2026-04-15 15:04:14 -07:00
2026-04-13 16:32:04 -07:00
2026-04-15 16:17:17 -07:00
2026-04-13 16:32:04 -07:00
2026-04-10 21:16:53 -07:00
2026-04-15 11:28:45 -07:00
2026-04-15 11:28:45 -07:00
2026-04-15 16:17:17 -07:00
2026-04-13 16:32:04 -07:00
2026-04-14 00:11:49 -07:00
2026-03-21 16:54:43 -07:00
2026-04-13 16:32:04 -07:00
2026-04-15 16:08:52 -07:00
2026-04-08 00:41:36 -07:00
2026-04-15 04:57:55 -07:00
2026-04-14 10:42:58 -07:00
2026-04-10 05:33:48 -07:00
2026-04-09 03:10:30 -07:00
2026-04-12 04:17:18 -07:00
2026-02-21 22:31:43 -08:00
2026-04-15 16:17:17 -07:00